RES: [squid-users] Determining "who is online"

From: Renato Policani <RenatoPolicani@dont-contact.us>
Date: Wed, 30 Mar 2005 13:09:23 -0300

Hi Douglas,

In access.log you don´t know who is online, only "who accessed what".
With lsof you know who use your proxy now, but, "who access waht", maybe you can read output of lsof and access.log and cross information.
May be that works. ;-)
Try it.

[ ]´s
Renato Policani.

-----Mensagem original-----
De: Douglas Lane [mailto:doug@interserve.co.za]
Enviada em: quarta-feira, 30 de março de 2005 13:05
Para: Renato Policani
Cc: squid-users@squid-cache.org
Assunto: RE: [squid-users] Determining "who is online"

Hi Renato,

I tried that. Prints a lot of information. It doesn't reference anything in
regards to the username logged on as.

Would I know split that info and do a lookup in the access.log file?

-----Original Message-----
From: Renato Policani [mailto:RenatoPolicani@cetip.com.br]
Sent: 30 March 2005 05:52 PM
To: Douglas Lane; squid-users@squid-cache.org
Subject: RES: [squid-users] Determining "who is online"

Hi, Use /usr/sbin/lsof -i | grep squid
[ ]´s
Renato Policani.

-----Mensagem original-----
De: Douglas Lane [mailto:doug@interserve.co.za]
Enviada em: quarta-feira, 30 de março de 2005 12:06
Para: squid-users@squid-cache.org
Assunto: [squid-users] Determining "who is online"

Hi all,

I am looking for a solution that will allow me to see "who is online" using
my proxy server. The proxy server is setup to use authentication. What I
want is a utility that will show me who is logged onto the squid server with
their username and ip address.

I suppose I could build a script that monitors the access.log file pulling
all the user names, and then matching up an IP address, and finally showing
it on the console. But how accurate would it be? How would I know when
someone stops accessing it? Or should I then match the IP address from the
log file to a "netstat -na | grep :3128" and establish whether the client is
online or offline.

Any ideas? Or anyone know of a program?

All help is appreciated!

Thanks

Doug

Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s)
acima
identificado(s), podendo conter informações e/ou documentos
confidencias/privilegiados e seu sigilo é protegido por lei.
Caso você tenha recebido por engano, por favor, informe o remetente e
apague-a de
seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação,
distribuição, cópia ou
uso sem expressa autorização do remetente.
Opiniões pessoais do remetente não refletem, necessariamente, o ponto de
vista da
CETIP, o qual é divulgado somente por pessoas autorizadas.

Attention: This message was sent for exclusive use of the addressees above
identified, being able to contain information and or privileged/confidential
documents
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper
and erases it
of your system.
We notify that law forbids its retention, dissemination, distribution, copy
or use without
express authorization.
Personal opinions of the shipper do not reflect, necessarily, the point of
view of the
CETIP, which is only divulged by authorized people.

Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima
identificado(s), podendo conter informações e/ou documentos
confidencias/privilegiados e seu sigilo é protegido por lei.
Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de
seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou
uso sem expressa autorização do remetente.
Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da
CETIP, o qual é divulgado somente por pessoas autorizadas.

Attention: This message was sent for exclusive use of the addressees above
identified, being able to contain information and or privileged/confidential documents
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper and erases it
of your system.
We notify that law forbids its retention, dissemination, distribution, copy or use without
express authorization.
Personal opinions of the shipper do not reflect, necessarily, the point of view of the
CETIP, which is only divulged by authorized people.
Received on Wed Mar 30 2005 - 09:09:27 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:03 MST