Commit Graph

468 Commits

Author SHA1 Message Date
Ermal
57b02731c1 Remove not needed code 2013-12-27 20:50:01 +00:00
Ermal
53555bf2f7 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. 2013-12-27 20:37:34 +00:00
Renato Botelho
21d74c8e79 Prevent network or broadcast address to be set on interface (console, GUI and wizard). It should fix #3196 2013-12-04 18:21:30 -02:00
Renato Botelho
f70a140fe1 Fix #3350. Do not destroy an interface when it's being disabled 2013-12-03 12:37:36 -02:00
Renato Botelho
34e178135b 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 bb6291e020.
2013-10-29 07:35:06 -02:00
Renato Botelho
bb6291e020 Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280 2013-10-29 07:05:44 -02:00
Renato Botelho
197099cffd Respect default gateway option when adding a gateway from interfaces page. It fixes #3230 2013-09-24 21:27:27 -03:00
Daniel Becker
90652fbfe9 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-02 17:34:30 -07:00
N0YB
823bcb15af Update interfaces.php
fix text - Capitalize sentence. s/this/This
2013-08-05 00:14:30 -07:00
Ermal
329024c872 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:56:38 +00:00
Phil Davis
af49447af3 Fix error in 2.1 branch dhcp6prefixonly implementation
The Main branch code was in the correct place, but the version applied to 2.1 branch had this code in the wrong place.
2013-07-22 20:21:17 -07:00
Phil Davis
3dd6ed1ac1 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 10:56:40 -03:00
Renato Botelho
09f26fb7c5 Remove remaining hardcoded theme names 2013-07-17 12:29:27 -03:00
N0YB
3e3aeb8b15 Update interfaces.php
Remove errant double quote.
2013-07-03 18:06:32 -07:00
smos
6dcbd1b3ad 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. 2013-07-02 10:21:07 +02:00
jim-p
850324a23e Add a field to allow rejecting DHCP leases from a specific upstream DHCP server. 2013-06-18 13:01:07 -04:00
Renato Botelho
2ca432514e Fix max length for wpa passphrase, it fixes #3034 2013-06-14 16:34:21 -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
Colin Fleming
32b91bcfbd Tidy up "interfaces.php" XHTML
Close BR and IMG tags and add ALT statement to IMG tags
Change ONCLICK and ONCHANGE to lower case.
Add CDATA section to SCRIPT tags
2013-04-14 13:27:14 +01:00
Renato Botelho
7a47e29930 Avoid send user to top of the page when you open add new gateway box 2013-03-28 09:00:44 -03:00
Renato Botelho
4ad1e4ea74 Add a new class called addgatewaybox to make it easier to respect custom themes. Fixes #2900 2013-03-26 09:43:38 -03:00
Ermal
a9518178f9 Remove functions that are not used now with once mode of rtsold 2013-03-19 20:19:03 +00:00
Ermal
6d0473b4af Bring down even rtsold process 2013-03-19 16:28:36 +00:00
Renato Botelho
6d529efd81 Fix indent and whitespaces 2013-03-16 10:32:20 -03:00
Ermal
a58a9ece9c Be consistent on the check 2013-03-08 13:30:55 +00:00
Ermal
b783eaf2de Prevent mtu bigger than 9000 2013-03-08 13:20:12 +00:00
Renato Botelho
0d0d4a273d Validate MTU changes for VLANs and let user change it again 2013-03-07 10:28:38 -03:00
Ermal
dcddb2fa41 You can have multiple 6rd tunnels now days 2013-03-06 12:10:03 +00:00
Chris Buechler
2459be5008 clean up text a bit, make link more apparent 2013-03-05 22:10:40 -06:00
Renato Botelho
e12ad49f46 Save ppp info and realif on interfaces.apply to be able to cleanup old configuration when changing interface type. Fixes #2758 2013-03-04 09:57:28 -03:00
Renato Botelho
4a7352101f Make parent interface and all VLANs use the same MTU. Fixes #2786 2013-03-04 09:50:48 -03:00
Renato Botelho
e480d64bc5 Fix validation of conflict between interface ip address and static routes. Fixes #2852 2013-03-04 09:08:06 -03:00
Renato Botelho
244dee8142 Reconfigure routing when a new gateway is added 2013-03-01 15:03:39 -03:00
Renato Botelho
d09e69da07 Send ipprotocol parameter when adding new gateways from interfaces.php 2013-03-01 12:23:47 -03:00
Renato Botelho
6e704f1960 Fix response read for 'add new gateway' applet at interface configuration 2013-02-26 22:11:27 -03:00
Renato Botelho
42fa2c0142 Avoid conflicting interface IP address with static routes. Fixes #2039 2013-02-21 11:05:02 -03:00
Renato Botelho
6e828f9865 Add missing check for IPv6 overlap on interfaces, it complements the change made for ticket #1723 2013-02-21 08:23:46 -03:00
Renato Botelho
1f56ce5866 Fix dhcp v6 config section name for console setup and check on interfaces.php, the correct is dhcpdv6 instead of dhcpd6. Fixes #2827 2013-02-20 09:41:26 -03:00
rbgarga
30a9067275 Merge pull request #426 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Interfaces Types Config Sections Spacer Row
2013-02-19 02:17:09 -08:00
N0YB
1c4846e90f Interfaces Types Config Sections Spacer Row
Fix spacer (last) row display inconsistency
Missed one
2013-02-18 22:56:12 -08:00
rbgarga
9e696e9ae5 Merge pull request #425 from N0YB/Interfaces_Types_Config_Sections_Spacer_Row
Interfaces Types Config Sections Spacer Row
2013-02-18 14:51:02 -08:00
N0YB
a236affe7a Interfaces Types Config Sections Spacer Row
Fix spacer (last) row display inconsistency
2013-02-18 13:40:45 -08:00
N0YB
bd10508a2e Interfaces Static IP v4 & v6 Gateway Add New
Fix mismatched table row tags
2013-02-18 11:23:27 -08:00
Ermal
a1e4e2a79f Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself 2013-02-13 22:40:22 +00:00
Renato Botelho
e6c6001328 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
2013-02-11 18:35:50 -02:00
Phil Davis
85e9cfee1e 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.
And IPv6 addresses could be put in IPv4 fields also.
2013-02-10 23:25:07 +05:45
Renato Botelho
613a3cc563 For reloadall on interface_configure() called by GUI 2013-02-05 12:30:10 -02:00