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