acl all src 192.168.0.0/24 192.168.10.0/24
acl icq-qip dst 62.12.164.240-62.12.164.247 204.15.8.0-204.15.15.255 208.97.128.0-208.97.191.255 195.239.111.0-195.239.111.25
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl connections dst 217.74.32.26
acl block_sites url_regex -i "/usr/local/etc/squid/block_site.txt"
acl access_4_managers src 192.168.0.189 192.168.0.64 192.168.0.196
acl url_access_ignore url_regex "/usr/local/etc/squid/access_sites.txt"
acl access_deposit src 192.168.0.39
acl url_deposit url_regex depositfiles.com
acl access_kadry src 192.168.0.28 192.168.0.131 192.168.0.156
acl url_kadry url_regex hh.ru rabota.ru job.ru superjob.ru
acl access_odnoklassniki src 192.168.0.28 192.168.10.246 192.168.0.127 192.168.10.245
acl url_odnoklassniki url_regex odnoklassniki.ru
no_cache deny url_odnoklassniki
acl SSL_ports port 443 8443
acl Safe_ports port 80 8010 8030 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 8443 # https, snews
acl CONNECT method CONNECT
http_access allow access_4_managers url_access_ignore
http_access allow access_deposit url_deposit
http_access allow access_kadry url_kadry
http_access allow access_odnoklassniki url_odnoklassniki
http_access deny block_sites all
http_access allow manager all localhost
http_access allow connections all
http_access deny manager all
http_access deny block_sites all
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.0.0/24 192.168.10.0/24
http_access allow our_networks
http_access allow localhost all
http_access deny all
http_access deny all icq-qip
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid
Лог:
009/07/13 14:18:27| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:18:27| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:18:27| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:18:27| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:18:27| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:18:27| WCCP Disabled.
2009/07/13 14:18:27| Loaded Icons.
2009/07/13 14:18:27| Ready to serve requests.
2009/07/13 14:19:53| Reconfiguring Squid Cache (version 2.7.STABLE6)...
2009/07/13 14:19:53| FD 10 Closing HTTP connection
2009/07/13 14:19:53| FD 12 Closing ICP connection
2009/07/13 14:19:53| logfileClose: closing log /var/log/squid/store.log
2009/07/13 14:19:53| logfileClose: closing log /usr/local/squid/logs/access.log
2009/07/13 14:19:53| Including Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2009/07/13 14:19:53| Cache dir '/usr/local/squid/cache' size remains unchanged at 2097152 KB
2009/07/13 14:19:53| logfileOpen: opening log /usr/local/squid/logs/access.log
2009/07/13 14:19:53| logfileOpen: opening log /var/log/squid/store.log
2009/07/13 14:19:53| DNS Socket created at 0.0.0.0, port 58425, FD 9
2009/07/13 14:19:53| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:19:53| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:19:53| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:19:53| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:19:53| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:19:53| WCCP Disabled.
2009/07/13 14:19:53| Loaded Icons.
2009/07/13 14:19:53| Ready to serve requests.
2009/07/13 14:29:56| httpReadReply: Excess data from "GET
http://forum.streetkings.ru/cron.php?&rand=207668" 2009/07/13 14:33:18| Reconfiguring Squid Cache (version 2.7.STABLE6)...
2009/07/13 14:33:18| FD 10 Closing HTTP connection
2009/07/13 14:33:18| FD 12 Closing ICP connection
2009/07/13 14:33:18| logfileClose: closing log /var/log/squid/store.log
2009/07/13 14:33:18| logfileClose: closing log /usr/local/squid/logs/access.log
2009/07/13 14:33:18| Including Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2009/07/13 14:33:18| Cache dir '/usr/local/squid/cache' size remains unchanged at 2097152 KB
2009/07/13 14:33:18| logfileOpen: opening log /usr/local/squid/logs/access.log
2009/07/13 14:33:18| logfileOpen: opening log /var/log/squid/store.log
2009/07/13 14:33:18| DNS Socket created at 0.0.0.0, port 49338, FD 9
2009/07/13 14:33:18| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:33:18| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:33:18| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:33:18| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:33:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:33:18| WCCP Disabled.
2009/07/13 14:33:18| Loaded Icons.
2009/07/13 14:33:18| Ready to serve requests.
2009/07/13 14:34:29| Reconfiguring Squid Cache (version 2.7.STABLE6)...
2009/07/13 14:34:29| FD 10 Closing HTTP connection
2009/07/13 14:34:29| FD 12 Closing ICP connection
2009/07/13 14:34:29| logfileClose: closing log /var/log/squid/store.log
2009/07/13 14:34:29| logfileClose: closing log /usr/local/squid/logs/access.log
2009/07/13 14:34:29| Including Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2009/07/13 14:34:29| Cache dir '/usr/local/squid/cache' size remains unchanged at 2097152 KB
2009/07/13 14:34:29| logfileOpen: opening log /usr/local/squid/logs/access.log
2009/07/13 14:34:29| logfileOpen: opening log /var/log/squid/store.log
2009/07/13 14:34:29| DNS Socket created at 0.0.0.0, port 57024, FD 9
2009/07/13 14:34:29| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:34:29| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:34:29| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:34:29| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:34:29| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:34:29| WCCP Disabled.
2009/07/13 14:34:29| Loaded Icons.
2009/07/13 14:34:29| Ready to serve requests.
2009/07/13 14:35:35| Reconfiguring Squid Cache (version 2.7.STABLE6)...
2009/07/13 14:35:35| FD 10 Closing HTTP connection
2009/07/13 14:35:35| FD 12 Closing ICP connection
2009/07/13 14:35:35| logfileClose: closing log /var/log/squid/store.log
2009/07/13 14:35:35| logfileClose: closing log /usr/local/squid/logs/access.log
2009/07/13 14:35:35| Including Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2009/07/13 14:35:35| logfileOpen: opening log /usr/local/squid/logs/access.log
2009/07/13 14:35:35| logfileOpen: opening log /var/log/squid/store.log
2009/07/13 14:35:35| DNS Socket created at 0.0.0.0, port 64592, FD 9
2009/07/13 14:35:35| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:35:35| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:35:35| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:35:35| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:35:35| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:35:35| WCCP Disabled.
2009/07/13 14:35:35| Loaded Icons.
2009/07/13 14:35:35| Ready to serve requests.
2009/07/13 14:38:08| Reconfiguring Squid Cache (version 2.7.STABLE6)...
2009/07/13 14:38:08| FD 10 Closing HTTP connection
2009/07/13 14:38:08| FD 12 Closing ICP connection
2009/07/13 14:38:08| logfileClose: closing log /var/log/squid/store.log
2009/07/13 14:38:08| logfileClose: closing log /usr/local/squid/logs/access.log
2009/07/13 14:38:08| Including Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2009/07/13 14:38:08| Cache dir '/usr/local/squid/cache' size remains unchanged at 2097152 KB
2009/07/13 14:38:08| logfileOpen: opening log /usr/local/squid/logs/access.log
2009/07/13 14:38:08| logfileOpen: opening log /var/log/squid/store.log
2009/07/13 14:38:08| DNS Socket created at 0.0.0.0, port 60372, FD 9
2009/07/13 14:38:08| Adding domain m-city.ru from /etc/resolv.conf
2009/07/13 14:38:08| Adding nameserver 195.14.50.1 from /etc/resolv.conf
2009/07/13 14:38:08| Adding nameserver 195.14.50.21 from /etc/resolv.conf
2009/07/13 14:38:08| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10.
2009/07/13 14:38:08| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2009/07/13 14:38:08| WCCP Disabled.
2009/07/13 14:38:08| Loaded Icons.
2009/07/13 14:38:08| Ready to serve requests.
2009/07/13 14:50:45| httpReadReply: Excess data from "GET
http://forum.streetkings.ru/cron.php?&rand=891438" 2009/07/13 15:00:51| httpReadReply: Excess data from "GET
http://forum.streetkings.ru/cron.php?&rand=626860"