Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir
Revert "Fix #3350. Do not destroy an interface when it's being disabled"
Ermal reported issues when changes are made on VLAN parent interfacewith this patch. He did other changes and interface_configure() will nowbe able to re-create VLAN interface
This reverts commit 5bc623536d8bb3b93e68a1b1535c9de582721a09.
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 53555bf2f796cd53cf649410fe1827a9a45fc4a7
Prevent network or broadcast address to be set on interface (console, GUI and wizard). It should fix #3196
Fix #3350. Do not destroy an interface when it's being disabled
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 6721d6d0443bd7e697bd6ca33f470c801608df7e.
Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280
Respect default gateway option when adding a gateway from interfaces page. It fixes #3230
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)
Remove call-time pass by reference for do_input_validation, helps ticket #2565
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.
Update interfaces.php
fix text - Capitalize sentence. s/this/This
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
Fix editing saving dhcp6prefixonly state
Reported in redmine #3097 and forum http://forum.pfsense.org/index.php/topic,64483.msg350255.html#msg350255
Remove remaining hardcoded theme names
Remove errant double quote.
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
Merge pull request #684 from N0YB/Advanced_DHCP_Client_Options
Add show/hide to the new "Reject Leases From" row
fix typos
Show for Basic and Advanced. Hide for Config File Override.
Merge branch 'Advanced_DHCP_Client_Options' of https://github.com/N0YB/pfsense into N0YB-Advanced_DHCP_Client_Options
Conflicts: usr/local/www/interfaces.php
Add a field to allow rejecting DHCP leases from a specific upstream DHCP server.
Fix max length for wpa passphrase, it fixes #3034
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
Tidy up "interfaces.php" XHTML
Add summary to TABLE tagsAdd missing opening and closing cell tags in TR tagTidy up closing FONT tagRemove duplicate closing TD tag and duplicate closing TR tagAdd missing opening TR tagRemove duplicate width statement...
Update HTML Boolean operatorsClose a couple of missed INPUT tags
Close INPUT tagsAdd closing FONT tag
Close BR and IMG tags and add ALT statement to IMG tagsChange ONCLICK and ONCHANGE to lower case.Add CDATA section to SCRIPT tags
Avoid send user to top of the page when you open add new gateway box
Add a new class called addgatewaybox to make it easier to respect custom themes. Fixes #2900
Remove functions that are not used now with once mode of rtsold
Bring down even rtsold process
Fix indent and whitespaces
Be consistent on the check
Prevent mtu bigger than 9000
Validate MTU changes for VLANs and let user change it again
You can have multiple 6rd tunnels now days
clean up text a bit, make link more apparent
Save ppp info and realif on interfaces.apply to be able to cleanup old configuration when changing interface type. Fixes #2758
Make parent interface and all VLANs use the same MTU. Fixes #2786
Fix validation of conflict between interface ip address and static routes. Fixes #2852
Reconfigure routing when a new gateway is added
Send ipprotocol parameter when adding new gateways from interfaces.php
Add section tag to v6 documentation links.
Put v4 send, request, require & modifies in lease requirements and requests section.No functional changes.
Fix response read for 'add new gateway' applet at interface configuration
Advanced DHCP Client Options & Config File Override
DHCP v4:Protocol TimingSend OptionsRequest OptionsRequire OptionsOption Modifiers
DHCP v6:Interface StatementIdentity Association StatementPrefix Interface StatementAuthentication StatementKeyinfo Statement...
Avoid conflicting interface IP address with static routes. Fixes #2039
Add missing check for IPv6 overlap on interfaces, it complements the change made for ticket #1723
Fix dhcp v6 config section name for console setup and check on interfaces.php, the correct is dhcpdv6 instead of dhcpd6. Fixes #2827
Merge pull request #426 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Interfaces Types Config Sections Spacer Row
Fix spacer (last) row display inconsistencyMissed one
Merge pull request #425 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Fix spacer (last) row display inconsistency
Interfaces Static IP v4 & v6 Gateway Add New
Fix mismatched table row tags
Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself
Check interfaces and VIP IP address overlap
- Check if interface IP overlaps other interfaces or localip from mpd based services- Check if VIPs IP overlaps interfaces or other VIPs address
It fixes #1723
Validate interface IP explicitly as v4 or v6
The IP Address fields on the Interfaces Edit page were just using is_ipaddr to validate them. I could put an IPv4 address in as the IPv6 static IP and it took it and saved it, then got my system in a knot! It even adjusted the subnet bits dropdown when I typed a valid IPv4 address format in the IPv6 filed....
For reloadall on interface_configure() called by GUI
Fix add gateway validation on interface configuration. It should fix #2791
Update usr/local/www/interfaces.php
Variables that equal FALSE are considered to be empty e.g. "0".
Actually destroy in this case
Do the right thing here
Do more strict checks. Also silence some more log_error under debug. Also do some sanity checks on rc.newwanipv6 before doing any operation
Correctly bring down an interface older configuration. Fixes #2758
Preserve "Idle timeout" parameter on interfaces gui. It fixes a problem pointed out on ticket #2641
Update PHP shorthand tag
Standardise all PHP start tags from "" to "
Add bogons update frequency selection
Add extra checks for reading and saving certain wireless settings and fix an existing check.
Fix syntax and do not commit late :)
The pppoe handle script
Add extra safety belts here.
Standardize hypenation and capitalization of Pre-Shared Key
Activate new shortcuts/status in the rest of the areas that are currently setup.
Get rid of carpdev, it will never be
report errors adding a gateway through ajax calls
$realif only exists on apply, which this code path would never touch. Change to use the configured interface instaed. Fixes #2212
fix for #2356 'track interface'
convert pulldown for ipv6 prefix id to a textbox. validation isimplemented.
Add support for SLAAC on the WAN interface, this is required for Stateless autoconf addressing.Normally this should only apply to Appliances that do not need to route. We automatically hook in the dhcp6 client to request name servers from DHCP6 in a information only mode. It will not attempt to request a address. For that you should use the plain DHCP6 option with a prefix size of none....
Remove this faulty piece of gateway code, it overwrites the existing entries that return_gateways_array() returns.It doesn't take any address families into account either.
Correct the variable names for the duplicate stf check
Remove this piece of code, it loads even on interfaces not configured for track. Really needs asynchronous javascript.
Prevent duplicate 6rd or 6to4 interfaces, these conflict and both use the stf0 adapter. Only 1 can be active.Move piece of code into function, we need it more places, tighten rules for proto 41 traffic.Attempt to micro optimize the select box for large amounts of choices. Chrome likes this approach better.
Add a command that should be able to extract the DUID for us.
Add interface tracking support. With this it is now possible for dynamic IPv6 interfaces to setup the corresponding lan interface for RA.DHCP6 with prefix delegation to follow later for automatic daisychaining.
Add 6to4 support for automatic tunneling.
Unbreak the 6rd config setting now that the javascript was fixed.Pointy hat to /meTicket #2304
feature #2320: JS helper to toggle subnet mask for ipv4/v6 during input
http://redmine.pfsense.org/issues/2320
prep work for feature #2320: tag fields for ipv4v6
fix: Input validation problem with VIPs and "none" type interfaces
http://redmine.pfsense.org/issues/2291
fix for: The javascript to enable and disable the various config boxes fail since adding the 6rd IPv6 config type
http://redmine.pfsense.org/issues/2304
fix text
Fix code that was accidentally replaced with an older version of the code.
Update the interfaces.php for 6rd support, reflects variable changesAdds to ticket #2117
Don't add the description either when the condition is not met, in case other required fields are later added.
Add missing ;
A friend of mine was having the same issue that was stated in another pull request with the explode function and white space. So when you commit changes on WLAN would throw and error stating MODE must have SSID set. Dropped the explode function all together, initialized the array first and then pushed the SSID onto the array if Mode is set to Access in your wireless configuration. No more Mode set issue. :D
Wireless client config should allow blank SSID (resubmit, fixed blank lines)
Add backend 6RD support. We don't have the required patch yet for our stf driver.Needs hooks into our gateway code to handle the default gateway since the stf interface does use router solicitationsAdds to ticket #2117
Clarify the UI text with example IPv6 prefix.Ticket #2117
Disable debug statementTicket #2117