Assalamu'alaikum wr. wb. On Tue, May 25, 2004 at 07:21:16AM +0800, Dhia Shahab M. wrote: > >>> [EMAIL PROTECTED] 5/25/2004 6:17:43 AM >>> > > dear all > > > > kebetulan sudah dipasang mysqlauth di squidnya , nah gimana settingan > > biar bisa per ip address / user , masalah suka ada yg sharing user > > disini > > sehingga satu user bisa lognya gede tapi pas di chek dia loginya dari > > beberapa ip. > > thx yach sebelumnya
> anda bisa menggunakan acl "max_user_ip" pada konfigurasi squid > tersebut.. > sehinga satu user hanya bisa digunakan dari 1 ip address saja.. Pilihan lainnya adalah menggunakan option authenticate_ip_ttl dan authenticate_ip_ttl_is_strict. Mengutip squid.conf ------------------------------------------------------------------------ # TAG: authenticate_ip_ttl # With this option you control how long a proxy authentication # will be bound to a specific IP address. If a request using # the same user name is received during this time then access # will be denied and both users are required to reauthenticate # them selves. The idea behind this is to make it annoying # for people to share their password to their friends, but # yet allow a dialup user to reconnect on a different dialup # port. # # The default is 0 to disable the check. Recommended value # if you have dialup users are no more than 60 seconds to allow # the user to redial without hassle. If all your users are # stationary then higher values may be used. # # See also authenticate_ip_ttl_is_strict # #Default: # authenticate_ip_ttl 0 seconds # TAG: authenticate_ip_ttl_is_strict # This option makes authenticate_ip_ttl a bit stricted. With this # enabled authenticate_ip_ttl will deny all access from other IP # addresses until the TTL has expired, and the IP address "owning" # the userid will not be forced to reauthenticate. # #Default: # authenticate_ip_ttl_is_strict on ------------------------------------------------------------------------ Wassallam, -- Zakaria [EMAIL PROTECTED] Yahoo!: z4k4ri4 http://zakaria.is-a-geek.org http://pemula.linux.or.id -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip dan info di http://linux.or.id/milis.php FAQ milis http://linux.or.id/faq.php
