Re: Squid-authentification: auth+ip

From: Dancer <[email protected]>
Date: Mon, 11 Jan 1999 07:14:23 +1100

Roman Shterenzon wrote:
>
> Hello,
> I'm looking for some advice...
> I've read through the FAQ and release notes, but I haven't found way to
> make an acl based both on user/pass and on ip/mask.
> What I realy mean - suppose we have pool of 20 users, which we want to
> limit to only one segment - the teaching class, so they won't be able to
> browse from anywhere else.
> So users "student1"..."student20" will be able to browse only from
> 10.0.0.x/24 .
> I thought that hacking auth_ncsa would be easy, but then noticed that ip
> of the client isn't sent together with the user/plain password.
> So, in case there is no such method implemented in squid2-patch2, I'll
> need to hack the code which sends the user/pass too.
> Did anyone done something like this before, or perhaps is there some
> information about it on the web?
> Thank you very much for your attention,
>
> --Roman Shterenzon, System Administrator
> [ Xpert UNIX Systems Ltd., Bnei-Brak, Israel. Tel: +972-3-6181118 ]

Done it. I should be able to make a patch. The code's a bit evil and
ugly, but you don't mind, right? :)

D
Received on Sun Jan 10 1999 - 12:54:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:57 MST