Re: [squid-users] Disconnecting client per username?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 23 Apr 2013 23:34:57 +1200

On 23/04/2013 9:44 p.m., Wojciech Kubiak wrote:
> Hi
>
> Is there any possibility to disconnect/kick/force reconnect a given
> squid user's session by his user name, other than simply restarting
> squid?
>
> I can't use the client's IP address to do this, because the connection
> between the client and the proxy server is running through a SSH tunnel.

The only way to kick an existing connection is to identify the IP:port
and use TCP control tools to force the connection to die.

The cachemanager system has access to a list of active client
connections. So it should be relatively easy to add a manager action
that locates and kills a client connectivity.
Patches to implement this addition to cachemgr are welcome in squid-dev.

Amos
Received on Tue Apr 23 2013 - 11:35:03 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 25 2013 - 12:00:07 MDT