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

Antony Stone Antony.Stone at squid.open.source.it
Mon Dec 2 18:47:53 UTC 2019

On Monday 02 December 2019 at 19:31:43, Ahmad Alzaeem wrote:

> Thank you for that .
> Is it possible to run it from squid ?

I don't understand that question.

You start Squid; it listens for incoming connections and sends them on to the 
external servers (and gets the responses etc, etc...)

At the same time, you run the packet sniffer on the machine where Squid is 
running, and it collects all the traffic passing between Squid and the rest of 
the Internet.

Then you make your request/s with a browser (or wget, curl, as you wish), and 
let Squid do its thing, and let the packet sniffer capture what happened.

After it's all over, you then have a packet capture which you can analyse (eg: 
using wireshark) to find out what Squid sent to the server/s, and what came 
back again.


> > 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.

"It wouldn't be a good idea to talk about him behind his back in front of 

 - murble

                                                   Please reply to the list;
                                                         please *don't* CC me.

More information about the squid-users mailing list