[squid-users] Limiting Connections & MySQL through SSH Tunnel

Grails UK grailsuk at gmail.com
Mon Jun 7 12:04:01 UTC 2021


Hello,
I hope you are well. I have two questions:

1. Is there any easy way to limit concurrent connections by a single squid
user or the local IP the client connected to. I understand there is a
robust framework for limiting max connections via IP address or number of
IP addresses a user can use, however, this is slightly different. I did see
a post that said this is possible through an external ACL, however, what I
struggle with there is how the external ACL would see which concurrent
connections are still active / count the number of current connections to
determine whether a limit is necessary.

2. Our MySQL database is currently only accessible from our local server on
PythonAnywhere and any external access has to be done via an SSH Tunnel, is
there any way to SSH tunnel when using the basic_db_auth or log_db_daemon?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210607/078d988b/attachment.htm>


More information about the squid-users mailing list