C*ould* be *more simple...
I'm thinking in an URL inside on my deny_info (ERR_MAXSER_IP) , point
to a cgi-sript (or similar) that make hard work.
Like this DENY_INFO E**RR_MAXSER_IP:*
<snip>
"Sorry, you are not currently allowed to request because:
%U already logged from another host. Clique <here> to see all hots that
used your login today ...
<snip>
And <here> point to http://myserver/cgi-bin/maxuserip.cgi (with some
code, like this) :
echo "content-type: text/plain"
echo
grep %U /var/log/squid/access.log | awk '{print $3}' | uniq
I need to read more to discover how to make this cgi-code yet... But
maybe this work..
Henrik Nordstrom escreveu:
> On tis, 2007-08-21 at 12:11 -0300, Rejaine Monteiro wrote:
>
>
>
> You can't. Only information about the current request is available, not
> the list of other addresses where the same login is used.
>
> For this a new % code would need to be added. Probably not very hard,
> but requires a bit of coding. Feel free to join squid-dev if you want to
> tackle the coding part yourself, or consider sponsoring a Squid
> developer to do it for you.
>
>
Received on Tue Aug 21 2007 - 11:17:15 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT