[squid-users] The url_rewriter helpers are crashing too rapidly - Interrupted system call / Broken pipe

From: Theodore Wynnychenko <ted.m.w_at_comcast.net>
Date: Sat, 6 Feb 2010 08:59:14 -0600

Hello:
I recently installed squid Version 2.7.STABLE6 and SquidGuard: 1.4 Berkeley
DB 4.6.21 on OpenBSD 4.5.
At this point, I am still setting things up, so it is not proxying much of
anything, except for testing, but I have been getting this error every
morning at 7:00AM local time:

Feb 3 07:01:01 server squid[12276]: The url_rewriter helpers are crashing
too rapidly, need help!
Feb 3 07:01:01 server squid[7601]: Squid Parent: child process 12276 exited
due to signal 6
Feb 3 07:01:04 server squid[7601]: Squid Parent: child process 29122
started

I have no idea why this happens. After squid shuts down, it restarts
without an issue, and runs fine until 7AM the next day.
I am using newsyslog to manage the log files, and I send a squid -k
reconfigure after the logs are rotated for squidguard; and a squid -k rotate
after the squid logs rotate. But that happens at 3AM.
I thought maybe there was some sort of problem with the file descriptors
running out (I don't know what that means) after squid/squidguard was
running for 24 hours, but I ran a script to shutdown and restart
squid/squidguard at 3:32 AM, but the same errors occurred at 7AM.
The ONLY thing that I can think of is that 7AM is the start of "dayhours" in
my squidguard.conf. But I have no idea why that would be causing these
errors.
In any case, other than the fact that it all dies and then is reborn at 7AM
every day, it is all good. It bothers me to have this issue. Any ideas to
correct this would be welcome.
Below I have included the output of (in this order):
/var/squid/logs/cache.log
/var/log/squidguard/squidGuard.log

As well as my squidGuard.conf.

Thanks for any advice
Bye - ted

-------------------------------------------------------------
/var/squid/logs/cache.log

2010/02/03 03:32:01| Preparing for shutdown after 2 requests
2010/02/03 03:32:01| Waiting 30 seconds for active connections to finish
2010/02/03 03:32:01| FD 18 Closing HTTP connection
2010/02/03 03:32:32| Shutting down...
2010/02/03 03:32:32| FD 19 Closing ICP connection
2010/02/03 03:32:32| Closing unlinkd pipe on FD 23
2010/02/03 03:32:32| storeDirWriteCleanLogs: Starting...
2010/02/03 03:32:32| Finished. Wrote 1020 entries.
2010/02/03 03:32:32| Took 0.0 seconds (67846.2 entries/sec).
CPU Usage: 0.230 seconds = 0.100 user + 0.130 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 79
2010/02/03 03:32:32| logfileClose: closing log /var/squid/logs/store.log
2010/02/03 03:32:32| logfileClose: closing log /var/squid/logs/access.log
2010/02/03 03:32:32| Squid Cache (Version 2.7.STABLE6): Exiting normally.
2010/02/03 03:33:01| Starting Squid Cache version 2.7.STABLE6 for
i386-unknown-openbsd4.6...
2010/02/03 03:33:01| Process ID 12276
2010/02/03 03:33:01| With 128 file descriptors available
2010/02/03 03:33:01| Using kqueue for the IO loop
2010/02/03 03:33:01| Performing DNS Tests...
2010/02/03 03:33:01| Successful DNS name lookup tests...
2010/02/03 03:33:01| DNS Socket created at 0.0.0.0, port 16444, FD 8
2010/02/03 03:33:01| Adding domain mydomain.com from /etc/resolv.conf
2010/02/03 03:33:01| Adding nameserver 10.0.28.128 from /etc/resolv.conf
2010/02/03 03:33:01| Adding nameserver 10.0.28.129 from /etc/resolv.conf
2010/02/03 03:33:01| helperOpenServers: Starting 5 'squidGuard' processes
2010/02/03 03:33:01| helperOpenServers: Starting 5 'ncsa_auth' processes
2010/02/03 03:33:01| logfileOpen: opening log /var/squid/logs/access.log
2010/02/03 03:33:01| Unlinkd pipe opened on FD 23
2010/02/03 03:33:01| Swap maxSize 1024000 + 8192 KB, estimated 0 objects
2010/02/03 03:33:01| Target number of buckets: 3969
2010/02/03 03:33:01| Using 8192 Store buckets
2010/02/03 03:33:01| Max Mem size: 8192 KB
2010/02/03 03:33:01| Max Swap size: 1024000 KB
2010/02/03 03:33:01| logfileOpen: opening log /var/squid/logs/store.log
2010/02/03 03:33:01| Rebuilding storage in /var/squid/cache (CLEAN)
2010/02/03 03:33:01| Rebuilding storage in /var/squid/cache2 (CLEAN)
2010/02/03 03:33:01| Using Least Load store dir selection
2010/02/03 03:33:01| Set Current Directory to /var/squid/cache
2010/02/03 03:33:01| Loaded Icons.
2010/02/03 03:33:01| Accepting proxy HTTP connections at 0.0.0.0, port 3128,
FD 27.
2010/02/03 03:33:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
2010/02/03 03:33:01| WCCP Disabled.
2010/02/03 03:33:01| Configuring 127.0.0.1 Parent 127.0.0.1/8080/0
2010/02/03 03:33:01| Ready to serve requests.
2010/02/03 03:33:02| Done reading /var/squid/cache swaplog (517 entries)
2010/02/03 03:33:02| Done reading /var/squid/cache2 swaplog (503 entries)
2010/02/03 03:33:02| Finished rebuilding storage from disk.
2010/02/03 03:33:02| 1020 Entries scanned
2010/02/03 03:33:02| 0 Invalid entries.
2010/02/03 03:33:02| 0 With invalid flags.
2010/02/03 03:33:02| 1020 Objects loaded.
2010/02/03 03:33:02| 0 Objects expired.
2010/02/03 03:33:02| 0 Objects cancelled.
2010/02/03 03:33:02| 0 Duplicate URLs purged.
2010/02/03 03:33:02| 0 Swapfile clashes avoided.
2010/02/03 03:33:02| Took 0.3 seconds (2920.5 objects/sec).
2010/02/03 03:33:02| Beginning Validation Procedure
2010/02/03 03:33:02| Completed Validation Procedure
2010/02/03 03:33:02| Validated 1020 Entries
2010/02/03 03:33:02| store_swap_size = 5422k
2010/02/03 03:33:02| storeLateRelease: released 0 objects

2010/02/03 07:00:00| WARNING: url_rewriter #1 (FD 9) exited
2010/02/03 07:00:00| WARNING: url_rewriter #3 (FD 11) exited
2010/02/03 07:00:00| WARNING: url_rewriter #2 (FD 10) exited
2010/02/03 07:00:00| Too few url_rewriter processes are running
2010/02/03 07:00:00| Starting new helpers
2010/02/03 07:00:00| helperOpenServers: Starting 5 'squidGuard' processes
2010/02/03 07:00:00| WARNING: url_rewriter #4 (FD 12) exited
2010/02/03 07:00:00| WARNING: url_rewriter #5 (FD 13) exited
2010/02/03 07:00:30| WARNING: url_rewriter #5 (FD 29) exited
2010/02/03 07:00:30| WARNING: url_rewriter #1 (FD 9) exited
2010/02/03 07:00:30| WARNING: url_rewriter #4 (FD 26) exited
2010/02/03 07:00:30| Too few url_rewriter processes are running
2010/02/03 07:00:30| Starting new helpers
2010/02/03 07:00:30| helperOpenServers: Starting 5 'squidGuard' processes
2010/02/03 07:00:30| ipcCreate: PARENT: hello read test failed
2010/02/03 07:00:30| --> read: (4) Interrupted system call
2010/02/03 07:00:30| WARNING: Cannot run '/usr/local/bin/squidGuard'
process.
2010/02/03 07:00:30| write FD 12: (32) Broken pipe
2010/02/03 07:00:30| ipcCreate: CHILD: hello write test failed
2010/02/03 07:00:31| WARNING: url_rewriter #3 (FD 25) exited
2010/02/03 07:00:31| WARNING: url_rewriter #2 (FD 11) exited
2010/02/03 07:01:01| WARNING: url_rewriter #4 (FD 12) exited
2010/02/03 07:01:01| WARNING: url_rewriter #1 (FD 9) exited
2010/02/03 07:01:01| Too few url_rewriter processes are running
2010/02/03 07:01:01| Starting new helpers
2010/02/03 07:01:01| helperOpenServers: Starting 5 'squidGuard' processes
2010/02/03 07:01:01| ipcCreate: PARENT: hello read test failed
2010/02/03 07:01:01| --> read: (4) Interrupted system call
2010/02/03 07:01:01| WARNING: Cannot run '/usr/local/bin/squidGuard'
process.
2010/02/03 07:01:01| ipcCreate: PARENT: hello read test failed
2010/02/03 07:01:01| --> read: (4) Interrupted system call
2010/02/03 07:01:01| WARNING: Cannot run '/usr/local/bin/squidGuard'
process.
2010/02/03 07:01:01| write FD 25: (32) Broken pipe
2010/02/03 07:01:01| ipcCreate: CHILD: hello write test failed
2010/02/03 07:01:01| ipcCreate: PARENT: hello read test failed
2010/02/03 07:01:01| --> read: (4) Interrupted system call
2010/02/03 07:01:01| WARNING: Cannot run '/usr/local/bin/squidGuard'
process.
2010/02/03 07:01:01| write FD 25: (32) Broken pipe
2010/02/03 07:01:01| ipcCreate: CHILD: hello write test failed
2010/02/03 07:01:01| ipcCreate: PARENT: hello read test failed
2010/02/03 07:01:01| --> read: (4) Interrupted system call
2010/02/03 07:01:01| WARNING: Cannot run '/usr/local/bin/squidGuard'
process.
2010/02/03 07:01:01| WARNING: url_rewriter #3 (FD 10) exited
2010/02/03 07:01:01| Too few url_rewriter processes are running
2010/02/03 07:01:01| storeDirWriteCleanLogs: Starting...
2010/02/03 07:01:01| write FD 25: (32) Broken pipe
2010/02/03 07:01:01| ipcCreate: CHILD: hello write test failed
2010/02/03 07:01:01| write FD 25: (32) Broken pipe
2010/02/03 07:01:01| ipcCreate: CHILD: hello write test failed
2010/02/03 07:01:01| Finished. Wrote 1020 entries.
2010/02/03 07:01:01| Took 0.1 seconds (15190.8 entries/sec).
FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.150 seconds = 0.060 user + 0.090 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2010/02/03 07:01:04| Starting Squid Cache version 2.7.STABLE6 for
i386-unknown-openbsd4.6...
2010/02/03 07:01:04| Process ID 29122
2010/02/03 07:01:04| With 128 file descriptors available
2010/02/03 07:01:04| Using kqueue for the IO loop
2010/02/03 07:01:04| Performing DNS Tests...
2010/02/03 07:01:04| Successful DNS name lookup tests...
2010/02/03 07:01:04| DNS Socket created at 0.0.0.0, port 23124, FD 8
2010/02/03 07:01:04| Adding domain mydomain.com from /etc/resolv.conf
2010/02/03 07:01:04| Adding nameserver 10.0.28.128 from /etc/resolv.conf
2010/02/03 07:01:04| Adding nameserver 10.0.28.129 from /etc/resolv.conf
2010/02/03 07:01:04| helperOpenServers: Starting 5 'squidGuard' processes
2010/02/03 07:01:04| helperOpenServers: Starting 5 'ncsa_auth' processes
2010/02/03 07:01:04| logfileOpen: opening log /var/squid/logs/access.log
2010/02/03 07:01:04| Unlinkd pipe opened on FD 23
2010/02/03 07:01:04| Swap maxSize 1024000 + 8192 KB, estimated 0 objects
2010/02/03 07:01:04| Target number of buckets: 3969
2010/02/03 07:01:04| Using 8192 Store buckets
2010/02/03 07:01:04| Max Mem size: 8192 KB
2010/02/03 07:01:04| Max Swap size: 1024000 KB
2010/02/03 07:01:04| logfileOpen: opening log /var/squid/logs/store.log
2010/02/03 07:01:04| Rebuilding storage in /var/squid/cache (CLEAN)
2010/02/03 07:01:04| Rebuilding storage in /var/squid/cache2 (CLEAN)
2010/02/03 07:01:04| Using Least Load store dir selection
2010/02/03 07:01:04| Set Current Directory to /var/squid/cache
2010/02/03 07:01:04| Loaded Icons.
2010/02/03 07:01:04| Accepting proxy HTTP connections at 0.0.0.0, port 3128,
FD 27.
2010/02/03 07:01:04| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
2010/02/03 07:01:04| WCCP Disabled.
2010/02/03 07:01:04| Configuring 127.0.0.1 Parent 127.0.0.1/8080/0
2010/02/03 07:01:04| Ready to serve requests.
2010/02/03 07:01:04| Done reading /var/squid/cache swaplog (517 entries)
2010/02/03 07:01:04| Done reading /var/squid/cache2 swaplog (503 entries)
2010/02/03 07:01:04| Finished rebuilding storage from disk.

2010/02/03 07:01:04| 1020 Entries scanned
2010/02/03 07:01:04| 0 Invalid entries.
2010/02/03 07:01:04| 0 With invalid flags.
2010/02/03 07:01:04| 1020 Objects loaded.
2010/02/03 07:01:04| 0 Objects expired.
2010/02/03 07:01:04| 0 Objects cancelled.
2010/02/03 07:01:04| 0 Duplicate URLs purged.
2010/02/03 07:01:04| 0 Swapfile clashes avoided.
2010/02/03 07:01:04| Took 0.4 seconds (2507.3 objects/sec).
2010/02/03 07:01:04| Beginning Validation Procedure
2010/02/03 07:01:04| Completed Validation Procedure
2010/02/03 07:01:04| Validated 1020 Entries
2010/02/03 07:01:04| store_swap_size = 5422k
2010/02/03 07:01:05| storeLateRelease: released 0 objects

----------------------------------------------------------------------------
-----
/var/log/squidguard/squidGuard.log

2010-02-03 07:00:00 [24447] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [24447] squidGuard stopped (1265202000.824)
2010-02-03 07:00:00 [10241] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [10241] squidGuard stopped (1265202000.839)
2010-02-03 07:00:00 [4931] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [4931] squidGuard stopped (1265202000.849)
2010-02-03 07:00:00 [22737] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [22737] squidGuard stopped (1265202000.859)
2010-02-03 07:00:00 [10212] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [10212] squidGuard stopped (1265202000.879)
2010-02-03 07:00:00 [32092] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:00 [32092] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:00 [20066] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:00 [20066] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:00 [26312] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:00 [26312] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:00 [21372] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:00 [21372] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:00 [32261] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:00 [32261] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:00 [26312] Added User: user1
2010-02-03 07:00:00 [26312] Added User: user2
2010-02-03 07:00:00 [26312] destblock good missing active content, set
inactive
2010-02-03 07:00:00 [26312] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:00 [26312] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:00 [21372] Added User: user1
2010-02-03 07:00:00 [21372] Added User: user2
2010-02-03 07:00:00 [21372] destblock good missing active content, set
inactive
2010-02-03 07:00:00 [21372] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:00 [32261] Added User: user1
2010-02-03 07:00:00 [32092] Added User: user1
2010-02-03 07:00:00 [32092] Added User: user2
2010-02-03 07:00:00 [32092] destblock good missing active content, set
inactive
2010-02-03 07:00:00 [32092] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:00 [32092] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:00 [32092] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:00 [32092] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:00 [20066] Added User: user1
2010-02-03 07:00:00 [20066] Added User: user2
2010-02-03 07:00:00 [21372] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:00 [21372] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:00 [26312] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:00 [26312] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:00 [26312] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:00 [26312] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:00 [32261] Added User: user2
2010-02-03 07:00:00 [32261] destblock good missing active content, set
inactive
2010-02-03 07:00:00 [32261] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:00 [32261] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:00 [32261] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:00 [32261] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:00 [32261] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:00 [20066] destblock good missing active content, set
inactive
2010-02-03 07:00:00 [20066] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:00 [20066] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:00 [20066] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:00 [21372] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:00 [21372] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:00 [21372] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:00 [21372] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:00 [21372] squidGuard 1.4 started (1265202000.902)
2010-02-03 07:00:00 [21372] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [21372] squidGuard ready for requests (1265202000.976)
2010-02-03 07:00:00 [32261] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:00 [32261] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:00 [32261] squidGuard 1.4 started (1265202000.906)
2010-02-03 07:00:00 [32261] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [32261] squidGuard ready for requests (1265202000.981)
2010-02-03 07:00:00 [20066] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:00 [20066] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:00 [20066] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:00 [20066] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:00 [20066] squidGuard 1.4 started (1265202000.912)
2010-02-03 07:00:00 [20066] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [20066] squidGuard ready for requests (1265202000.986)
2010-02-03 07:00:00 [32092] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:00 [32092] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:00 [32092] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:00 [32092] squidGuard 1.4 started (1265202000.909)
2010-02-03 07:00:00 [32092] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [32092] squidGuard ready for requests (1265202000.991)
2010-02-03 07:00:00 [26312] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:00 [26312] squidGuard 1.4 started (1265202000.916)
2010-02-03 07:00:00 [26312] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:00 [26312] squidGuard ready for requests (1265202000.996)
2010-02-03 07:00:30 [21372] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:30 [21372] squidGuard stopped (1265202030.980)
2010-02-03 07:00:30 [32261] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:30 [32261] squidGuard stopped (1265202030.990)
2010-02-03 07:00:30 [20066] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:30 [20066] squidGuard stopped (1265202030.991)
2010-02-03 07:00:31 [32092] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [32092] squidGuard stopped (1265202031.001)
2010-02-03 07:00:31 [26312] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [26312] squidGuard stopped (1265202031.003)
2010-02-03 07:00:31 [31160] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:31 [31160] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:31 [31160] Added User: user1
2010-02-03 07:00:31 [31160] Added User: user2
2010-02-03 07:00:31 [31160] destblock good missing active content, set
inactive
2010-02-03 07:00:31 [31160] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:31 [31160] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:31 [31160] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:31 [31160] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:31 [31160] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:31 [31160] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:31 [31160] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:31 [31160] squidGuard 1.4 started (1265202031.025)
2010-02-03 07:00:31 [31160] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [31160] squidGuard ready for requests (1265202031.037)
2010-02-03 07:00:31 [7526] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:31 [7526] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:31 [7526] Added User: user1
2010-02-03 07:00:31 [7526] Added User: user2
2010-02-03 07:00:31 [7526] destblock good missing active content, set
inactive
2010-02-03 07:00:31 [7526] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:31 [7526] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:31 [7526] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:31 [7526] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:31 [7526] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:31 [7526] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:31 [7526] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:31 [7526] squidGuard 1.4 started (1265202031.043)
2010-02-03 07:00:31 [7526] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [7526] squidGuard ready for requests (1265202031.054)
2010-02-03 07:00:31 [22404] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:31 [22404] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:31 [22404] Added User: user1
2010-02-03 07:00:31 [22404] Added User: user2
2010-02-03 07:00:31 [22404] destblock good missing active content, set
inactive
2010-02-03 07:00:31 [22404] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:31 [22404] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:31 [22404] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:31 [22404] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:31 [22404] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:31 [22404] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:31 [22404] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:31 [22404] squidGuard 1.4 started (1265202031.055)
2010-02-03 07:00:31 [22404] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [22404] squidGuard ready for requests (1265202031.067)
2010-02-03 07:00:31 [22847] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:00:31 [22847] New setting: logdir: /var/log/squidguard
2010-02-03 07:00:31 [22847] Added User: user1
2010-02-03 07:00:31 [22847] Added User: user2
2010-02-03 07:00:31 [22847] destblock good missing active content, set
inactive
2010-02-03 07:00:31 [22847] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:00:31 [22847] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:00:31 [22847] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:00:31 [22847] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:00:31 [22847] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:00:31 [22847] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:00:31 [22847] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:00:31 [22847] squidGuard 1.4 started (1265202031.074)
2010-02-03 07:00:31 [22847] Info: recalculating alarm in 30 seconds
2010-02-03 07:00:31 [22847] squidGuard ready for requests (1265202031.085)
2010-02-03 07:01:01 [31160] Info: recalculating alarm in 48539 seconds
2010-02-03 07:01:01 [31160] squidGuard stopped (1265202061.041)
2010-02-03 07:01:01 [7526] Info: recalculating alarm in 48539 seconds
2010-02-03 07:01:01 [7526] squidGuard stopped (1265202061.061)
2010-02-03 07:01:01 [22404] Info: recalculating alarm in 48539 seconds
2010-02-03 07:01:01 [22404] squidGuard stopped (1265202061.071)
2010-02-03 07:01:01 [8660] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:01 [8660] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:01 [8660] Added User: user1
2010-02-03 07:01:01 [8660] Added User: user2
2010-02-03 07:01:01 [8660] destblock good missing active content, set
inactive
2010-02-03 07:01:01 [8660] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:01 [8660] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:01 [8660] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:01 [8660] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:01 [8660] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:01 [8660] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:01 [8660] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:01 [8660] squidGuard 1.4 started (1265202061.079)
2010-02-03 07:01:01 [8660] Info: recalculating alarm in 48539 seconds
2010-02-03 07:01:01 [8660] squidGuard ready for requests (1265202061.090)
2010-02-03 07:01:01 [22847] Info: recalculating alarm in 48539 seconds
2010-02-03 07:01:01 [22847] squidGuard stopped (1265202061.091)
2010-02-03 07:01:01 [8660] squidGuard stopped (1265202061.177)
2010-02-03 07:01:04 [4910] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:04 [4910] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:04 [4910] Added User: user1
2010-02-03 07:01:04 [4910] Added User: user2
2010-02-03 07:01:04 [4910] destblock good missing active content, set
inactive
2010-02-03 07:01:04 [4910] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:04 [4910] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:04 [4910] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:04 [4910] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:04 [4910] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:04 [4910] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:04 [4910] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:04 [4910] squidGuard 1.4 started (1265202064.337)
2010-02-03 07:01:04 [4910] Info: recalculating alarm in 48536 seconds
2010-02-03 07:01:04 [4910] squidGuard ready for requests (1265202064.350)
2010-02-03 07:01:04 [13783] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:04 [13783] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:04 [13783] Added User: user1
2010-02-03 07:01:04 [13783] Added User: user2
2010-02-03 07:01:04 [13783] destblock good missing active content, set
inactive
2010-02-03 07:01:04 [13783] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:04 [13783] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:04 [13783] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:04 [13783] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:04 [13783] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:04 [13783] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:04 [13783] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:04 [13783] squidGuard 1.4 started (1265202064.355)
2010-02-03 07:01:04 [13783] Info: recalculating alarm in 48536 seconds
2010-02-03 07:01:04 [13783] squidGuard ready for requests (1265202064.367)
2010-02-03 07:01:04 [3116] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:04 [3116] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:04 [3116] Added User: user1
2010-02-03 07:01:04 [3116] Added User: user2
2010-02-03 07:01:04 [3116] destblock good missing active content, set
inactive
2010-02-03 07:01:04 [3116] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:04 [3116] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:04 [3116] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:04 [3116] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:04 [3116] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:04 [3116] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:04 [3116] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:04 [3116] squidGuard 1.4 started (1265202064.373)
2010-02-03 07:01:04 [3116] Info: recalculating alarm in 48536 seconds
2010-02-03 07:01:04 [3116] squidGuard ready for requests (1265202064.385)
2010-02-03 07:01:04 [24703] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:04 [24703] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:04 [24703] Added User: user1
2010-02-03 07:01:04 [24703] Added User: user2
2010-02-03 07:01:04 [24703] destblock good missing active content, set
inactive
2010-02-03 07:01:04 [24703] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:04 [24703] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:04 [24703] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:04 [24703] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:04 [24703] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:04 [24703] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:04 [24703] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:04 [24703] squidGuard 1.4 started (1265202064.394)
2010-02-03 07:01:04 [24703] Info: recalculating alarm in 48536 seconds
2010-02-03 07:01:04 [24703] squidGuard ready for requests (1265202064.406)
2010-02-03 07:01:04 [3604] New setting: dbhome: /var/db/squidGuard/db
2010-02-03 07:01:04 [3604] New setting: logdir: /var/log/squidguard
2010-02-03 07:01:04 [3604] Added User: user1
2010-02-03 07:01:04 [3604] Added User: user2
2010-02-03 07:01:04 [3604] destblock good missing active content, set
inactive
2010-02-03 07:01:04 [3604] init domainlist
/var/db/squidGuard/db/whitelists/local/domains
2010-02-03 07:01:04 [3604] loading dbfile
/var/db/squidGuard/db/whitelists/local/domains.db
2010-02-03 07:01:04 [3604] init domainlist
/var/db/squidGuard/db/blacklists/porn/domains
2010-02-03 07:01:04 [3604] loading dbfile
/var/db/squidGuard/db/blacklists/porn/domains.db
2010-02-03 07:01:04 [3604] init urllist
/var/db/squidGuard/db/blacklists/porn/urls
2010-02-03 07:01:04 [3604] loading dbfile
/var/db/squidGuard/db/blacklists/porn/urls.db
2010-02-03 07:01:04 [3604] init expressionlist
/var/db/squidGuard/db/blacklists/porn/expressions
2010-02-03 07:01:04 [3604] squidGuard 1.4 started (1265202064.413)
2010-02-03 07:01:04 [3604] Info: recalculating alarm in 48536 seconds
2010-02-03 07:01:04 [3604] squidGuard ready for requests (1265202064.424)

-------------------------------------------
/etc/squidguard/squidGuard.conf

#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /var/db/squidGuard/db
logdir /var/log/squidguard

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

time dayhours {
        weekly * 07:00 - 20:30
}

#
# SOURCE ADDRESSES:
#

src admin {
        ip 10.0.28.0/24
        domain mydomain.com
        user user1 user2
}

src lan-clients {
        ip 10.0.28.0/24
        domain mydomain.com
}

#
# DESTINATION CLASSES:
#

dest good {
}

dest local {
        domainlist whitelists/local/domains
}

dest porn {
        domainlist blacklists/porn/domains
        urllist blacklists/porn/urls
        expressionlist blacklists/porn/expressions
}

acl {
        admin {
                pass any
        }

        lan-clients within dayhours {
                pass good local !in-addr !porn any
                redirect
http://server.mydomain.com/cgi-bin/squidguard/squidGuard.cgi?clientaddr=%a&c
lientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
        } else {
                pass none
                redirect
http://server.mydomain.com/cgi-bin/squidguard/squidGuard.cgi?clientaddr=%a&c
lientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
        }

        default {
                pass none
                redirect
http://server.mydomain.com/cgi-bin/squidguard/squidGuard.cgi?clientaddr=%a&c
lientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
        }
}
Received on Sat Feb 06 2010 - 14:59:22 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 06 2010 - 12:00:03 MST