Re: [squid-users] Force users to accept a disclaimer before allowing access

2005-03-08 Thread Christoph Haas
On Mon, Mar 07, 2005 at 01:22:48PM -0500, Dave Inabinet wrote:
 I tried out IR from http://www.vanheusden.com/ir/ . It works great,
 however, if a user has a toolbar that queries the Internet for updates
 (Netcraft toolbar, etc.) the browser is the second request and the
 user is never redirected to the Disclaimer page. I don't want people
 to have to authenticate.
 
 I'm thinking I can use authentication but hide the credentials in a
 form. This way they HAVE to be authenticated before they can get
 anywhere.

Then you might be interested in: http://www.nufw.org/

Cheers
 Christoph
-- 
~
~
.signature [Modified] 3 lines --100%--3,41 All


Re: [squid-users] Force users to accept a disclaimer before allowing access

2005-03-07 Thread Henrik Nordstrom
On Sat, 5 Mar 2005, Christoph Haas wrote:
Unfortunately the line that the redirector gets does not contain the
authenticated user's name. Perhaps you can use the IDENT user name (IMHO
it's pretty useless, though).
The ident field in the redirector input contains the authenticated 
username if you use authentication.

Regards
Henrik


Re: [squid-users] Force users to accept a disclaimer before allowing access

2005-03-07 Thread Dave Inabinet
I tried out IR from http://www.vanheusden.com/ir/ . It works great,
however, if a user has a toolbar that queries the Internet for updates
(Netcraft toolbar, etc.) the browser is the second request and the
user is never redirected to the Disclaimer page. I don't want people
to have to authenticate.

I'm thinking I can use authentication but hide the credentials in a
form. This way they HAVE to be authenticated before they can get
anywhere.

Other than that - it is exactly what I was looking for.

Thanks for the link!


On Mon, 7 Mar 2005 12:55:50 +0100 (CET), Henrik Nordstrom
[EMAIL PROTECTED] wrote:
 On Sat, 5 Mar 2005, Christoph Haas wrote:
 
  Unfortunately the line that the redirector gets does not contain the
  authenticated user's name. Perhaps you can use the IDENT user name (IMHO
  it's pretty useless, though).
 
 The ident field in the redirector input contains the authenticated
 username if you use authentication.
 
 Regards
 Henrik



Re: [squid-users] Force users to accept a disclaimer before allowing access

2005-03-05 Thread Christoph Haas
Hi, Dave...

On Wed, Mar 02, 2005 at 09:55:53AM -0500, Dave Inabinet wrote:
 We are going to be providing Internet access for customers in our
 waiting rooms. I'm looking for a way to have Squid force the user to a
 particular webpage that they have to accept the disclaimer before they
 are allowed to reach any web site without any type of authentication.
 I have seen this done at hotels  other public places.
 
 Does anyone know how to accomplish this with Squid?

If you don't mind a little hacking, then yes. We have discussed that on
IRC for a while and this could be the solution:

- Write a tiny redirector script that keeps track of IP addresses in
  a database.
- Whenever a certain IP hasn't been online for a while redirect the
  user to your 'disclaimer page' and once the disclaimer has been
  agreed to, mark that in the database.

Unfortunately the line that the redirector gets does not contain the
authenticated user's name. Perhaps you can use the IDENT user name (IMHO
it's pretty useless, though).

One user already had set this up but unfortunately disappeared before I
could get his script. Try contacting the author of the web site
http://www.vanheusden.com/ - he should be the author.

Regards
 Christoph
-- 
~
~
.signature [Modified] 3 lines --100%--3,41 All


Re: [squid-users] Force users to accept a disclaimer before allowing access

2005-03-05 Thread Christoph Haas
On Sat, Mar 05, 2005 at 08:06:43PM +0100, Christoph Haas wrote:
 One user already had set this up but unfortunately disappeared before I
 could get his script. Try contacting the author of the web site
 http://www.vanheusden.com/ - he should be the author.

The script can now be found at: http://www.vanheusden.com/ir/

Regards
 Christoph
-- 
~
~
.signature [Modified] 3 lines --100%--3,41 All


[squid-users] Force users to accept a disclaimer before allowing access

2005-03-02 Thread Dave Inabinet
We are going to be providing Internet access for customers in our
waiting rooms. I'm looking for a way to have Squid force the user to a
particular webpage that they have to accept the disclaimer before they
are allowed to reach any web site without any type of authentication.
I have seen this done at hotels  other public places.

Does anyone know how to accomplish this with Squid?

The Squid box will not be the firewall. They are purchasing a small
Cisco PIX just for this project.

thanks.