Squid3 crashes on 2.2.3
-
This is insane..
I have reinstalled pfsense FRESH (destroyed the actual VM and recreated a new one to eliminate potential FS errors, etc) and upon rebooting with the new setup and uploading my config, I tried installing squid3 but got the same exact errors!
I have opened a bug report on pfsense bugzilla: https://redmine.pfsense.org/issues/4857
Could a setting or a package cause this?? If there's no bugs or anything wrong with this package, then what could have caused this to reoccur on a brand new install? Even the actual ISO image was freshly downloaded from pfsense's server.
-
When you say uploading my config, do you mean restoring from config.xml backup, or do you mean manually setting everything? If config.xml, try reinstalling and NOT restoring your config. Manually configure squid3 and see if the problem persists.
-
Hello KOM, sorry for the delay..
Yes when I meant "restore my config" I meant restore from config.xml. That didnt work well, so I ended up exporting my settings in a plantext file and reinstalled pfsense (latest release) fresh from scratch, then spent 2 hours to reconfigure everything by hand…......
All worked well for about 2 days. Squid & SG both installed and started without problems. They also ran fine. On the 23rd of July (a fre days ago), stuff stopped being populated in /var/squid/logs/access.log and squidguard stopped working. At least the last entries in its logs are also from the 23rd...
So obviously something went wrong that day.
I believe SG is working (until proven otherwise) but squid is really not.
Not sure what to do...
-
squidguard is a helper app that gets called on-demand by squid for every URL that gets requested. If squid isn't working, squidguard won't work either. Anything in either your System log or /var/squid/log/cache.log? Anything in squidguard log? You could also try stopping squid and then deleting his cache structure. Then run squid -Z to recreate it.
-
Yes there are tons of errors in the system logs:
Jul 30 20:57:46 php-fpm[98311]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:57:46 php-fpm[98311]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:57:45 php-fpm[98311]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:57:45 php-fpm[98311]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:57:44 check_reload_status: Reloading filter Jul 30 20:57:44 php-fpm[29656]: /pkg_edit.php: Reloading Squid for configuration sync Jul 30 20:57:43 php-fpm[29656]: /pkg_edit.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no Jul 30 20:57:43 check_reload_status: Syncing firewall Jul 30 20:57:03 php-fpm[29656]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:57:03 php-fpm[29656]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:57:03 php-fpm[29656]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface (wan). Jul 30 20:57:03 php-fpm[29656]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:57:03 php-fpm[29656]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:57:01 check_reload_status: Reloading filter Jul 30 20:57:01 php-fpm[68488]: /pkg_edit.php: Reloading Squid for configuration sync Jul 30 20:56:57 php-fpm[29656]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:56:57 php-fpm[29656]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:56:57 php-fpm[29656]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface (wan). Jul 30 20:56:57 php-fpm[29656]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:56:57 php-fpm[29656]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:56:56 php-fpm[17052]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:56:56 php-fpm[17052]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:56:56 php-fpm[17052]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface (wan). Jul 30 20:56:55 php-fpm[17052]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:56:55 php-fpm[17052]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:56:55 php-fpm[68488]: /pkg_edit.php: Creating root certificate bundle hashes from the Mozilla Project Jul 30 20:56:54 php-fpm[68488]: /pkg_edit.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no Jul 30 20:56:54 check_reload_status: Reloading filter Jul 30 20:56:54 check_reload_status: Syncing firewall Jul 30 20:56:54 check_reload_status: Reloading filter Jul 30 20:56:54 squid[14454]: Squid Parent: (squid-1) process 15057 started Jul 30 20:56:54 squid[14454]: Squid Parent: will start 1 kids Jul 30 20:56:54 php-fpm[68488]: /pkg_edit.php: Starting Squid Jul 30 20:56:53 php-fpm[68488]: /pkg_edit.php: [Squid] - Squid_resync function call pr: bp: rpc:no Jul 30 20:56:09 squid[48713]: Exiting due to repeated, frequent failures Jul 30 20:56:09 squid[48713]: Squid Parent: (squid-1) process 4516 will not be restarted due to repeated, frequent failures Jul 30 20:56:09 squid[48713]: Squid Parent: (squid-1) process 4516 exited with status 1 Jul 30 20:56:09 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf. Jul 30 20:56:09 squid[48713]: Squid Parent: (squid-1) process 4516 started Jul 30 20:56:06 squid[48713]: Squid Parent: (squid-1) process 4282 exited with status 1 Jul 30 20:56:06 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf. Jul 30 20:56:06 squid[48713]: Squid Parent: (squid-1) process 4282 started Jul 30 20:56:03 squid[48713]: Squid Parent: (squid-1) process 2249 exited with status 1 Jul 30 20:56:03 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf. Jul 30 20:56:03 squid[48713]: Squid Parent: (squid-1) process 2249 started Jul 30 20:56:00 squid[48713]: Squid Parent: (squid-1) process 85026 exited with status 1 Jul 30 20:56:00 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf. Jul 30 20:55:59 squid[48713]: Squid Parent: (squid-1) process 85026 started Jul 30 20:55:58 php-fpm[68488]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:55:58 php-fpm[68488]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:55:57 php-fpm[28355]: /pkg_mgr_install.php: Successfully installed package: squid3. Jul 30 20:55:57 check_reload_status: Syncing firewall Jul 30 20:55:57 php-fpm[68488]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface (wan). Jul 30 20:55:57 php-fpm[68488]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:55:57 php-fpm[68488]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:55:57 check_reload_status: Reloading filter Jul 30 20:55:57 php-fpm[28355]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy' Jul 30 20:55:57 php-fpm[28355]: /pkg_mgr_install.php: Reloading Squid for configuration sync Jul 30 20:55:57 php-fpm[28361]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:55:57 php-fpm[28361]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error' Jul 30 20:55:56 php-fpm[28361]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface (wan). Jul 30 20:55:56 squid[48713]: Squid Parent: (squid-1) process 49058 exited with status 1 Jul 30 20:55:56 (squid-1): I don't handle this error well! Jul 30 20:55:56 php-fpm[28361]: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. Jul 30 20:55:56 php-fpm[28361]: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:46: syntax error /tmp/rules.test.packages:47: syntax error /tmp/rules.test.packages:48: syntax error' Jul 30 20:55:56 php-fpm[28355]: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no Jul 30 20:55:56 check_reload_status: Reloading filter Jul 30 20:55:56 php-fpm[28355]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy' Jul 30 20:55:56 php-fpm[28355]: /pkg_mgr_install.php: Reloading Squid for configuration sync Jul 30 20:55:56 check_reload_status: Syncing firewall Jul 30 20:55:55 squid[48713]: Squid Parent: (squid-1) process 49058 started
/var/log/squid/cache.log
2015/07/30 20:56:54 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1... 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_ACCESS_DENIED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_CACHE_ACCESS_DENIED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_CACHE_MGR_ACCESS_DENIED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FORWARDING_DENIED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_NO_RELAY': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_CANNOT_FORWARD': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_READ_TIMEOUT': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_LIFETIME_EXP': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_READ_ERROR': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_WRITE_ERROR': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_CONNECT_FAIL': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_SECURE_CONNECT_FAIL': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_SOCKET_FAILURE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_DNS_FAIL': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_URN_RESOLVE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_ONLY_IF_CACHED_MISS': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_TOO_BIG': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_INVALID_RESP': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_UNSUP_HTTPVERSION': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_INVALID_REQ': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_UNSUP_REQ': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_INVALID_URL': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_ZERO_SIZE_OBJECT': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_PRECONDITION_FAILED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_CONFLICT_HOST': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_DISABLED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_UNAVAILABLE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_FAILURE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_PUT_ERROR': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_NOT_FOUND': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_FORBIDDEN': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_PUT_CREATED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_FTP_PUT_MODIFIED': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_ESI': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_ICAP_FAILURE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_GATEWAY_FAILURE': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_DIR_LISTING': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/ERR_SHUTTING_DOWN': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups. 2015/07/30 20:56:54 kid1| '/usr/local/etc/squid/errors/English/error-details.txt': (2) No such file or directory 2015/07/30 20:56:54 kid1| Unable to load default error language files. Reset to backups.
-
Start with this:
The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:45: syntax error'
What's in /tmp/rules.test.packages on line 45?
AndCannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.
Can you check the perms on /var/squid/logs and /var/squid/logs/access.log? Does access.log have any contents?
-
Hello KOM
Here's the info you asked!
Line 45 of /tmp/rules.test.packages does not exist (there are actually 44 lines in that file, 44 being the end of file EOF i.e. an empty line)
$ cat /tmp/rules.test.packages #System aliases loopback = "{ lo0 }" WAN = "{ vtnet1 }" LAN = "{ vtnet0 }" SEG = "{ vtnet2 }" #SSH Lockout Table table <sshlockout>persist table <webconfiguratorlockout>persist #Snort tables table <snort2c>table <virusprot>table <bogons>persist file "/etc/bogons" table <negate_networks># User Aliases table <pfb_africa_v4>persist file "/var/db/aliastables/pfB_Africa_v4.txt" pfB_Africa_v4 = "<pfb_africa_v4>" table <pfb_africa_v6>persist file "/var/db/aliastables/pfB_Africa_v6.txt" pfB_Africa_v6 = "<pfb_africa_v6>" table <pfb_asia_v4>persist file "/var/db/aliastables/pfB_Asia_v4.txt" pfB_Asia_v4 = "<pfb_asia_v4>" table <pfb_customblockedlists>persist file "/var/db/aliastables/pfB_CustomBlockedLists.txt" pfB_CustomBlockedLists = "<pfb_customblockedlists>" table <allowed>{ XX.XX.XX.XX/24 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 } allowed = "<allowed>" table <allowed_servers>{ XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 } allowed_servers = "<allowed_servers>" table <allowed_other_servers>{ XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 } allowed_other_servers = "<allowed_other_servers>" table <allowed_repomirrors>{ XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX } allowed_repomirrors = "<allowed_repomirrors>" table <allowed_websites>{ XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX XX.XX.XX.XX } allowed_websites = "<allowed_websites>" table <blocked>{ XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX } blocked = "<blocked>" table <blocked_sites>{ XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 XX.XX.XX.XX/16 } blocked_sites = "<blocked_sites>" table <blocked_useless>{ XX.XX.XX.XX } blocked_useless = "<blocked_useless>"</blocked_useless></blocked_useless></blocked_sites></blocked_sites></blocked></blocked></allowed_websites></allowed_websites></allowed_repomirrors></allowed_repomirrors></allowed_other_servers></allowed_other_servers></allowed_servers></allowed_servers></allowed></allowed></pfb_customblockedlists></pfb_customblockedlists></pfb_asia_v4></pfb_asia_v4></pfb_africa_v6></pfb_africa_v6></pfb_africa_v4></pfb_africa_v4></negate_networks></bogons></virusprot></snort2c></webconfiguratorlockout></sshlockout>
Perms of /var/squid/logs
$ ls -l /var/squid/logs total 56 -rw-r----- 1 proxy proxy 0 Jul 30 18:00 access.log -rw-r----- 1 proxy proxy 20662 Jul 30 21:08 cache.log -rw-r--r-- 1 proxy proxy 6 Jul 30 18:13 squid.pid -rw-r----- 1 proxy proxy 0 Jul 30 18:13 store.log
Perms of /var/squid/logs/access.log
$ ls -l /var/squid/logs/access.log -rw-r----- 1 proxy proxy 0 Jul 30 18:00 /var/squid/logs/access.log
access.log is totally empty (0 bytes)
I hope this will help you…
-
I'm wondering if that syntax error in your ruleset is crashing squid, and I wonder if it's being caused by Snort. What other packages do you have installed?
-
I didnt think of snort causing issues… Before I uninstall snort and try squid on its own, let me answer the question about what packages are installed on my router:
File Manager
ntop
pfBlockerNG
snort
squid3
vnstat2Thats all!
-
Both pfBlockerNG and Snort inject rules into the ruleset. You might try disabling them, if possible, and see if that has any effect.