Re: [squid-users] How to log users using ssh connection?

From: Erik Johansson <erjohan@dont-contact.us>
Date: Mon, 30 Jan 2006 04:20:30 +0100

On 1/28/06, spcatch55 <spcatch55@yahoo.com> wrote:
> The users use a windows ssh client (like PuTTY) to log
> into my linux server that runs squid. Their PuTTY is
> forwarding their port 3128 to my squid server (so port
> 3128 isnt visible through the firewall). Their
> browser is setup with a proxy of localhost port 3128.
>

No, if they log on to your server with separate logins then they will
be distinguishable in the squid logs if you
1. enable ident_lookup_access allow localhost in squid.conf
2. install an ident daemon and run it. e.g. apt-get install ident2

I've forwarded my original mail to you. This will work perfectly I
have tried it on my own server and I get these log enries (where
erjohan is my name).

1138590544.262 136 127.0.0.1 TCP_MEM_HIT/200 1421 GET
http://www.openstreetmap.org/ erjohan NONE/- text/html

--
/Erik, BTW please try http://openstreetmap.org out if you want free
maps (as in speech)
Received on Sun Jan 29 2006 - 21:18:53 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:02 MST