Joel Taqueban wrote:
> currently logged in.  With Squid, how should I determine or know the
> users currently accessing the web via the proxy".  Sorry for being

Perhaps the simplest equivalence of "who" for a HTTP proxy is by parsing
the last minutes of traffic log.

One example of a such command:
echo "username ip-address" ; tail -c 100000
/usr/local/squid/logs/access.log | read junk | awk '{print $8 $3}' |
sort -u

Adjust 100000 to match the amount of logs generated for the time period
you'd like to see.

---
Henrik Nordstrom
Spare time Squid hacker

Reply via email to