Squid local users
-
I'm currently using squid local users for authentication before they can access the internet. How to prevent their accounts from sharing? Is it possible to lock it to single user only? My version is 2.4.5-p1
-
Anyone willing to help? Or is it even possible? Thank you
-
Check if this can help you:
https://forum.netgate.com/topic/154741/squid-disable-multiple-sessions
-
Feature request created:
https://redmine.pfsense.org/issues/10725will be in the last squid package soon
-
@viktor_g Thank you. Will wait for the response.
-
@yanafig said in Squid local users:
@viktor_g Thank you. Will wait for the response.
You can test this PR: https://redmine.pfsense.org/issues/10725#note-1
-
@viktor_g just tested it. I can still login to multiple devices.
-
@yanafig Thanks for info!
PR updated & tested, now it works as expected! -
@viktor_g said in Squid local users:
@yanafig Thanks for info!
PR updated & tested, now it works as expected!Still not working for me..
I input acl aclname max_user_ip -s 1
to the /usr/local/etc/squid/squid.conf.
I also restarted the squid service. -
@yanafig What typo of authentication you use? Local/RADIUS/LDAP ?
All what you need is set Authentication Max User IP value:
Then, if you try to open any webpage from 1+ IP, you will get:
access.log:
1593925969.983 1 192.168.88.101 TCP_DENIED/407 4274 GET http://yandex.ru/ - HIER_NONE/- text/html
-
@viktor_g0
I'm using local authentication
I dont have the Authentication Max User IP on my pfsense GUI Package>Proxy Server>Authentication
I have 2 pfsense version
Version 2.4.5-RELEASE-p1 (amd64)
built on Tue Jun 02 17:51:17 EDT 2020
FreeBSD 11.3-STABLEand
Version 2.3.5-RELEASE-p2 (i386)
built on Thu May 10 15:03:18 CDT 2018
FreeBSD 10.3-RELEASE-p29tried it on both pfsense versions. I dont know what Im missing.
-
Please update Squid to 0.4.44_29
-
@viktor_g That solves my problem on
Version 2.4.5-RELEASE-p1 (amd64)
built on Tue Jun 02 17:51:17 EDT 2020
FreeBSD 11.3-STABLEI guess I need to upgrade the
Version 2.3.5-RELEASE-p2 (i386)
built on Thu May 10 15:03:18 CDT 2018
FreeBSD 10.3-RELEASE-p29Thank you for you patience and support