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