how to display message when guests use internet

This is a discussion on how to display message when guests use internet within the Linux Networking forums, part of the Linux Forums category; Hello All, We would like to install a legal disclaimer that a guest using our internet service is forced to ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-13-2004
Adam De Paolis
 
Posts: n/a
Default how to display message when guests use internet

Hello All,

We would like to install a legal disclaimer that a guest using our
internet service is forced to agree to before continung to browse the
internet.

For example, when a person plugs his computer into our internet and
starts his/her browser, a message is displayed and the user has to
click on agree to continue to whatever website they wish to access.

I was thinking of perhaps some sort of proxy server like squid, but
wasnt sure.

Anybody have any ideas?
Reply With Quote
  #2 (permalink)  
Old 05-14-2004
nerdb0t
 
Posts: n/a
Default Re: how to display message when guests use internet

adepjunk@yahoo.com (Adam De Paolis) wrote in message news:<21fb0069.0405131251.241bf053@posting.google. com>...
> Hello All,
>
> We would like to install a legal disclaimer that a guest using our
> internet service is forced to agree to before continung to browse the
> internet.
>
> For example, when a person plugs his computer into our internet and
> starts his/her browser, a message is displayed and the user has to
> click on agree to continue to whatever website they wish to access.
>
> I was thinking of perhaps some sort of proxy server like squid, but
> wasnt sure.
>
> Anybody have any ideas?


sounds like you'd want to use squid with transparent proxy turned on.
i'm assuming you are running linux.

use iptables to redirect port 80 traffic to the squid port, and then
make sure squid is is config'd for transparent proxy.

iptables + squid is pretty common and well documented, so you shouldnt
have trouble.

well, after that i'd guess you'd have to rtfm on squid and probably
hack a few small shell scripts.

i'd think that you'd touch a file (eg. /tmp/.UNIQUE_SESSION_MACADDR)
that squid would check for. if it was there, it would let the session
go through. if it wasnt there, it would redirect them to the "do you
accept these policies" page, and when they click yes, a cgi creates
the session file. you could then have cron go through every 5 minutes
and delete session files that created more than an hour ago.

anyway, just some random thoughts.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0