Commit Graph

1798 Commits

Author SHA1 Message Date
Scott Ullrich
89d1f0f27f Sync get_interface_list() with HEAD 2005-11-06 22:28:34 +00:00
Scott Ullrich
2fe54e1797 Do not iterate through an item unless it exists 2005-11-06 21:14:53 +00:00
Scott Ullrich
bc5dc42181 MFC 7406
Sync OpenVPN with Peter A's latest version:

rootfs-1.2-ovpn2.tar.gz
2005-11-06 20:30:09 +00:00
Scott Ullrich
c1ec2c2f80 MFC 7401
Add support for per interface ftp helper.

Suggested-by: Dan Swartzendruber <dswartz_AT_druber.com>

In-Discussion-with: Bill M, Dan S
2005-11-06 20:03:46 +00:00
Scott Ullrich
44318b5627 MFC 7397
Added curl_error output to logs if there is an error created by curl
2005-11-05 23:28:31 +00:00
Scott Ullrich
458d80d7e1 MFC 7395
Adjust the timeout for updates.
2005-11-05 23:11:23 +00:00
Scott Ullrich
a636c6ba3e Enable padlock support 2005-11-05 01:30:01 +00:00
Scott Ullrich
492d334b46 Log the payload when the operation fails for developer debugging 2005-11-05 01:24:41 +00:00
Scott Ullrich
930c30dcc8 Hold down for 60 seconds before switching to primary. If for some reason the backup fails the machine will assume master immediately. 2005-11-05 00:31:42 +00:00
Scott Ullrich
96f4c37f59 Execute carp.sh twice. It doesn't pick up all addresses on the first run!? 2005-11-05 00:24:37 +00:00
Scott Ullrich
918d2e7ef9 MFC 7353
add newline break to debug file entries
2005-11-04 20:19:44 +00:00
Scott Ullrich
59927f6082 * Execute file on bootup
* Sleep for 30 before bringing up final interfaces
2005-11-04 05:17:46 +00:00
Scott Ullrich
26646fc55a Do not execute file on bootup. Let the final carp routine bring up the carp interfaces 2005-11-04 05:10:08 +00:00
Scott Ullrich
bda04df32b Work around some weird race condition where half the carp information is not populated. 2005-11-04 05:03:22 +00:00
Scott Ullrich
f6189feb57 * Do not close early
* Do not exec multiple times
2005-11-04 04:52:56 +00:00
Scott Ullrich
25530ad85b Write out carp commands to a temp file and execute on bootup/ 2005-11-04 04:39:43 +00:00
Scott Ullrich
a08220d53d Sleep for 15 seconds before changing advskew 2005-11-04 04:09:54 +00:00
Scott Ullrich
a3553d1b55 Revert to old carp methods 2005-11-04 04:05:40 +00:00
Scott Ullrich
d6fcb946ee Log the current dyndns service 2005-11-04 03:16:14 +00:00
Scott Ullrich
53d366fd65 Change cache file location to /cf/conf 2005-11-04 00:47:55 +00:00
Scott Ullrich
01f3ce6807 Set $curwanip 2005-11-04 00:01:26 +00:00
Scott Ullrich
76934b05a3 MFC 7320
Add interface ip option for firewall rules
2005-11-03 23:42:17 +00:00
Scott Ullrich
31a3b9db6b MFC 7317
Correct start pftpx helper when no external-address is specified
2005-11-03 23:21:43 +00:00
Scott Ullrich
95eb8424a3 Forgotten MFC. Allow FTP Helper to be started correctly for NAT'd ftp connections 2005-11-03 20:33:52 +00:00
Scott Ullrich
fc3a37e9b8 Add more debugging helpers 2005-11-03 17:44:19 +00:00
Scott Ullrich
2c9b965a19 Use correct arguments to nsupdate
Ticket #665
2005-11-02 18:38:32 +00:00
Scott Ullrich
c64262f877 Surpress handback for 15 seconds after suppress_prempt reads 0.
Without this change a active SIP call will experience a 13 second "drop".  With this change there is no drop during handback.

