Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Tim Watts Newsgroups: comp.os.linux.misc Subject: Re: http heartbeat software... Date: Fri, 06 Mar 2015 08:14:38 +0000 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net z/zMZY6H4YAMrhNlkgnHbQrWsyDgXVfB+/pyzzSNGCVXBUrBwQ X-Orig-Path: squidward.dionic.net!not-for-mail Cancel-Lock: sha1:lneVeBq4FqgixCK6RL0x7qQBLPM= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: Xref: csiph.com comp.os.linux.misc:13959 On 05/03/15 17:21, Robert Heller wrote: > I am looking for a piece of software that will 'fake' regular web browsing. > The local mall (Hampshire Mall here in Hadley, MA)'s 'Free WiFi' has this > totally obnoxious feature. First of all they intercept the first HTTP/HTTPS > request and redirect you to their disclamer website nonsense. Then if you > don't keep surffing the web (eg you do something like use some oddball > protocol like SSH to do stuff), they stop routing your packets and require you > to connect to their disclamer website nonsense. I am one of those people who > *DON'T* use webmail and do do things like use slogin to connect to Linux > servers and I use a QWK-based E-Mail/news reader system (using that odd SSH > protocol that no one in mess-windows-land has every head of). It is a pain in > the butt to keep having to go off and visit a random website every so often, > so I am looking for some program that issues a HTTP GET request every so > often. I guess I could write a script using sleep and wget, but I was > wondering if there is some simple stupid program out there that does that. I > tried a web search for 'http heartbeat program', but mostly got medical > related hits :-(. > Never heard of one - wget/sleep in a loop would in fact be the cleanest and simplest solution I can think of. Or do a little program in perl: http://search.cpan.org/~ether/libwww-perl-6.13/lib/LWP/Simple.pm Something like: #!/usr/bin/perl use LWP::Simple; while (1) { get("http://www.somesite.example.org/"); sleep 60; }