All of lore.kernel.org
 help / color / mirror / Atom feed
From: christopher cuse <ccuse@tiscali.fr>
To: lartc@vger.kernel.org
Subject: [LARTC] masquerading with dhcp
Date: Fri, 02 May 2003 16:47:16 +0000	[thread overview]
Message-ID: <marc-lartc-105189382508513@msgid-missing> (raw)

hi all, 

i have a curious problem -- 

a user has dialup connectivity to isp via pppd on-demand. 

tcp syn request to an ip address 
.or. 
dns lookup for a host name (bind cfg forwards to isp dns) 

.and. 

default route is ppp0 

.so. 

udp dns request to isp dns ip address 
.or. 
tcp syn packet to ip address 


the issue becsome the source ip address for these packets -- they are
sent by the last ip address that the ppp interface had. of course, once
the connection is established, then ip address has changed, so all those
neat little packets have an invalid source ip address. 

so, the end goal is to keep retrying the tcp syn packets until the ppp
interface is happy with its new ip address and the routing table updated
with the new default route.

tcp syn packets are sent at time 0, 3, 9, 21, seconds respectively.
there seems to be some tcp parameter with a geometric component to it,
that tries syn packets later and later.

could anyone direct me to what sysctl parameter i might change to in
order shorter times between the syn packets?

anyone else run across this? 

all comments welcome!

cheers 

christopher cuse

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2003-05-02 16:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-lartc-105189382508513@msgid-missing \
    --to=ccuse@tiscali.fr \
    --cc=lartc@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.