[squid-users] show name instead of ip in access logs

--Ahmad-- ahmed.zaeem at netstream.ps
Sun May 7 21:35:19 UTC 2017


hey folks .

i just want to ask how can i show names instead of ips on access logs 


if i put the ip:port in my browser , then i can see the names that i access ….but if i use squid as transparent …. i don’t see the names


any idea how can i fix it ?


have a look down :


transparent logs :

1494192594.244  10104 192.168.1.140 TCP_TUNNEL/200 234 CONNECT 172.217.6.68:443 - HIER_DIRECT/172.217.6.68 -
1494192595.818  10088 192.168.1.140 TCP_TUNNEL/200 0 CONNECT 172.217.6.34:443 - HIER_DIRECT/172.217.6.34 -

1494192604.244  14125 192.168.1.140 TCP_TUNNEL/200 234 CONNECT 172.217.6.70:443 - HIER_DIRECT/172.217.6.70 -
1494192604.247  18597 192.168.1.140 TCP_TUNNEL/200 234 CONNECT 172.217.6.34:443 - HIER_DIRECT/172.217.6.34 -
1494192624.409  65110 192.168.1.140 TCP_TUNNEL/200 1654 CONNECT 31.13.77.36:443 - HIER_DIRECT/31.13.77.36 -





ip:port logs :

1494192683.096    223 192.168.1.208 TCP_MISS/200 2715 GET http://facebbok.com/ - HIER_DIRECT/199.59.243.120 text/html
1494192683.429    160 192.168.1.208 TCP_MISS/200 5661 GET http://facebbok.com/glp? - HIER_DIRECT/199.59.243.120 text/javascript
1494192684.002    152 192.168.1.208 TCP_MISS/404 1527 GET http://facebbok.com/favicon.ico - HIER_DIRECT/199.59.243.120 text/html
1494192684.739   1195 192.168.1.208 TCP_MISS/200 874 POST http://facebbok.com/gzb - HIER_DIRECT/199.59.243.120 text/javascript
1494192684.942    162 192.168.1.208 TCP_MISS/200 454 POST http://facebbok.com/z - HIER_DIRECT/199.59.243.120 text/javascript
1494192685.239    107 192.168.1.208 TCP_MISS/307 970 GET http://bridge.sfo1.admarketplace.net/ct? - HIER_DIRECT/104.218.74.13 text/html
1494192685.399     23 192.168.1.208 TCP_MISS/200 5821 GET http://bridge.sfo1.admarketplace.net/co? - HIER_DIRECT/104.218.74.13 text/html
1494192690.127  10114 192.168.1.208 TCP_TUNNEL/200 211 CONNECT www.facebook.com:443 - HIER_DIRECT/31.13.77.36 -
1494192700.127  19160 192.168.1.208 TCP_TUNNEL/200 4162 CONNECT fonts.gstatic.com:443 - HIER_DIRECT/216.58.195.227 -
1494192700.127  20056 192.168.1.208 TCP_TUNNEL/200 234 CONNECT www.google.com:443 - HIER_DIRECT/172.217.6.68 -


1494192726.868     85 192.168.1.208 TCP_MISS/301 359 GET http://youtube.com/ - HIER_DIRECT/172.217.6.78 text/html
1494192728.913    235 192.168.1.208 TCP_TUNNEL/200 5049 CONNECT i.ytimg.com:443 - HIER_DIRECT/216.58.192.14 -
1494192728.913    236 192.168.1.208 TCP_TUNNEL/200 5049 CONNECT i.ytimg.com:443 - HIER_DIRECT/216.58.192.14 -
1494192734.778  10125 192.168.1.208 TCP_TUNNEL/200 4162 CONNECT fonts.gstatic.com:443 - HIER_DIRECT/216.58.195.227 -
1494192744.778  16051 192.168.1.208 TCP_TUNNEL/200 5049 CONNECT i.ytimg.com:443 - HIER_DIRECT/216.58.192.14 -
1494192744.778  16005 192.168.1.208 TCP_TUNNEL/200 234 CONNECT i.ytimg.com:443 - HIER_DIRECT/216.58.192.14 -
1494192744.778  17826 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r11---sn-n4v7knee.googlevideo.com:443 - HIER_DIRECT/74.125.157.240 -
1494192744.778  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r11---sn-n4v7knee.googlevideo.com:443 - HIER_DIRECT/74.125.157.240 -
1494192744.779  17829 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r11---sn-n4v7knee.googlevideo.com:443 - HIER_DIRECT/74.125.157.240 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r11---sn-n4v7knee.googlevideo.com:443 - HIER_DIRECT/74.125.157.240 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r11---sn-n4v7knee.googlevideo.com:443 - HIER_DIRECT/74.125.157.240 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r4---sn-n4v7sne7.googlevideo.com:443 - HIER_DIRECT/173.194.166.106 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r4---sn-n4v7sne7.googlevideo.com:443 - HIER_DIRECT/173.194.166.106 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 151 CONNECT r4---sn-n4v7sne7.googlevideo.com:443 - HIER_DIRECT/173.194.166.106 -
1494192744.779  17827 192.168.1.208 TCP_TUNNEL/200 234 CONNECT s.youtube.com:443 - HIER_DIRECT/172.217.6.78 -
1494192744.779  14741 192.168.1.208 TCP_TUNNEL/200 234 CONNECT tpc.googlesyndication.com:443 - HIER_DIRECT/172.217.6.65 -








###############


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170508/f5c1d34a/attachment.html>


More information about the squid-users mailing list