Commit Graph

6808 Commits

Author SHA1 Message Date
Scott Ullrich
088f2ddc84 MFC 13760
Correct UPNP anchor names
2006-08-14 21:18:05 +00:00
Scott Ullrich
58e9f5f5ac Apply patch for Ticket #1068 2006-08-14 19:01:56 +00:00
Scott Ullrich
103334168c Correctly discover last backup. 2006-08-14 18:56:53 +00:00
Scott Ullrich
525ae1e7e2 Return last entry for discover_backup() 2006-08-14 18:46:23 +00:00
Scott Ullrich
a990d2dcda When restoring the last known good configuration, really restore the last known good, not the *OLDEST*! 2006-08-14 18:41:16 +00:00
Scott Ullrich
27b62c6e7a Destroy interfaces. 2006-08-14 18:32:07 +00:00
Scott Ullrich
b987875fbf Do not destroy CARP interfaces for time being until a FreeBSD bug is zapped. 2006-08-14 16:47:36 +00:00
Scott Ullrich
dff74baf5f Invalidate CACHE after CARP changes. 2006-08-14 15:59:49 +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
d2b7068413 config_validate requires a config file, not a file stream.
Noticed-by: BillM
2006-08-14 03:50:37 +00:00
Scott Ullrich
0394c8169a Change detection code to detect <m0n0wall> instead of m0n0wall for config upgrades,. 2006-08-14 03:47:56 +00:00
Scott Ullrich
abf3737f48 config_validate requires a config file, not a file stream.
Noticed-by: BillM
2006-08-14 03:46:41 +00:00
Bill Marquette
3f7d2120ae flush the interface cache every time an interface is created
thanks go to MxxCon for testing
2006-08-11 22:55:40 +00:00
Bill Marquette
9e097ada68 MFC 13725 - really update cache 2006-08-11 03:46:41 +00:00
Bill Marquette
7b2d4769ca MFC 13723 - Here's another 7-10 second speedup on my 4801 by caching the carp interface counters 2006-08-11 03:34:54 +00:00
Bill Marquette
547a126d24 partial MFC of 13717
eek out another 10 seconds on my 4801 for rc.filter_configure
2006-08-11 03:13:31 +00:00
Bill Marquette
8b124b2a2a MFC 13714
Cache interface IPs - this led to a 60+ second speed up on my 4801 when running rc.filter_configure
2006-08-11 02:23:21 +00:00
Scott Ullrich
a960d9909e Missed require 2006-08-11 01:53:34 +00:00
Scott Ullrich
175b914984 Rever commit. m0n0wall also uses require_once() 2006-08-11 01:50:41 +00:00
Bill Marquette
bc2055b55d use rule cache for queue and normal user filter generation
cache table (alias) creation and only output them in the global scope
instead of global and anchors (removes confusing warning messages)
2006-08-11 01:42:32 +00:00
Scott Ullrich
19b300e4fd Change require_once to require.
This is how m0n0wall works, not sure at what point I made this bad decision.  Sorry!
2006-08-11 01:24:08 +00:00
Scott Ullrich
44a957634e MFC 13700
build an interface cache this saves 30 wallclock seconds on my 4801 when running rc.filter_configure on my vmware dev box it saved 24 seconds
2006-08-11 01:16:00 +00:00
Scott Ullrich
ce486d12f0 Increaase ACK queues. Lower Game queues a bit. 2006-08-10 00:58:44 +00:00
Scott Ullrich
4b0c1b3f2e Increase game queues bandwidth.
Tested with all options enabled.
2006-08-10 00:49:14 +00:00
Scott Ullrich
dad38cc22f Increase default bandwidth for ACKS, voIP and Gaming queues.
Tested by enabling all options to make sure the percentages did not add up more than the available bandwidth.  We still have plenty of room to spare.
2006-08-10 00:11:19 +00:00
Scott Ullrich
db045e8aa0 Fix Ticket #1064
css errors when mousing over right-side buttons in firewall_rules.php

