Commit Graph

516 Commits

Author SHA1 Message Date
k-paulius
8261c0b6ac Fix broken links to dhcp6c.conf man page.
manpath FreeBSD+Ports no longer exits and needs to be replaced with FreeBSD+10.1-RELEASE+and+Ports
2015-02-23 09:23:37 -03:00
Chris Buechler
adf17d4f0e fix text 2015-02-02 21:32:44 -06:00
Chris Buechler
8948f12590 Also include /127 for IPv6, it works fine. Ticket #3657 2015-01-07 23:47:34 -06:00
Chris Buechler
13358d35ae Allow for configuring /31 masks on interfaces.php. The rest of the code was updated accordingly some time ago, and an employee with Cox Communications has confirmed this allows things to work on their circuits deployed with /31s. Ticket #4190 2015-01-07 23:42:10 -06:00
Chris Buechler
05b47f2d31 fix up text 2015-01-07 23:04:34 -06:00
Renato Botelho
5a158a2969 Fix track6 prefix id range check, reported by jimp 2015-01-02 13:07:15 -02:00
Phil Davis
6317d31dfc Fix lineup of copyright lines
and module names and other bits of formatting and typos in header
comment sections.
2015-01-01 10:13:14 -02:00
Renato Botelho
d961e7e33e Welcome 2015 2014-12-31 16:22:27 -02:00
Renato Botelho
b2379012a5 Disable dhcp server when interface is disabled. Ticket #4119 2014-12-17 15:27:04 -02:00
Renato Botelho
79fabc8fac Fix #3790:
- Do not let 2 interfaces to setup the same track6 prefix id
- Show correct prefix id range for each interface
2014-12-11 15:05:11 -02:00
Ermal LUÇI
110967a4ba Try to not make useless entries in the config file for very rare used configuration values. Makes config file readble and with less size 2014-12-02 12:35:36 +01:00
Chris Buechler
c5cd9b7503 validate MTU and MSS as integers, and don't allow MSS larger than pf will accept to avoid broken rulesets. 2014-11-28 19:33:30 -06:00
Ermal LUÇI
5e0a3256b2 convert_real_interface_to_friendly_interface_name() goes and checks the parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for. 2014-11-26 20:34:28 +01:00
Ermal LUÇI
bc8f326432 Ticket #2786 there is an issue with convert_real_interface_to_friendly_interface which might return not expected data as in the situation checked for vlan case her ein the validation. Avoid for this case here the issue to allow properly setting mtu on vlans with not assigned parent. 2014-11-25 19:23:53 +01:00
Chris Buechler
e840fc8cd0 Don't unset these items for PPP configurations as they're not configured here and doing so loses settings configured in interfaces_ppps_edit.php. Ticket #3727 2014-11-22 13:24:51 -06:00
Ermal LUÇI
c4642eb1ff Fixes #3727 Do not unset configuration values from ppp config if not needed. 2014-11-20 15:01:09 +01:00
Chris Buechler
63d129cc60 6RD Rapid Deployment is akin to ATM Machine, PIN Number, ... read: it's redundant. let's just call it 6RD Configuration. 2014-11-14 17:12:02 -06:00
Chris Buechler
71f45fedec Don't allow interface descriptions that are strictly numbers as that
generates an invalid ruleset. Ticket #4005
2014-11-12 11:26:38 -06:00
Chris Buechler
a19cc6007c fix variable typo 2014-11-12 11:22:23 -06:00
Chris Buechler
2b114010dd fix text 2014-11-12 11:20:17 -06:00
Jim Thompson
dd447bde2b modify copyright statement to reflect reality 2014-11-10 22:49:50 -06:00
Ermal
4703c007ef Fixes #3727 Do not unset ondemand for ppp type interfaces since it is controlled here only for pppoe/l2tp 2014-10-15 00:59:20 +02:00
Renato Botelho
5c2e687379 Make sentence more accurate as pointed out by phil-davis 2014-10-13 11:09:15 -05:00
Renato Botelho
1c764a3a50 GIF interfaces MTU must be something between 1280 and 8192, make the correct check. It fixes #3927 2014-10-13 10:42:14 -05:00
Renato Botelho
c4372d3c3b Restore id for cancel button to fix js error 2014-09-17 14:26:11 -03:00
Renato Botelho
62424bdbbb Remove almost all calls to history.back() and make Cancel button back to HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work 2014-09-12 16:37:08 -03:00
Renato Botelho
d9d1bd20c8 Implement a function to kill dhclient process, sometimes it takes a little time to die, so use a sleep(1) there 2014-09-09 17:52:34 -03:00
Renato Botelho
aeb44799f3 Fix #3790. Fix IPv6 Prefix ID check using interface user choose before save 2014-08-04 12:34:52 -03:00
Renato Botelho
f3d8851136 Fix #3575, do not allow user to set IPs for GRE interfaces on interface edit page. 2014-07-25 12:48:17 -03:00
Renato Botelho
6f3d20631d Replace Header() calls by lowercase 2014-06-13 08:59:57 -03:00
Colin Fleming
ce668fcd7d Tidy up "interfaces.php" XHTML
Tidy up Anchor tag and PHP GETTEXT
Swap double quote and semi-colon in ONLICK statement
2014-05-18 14:43:18 +01:00
ayvis
8cd558b61b xhtml Compliance
replaced <br>, <br/> and </br> with <br />
2014-03-14 21:24:03 +01:00
Renato Botelho
e41ec5848f Improve checks for params 'id', 'dup' and other similar ones to make sure they are numeric integer, also, pass them through htmlspecialchars() before print 2014-03-12 11:42:49 -03:00
N0YB
cfd3676d4a This one too. 2014-02-22 23:09:51 -08:00
N0YB
4a2c47fe63 Element id's are to be unique. 'provider' used is elsewhere. 2014-02-22 21:04:10 -08:00
N0YB
ca4467bc0e Better done globally here in the function. 2014-02-22 20:50:32 -08:00
N0YB
6e31ca39ab XHTML Compliance
Interfaces
2014-02-22 18:30:05 -08:00
Renato Botelho
96fc5388ac Merge pull request #945 from phildd/master
Enhance interface gateway data entry descriptions
2014-02-19 08:23:47 -03:00
Phillip Davis
e2a6a6fb2b Enhance interface gateway data entry descriptions 2014-02-19 02:41:49 -08:00
Ermal
89c7a9c870 Some tweaking to handle when switching off dhcpv6. 2014-02-17 10:22:05 +00:00
Renato Botelho
d31ca3363d Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir 2014-02-04 12:34:42 -02:00
Renato Botelho
d9797fd60a Revert "Fix #3350. Do not destroy an interface when it's being disabled"
Ermal reported issues when changes are made on VLAN parent interface
with this patch. He did other changes and interface_configure() will now
be able to re-create VLAN interface

