All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] masquerading with dhcp
@ 2003-05-02 16:47 christopher cuse
  0 siblings, 0 replies; only message in thread
From: christopher cuse @ 2003-05-02 16:47 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-02 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-02 16:47 [LARTC] masquerading with dhcp christopher cuse

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.