Search squid archive

Re: how to realize (external_acl_type) logout without squid -k reconfigure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, john
To be able to make the logout action "instantly" effective you should
change your external acl ttl to a lower value, for example 3, in which
case logout will be effective after 3 sec (reasonable value I think).

You should also worry about performance of credentials check because
squid will make this check each 3 sec for each client.

Hope it helps

Regards


On 4/17/15, johnzeng <johnzeng2013@xxxxxxxxx> wrote:
>
> Hello Dear Sir :
>
> We tested external_acl_type for web authentication via writing check.php ,
>
> and login feature is fine
>
> squid config is
>
> external_acl_type session ipv4 concurrency=10 ttl=3600 negative_ttl=0
> cache=1048576 %SRC /opt/check.php
>
> check.php ( for login) is
>
> fwrite(STDOUT, $source_ip." OK\n");
>
>
> But if we don't squid -k reconfigure , logout feature is bad for me how
> to update Ok or ERR cache entry without squid -k reconfigure
>
> check.php ( for logout ) is
>
> fwrite(STDOUT, $source_ip." ERR\n");
>
>
>
> if possible , please give me some advisement
>
>
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
>
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux