Commit Graph

499 Commits

Author SHA1 Message Date
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
Daniel Becker 18f3c2fd09 add option to send prefix hint for requesting desired prefix length for 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.
2013-09-03 02:05:52 -07:00
N0YB 61ca05e230 Update interfaces.php
fix text - Capitalize sentence. s/this/This
2013-08-05 11:07:16 +02:00
Ermal dbb4e08918 Implement an option to allow using the IPv4 connectivity interface for sending the dhcpv6 information. Usually useful for ppp[oe] type links and some ISP 2013-07-23 09:49:24 +00:00
Phil Davis 3b648a09f8 Fix editing saving dhcp6prefixonly state
Reported in redmine #3097 and forum http://forum.pfsense.org/index.php/topic,64483.msg350255.html#msg350255
2013-07-21 02:29:27 -07:00
Renato Botelho 7bc1b96813 Remove remaining hardcoded theme names 2013-07-17 12:29:06 -03:00
N0YB e00fafb304 Remove errant double quote. 2013-07-03 17:46:59 -07:00
smos a13acc0e04 Add a checkbox that can be used to request only a IPv6 prefix without a IPv6 address. Some ISPs DHCP6 servers will fail the request if both are requested and only a Prefix is allowed.
Conflicts:

	usr/local/www/interfaces.php
2013-07-02 11:27:06 +02:00
Jim P 0bd85300e6 Merge pull request #684 from N0YB/Advanced_DHCP_Client_Options
Add show/hide to the new "Reject Leases From" row
2013-07-01 05:24:42 -07:00
Renato Botelho c54b45860d fix typos 2013-07-01 07:16:11 -03:00
N0YB 63c704c314 Add show/hide to the new "Reject Leases From" row
Show for Basic and Advanced.  Hide for Config File Override.
2013-07-01 00:46:01 -07:00
Renato Botelho 61ef14bb46 Merge branch 'Advanced_DHCP_Client_Options' of https://github.com/N0YB/pfsense into N0YB-Advanced_DHCP_Client_Options
Conflicts:
	usr/local/www/interfaces.php
2013-06-30 10:50:55 -03:00
jim-p 57c83fd606 Add a field to allow rejecting DHCP leases from a specific upstream DHCP server. 2013-06-18 13:00:26 -04:00
Renato Botelho df78d8cc18 Fix max length for wpa passphrase, it fixes #3034 2013-06-14 16:33:58 -03:00
Renato Botelho 02203e6d4a Fix IPv6 Prefix ID default value
. Always initialize it to 0 when it's undefined
. Remove unecessary initializations and checks
. Bump config version to 9.5
. Write an upgrade config function to initialize old configs properly
2013-05-06 13:01:18 -03:00
Colin Fleming 168549b9c3 Tidy up "interfaces.php" XHTML
Add summary to TABLE tags
Add missing opening and closing cell tags in TR tag
Tidy up closing FONT tag
Remove duplicate closing TD tag and duplicate closing TR tag
Add missing opening TR tag
Remove duplicate width statement
Add missing closing DIV tag
Remove tags within comment block
2013-04-17 15:45:55 +01:00
Colin Fleming 339d2743ba Tidy up "interfaces.php" XHTML
Update HTML Boolean operators
Close a couple of missed INPUT tags
2013-04-16 14:35:19 +01:00
Colin Fleming 2cbe4b47fb Tidy up "interfaces.php" XHTML
Close INPUT tags
Add closing FONT tag
2013-04-15 14:16:38 +01:00