From: Ed W <lists@wildgooses.com>
To: John Lauro <johnalauro@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Need help with dialup connection (and syn packets)
Date: Sat, 23 Mar 2013 21:20:19 +0000 [thread overview]
Message-ID: <514E1C93.9080500@wildgooses.com> (raw)
In-Reply-To: <CADGd2DrqjdgQ96xxCY+0jt-XjKFhZPceBUSGZSfgu704qcqVVg@mail.gmail.com>
Connectivity costs $1.50/minute. You pay for 20 second increments.
Speed is 2.4kbits (20KB/min)
It's a dial on demand router for a satellite based system
Any other thoughts? I'm obviously going to look at application specific
proxies, but I guess I'm hoping that someone might put me on to some
clever ideas to buffer packets or duplicate them with delay...
Thanks
Ed W
On 23/03/2013 21:11, John Lauro wrote:
> Sounds like the main problem is your aggressive hangup due to
> inactivity. It should be at least 4 times as the connect time, not
> under half!. I suggest 6 minutes, but at least 2 minutes.
>
> If you can't adjust that, probably the next best alternative is a
> pre-emptive ping or something to wake up the modem about 25 seconds
> before you want to connect, or just ping every 5 seconds until you get
> a successful response
>
> On Sat, Mar 23, 2013 at 12:33 PM, Ed W <lists@wildgooses.com> wrote:
>> Hi, I have a dialup connection (yes they still exist) and PPP with demand
>> dial. I have a problem with the exponential backoff sending new SYN packets
>> when creating a new tcp connection. The problem is that the dialup
>> connection takes around 23 seconds to complete (and then hangs up 10 seconds
>> later due to inactivitity), but by then the gaps between SYN packets is very
>> long...
>>
>> Unfortunately most operating systems send an initial SYN, then exponentially
>> backoff with intermittent resends, say after 1 sec, 2 secs, 4 secs, 8 secs,
>> 16 secs, etc. So what we observe is that because the dialup connection
>> takes so long to complete, by then the tcp connection is only trying quite
>> intermittently to connect, eg you might well wait another 8+ seconds before
>> the next syn is resent, quite easily my demand dial connection will hangup
>> before the retransmit is even fired...
>>
>> Does anyone have any suggestions on how I might fake this a little? I
>> effectively desire to simulate buffering syn packets before the PPP
>> connection comes up?
>>
>> Thanks for any off the wall thoughts...
>>
>> Ed W
>> --
>> To unsubscribe from this list: send the line "unsubscribe netfilter" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-03-23 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-23 16:33 Need help with dialup connection (and syn packets) Ed W
2013-03-23 21:11 ` John Lauro
2013-03-23 21:20 ` Ed W [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=514E1C93.9080500@wildgooses.com \
--to=lists@wildgooses.com \
--cc=johnalauro@gmail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.