Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13937 > unrolled thread

http heartbeat software...

Started byRobert Heller <heller@deepsoft.com>
First post2015-03-05 11:21 -0600
Last post2015-03-07 19:35 +0000
Articles 8 — 7 participants

Back to article view | Back to comp.os.linux.misc


Contents

  http heartbeat software... Robert Heller <heller@deepsoft.com> - 2015-03-05 11:21 -0600
    Re: http heartbeat software... Rich <rich@example.invalid> - 2015-03-05 21:47 +0000
      Re: http heartbeat software... Robert Heller <heller@deepsoft.com> - 2015-03-05 20:46 -0600
    Re: http heartbeat software... Andreas Kohlbach <mar15.6.ankman@spamgourmet.net> - 2015-03-05 17:41 -0500
    Re: http heartbeat software... William Unruh <unruh@invalid.ca> - 2015-03-05 23:52 +0000
    Re: http heartbeat software... Tim Watts <tw_usenet@dionic.net> - 2015-03-06 08:14 +0000
    Re: http heartbeat software... "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2015-03-06 14:26 +0100
    Re: http heartbeat software... aitch <null@void.invalid> - 2015-03-07 19:35 +0000

#13937 — http heartbeat software...

FromRobert Heller <heller@deepsoft.com>
Date2015-03-05 11:21 -0600
Subjecthttp heartbeat software...
Message-ID<adGdnfeINeQ1DWXJnZ2dnUU7-S2dnZ2d@giganews.com>
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 :-(.

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services
       

[toc] | [next] | [standalone]


#13941

FromRich <rich@example.invalid>
Date2015-03-05 21:47 +0000
Message-ID<mdait0$jmc$2@dont-email.me>
In reply to#13937
Robert Heller <heller@deepsoft.com> 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 :-(.

A wget loop in Bash is so trivial it is almost not worth looking for a
'custom program':

  while true; do
    wget -O /dev/null http://www.google.com
    sleep 30
  done

Substitute your favorite url for http://www.google.com.

[toc] | [prev] | [next] | [standalone]


#13952

FromRobert Heller <heller@deepsoft.com>
Date2015-03-05 20:46 -0600
Message-ID<fIOdnYIgRPyGiGTJnZ2dnUU7-U2dnZ2d@giganews.com>
In reply to#13941
At Thu, 5 Mar 2015 21:47:12 +0000 (UTC) Rich <rich@example.invalid> wrote:

> 
> Robert Heller <heller@deepsoft.com> 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 :-(.
> 
> A wget loop in Bash is so trivial it is almost not worth looking for a
> 'custom program':
> 
>   while true; do
>     wget -O /dev/null http://www.google.com
>     sleep 30
>   done
> 
> Substitute your favorite url for http://www.google.com.

I did write one myself, but wondered if there was some tool out there...

> 
>                                                                                                                          

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services
                                                                                                                        

[toc] | [prev] | [next] | [standalone]


#13943

FromAndreas Kohlbach <mar15.6.ankman@spamgourmet.net>
Date2015-03-05 17:41 -0500
Message-ID<87twxzoynh.fsf@usenet.ankman.de>
In reply to#13937
Robert Heller wrote on 05. March 2015:
>
> 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.

Don't do all "mall WIFI" services" so? ;-)

Well mine does too.

> 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 :-(.

That problem I don't have. Can do SSH, IRC, even Telnet. But am not
allowed to visit pr0n sites otherwise. ;-)

Anyway, I downloaded the "disclaimer web page". In that page you
basically submit the provided user name and password (both are "free",
which is there to see is plain text btw. in my mall) by checking a box
and clicking a form button. Until a few years ago that was all to do, so
I scripted it. The idea to use wget for that was already mentioned by
Rich.

Today it gets your MAC and somehow sends this to their router along with
a Session-ID. Hadn't the patience to deal with how to script that yet.

So first thing I would do is just downloading their disclaimer page and
have a look into the HTML. If it's static it shouldn't be too hard to
script something with wget.

If you can (and you usually can :-) change the proxy settings of your
browser in the running session you could create a local proxy server and
capture what their server sends back to you after you sent the form.If
it's not HTTPS. You need something like netcat for that and then do

netcat -lp10000 > malldisclamer.html

Then let the mall disclaimer page load. When it's loaded, go to your
browser's proxy settings and set it to 127.0.0.1 and port 10000 and then
send the form to their router. Your browser might "freeze" or just throw
an error. Abort the netcat command with CRTL-c and in malldisclamer.html
you should have the traffic to analyze.

If what you find there is static (do this on several days to verify) you
can even send this traffic back occasionally with

netcat http://mallsite... 80 < malldisclamer.html

What to set for "mallsite..." you see in the file after "POST". But
usually without the "HTTP/1.1" at the end. Port is usually 80 but might
differ from hotspot to hotspot. You'll also see that in your capture.
-- 
Andreas

I wish my grass was emo. Then it would cut itself.

[toc] | [prev] | [next] | [standalone]


#13945

FromWilliam Unruh <unruh@invalid.ca>
Date2015-03-05 23:52 +0000
Message-ID<mdaq7j$muc$1@dont-email.me>
In reply to#13937
On 2015-03-05, Robert Heller <heller@deepsoft.com> 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

Actually it is not nonsense to them. It is a defense against you comming
at them legally for some nonsense. Blame the US litiginous society. 
Also I assume it is free. Why are you objecting to that tiny bit of
inconvenience to get free stuff?

> 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

That is of course them, and they should set it up to look for any
traffic, not just http traffic. 

Disconnecting if not used makes sense, since it hogs IP addresses, etc. 


> *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

Your script sounds like a "simple stupid program" that does what you
want. You have now spent more time asking than it would have cost to
write that script and test it. 


> tried a web search for 'http heartbeat program', but mostly got medical
> related hits :-(.
>

[toc] | [prev] | [next] | [standalone]


#13959

FromTim Watts <tw_usenet@dionic.net>
Date2015-03-06 08:14 +0000
Message-ID<e84osb-ogd.ln1@squidward.dionic.net>
In reply to#13937
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;
}

[toc] | [prev] | [next] | [standalone]


#13963

From"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
Date2015-03-06 14:26 +0100
Message-ID<c6c5256122a69ebc9249e723e2bdb24c@remailer.privacy.at>
In reply to#13937
RH> I am looking for a piece of software that will 'fake' regular web
RH> browsing. 

If you use firefox, the TrackMeNot firefox plugin (although designed
to cover a different need) will happily do what you 're after.

[toc] | [prev] | [next] | [standalone]


#13977

Fromaitch <null@void.invalid>
Date2015-03-07 19:35 +0000
Message-ID<mdfju9$5hg$1@news.mixmin.net>
In reply to#13937
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 :-(.

Sending HEAD requests instead of GET would produce less network traffic 
(curl can do this).  You could also try sending TCP ACK packets to port 
80, it may just be enough to be counted as web traffic, with minimal 
overhead.  You'll have to experiment.

-- 
aitch

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web