Commit Graph

4048 Commits

Author SHA1 Message Date
Scott Ullrich
83cda9769a Add pfsense.merge_config_section which can merge two keys together via XMLRPC sync instead of killing the prior section. This is useful when merging subkeys of installedpackets for example. 2007-01-24 23:32:15 +00:00
Scott Ullrich
5a1eebc7ef Backport the alias rowhelper description feature 2007-01-24 04:34:52 +00:00
Seth Mos
c3214aed6e Bump version
Load balancing should now work with legacy configs.
2007-01-23 23:15:37 +00:00
Seth Mos
f35f2e37a8 Fix filter rules when using load balancing pools. Latest CVS was broken.
Logic error. And we do need to guess. It's not a local IP, it's a gateway.
Something with toffees
2007-01-23 22:00:13 +00:00
Seth Mos
fde7c161a7 Make DHCP server rules work again. on OPT interfaces. 2007-01-23 20:43:02 +00:00
Scott Ullrich
b2d95b76c6 Version bump 2007-01-23 00:32:51 +00:00
Scott Ullrich
106934e426 Do not launch check_reload_status from filter.inc. This creates some strange situation where check_reload_status inherits socket descriptors from OpenVPN. 2007-01-22 01:08:36 +00:00
Seth Mos
297363aff1 Don't guess interface, we know. 2007-01-21 22:19:42 +00:00
Seth Mos
c25998b98a If the load balancer interface name turns out to be a ip address we guess the interface and log a error.
Found by Holger
2007-01-21 21:51:13 +00:00
Seth Mos
2a1e01d7ac Not sure how I missed this.
* use correct variable name.
2007-01-20 23:29:39 +00:00
Scott Ullrich
4f18157180 Add back missing WINS statement that was accidently chopped in commit #9051
Ticket #1209
2007-01-19 16:36:39 +00:00
Seth Mos
d396dbe299 Bump version 2007-01-19 06:31:42 +00:00
Scott Ullrich
4bee86729f Hard code paths to /etc/inc files on bootup.
If for some reason php.ini gets whiped out on bootup then you will never be able to boot again.  This works around that issues and ensures that we atleast can bootup to the point where php.ini gets written back out.

Many many wasted hours on this issue.
2007-01-16 20:06:38 +00:00
Seth Mos
a3c72e2374 Fix indenation and possible conflicting variable naming (future commits) 2007-01-15 20:17:43 +00:00
Seth Mos
e589191078 Bump version
* load balancer dhcp multiwan filter.inc fix
* added optional interface quality graph
* bump config version
2007-01-13 00:43:07 +00:00
Seth Mos
f9ba50da14 Sync enable_rrd_graph() with HEAD
* added quality graph backend for Optional interfaces
* Huge code cleanup. PHP should now return proper line numbers on parse errors.
2007-01-13 00:41:51 +00:00
Seth Mos
af1a890c13 filter.inc logic and filter rule fix for new load balancer by interface name 2007-01-12 23:30:52 +00:00
Scott Ullrich
4cdd69e6be Version bump.
Note to commiters, we use USA standard date format:

MM-DD-YYYY
2007-01-11 19:31:34 +00:00
Scott Ullrich
cebf4a3571 Instead of killing openvpn and restarting, simply HUP it to reload its settings. 2007-01-08 16:24:49 +00:00
Seth Mos
2cb01de930 Bump version.
Traffic shaper changes, load balancer failover option.
2007-01-06 16:54:58 +00:00
Seth Mos
e64e1e3712 Let's see if this works ok over the course of a few snapshots. If not we can always revert this checkin combination.
Do note the s/$POST/$_POST fixes!

Allow for a failover type next to the already available load balancing type.
The gui server list box needs some up and down box for ordering.
For now just remove and add again. New page is way faster anyways.
Test by seth with crappy wifi link to the neighbours :-)
2007-01-06 16:53:05 +00:00
Seth Mos
2d5614def6 Do not configure DHCP server on dhcp interfaces. 2007-01-02 22:58:15 +00:00
Seth Mos
c98df176c0 Do not create DHCP server firewall rules for interfaces which are configured for DHCP.
They/We/He/She should not run into this, except when migrating a interface configuration to something else.
2007-01-02 22:27:41 +00:00
Seth Mos
401452ec0c Merge in new (outbound) load balancing configuration code from HEAD.
* assign interfaces to pool instead of manual IP configuration
* Only show interfaces with a gateway
* Offer list of monitor IPs including interface gateways.

