I was attempting to create an ON/OFF switch for a cyber-cafe; so that
the staff could allow/disallow Internet access (based on if they had
paid or not).

Using the directions on chaining from
http://cs.zip.com.au/adzap/#chaining created a quick perl-script which
checked for a file on a ram-disk, if the file was missing then the perl
script redirected to the user to a RESTRICTED page. Otherwise the
request went to squidGuard. 

The script was just "if file exists echo original url else echo
restricted page url"

Locally testing everything seemed fine, and even after I deployed it,
everything was fine for a while- then there was a performance hit (I
wasn't there physically to check things out), so I rolled back to an
un-chained squidGuard. Things seemed fine. I'm not ruling out the
possibility of a glitch with the ISP.

Does anyone know of any tools to simulate (lots of clients), to just
keep hitting web-pages. This isn't going to be on a huge scale - only
have 256Kb of bandwidth and 4 machines.

Regards,
Adam

Reply via email to