[squid-users] Alternative ways of tracking users on unauthenticated proxy
Amos Jeffries
squid3 at treenet.co.nz
Tue May 26 12:24:09 UTC 2015
On 27/05/2015 12:07 a.m., Mr J Potter wrote:
> OK - got it working...
>
> added the lines:
>
> external_acl_type userlookup ttl=60 concurrency=1 %SRC
Yes that "<anything>" field you asked about is the concurrency
channel-ID field. You can set concurrency as high as you want. The
lookup queue length for these helpers is 2*concurrency*children instead
of 2*children for older helpers.
> /opt/squid354/libexec/ext_sql_session_acl -dsn DBI:mysql:database=pf --user
> root --password xxx --table currentUsers --uidcol ip --usercol uid
> --tagcol ip --persist
"--tagcol" is optional. Its probably not that useful just to dump the
IP address back out at Squid, so you should be able to just omit it.
Amos
More information about the squid-users
mailing list