summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
Commit message (Collapse)AuthorAgeFilesLines
* Also include /127 for IPv6, it works fine. Ticket #3657Chris Buechler2015-01-071-5/+3
|
* Allow for configuring /31 masks on interfaces.php. The rest of the code was ↵Chris Buechler2015-01-071-10/+6
| | | | 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
* fix up textChris Buechler2015-01-071-2/+2
|
* Fix track6 prefix id range check, reported by jimpRenato Botelho2015-01-021-1/+1
|
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Disable dhcp server when interface is disabled. Ticket #4119Renato Botelho2014-12-171-1/+5
|
* Fix #3790:Renato Botelho2014-12-111-15/+38
| | | | | - Do not let 2 interfaces to setup the same track6 prefix id - Show correct prefix id range for each interface
* Try to not make useless entries in the config file for very rare used ↵Ermal LUÇI2014-12-021-34/+62
| | | | configuration values. Makes config file readble and with less size
* validate MTU and MSS as integers, and don't allow MSS larger than pf will ↵Chris Buechler2014-11-281-4/+7
| | | | accept to avoid broken rulesets.
* convert_real_interface_to_friendly_interface_name() goes and checks the ↵Ermal LUÇI2014-11-261-1/+1
| | | | 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.
* Ticket #2786 there is an issue with ↵Ermal LUÇI2014-11-251-1/+1
| | | | 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.
* Don't unset these items for PPP configurations as they're not configured ↵Chris Buechler2014-11-221-2/+2
| | | | here and doing so loses settings configured in interfaces_ppps_edit.php. Ticket #3727
* Fixes #3727 Do not unset configuration values from ppp config if not needed.Ermal LUÇI2014-11-201-12/+22
|
* 6RD Rapid Deployment is akin to ATM Machine, PIN Number, ... read: it's ↵Chris Buechler2014-11-141-1/+1
| | | | redundant. let's just call it 6RD Configuration.
* Don't allow interface descriptions that are strictly numbers as thatChris Buechler2014-11-121-0/+3
| | | | generates an invalid ruleset. Ticket #4005
* fix variable typoChris Buechler2014-11-121-1/+1
|
* fix textChris Buechler2014-11-121-1/+1
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Fixes #3727 Do not unset ondemand for ppp type interfaces since it is ↵Ermal2014-10-151-1/+2
| | | | controlled here only for pppoe/l2tp
* Make sentence more accurate as pointed out by phil-davisRenato Botelho2014-10-131-1/+1
|
* GIF interfaces MTU must be something between 1280 and 8192, make the correct ↵Renato Botelho2014-10-131-2/+12
| | | | check. It fixes #3927
* Restore id for cancel button to fix js errorRenato Botelho2014-09-171-1/+1
|
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+3
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* Implement a function to kill dhclient process, sometimes it takes a little ↵Renato Botelho2014-09-091-3/+1
| | | | time to die, so use a sleep(1) there
* Fix #3790. Fix IPv6 Prefix ID check using interface user choose before saveRenato Botelho2014-08-041-0/+6
|
* Fix #3575, do not allow user to set IPs for GRE interfaces on interface edit ↵Renato Botelho2014-07-251-2/+4
| | | | page.
* Replace Header() calls by lowercaseRenato Botelho2014-06-131-1/+1
|
* Tidy up "interfaces.php" XHTMLColin Fleming2014-05-181-2/+2
| | | | | Tidy up Anchor tag and PHP GETTEXT Swap double quote and semi-colon in ONLICK statement
* xhtml Complianceayvis2014-03-141-119/+119
| | | replaced <br>, <br/> and </br> with <br />
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-1/+1
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* This one too.N0YB2014-02-221-1/+1
|
* Element id's are to be unique. 'provider' used is elsewhere.N0YB2014-02-221-5/+5
|
* Better done globally here in the function.N0YB2014-02-221-1/+1
|
* XHTML ComplianceN0YB2014-02-221-161/+185
| | | | Interfaces
* Merge pull request #945 from phildd/masterRenato Botelho2014-02-191-4/+6
|\ | | | | Enhance interface gateway data entry descriptions
| * Enhance interface gateway data entry descriptionsPhillip Davis2014-02-191-4/+6
| |
* | Some tweaking to handle when switching off dhcpv6.Ermal2014-02-171-5/+8
|/
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-1/+1
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Revert "Fix #3350. Do not destroy an interface when it's being disabled"Renato Botelho2014-01-211-2/+4
| | | | | | | | 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 5bc623536d8bb3b93e68a1b1535c9de582721a09.
* Make sense of interface mtu handling code. No need to do unneeded ↵Ermal2013-12-271-5/+3
| | | | 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 53555bf2f796cd53cf649410fe1827a9a45fc4a7
* Prevent network or broadcast address to be set on interface (console, GUI ↵Renato Botelho2013-12-041-0/+8
| | | | and wizard). It should fix #3196
* Fix #3350. Do not destroy an interface when it's being disabledRenato Botelho2013-12-031-4/+2
|
* Revert "Define dynamic gateway for GRE interfaces and do not user to define ↵Renato Botelho2013-10-291-5/+0
| | | | | | | | IP address to the interface. Fixes #3280" Another solution will be implemented This reverts commit 6721d6d0443bd7e697bd6ca33f470c801608df7e.
* Define dynamic gateway for GRE interfaces and do not user to define IP ↵Renato Botelho2013-10-291-0/+5
| | | | address to the interface. Fixes #3280
* Respect default gateway option when adding a gateway from interfaces page. ↵Renato Botelho2013-09-241-4/+8
| | | | It fixes #3230
* Merge pull request #795 from razzfazz/ia-pd-hintRenato Botelho2013-09-181-0/+12
|\ | | | | add option to send prefix hint for requesting desired prefix length for delegation (for master branch)
| * add option to send prefix hint for requesting desired prefix length for ↵Daniel Becker2013-09-031-0/+12
| | | | | | | | | | | | delegation This change adds an option on the interfaces page for sending a prefix hint for the selected delegation size. If enabled, a "prefix" field requesting :: with the appropriate prefix length (64 - dhcp6-ia-pd-len) is added to the "id-assoc pd" entry in the dhcp6c config file. This hint is required for requesting prefixes shorter than /64 from Comcast.
* | Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-7/+7
|/
* Update interfaces.phpN0YB2013-08-051-1/+1
| | | | fix text - Capitalize sentence. s/this/This
OpenPOWER on IntegriCloud