<div dir="ltr"><div><div>Hi Eliezer,<br><br></div>Its mostly like a live feed.<br><br>I am writing these sites+(a client tracking parameter) to a flat file via squid, from where another process reads it & does further processing (eg. analyze top sites used by any particular client).<br><br></div><div>And that is why i was working on getting just the urls entered by clients.<br></div><div><br><br>Ambadas<br></div><div><br><div><span class="im"></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 2:01 PM, Eliezer Croitoru <span dir="ltr"><<a href="mailto:eliezer@ngtech.co.il" target="_blank">eliezer@ngtech.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Ambadas,<br>
<br>
I was wondering if you want it to be something like a "live feed" or just for logs analyzing?<br>
<br>
Eliezer<span class=""><br>
<br>
On 09/10/2015 15:47, Ambadas H wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi,<br>
<br>
I am using below setup:<br>
Squid proxy 3.5.4.<br>
CentOS 7.1<br>
<br>
I am trying to analyze the most used websites by the users via Squid proxy.<br>
I just require the first GET request for that particular browsed page page<br>
& not the proceeding GETs of that same page.<br>
<br>
Eg:<br></span>
1) user enters *<a href="http://google.com" rel="noreferrer" target="_blank">http://google.com</a> <<a href="http://google.com" rel="noreferrer" target="_blank">http://google.com</a>>* in client (mozilla)<span class=""><br>
2) client gets page containing some other urls<br>
3) client initiates multiple GETs for same requested page without users<br>
knowledge<br>
<br>
I myself tried a logic where I assumed if "Referer" header is present, then<br>
its not the first GET but a proceeding one for same requested page.<br>
<br>
I know i cant rely on "Referer" header to be always present as its not<br>
mandatory. But<br>
I want to know if my logic is correct? & also if there's any alternative<br>
solution?<br>
<br>
<br>
<br></span><span class="">
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</div></div></blockquote></div><br></div></div>