Commit Graph

46 Commits

Author SHA1 Message Date
Ermal
962fd68551 Fixes #632. When bringing down a vip of proxyarp use the new pidfile introduced. Also teach about interface argument to proxyarp function so it can start only a instance of an interface. 2010-06-16 16:07:16 +00:00
Ermal
2b6f65d736 Fixes #549. Save a list of all changed vips to reload in a temporary file so when apply is clicked it can process all of them. 2010-06-14 11:54:23 +00:00
Renato Botelho
3504e10b0f Use correct xml tag to compare with nat port forward destination address 2010-04-13 11:04:59 -03:00
Renato Botelho
93e485e3c6 Teach more code to deal with new NAT Port Forwarding xml tags 2010-04-12 11:10:04 -03:00
Ermal Luçi
ed65eb04ee Ticket #152. Hoepfully fix creation of empty vip entries in the config when deleting them. Probably more checks need to be done by consumers. 2010-02-09 11:03:58 +00:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Ermal Luçi
1ba7a81ba0 Propperly fix the special case of proxyarp vip deleteion. With comments from cbuechler@. 2009-11-15 20:49:11 +00:00
Ermal Luçi
d9d95b0a30 Revert "Resolves #153 Treat proxyarp special case during deletion."
This reverts commit 5d5ec271de.
2009-11-15 20:47:25 +00:00
Ermal Luçi
5d5ec271de Resolves #153 Treat proxyarp special case during deletion. 2009-11-15 20:38:49 +00:00
Chris Buechler
123f030c6b Fix proxy ARP VIP addition (was calling old function)
rename function from interfaces_proxyarp... to interface_ to be consistent with the functions for carp, carpdev, and ipalias.

still a problem with proxy ARP, removing VIP doesn't kill off choparp (will open ticket)
2009-11-15 17:06:19 -05:00
Ermal Luçi
0ee17602a5 Correctly handle the change of vhid on an interface. 2009-10-08 21:52:51 +00:00
Ermal Luçi
abcb2bed92 * Convert carp/vips code to behave the same as other interfaces.
* Make optimizations around it.
* Make sure when we reload teh underlying interface we reload carp too.
* Some fixes around the code.

Reviewed-by: scott@ and billm@
2009-10-01 15:19:42 +00:00
Scott Ullrich
7ac5a4cb18 Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 19:14:40 -04:00
Ermal Luçi
a368a026db * Reorganize the 'apply' button infrustructure in the GUI.
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
	- Convert all pages to the new infrustructure
	- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00
Ermal Luçi
53af883529 Take care of cleaning the ip alias when we delete an entry of ipalias type or modify it. 2009-03-26 17:15:41 +00:00
Ermal Luçi
2064fb9dc3 Make sure that the item isset before checking.(part of PHP5 array handling) 2009-03-26 17:13:17 +00:00
Bill Marquette
3dee90e652 fix path to IP Alias image 2009-03-12 23:19:13 -05:00
Bill Marquette
902b4e72e6 use the right class 2009-01-25 00:37:12 -06:00
Scott Ullrich
30d4c469bf Do not hard code white 2008-10-12 21:29:48 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Scott Ullrich
0e79d356d1 Eliminate interfaces_carp_bring_up_final() 2008-07-07 00:59:30 +00:00
Scott Ullrich
7633ddd8ae Woops, reverse output. 2008-05-25 05:49:09 +00:00
Scott Ullrich
0c0155711c Output vhid for carpdev items 2008-05-25 05:47:05 +00:00
Scott Ullrich
2db680e1ab Output CarpDEV-DHCP items correctly. Do not have subnet-bits. 2008-05-25 05:45:24 +00:00
Scott Ullrich
37e9212c9b CarDEV DHCP fixes. 2008-05-25 00:33:28 +00:00
Chris Buechler
a04de17f1a add IP alias support
TODO:
Remove IP aliases upon deletion
Add "type" icon
2008-04-14 03:28:51 +00:00
Chris Buechler
03acfa4a14 touch up text 2008-02-16 08:58:35 +00:00
Scott Ullrich
b760a120d2 * Only output one error message or save notice at a time
* Correc the reboot workaround for kernel panics (CARP interface deletion)

Ticket #1397
2007-12-24 01:25:01 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Seth Mos
d415d82153 Add a plus button on the top header of these pages.
This to make it easier on large configurations.
2007-05-08 22:09:06 +00:00
Scott Ullrich
9beb982e0d Do not reset CARP interfaces until user applies the changes. 2006-08-14 15:56:59 +00:00
Scott Ullrich
f7b5ee36cb Bring CARP interfaces up fully after changes. 2006-07-13 16:47:08 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
920b3bb026 Remove reboot required checks 2005-12-14 17:08:07 +00:00
Scott Ullrich
7c99b15cee MFC 7447
Only check against an item if external-address is defined
Ticket #648
2005-11-07 18:35:52 +00:00
Scott Ullrich
21784301d2 Do not show blank entries
Ticket #664
2005-11-04 21:29:15 +00:00
Scott Ullrich
19aeae7fb6 Adjust carp bootup sequence. Do not down the interfaces and later up them. 2005-09-24 20:47:31 +00:00
Bill Marquette
68a5dcd8c5 Allow for an "other" virtual IP which is neither ProxyARP or CARP
Useful if the IP is already routed to you (PPPOE for example) and
you just want to use it for NAT

XXX: Need a icon_other hoba ;)
2005-08-06 19:12:54 +00:00
Holger Bauer
c55a8ab9a1 some crosslinking to "fly" from corrosponding setting to logs, diags and back 2005-07-30 01:30:33 +00:00
Erik Kristensen
677c08696a updating files to use theme images
removing images from /usr/local/www
adding specific images into the correct theme directories
2005-07-21 00:17:40 +00:00
Bill Marquette
9f3103a952 Use CARP and Proxy ARP icons 2005-07-17 03:24:31 +00:00
Bill Marquette
719dc2a7d5 remove blank line 2005-07-13 04:36:09 +00:00
Bill Marquette
49424ec009 Move CARP around - it's no longer a "service"
status shows under status menu and all settings are under virtual ips
2005-07-13 04:15:35 +00:00
Bill Marquette
eec4ff894f Need to bring up the carp interfaces and do the proxyarp magic on changes 2005-07-13 04:04:34 +00:00
Bill Marquette
b0ae75c594 duh, helps if you commit the code you want people to use!
without further ado, heres the new virutal IP code :)
2005-07-13 03:11:29 +00:00