Commit Graph

1767 Commits

Author SHA1 Message Date
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
Scott Ullrich
8ffd7b68d6 MFC 7126
Correctly define port rule.
2005-10-24 21:01:22 +00:00
Scott Ullrich
dbfda08958 MFC 6939
XML/RPC.php -> xmlrpc_client.inc
2005-10-24 19:08:34 +00:00
Scott Ullrich
c2b6723a3a MFC 7080 7084
Minor cleanup and comment out old $ps code for the time being.
Fix backwards comment.
2005-10-23 17:36:18 +00:00
Scott Ullrich
9a82050bac Correct error 2005-10-22 22:01:10 +00:00
Scott Ullrich
e24b26e9f1 MFC 7055
Rework a number of items to make the code more readable.
2005-10-22 19:41:03 +00:00
Scott Ullrich
f8ab0b2260 continue, not return 2005-10-21 22:53:16 +00:00
Scott Ullrich
1c5c95a253 MFC 7042
Do not clear out the ENTIRE nat ruleset by moving the pftpx check above the nat rule construction portion.
2005-10-21 22:33:31 +00:00
Scott Ullrich
b393ce28c5 MFC 7035
Fix bug with turbomode and reboot (hopefully) Removed a space that shouldn't be there.
2005-10-21 22:05:07 +00:00
Scott Ullrich
da1dab20b0 MFC 7034
Fix bug with turbomode and reboot (hopefully)
2005-10-21 22:03:48 +00:00
Scott Ullrich
1ef47ac6c1 MFC 7028
Fix broken port redirection to alternate port
2005-10-21 02:49:52 +00:00
Scott Ullrich
14bd11b8a2 MFC 7016
Add vlan to altq capable list.
2005-10-20 17:26:46 +00:00
Scott Ullrich
b5aa941399 Add round-robin method
Ticket #626
2005-10-20 17:24:02 +00:00
Scott Ullrich
adb6911771 MFC 6843
Fix reply-to gateway selection
Ticket #623
2005-10-20 03:54:38 +00:00
Scott Ullrich
a205d904b1 MFC 7010
Only hold down boot while waiting on PPPOE to come up for a maximum of 30 seconds.
2005-10-19 15:55:52 +00:00
Scott Ullrich
0d57f5f37c If a value is marked as "false" simply do not write its contents out.
This will fix 71 occurances of true : false in the code w/o having
to touch each case.   And frankly, a item should not be in the xml
unless its set.
2005-10-18 19:50:10 +00:00
Scott Ullrich
04daa3c6c1 MFC 6936
move conf_mount_rw() before open
2005-10-17 20:38:07 +00:00
Scott Ullrich
b7ff5e40d2 MFC 6920
Allow for parent queues to work. Cleaned up code that does root queue detection and discovered some odd bugs that made me wonder how it worked correctly. Queues can be reordered (honestly, this is kinda pointless, but I put it in cause it was easier to punt to the user than doing queue trees correctly) This is obviously an XXX and needs to be fixed.
2005-10-17 16:11:07 +00:00
Scott Ullrich
3c18fbc9ce Echo done after configuring carp 2005-10-16 23:57:51 +00:00
Scott Ullrich
80ec5eaa6e MFC 6906 6907
Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)
Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)
2005-10-16 22:07:03 +00:00
Scott Ullrich
51535829c1 MFC 6899
Allow bridging on ath0 + wpa
2005-10-16 20:43:05 +00:00
Scott Ullrich
62739c1c86 MFC 6898
It helps to return the value!
2005-10-16 20:42:32 +00:00
Scott Ullrich
5acd3d7e13 MFC 6897
Write out to /tmp/ file commands used when adjusting mtu during bridging operations
2005-10-16 20:41:57 +00:00
Scott Ullrich
96812f1194 MFC 6894
Force all members of a bridge to the bridging from interface mtu.
2005-10-16 20:40:40 +00:00
Scott Ullrich
ffb4b005d1 MFC 6893
Add get_interface_mtu()
2005-10-16 20:40:03 +00:00
Scott Ullrich
01ae6c4092 MFC 6892
Setup span tree on all ports correctly.
2005-10-16 20:39:09 +00:00
Scott Ullrich
be9b63945d MFC 6874
Correct src/nat port arguments - miracle nobody has found this before now
2005-10-16 17:35:54 +00:00
Scott Ullrich
e1c8cdf529 MFC 6871
If WAN is pppoe, hold down boot until connection is established This will help anyone with PPPOE on WAN and DHCP on OPTx not get incorrect gateways assigned.
2005-10-16 17:34:42 +00:00
Scott Ullrich
8a8c0a8ee0 MFC 1.178
successfully kill hostapd if changing settings back from WPA to WEP (fix by lsf, noticed by marcusah)
2005-10-16 17:21:32 +00:00
Scott Ullrich
749b7a3328 Correct sysctl location 2005-10-16 00:34:57 +00:00
Bill Marquette
be3e4f15d6 Fix reply-to gateway selection 2005-10-15 19:38:34 +00:00
Scott Ullrich
4ae307bb4e Do not remove config.cache after loading filter. 2005-10-15 19:24:48 +00:00