hello dear friends
i would like to configure squid to skip some dst IPs from access.log.
for example:
# this contains IP ranges in CIDR format
i would like to configure squid to skip some dst IPs from access.log.
for example:
# this contains IP ranges in CIDR format
acl goodip dst "/usr/local/etc/squid/goodip.txt"
always_direct allow all
cache deny all
access_log daemon:/var/log/squid/access.tj.log squid goodip
access_log daemon:/var/log/squid/access.log squid all !goodip
cat /usr/local/etc/squid/goodip.txt
5.59.96.0/24
37.98.152.0/21
46.20.192.0/20
217.11.176.0/20
....
unfortunately i still see some records in log
always_direct allow all
cache deny all
access_log daemon:/var/log/squid/access.tj.log squid goodip
access_log daemon:/var/log/squid/access.log squid all !goodip
cat /usr/local/etc/squid/goodip.txt
5.59.96.0/24
37.98.152.0/21
46.20.192.0/20
217.11.176.0/20
....
unfortunately i still see some records in log
cat /var/log/squid/access.log
...
1540376534.310 519635 192.168.0.60 TCP_MISS/206 44040582 GET http://upload.mix.tj/video/7/36/5bcec0355a2ab.mp4 - HIER_DIRECT/217.11.180.56 video/mp4
1540376595.811 44046 192.168.0.60 TCP_MISS/206 44040588 GET http://upload.mix.tj/video/7/36/5bcec0355a2ab.mp4 - HIER_DIRECT/217.11.180.56 video/mp4
1540376643.381 252904 192.168.10.166 TCP_MISS/206 33025947 GET http://cloudflare.mix.tj/video/6/10/590ffae3d7601.mp4 - HIER_DIRECT/217.11.180.50 video/mp4
1540376534.310 519635 192.168.0.60 TCP_MISS/206 44040582 GET http://upload.mix.tj/video/7/36/5bcec0355a2ab.mp4 - HIER_DIRECT/217.11.180.56 video/mp4
1540376595.811 44046 192.168.0.60 TCP_MISS/206 44040588 GET http://upload.mix.tj/video/7/36/5bcec0355a2ab.mp4 - HIER_DIRECT/217.11.180.56 video/mp4
1540376643.381 252904 192.168.10.166 TCP_MISS/206 33025947 GET http://cloudflare.mix.tj/video/6/10/590ffae3d7601.mp4 - HIER_DIRECT/217.11.180.50 video/mp4
...
please advise
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users