Discussion:
[squid-users] log source port from squid server?
Kevin Kretz
2015-07-24 12:43:34 UTC
Permalink
Hi,

We're working on correlating our squid logs with other logs upstream in our network. We'd like to be able to identify a proxied request by network information from squid's log. Currently we have the squid server IP address, the destination server's IP address and the destination server's listening port.

From the documentation and reading back through this list's archive, I don't see a format code for squid server source port. Has there ever been interest in this?


thanks

Kevin
Antony Stone
2015-07-24 12:49:13 UTC
Permalink
Post by Kevin Kretz
From the documentation and reading back through this list's archive, I
don't see a format code for squid server source port. Has there ever been
interest in this?
Does http://www.squid-cache.org/Doc/config/logformat/ help?


Antony.
--
Perfection in design is achieved not when there is nothing left to add, but
rather when there is nothing left to take away.

- Antoine de Saint-Exupery

Please reply to the list;
please *don't* CC me.
Kevin Kretz
2015-07-24 13:34:33 UTC
Permalink
----- Original Message -----
From: "Antony Stone" <***@squid.open.source.it>
To: squid-***@lists.squid-cache.org
Sent: Friday, July 24, 2015 8:49:13 AM
Subject: Re: [squid-users] log source port from squid server?
Post by Antony Stone
Does http://www.squid-cache.org/Doc/config/logformat/ help?
I saw that page earlier but misunderstood what this meant:

<lp Local port number of the last server or peer connection

Looks like that does what I want. Thank you for the quick assistance.
Loading...