Ermal LUÇI
657932fd09
Remove dead code and unset vars so next time the code works properly avoiding cache issues.
2015-02-11 20:34:47 +01:00
Renato Botelho
d961e7e33e
Welcome 2015
2014-12-31 16:22:27 -02:00
Chris Buechler
5f4f83652f
fix text
2014-11-10 23:53:50 -06:00
Jim Thompson
dd447bde2b
modify copyright statement to reflect reality
2014-11-10 22:49:50 -06:00
Ermal
9c97df267f
Ticket #3967 . Allow to have carp as parent of ipaliases
2014-11-10 14:34:35 +01:00
Ermal
4aa7f542a3
Merge pull request #1303 from PiBa-NL/carp_without_matching_subnet
2014-10-06 08:21:24 +00:00
Renato Botelho
4665dbdd51
Make proper check if IP address is configured on another interfaces and ignore current one. It fixes #3807
2014-10-03 12:15:44 -03:00
PiBa-NL
80a261a27e
CARP, allow carp ip to be outside interface and alias subnets (FreeBSD10 feature)
2014-10-02 22:56:06 +02: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
d59716931f
Fix #3807 :
...
* When changing a pre existing VIP, use previous configured interface
for checking, this fixes the issue that happens when you try to change
a VIP to a new interface.
* Use the right interface name, only carp uses _vipN suffix
2014-08-25 12:31:37 -03:00
Renato Botelho
12c8870063
Allow to add ipalias vip to lo0, it should fix #3773
2014-08-05 12:43:34 -03:00
Renato Botelho
7f7626ba44
Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br
2014-03-17 11:17:29 -03:00
Chris Buechler
c728177042
standardize on www.pfsense.org and HTTPS, point package URLs to
...
packages.pfsense.org
2014-03-14 19:04:43 -05: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
Renato Botelho
da49fd8996
Remove a probably bad copy/paste line
2013-12-14 09:22:41 -02:00
Ermal
a1007e19cf
Properly detect if an ip is already configured for VIP. Remove useless checks for carp
2013-12-13 22:58:48 +00:00
Ermal
b6877e065e
Handle more carp enahancements for FreeBSD 10. the interface vips will be names $if@$vhid since the interface name is the same as other ips.
2013-12-05 10:51:25 +00:00
Ermal
7238e0cfc8
Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code
2013-11-28 18:36:18 +00:00
jim-p
f6339216b7
s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases.
2013-08-28 13:54:30 -04:00
jim-p
19d90bce19
Allow selecting "Localhost" as an interface for IP Alias VIPs - this way you can make IP Alias VIPs to use for binding in a routed scenario with CARP without creating an IP conflict.
2013-06-06 13:50:28 -04:00
Colin Fleming
1d970c6bdd
Tidy up "firewall_virtaul_ip_edit.php" XHTML
...
Add CDATA sections to SCRIPT tags
Update HTML boolean operators
Close INPUT and BR tags
2013-04-09 15:10:26 +01:00
Renato Botelho
6b23c19a15
Don't allow adding IP Alias or CARP VIP on network or broadcast addresses. Fixes #2768
2013-03-01 10:44:01 -03:00
Renato Botelho
17ff2c46c2
Add check for ipv6 subnet when adding aliases with CARP parents
2013-03-01 10:02:21 -03:00
Renato Botelho
0692dea873
Simplify code
2013-03-01 09:51:32 -03:00
Renato Botelho
02421eca47
Silent php -l removing pass-by-reference
2013-03-01 09:48:27 -03:00
Renato Botelho
8de7e1805a
Improve error message since we can have ipv6 set here
2013-02-21 08:30:11 -03:00
Renato Botelho
ebbfc4b771
Revert "Preselect interface subnet mask for carp interfaces"
...
This was not a good change, it just consider ipv4, and it doesn't
respect the previous selected value. Revert it now and think on a better
solution later.
Fixes #2829
This reverts commit d94eb90446 .
2013-02-20 12:15:27 -03: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
d94eb90446
Preselect interface subnet mask for carp interfaces
2013-02-12 11:45:58 -02: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
Ermal
88cc00dbf5
Make gen_subnetv6 return a compressed form IPv6 address/net representation. This removes some issues reported during Ticket #2746 and solve the issue on some cases
2013-02-07 09:46:44 +00:00
jim-p
3a343d7384
Refine saving/applying on more pages - don't show apply or take an action unless the user is allowed to do that.
2012-10-09 15:17:00 -04:00
PiBa-NL
26a5f8c8ee
fix warning message for CARP /32 /128 masks added /31 /127 as these are also not applicable for carp which needs at least 3 IP's to function.
2012-09-24 02:05:30 +02:00
PiBa-NL
9e0f8e23e9
fix for breaking editing carp edit selection setting.
2012-09-24 01:05:12 +02:00
PiBa-NL
b1aa380496
changed "Firewall: Virtual IP Address: Edit" page to always have the same options available (if applicable) for IPalias/CARP/ProxyArp/other
2012-09-22 23:26:35 +02:00
Ermal
3e662cb0b2
Get rid of carpdev, it will never be
2012-06-07 08:51:16 +00:00
Cristian Feldman
90f90934c0
Fix of bug #2374 "When entering values in firewall rules leading and
...
trailing spaces are not deleted"
2012-05-18 22:57:38 -03:00
Darren Embry
0f907a68b7
bug fix for #2320 : on firewall_virtual_ip_edit.php it jumps to a length of 1 on a valid ipv4
2012-04-05 18:17:37 -04:00
Ermal
7b47bd4c3c
Make vips vhid be unique per parent interface!
2012-04-05 20:22:01 +00:00
Darren Embry
f51d5d57a6
feature #2320 : JS helper to toggle subnet mask for ipv4/v6 during input
...
http://redmine.pfsense.org/issues/2320
2012-03-28 18:50:02 -04:00
Darren Embry
a8fe61f1ed
prep work for feature #2320 : tag fields for ipv4v6
2012-03-28 16:56:54 -04:00
smos
2ce660ad4d
Unbreak a number of explode() replacements which required preg_split()
2012-01-20 12:18:13 +01:00
smos
cfbfd9412b
The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
...
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Chris Buechler
9f07c3438d
fix text
2011-10-22 21:21:53 -04:00
Vinicius Coque
df39dd8ab4
replacing prototype by jQuery on firewall_*
2011-10-10 21:00:06 -03:00
Ermal
4bd491a3e3
Comment out code that seems to not be anymore useful. Remove later on if no complaints in sight.
2011-08-17 09:02:18 +00:00
Seth Mos
c271c485ea
enlarge various address fields for IPv6 addresses
2011-03-17 12:45:09 +01:00
Seth Mos
6715c2a295
Fix the IP address check to allow for interfaces that just have a IPv6 address but no IPv4
2011-02-10 11:18:28 +01:00
Seth Mos
aadcf6ac50
Merge remote branch 'upstream/master'
2010-12-20 21:06:43 +01:00