Submitted-by: Royce3 via IRC
2006-08-09 22:59:05 +00:00
Scott Ullrich
abf0c54484 Fix Ticket #1046
Submitted-by: Peter Allgeyer
2006-08-09 22:56:40 +00:00
Scott Ullrich
fb5ab4917a Backout these changes. 2006-08-09 15:24:23 +00:00
Scott Ullrich
5cfb93bc64 When editing config.xml, automatically kill /tmp/config.cache if it exists as the user does not wish for config.xml to be restored from the cache.
This makes it easier to edit config.xml from the Diagnostics -> Edit menu.
2006-08-09 02:29:54 +00:00
Scott Ullrich
e212156b1c Don't move file when doing a restore, simply copy it. 2006-08-09 00:21:58 +00:00
Scott Ullrich
a0a0c54532 s/gettext// 2006-08-09 00:13:12 +00:00
Scott Ullrich
63cc5ece59 If no config.xml is found, attempt restore from the latest backup. 2006-08-09 00:00:53 +00:00
Scott Ullrich
db9db2a86e If no config.xml is found, attempt restore from the latest backup. 2006-08-08 23:58:58 +00:00
Scott Ullrich
9d1143bdff Never install rdr or nat on rules if we cannot deterimine the interface.
Ticket #1061
2006-08-08 22:42:34 +00:00
Scott Ullrich
4ba6d30d08 Add "px" to items to kill CSS errors.
Submitted-by: Royce3 via irc
2006-08-08 17:39:14 +00:00
Scott Ullrich
1a23410cd1 Attempt restore of previous backup if we are halting. 2006-08-08 16:36:01 +00:00
Scott Ullrich
bf2e1048db Take into account PPPoE for IPSEC tunnels. 2006-08-07 18:11:37 +00:00
Scott Ullrich
745de66a13 Don't remove /tmp/rc.newwanip, it breaks Big pong logins.
Ticket #1062
2006-08-07 14:37:21 +00:00
Scott Ullrich
f321b3a2f9 MFC 13617
The conditional fails if /var/db/pfi/capable_* expands to more than one file as [ -f ... ] can only be used to check a single file. Use a loop with a break to get around this.
2006-08-07 03:07:08 +00:00
Scott Ullrich
e84918266b Actually make OPT$INT address work 2006-08-05 22:11:12 +00:00
Scott Ullrich
5e541497a1 Automatically prepend "captiveportal-" if needed to files uploaded. 2006-08-05 21:26:21 +00:00
Scott Ullrich
7ca3849acb Show latest version when available
Ticket #1056
2006-08-05 19:38:11 +00:00
Scott Ullrich
369578b1d0 * Allow setting of OPTional interface IP address correctly
* Print "Interface IP Address" in firewall rules summary when selected

Ticket #1052
2006-08-05 19:31:13 +00:00
Scott Ullrich
adf28e735e Check for valid IP Address when needed.
Ticket #1055
2006-08-05 18:48:42 +00:00
Scott Ullrich
00c3915d9b Fine tune IPSEC rules.
Ticket #1060
2006-08-02 22:46:18 +00:00
Scott Ullrich
b2e805b6e2 Remove date check. This is breaking the system logs in certain cases and I am tired of fighting this battle. The logs *WILL* remain broken on the last entries in some cases. I know of this fact and I do't plan on changing it as it breaks something else ever time that a fix is attempted. 2006-08-01 16:53:34 +00:00
Scott Ullrich
9d5b2674b1 Wrong value slipped in 2006-07-30 01:49:35 +00:00
Scott Ullrich
34e1ff97af Return and log error when we cannot open a valid write stream 2006-07-30 01:47:15 +00:00
Scott Ullrich
d1cfae7b52 Do not show entries with corrupted time entries (clog) 2006-07-29 21:56:12 +00:00
Scott Ullrich
04d10bbcac MFC 13272
skip past blank packages (not sure where this comes from)
2006-07-29 21:43:38 +00:00