Tested-at: Bluegrass.net
2005-11-02 18:28:47 +00:00
Colin Smith
60d9fe3205 Move PEAR.php to PEAR.inc.
Reported-by: Emanuel Gonzalez <egonzalez@starband.net>
2005-11-01 07:00:52 +00:00
Scott Ullrich
407a29ca29 Change to a pfsense page which includes a username and password 2005-10-31 22:15:22 +00:00
Scott Ullrich
16ee67062a MFC 7280
Correctly check for FTP helper on port 21.

NOTE that a rule permitting traffic to the EXTERNAL ip and port 21 is required for this.
2005-10-31 21:34:54 +00:00
Scott Ullrich
0ab19c0e50 Do not iterate unless item is an array 2005-10-31 00:11:49 +00:00
Scott Ullrich
95904542e6 MFC 7242
If there's no bandwidth set on an interface, default the interface to 10Mbit This handles vitual interfaces such as vlan

Submitted-by: Dan Swartzendruber
2005-10-30 19:23:34 +00:00
Scott Ullrich
0ec2c68b13 unmute kernel spew before echoing done and returning 2005-10-29 22:27:00 +00:00
Scott Ullrich
7e2c045310 Only echo done when booting 2005-10-29 19:55:12 +00:00
Scott Ullrich
fc19005f9b MFC 7235
Do not install anti-spoof rules if user has disabled.

Huge-pointy-hat-to: Me
2005-10-29 19:40:39 +00:00
Scott Ullrich
2bda651ba7 Do not install anti lockout rule unless both the lan ip is set and a subnet mask
Ticket #655
2005-10-29 16:43:32 +00:00
Scott Ullrich
7cc7e84db4 Remove the LAN IP address if user has cleared value
Ticket #654
2005-10-29 16:40:24 +00:00
Scott Ullrich
59a63553ae Re-enable phpDynDNS after many hours of sweat and tears.
Thanks to Billm for discovering the MPD blocking issues.
2005-10-27 16:55:33 +00:00
Scott Ullrich
5e2f59edf2 Disable phpDynDns and revert back to ez-ipupdate due to a number of reasons:
* Author has decided to unsubscribe from the lists therefore the item will not be supported properly
* Item has not been tested enough.  Simply putting in the wrong username / password combonitations doesn't even result in a invalid username or password error
* We are too close to release to have these repeated issues
* After repeated attempts to correct code, major issues still exist (like breaking internet access when combined with pppoe)
2005-10-26 22:02:56 +00:00
Scott Ullrich
61cbb18369 echo "done.\n"; if carp is not configured 2005-10-26 00:21:09 +00:00
Scott Ullrich
482b5d349d MFC 7164
Load dyndns.class when needed only.
2005-10-25 21:32:56 +00:00
Scott Ullrich
1331005d4f MFC 7162
$config is not working correctly as a global.   Let the other scripts handle calling updatedns if they need to.
2005-10-25 19:16:11 +00:00
Scott Ullrich
d237be68c6 Add php to <? 2005-10-25 18:29:47 +00:00
Scott Ullrich
f4e6563a32 MFC 7145
Better mousetrap, generate the "right" filter rules - future proof for the next change which will be to allow destination port to be chosen in adv. nat (we had been kind of overloading what this function did, it wasn't right) Shorten some calls to filter_nat_generate_if() that don't need to pass more arguments.
2005-10-25 16:58:16 +00:00
Scott Ullrich
a255e1f778 Output debugging information to try and find DynDns errors 2005-10-25 01:54:33 +00:00
Scott Ullrich
dd084ea51b MFC 7140
Only install wan spoof check rule if a lan ip address is set
2005-10-25 01:29:14 +00:00
Scott Ullrich
f70c887f25 MFC 7138
Back out alias fix and return to 1.566
2005-10-25 01:24:32 +00:00
Scott Ullrich
a262450f81 Add ste interface to compatible ALTQ interfaces 2005-10-24 21:24:40 +00:00
Scott Ullrich
cc936773c3 Add space after ppp-linkup 2005-10-24 21:14:15 +00:00
Scott Ullrich
389741e5af MFC 7125
If ppp-linkdown script exists, add it to mpd for pptp and pppoe
2005-10-24 21:01:53 +00:00