Search squid archive

Re: squid splashpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-09-22 at 12:29 +0200, Han Boetes wrote:
> Hi,
> 
> I installed squid and used this page to set up a splash page:
> 
>   http://wiki.squid-cache.org/ConfigExamples/Portal/Splash
> 
> This works like expected, except that the  customer  wants  it  to  work
> slightly different.
> 
> 1) He wants the splash page to be displayed every hour, independent from
>    the fact that they keep browsing or not. How can I set that up?

I've not got much experience of the Squid splash page features, so I'm
not sure how you can achieve that, but as an alternative you could set
up your own captive portal using iptables, and add a cron job to clear
out the relevant iptables rules every hour.

This web page has some details, but you'll have to adapt it:

http://www.andybev.com/index.php/Using_iptables_and_PHP_to_create_a_captive_portal

> 2) Also I noticed from the logs that for example windows update which is
>    running on almost every computer in the universe right now  is  using
>    http and since it's connecting as soon as a connection is established
>    it will trigger the splash page and thus causes the client not to see
>    the splashpage. How can make sure only browsers  are  triggering  the
>    splash page?

Again, not sure about Squid, but if you use iptables you could just add
a rule to allow the windows update IP range.

Andy




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux