Ermal Luçi
a87c88106a
Limit scrub operation only to in direction as filter rules. For out FreeBSD and pf can handle themselves.(part 2 :)
2008-11-28 18:02:23 +00:00
Ermal Luçi
a6a79d8e10
Limit scrub operation only to in direction as filter rules. For out FreeBSD and pf can handle themselves.
2008-11-28 18:01:32 +00:00
Ermal Luçi
e183c2d704
* Convert NAT reflection and ftp proxy to use tags on filter rules. This removes all that duplicated and not so clear code on the filter rules.
...
* Remove the 'user proxy' from RFC 959 workaround rules to alleviate some problems in locking when this type of rules are used
* Remove a global $used_pftpx_ports not needed anymore
NOTE: Two new tags PFFTPPROXY and PFREFLECT are introduced for the purpose. Probably would make sense write something for documenting this tags.
2008-11-28 15:50:52 +00:00
Ermal Luçi
3e3f7043c9
Remove unused function.
2008-11-26 21:30:18 +00:00
Ermal Luçi
fafb8fe838
Handle the case where WAN might be disabled or renamed.
2008-11-26 21:14:43 +00:00
Ermal Luçi
73011fc8ec
Handle the case where WAN might be disabled or renamed.
2008-11-26 21:12:36 +00:00
Scott Ullrich
57ef369212
Turn off APC upload progress support, we're using the pecl extension
...
now.
2008-11-24 21:49:48 +00:00
Scott Ullrich
ac94a233ae
Do not sleep, just exit
2008-11-24 04:22:39 +00:00
Scott Ullrich
f525af81bb
Remove non-needed \n
2008-11-24 04:05:09 +00:00
Scott Ullrich
0cf5aa69c0
Remove lighttpd files on reboot.
2008-11-24 04:01:19 +00:00
Scott Ullrich
7e9153a013
Inculde uploadprogress.so
2008-11-24 03:53:16 +00:00
Scott Ullrich
660b5c0405
Backout apc / cli cache
2008-11-24 02:38:33 +00:00
Scott Ullrich
5a54464bbe
Turn on apc.rfc1867 = on (upload progress bar support which is apparently)
...
native to APC.
2008-11-24 00:07:55 +00:00
Scott Ullrich
20bcfd8125
Turn on apc for cli
2008-11-24 00:04:16 +00:00
Scott Ullrich
e1cb970ef4
Minor text cleanups
2008-11-23 23:48:52 +00:00
Scott Ullrich
3f179a5572
* Split more code into a function
...
* Move all functions to top
* Wait for PHP to restart
* Really use correct rules.debug files
2008-11-23 23:46:44 +00:00
Scott Ullrich
dbec18e1d4
* Use system
...
* Use correct filename
2008-11-23 23:38:29 +00:00
Ermal Luçi
48d7fcbf5a
There is a 'type' knob now.
2008-11-23 23:26:06 +00:00
Scott Ullrich
c4110081ca
Show rule differences (rules.debug) after a sync. Handy if you have
...
changed filter.inc.
2008-11-23 23:07:46 +00:00
Ermal Luçi
eefa2b49b0
Remove hardcoded checks and substitute with more generic method.
2008-11-23 22:52:20 +00:00
Ermal Luçi
f699ed89d6
More fixes to the switch to the FilterIflist.
2008-11-23 22:44:45 +00:00
Ermal Luçi
4027959675
Fix System aliases.
2008-11-23 21:41:16 +00:00
Ermal Luçi
4095351687
Fix errors introduced during moving to FilterIflist array from actual functions.
...
Reported-by: smos@
2008-11-23 21:38:15 +00:00
Scott Ullrich
8e90702881
Remove non-working check
2008-11-23 06:20:43 +00:00
Scott Ullrich
211dff5564
Update firmware lock (upgrade) variable
2008-11-23 06:18:36 +00:00
Scott Ullrich
0aa65a5eb9
Do not allow ro mount when an upgrade is in progress
2008-11-23 06:13:30 +00:00
Scott Ullrich
bfd1cd6b22
Minor formatting and text refinements
2008-11-23 00:11:15 +00:00
Scott Ullrich
0c15a74777
Correctly set nobackup flag
2008-11-23 00:04:03 +00:00
Scott Ullrich
6680b6d141
* Exclude /var/dhcpd/dev/ from backups
...
* Split out long excludes into shorter assignments
2008-11-22 23:59:20 +00:00
Scott Ullrich
17653781d5
Add missing exit
2008-11-22 23:55:04 +00:00
Scott Ullrich
edfde77111
Exit before upgrade, etc on failure
2008-11-22 23:54:34 +00:00
Scott Ullrich
fe92851916
Test php after cvssync. If you go backwards in time your PHP will puke.
...
If php pukes and a previous backup exists, just restore it.
2008-11-22 23:53:56 +00:00
Scott Ullrich
1b02bfb7cc
Add missing /
2008-11-22 23:30:31 +00:00
Scott Ullrich
d87218810d
When a new user home directory is created, copy the . (dot) root files.
2008-11-22 23:27:33 +00:00
Seth Mos
7340c126e7
Remove quality graph backend, this is now apinger territory
2008-11-22 22:03:14 +00:00
Seth Mos
ede99c94dd
Reverse name fields to be compatible with current graph frontend
2008-11-22 21:59:26 +00:00
Seth Mos
1bce2729a5
Create RRD file for each gateway name, not the gateway address which can change a lot or be plain
...
bogus.
2008-11-22 21:54:27 +00:00
Seth Mos
fd4b88d137
Set permissions correctly so apinger can write the rrd files
2008-11-22 21:34:01 +00:00
Ermal Luçi
403a270ec8
Fix the case when users without access to index.php get an error message.
...
This redirects the users to the first allowed pagge if they do not have access to index.php and errors out only if no page has been assigned to them.
NOTE: It is strange that a user cannot change its password!
2008-11-22 18:39:46 +00:00
Seth Mos
0334dcd403
Fix bypass static routes rules with new routing array format
2008-11-21 22:23:13 +00:00
Scott Ullrich
16bc968efe
Spell conf correctly
2008-11-21 20:46:40 +00:00
Scott Ullrich
eba938e32a
Change functions to function nameoffunction() {
2008-11-21 19:39:10 +00:00
Scott Ullrich
53c82ef96c
More pppoe_reset cleanups
...
* Add new function to interfaces.php setup_pppoe_reset_file() which
sets up the periodic reset file. Prior to this restoring a config.xml
backup would end up with a cron entry with no file!
* More text cleanups to make the files readable
2008-11-21 19:36:09 +00:00
Scott Ullrich
8a8f493f65
Minor style tweaks
2008-11-21 05:28:05 +00:00
Scott Ullrich
02b7af4358
Style changes.
...
* Convert spaces to tabs
* Reformat code
2008-11-21 05:20:40 +00:00
Chris Buechler
4d391720cf
partially fix bypass static routes
...
routes no longer have an interface included with them so it still doesn't work. That will need to return.
2008-11-21 04:15:56 +00:00
Scott Ullrich
8797777129
Do not output starting rrd graphs twice.
2008-11-21 02:40:57 +00:00
Scott Ullrich
ec164e2b01
Update comment
2008-11-21 00:43:38 +00:00
Scott Ullrich
1215fbb6a7
Use a MFS /home on CD-Rom.
2008-11-21 00:42:09 +00:00
Scott Ullrich
65a1bbca22
Backout last commit, /var/home is a symlinnk
2008-11-21 00:36:01 +00:00