RE: [squid-users] Need to set up a one-time redirect, per user, for a client...

From: Jordan Young <jyoung@dont-contact.us>
Date: Wed, 22 Oct 2003 08:50:50 -0500

Are there any redirectors that have database support for something similar
to this already available?

 

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Tuesday, October 21, 2003 10:27 PM
To: Jordan Young
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Need to set up a one-time redirect, per user, for
a client...

On Tue, 21 Oct 2003, Jordan Young wrote:

> I have a client that needs a hotspot system, and they need it to
> accept all first URL requests and send them to their web site. After
> the first request is made, then they want it to open up for outside
> sources. It is not a pay system, but they just want all customers to
> see their web site. I know there is some way to do this, whether it
> be with squid (preferred), or with netfilter. If anybody could please
help me, that would be great.

Neither Squid or Netfilter have the technology for doing this builtin.

Adding technology to Squid for doing this is relatively simple. You will
need a redirector helper using a database keeping track of when the user was
last seen, and if the user was not active in the last say 60 minutes then
redirect him to the selected site (and record in the database that the user
is active, as is done for any other request).

Regards
Henrik
Received on Wed Oct 22 2003 - 07:52:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:35 MST