Search squid archive

Re: Get calling User Details on server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let's open squid's default access.log:

1499201177.345    155 172.16.100.3 TCP_MISS/200 633 GET https://discovery-v4-4.syncthing.net/v2/?device=DEVICE_ID - ORIGINAL_DST/95.85.19.244 application/json

third (.....|awk {'print $3'}) is exactly client IP.

How to get it in redirector? Read manual of yours redirector, I think. Usually this data exactly present in redirector logs because of this is _most_ interesting data.

;-)

05.07.2017 0:56, Muhammad Usman пишет:
Hi,
I have configured Squid and Dansguardian successfully on Ubuntu. I want to inject ads in user browsing (with user consent). 
I want to get details about the user like their IP etc but I dont know how to get this in Squid and then pass on to dansguardian. Any help would be appreciated. Thanks


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux