On Sun, 1 May 2011 15:58:57 +0200 (CEST), Andreas Bråthen wrote:
> Hmm .. I'm looking for the port-number used between the proxy and the
> external server.
>
> As far as I can see, its only possible to define a log form that
> contains:
> - proxy port (%lp)
> - client port (%>p)
>
> But _not_ server port (%<p)
>
> Am I missing something here?
Squid-3.2 provides %<lp for outgoing port Squid is assigned for the
server connection the request was satisfied from.
%<p is 80 for http:// URLs, 443 for https:// URLs, 21 for ftp:// URLs,
etc. With the port explicitly stated in the URL if it was any different.
They can also be deduced from the hierarchy code (the peer name of a
cache_peer with known port). We can;t yet log the actual destination
number separately.
Amos
Received on Mon May 02 2011 - 00:09:21 MDT
This archive was generated by hypermail 2.2.0 : Mon May 02 2011 - 12:00:02 MDT