[squid-users] debug headers between squid --> website

Alex Rousskov rousskov at measurement-factory.com
Mon Dec 2 19:03:23 UTC 2019


On 12/2/19 1:31 PM, Ahmad Alzaeem wrote:

> Is it possible to run it from squid ?

Packet catpure is usually better, especially for plain HTTP traffic, but
you can also get raw HTTP headers in cache.log if you set debug_options
in squid.conf to ALL,2

Alex.


>> On Dec 2, 2019, at 8:58 PM, Antony Stone <Antony.Stone at squid.open.source.it> wrote:
>>
>> On Monday 02 December 2019 at 18:34:31, Ahmad Alzaeem wrote:
>>
>>> Hello Tem ,
>>>
>>> How can i debug Headers that is between squid——> website request made
>>
>> Run a packet sniffer (tcpdump, wireshark, tshark...) on the Squid server, 
>> looking at the external interface (ie: the one pointing to the website/s).
>>
>>> i need to see what squid send headers to website
>>> and what website reply o squid .
>>
>> So long as you're doing HTTP (as per your example) and not HTTPS, any packet 
>> sniffer and protocol analyser (wireshark is *very* good at this) will show you 
>> this quite easily.
>>
>>
>> Antony.
>>
>> -- 
>> Atheism is a non-prophet-making organisation.
>>
>>                                                   Please reply to the list;
>>                                                         please *don't* CC me.
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 



More information about the squid-users mailing list