<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Let's open squid's default access.log:</p>
<p>1499201177.345 155 <b>172.16.100.3</b> TCP_MISS/200 633 GET
<a class="moz-txt-link-freetext" href="https://discovery-v4-4.syncthing.net/v2/?device=DEVICE_ID">https://discovery-v4-4.syncthing.net/v2/?device=DEVICE_ID</a> -
ORIGINAL_DST/95.85.19.244 application/json<br>
</p>
<p>third (.....|awk {'print $3'}) is exactly client IP.</p>
<p>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.</p>
<span class="moz-smiley-s3"><span>;-)</span></span><br>
<br>
<div class="moz-cite-prefix">05.07.2017 0:56, Muhammad Usman пишет:<br>
</div>
<blockquote type="cite"
cite="mid:CAHfqhMm7m=FrX0pmqtuTQqYNNwnvbo7bWX+PQVyZMgAejVG2oA@mail.gmail.com">
<div dir="ltr">Hi,
<div>I have configured Squid and Dansguardian successfully on
Ubuntu. I want to inject ads in user browsing (with user
consent). </div>
<div>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</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
</body>
</html>