Download tcpdump and read it's man pages.
Rob
> -----Original Message-----
> From: maer727@sohu.com [mailto:maer727@sohu.com] 
> Sent: Monday, May 13, 2002 9:33 PM
> To: Robert Collins
> Cc: squid-users@squid-cache.org
> Subject: Re:RE: [squid-users] Puzzled at the ports squid is using. :-(
> 
> 
> Thanks, Rob pal!
> 
> How to know which port squid is using as iniators port? 
> How to know which port squid is using as recievers port? 
> 
> Are they random number or specific number? 
> 
> My aim is to listen the communication from and to squid proxy. 
> Which port shall I listen to? Do you have some suggestions about 
> how to implement my aim? 
> 
> Best regards,
> George Ma
> 
> 
> 
> -----  Original Message  -----
> From: Robert Collins 
> To: maer727@sohu.com ;squid-users@squid-cache.org 
> Cc: squid-users@squid-cache.org 
> Subject: RE: [squid-users] Puzzled at the ports squid is using. :-(
> Sent: Mon May 13 19:24:25 CST 2002
> 
> > 
> > 
> > > -----Original Message-----
> > > From: maer727@sohu.com [mailto:maer727@sohu.com]
> > > Sent: Monday, May 13, 2002 9:22 PM
> > > To: squid-users@squid-cache.org
> > > Cc: squid-users@squid-cache.org
> > > Subject: [squid-users] Puzzled at the ports squid is using. :-(
> > > 
> > > 
> > > Hi, pals!
> > > 
> > > IMHO. I think when squid transfers HTTP request and receives HTTP
> > > response, squid will only use port 80 and no other ports 
> are using 
> > > when doing the above two tasks. Am I correct? 
> > 
> > You are wrong. There are always two ports in any tcp 
> connection, the 
> > iniators port and the recievers port.
> > 
> > Squid most always connects to port 80 but from a port > 1023.
> > 
> > Rob
> 
> 
Received on Mon May 13 2002 - 05:33:32 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:05 MST