Scott Ullrich
64bec1fecb
Version bump
2005-05-17 03:51:46 +00:00
Colin Smith
baa7645c03
More hacking away at the config hosification bugs.
2005-05-17 03:46:40 +00:00
Colin Smith
781beaaa8d
Change the behavior of parse_config() and a few other functions. This will (hopefully) fix the config hosification issues.
2005-05-17 01:36:03 +00:00
Colin Smith
eba0b1d853
$parsed -> $parsedcfg
...
reported-by: billm
2005-05-17 01:27:20 +00:00
Scott Ullrich
62460a467a
* skipto 65535 on rules when talking to firewall directly
...
* use me instead of $lanip when detecting if we're conversing with the firewall directly
2005-05-17 01:17:59 +00:00
Colin Smith
08c3872d7f
Make xmlrpc.inc cleaner. This needs to be followed up by a cleanup and integration of xmlparse_pkg.inc.
2005-05-17 01:05:44 +00:00
Scott Ullrich
4150835896
restore 1.62
2005-05-16 23:57:13 +00:00
Scott Ullrich
ffd1b44567
Revert to version 1.38
2005-05-16 23:41:17 +00:00
Bill Marquette
1008ad7047
need global $g
2005-05-16 23:19:50 +00:00
Scott Ullrich
23a97395da
Version bump
2005-05-16 22:35:02 +00:00
Scott Ullrich
11d42e4d1a
Do not set IPV6 forwarding unless checkbox is ticked and a ip is defined.
2005-05-16 22:32:22 +00:00
Bill Marquette
4ab34f15d3
fix whitespace and make wording a hair better
2005-05-16 21:32:56 +00:00
Colin Smith
b638fcfd9b
Restore stuff accidentally nuked in an earlier commit.
2005-05-16 21:28:14 +00:00
Colin Smith
c8a1c87220
Remove check for version_control flag. This should clean up related errors.
2005-05-16 21:11:21 +00:00
Bill Marquette
4f2c1590cb
Show the current state table size on the index page
...
This ones for you Hoba
2005-05-16 20:53:34 +00:00
Bill Marquette
6db304e40b
md5's can have '/'s in them apparently...doh
2005-05-16 20:24:09 +00:00
Bill Marquette
f3651b3a0c
guiconfig.inc wasn't the right include files for these
...
found via the auth.inc change
2005-05-16 20:22:52 +00:00
Scott Ullrich
24c07db34d
version bump
2005-05-16 04:49:43 +00:00
Bill Marquette
97bea9813f
Authentication is now PHP based
2005-05-16 03:34:10 +00:00
Bill Marquette
f977ac60e2
Include guiconfig.inc so we can use auth.inc
2005-05-16 03:31:55 +00:00
Bill Marquette
5a9edd86aa
ensure .htpasswd doesn't exist
2005-05-16 03:14:26 +00:00
Bill Marquette
bf786a5dff
split out auth types (system passwd vs htpasswd)
...
PHP_AUTH_* no longer exists, change code to use AUTH_* (I think this will be changing back as I believe we're using the wrong mini_httpd patches now)
2005-05-16 03:11:48 +00:00
Colin Smith
25540c7cec
Include the year a revision is made.
2005-05-16 02:52:08 +00:00
Bill Marquette
ec9af71cf2
fix php syntax error in last commit
2005-05-16 02:30:44 +00:00
Bill Marquette
124b1b858e
Ticket #6 : Allow for NAT rule duplication (adv. outbound nat this round)
2005-05-16 02:29:08 +00:00
Bill Marquette
f449d83ebf
remove duplicate code
2005-05-16 02:23:08 +00:00
Bill Marquette
4a99188995
Ticket 6: Allow NAT to duplicate rules
2005-05-16 02:14:55 +00:00
Colin Smith
98877b0c4f
Add a variable to limit the number of backed up configs. This is rather ugly if you're simulatenously adding and deleting.
2005-05-16 02:07:43 +00:00
Colin Smith
b6f3f5c606
Generate config cache, sweep backups, and run bootup-specific config parsing.
2005-05-16 01:45:05 +00:00
Colin Smith
203c3cc158
* Always use the config cache - only parse the actual XML config at boot and when it's changed.
...
* Add config_restore() to properly revert and document config file reverts.
* Add parse_config() and parse_config_bootup().
* Fix cleanup_backupcache().
2005-05-16 01:44:07 +00:00
Colin Smith
359893b013
Use config_restore to document config file reversion, unlink desired configs, etc.
2005-05-16 01:40:53 +00:00
Bill Marquette
2f8d0729be
Enable config restore
2005-05-16 01:08:26 +00:00
Bill Marquette
96caa2a84e
speed improvements - backup.cache was created so we didn't have to read through all the XML files
2005-05-16 00:49:49 +00:00
Bill Marquette
136f811be8
Fix double display of first config line
2005-05-16 00:38:17 +00:00
Bill Marquette
32f11c0559
Make config backup actually work
2005-05-16 00:35:42 +00:00
Bill Marquette
734edbdf04
Fix rules disable toggle
2005-05-15 23:05:50 +00:00
Bill Marquette
4e0d02b3aa
Log what script was running when write_config() was called so we aren't
...
leaving user completely in the blind as to what the change corresponds to
2005-05-15 23:01:19 +00:00
Bill Marquette
67f7b203af
"and" not "&" - I'm sure this wasn't meant to be a bitwise and...it's a miracle this parsed, let alone worked!
2005-05-15 22:47:08 +00:00
Bill Marquette
0884ea0ab2
Remove more duplicate code
2005-05-15 22:38:44 +00:00
Bill Marquette
23a8ad0447
Remove duplicate code
2005-05-15 22:35:06 +00:00
Bill Marquette
e2cb6b5097
returngateway and friends aren't part of rules
2005-05-15 22:19:17 +00:00
Bill Marquette
f87f85c3ef
Fix broken rules
2005-05-15 22:18:02 +00:00
Scott Ullrich
9cb8e6f087
Move rm in line with others
2005-05-15 20:21:36 +00:00
Scott Ullrich
7f0439dc82
Clear /tmp/* on boot
2005-05-15 20:20:23 +00:00
Colin Smith
d6f1dbe3ba
Sweep the backup cache on bootup.
2005-05-15 19:08:35 +00:00
Colin Smith
926312b6b1
More versioning work.
...
* Fix cleanup_backupcache. This function now includes a variable for printing output (for rc.bootup) and handles both new unlisted configs and deleted listed configs.
* Bring in necessary globals.
* Move config file backup into backup_config().
2005-05-15 19:07:04 +00:00
Scott Ullrich
b81f691b6e
Add custom os.pf file which includes the latest versino of FreeBSD
...
This should fix Ticket #76
2005-05-15 16:46:13 +00:00
Colin Smith
1c3b48a3c4
Sweep backup cache at bootup.
2005-05-15 04:48:33 +00:00
Colin Smith
fb4dc29f64
Reverse the backup cache.
2005-05-15 04:46:29 +00:00
Colin Smith
85e14b4b21
* Bring back cleanup_backupcache. This function now handles both files that are not listed in the cache (this should be avoided, as the XML parsing required is rather expensive) and items that are in the cache but don't exist.
...
The actual cache format and the simplified array returned by get_backups() are not currently compatible.
2005-05-15 04:34:44 +00:00