This reverts commit 5bc623536d.
2014-01-21 10:36:57 -02:00
Ermal
f6d89471d3 Make sense of interface mtu handling code. No need to do unneeded operations. This fixes slow boot times and proper handling of mtu for vlans though some work or better model is needed for other interface types. Manual merge of 53555bf2f7 2013-12-27 20:49:29 +00:00
Renato Botelho
20dda76651 Prevent network or broadcast address to be set on interface (console, GUI and wizard). It should fix #3196 2013-12-04 18:21:18 -02:00
Renato Botelho
5bc623536d Fix #3350. Do not destroy an interface when it's being disabled 2013-12-03 12:37:17 -02:00
Renato Botelho
204bec2835 Revert "Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280"
Another solution will be implemented

This reverts commit 6721d6d044.
2013-10-29 07:35:41 -02:00
Renato Botelho
6721d6d044 Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280 2013-10-29 07:06:05 -02:00
Renato Botelho
93ee603200 Respect default gateway option when adding a gateway from interfaces page. It fixes #3230 2013-09-24 21:28:23 -03:00
Renato Botelho
c13a7052e1 Merge pull request #795 from razzfazz/ia-pd-hint
add option to send prefix hint for requesting desired prefix length for delegation (for master branch)
2013-09-18 03:14:04 -07:00
Renato Botelho
1e9b461124 Remove call-time pass by reference for do_input_validation, helps ticket #2565 2013-09-12 11:28:14 -03:00