Squid Proxy User Limit ?

Başlatan ydemir95, 02 Mayıs 2015 - 23:12:53

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

ydemir95

Merhaba benim squid proxy ben şifre koydum ama sadece 1 kişinin giriş yapmasını istiyorum usere bunu nasıl yapabilirim ?

cagriemer

Eger IP adresleri farkli olacaksa asagidaki erisim kontrol limitini kullanip yasaklayabilirsiniz.

Alıntı Yapacl aclname max_user_ip [-s] number
     # This will be matched when the user attempts to log in from more
     # than <number> different ip addresses. The authenticate_ip_ttl
     # parameter controls the timeout on the ip entries. [fast]
     # If -s is specified the limit is strict, denying browsing
     # from any further IP addresses until the ttl has expired. Without
     # -s Squid will just annoy the user by "randomly" denying requests.
     # (the counter is reset each time the limit is reached and a
     # request is denied)
     # NOTE: in acceleration mode or where there is mesh of child proxies,
     # clients may appear to come from multiple addresses if they are
     # going through proxy farms, so a limit of 1 may cause user problems.

Ornek;

acl kullanicilimiti max_user_ip -s 1
http_access deny kullanicilimiti