Networking Forums

Networking Forums > Computer Networking > Linux Networking > netfilter: establish portforward/DNAT while request-attempt

Reply
Thread Tools Display Modes

netfilter: establish portforward/DNAT while request-attempt

 
 
peter pilsl
Guest
Posts: n/a

 
      03-25-2005, 05:35 PM

What happens if I redirect a request from one listening daemon to
another while a client is actually starting a request.

Lets assume two identically configured apaches on two different ip's.
One is the master and the other one is the backupdaemon.
When I introduce a DNAT-rule to redirect traffic from master to backup
then the backup takes over. Everything is working fine. But what happens
if I introduce the DNAT-rule while a client-request is in progress?

The master gets first half of the request and the backupserver gets the
second half. Is this something to worry about? Is there something I can
do against it using more complicated netfilter rules and the syn-flag?


The applications running on the webserver are alle stateaware by
themselfs by urls and/or cookies. So there is no stateawarness done by
the server. This is not the problem.

And the same problem applies to other daemons like ftp or ssh. I'd like
to be able to switch seamlessely between different daemons on the same
machine or even between different machines.

thnx,
peter





--
http://www.goldfisch.at/know_list
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Unable to establish 'Wireless' on XP with SP3? MapleE. Wireless Networks 3 10-30-2009 12:35 AM
old-style portforward with iptables? peter pilsl Linux Networking 8 04-27-2009 08:41 AM
IPR2 + Netfilter: stateful _routing_ on inbound DNAT, in dual-homed setup? Frantisek.Rysanek@post.cz Linux Networking 1 07-22-2007 09:52 PM
Longhorn S.: Can't establish NAP Shrek Windows Networking 0 03-13-2007 10:06 AM
Can't portforward Paul Wireless Networks 5 07-11-2006 12:53 AM



1 2 3 4 5 6 7 8 9 10 11