This code is tested for outbound load balancing on a carp cluster and
works for me (smos). The server side needs testing. Which I don't know
how to. Let's give it a run for a snapshot or 2.
2006-12-30 00:45:25 +00:00
Scott Ullrich
1cea5083d5 Renumber, assign and delete rules as needed.
Observed-by: Vacum via irc
2006-12-28 23:47:22 +00:00
Scott Ullrich
17a2bc02fe s/array_count/array_count_values/ 2006-12-28 23:19:57 +00:00
Scott Ullrich
9841743e44 Renumber, assign and delete rules as needed.
Observed-by: Vacum via irc
2006-12-28 22:47:25 +00:00
Scott Ullrich
2d40224264 Version bump 2006-12-28 22:11:57 +00:00
Scott Ullrich
9aa9d624c8 Revert back to base dhclient 2006-12-28 22:04:12 +00:00
Scott Ullrich
2305d4c590 Go back to stock FreeBSD dhclient. ISC's is not very multi wan friendly and will make rearchitecting our code a complete interface rewrite. 2006-12-28 21:49:45 +00:00
Seth Mos
5b09780a26 Fix spelling
Submitted-by: Devon O'Dell <devon.odell@coyotepoint.com>
2006-12-27 07:47:15 +00:00
Seth Mos
32f5ff5af4 Fix ticket 1192 as seen by hoba and seth. 2006-12-24 19:21:42 +00:00
Scott Ullrich
81f5d759c1 Version bump 2006-12-23 19:19:22 +00:00
Scott Ullrich
59b75326f3 Do not create symlink for dhclient-script. This does not work on read-only iso's. 2006-12-23 05:17:35 +00:00
Scott Ullrich
0064a53428 Regardless of the fact that we are telling dhclient that it's script is /sbin/dhclient-script it wants to run /usr/local/sbin/dhclient-script to symlink on bootup this file if needed. 2006-12-23 01:36:05 +00:00
Scott Ullrich
ec9e5b7b7a Remove old workaround code now that ISC dhclient is back 2006-12-23 01:33:59 +00:00
Scott Ullrich
4bd9ba0bab Hotplug correctly now that ISC dhclient is being used. 2006-12-23 00:48:58 +00:00
Scott Ullrich
3aec0ff445 *REALLY* release and renew correctly. 2006-12-23 00:36:08 +00:00
Scott Ullrich
857c2ddb4b Version bump 2006-12-23 00:01:54 +00:00
Scott Ullrich
ca88e48ff1 * Fix release / renew
* Don't return immediately from dhclient to give it time to associate so we can return correct address back to status_interfaces.php
2006-12-23 00:00:28 +00:00
Scott Ullrich
f1d5b72c41 Correct path to pgrep:
# which pgrep
/bin/pgrep
2006-12-22 23:17:33 +00:00
Scott Ullrich
a19daac5ab Reverse platform testing logic. It must have been oppisite day. 2006-12-22 22:06:28 +00:00
Scott Ullrich
d25b4a552d Only use freebsd-sendfile network handler on Full Installations. Tests have shown that it actually slows down the metallic theme on embedded by Holger. 2006-12-22 21:02:23 +00:00
Seth Mos
fda8dc28ec Fix DHCP status on status_interfaces.php. Use find_dhclient_process() for test. 2006-12-22 16:55:57 +00:00
Scott Ullrich
bd18ec7c46 version bump 2006-12-21 23:16:47 +00:00
Seth Mos
bb7d60f91e MFC find_dhclient_process() fixes.
* Fix pgrep regexp for new dhclient version
* Kill process by number instead of (non-existant) pid file.
* Return PID number instead of executing the file $pid
2006-12-21 22:15:04 +00:00
Scott Ullrich
770b4b9cf8 Use correct directive. 2006-12-21 21:08:10 +00:00
Scott Ullrich
a56e787d38 MFC use freebsd-sendfile 2006-12-21 21:05:09 +00:00
Scott Ullrich
7c06959209 Remove bad sysctl
Pointed-out-by:  rsw686 via irc
2006-12-21 20:55:34 +00:00
Scott Ullrich
e789a62534 Output dhclient.conf in the same format as current m0n0.ch beta (freebsd 6 + isc dhclient) 2006-12-21 00:28:13 +00:00