netfilter: establish portforward/DNAT while request-attempt

From: peter pilsl (pilsl_at_goldfisch.at)
Date: 03/25/05


Date: Fri, 25 Mar 2005 19:35:45 +0100


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


Relevant Pages

  • Re: Cant configure backup...
    ... Oh well, the Backup works now, and when I finish getting a fresh backup done ... current web request. ... Exception Details: System.UnauthorizedAccessException: Access to the path ... context) +85 ...
    (microsoft.public.windows.server.sbs)
  • Cant configure backup...
    ... I needed to alter our backup settings to save fewer backups due to space ... verification using username/password. ... though with a different error (available on request.) Is it ... context) +85 ...
    (microsoft.public.windows.server.sbs)
  • Re: backup problem
    ... Did you configure Backup from Todo list? ... > Whenever I click on the backup link on the server management homepage i ... > granting access rights to the resource to the ASP.NET request identity. ... If the application is impersonating via <identity ...
    (microsoft.public.windows.server.sbs)
  • Re: V8.3 teaser
    ... > to request BACKUP to send CTRL-T style information to the OPCOM. ... showing a problem with throughput would help debug/analyse performance) ...
    (comp.os.vms)
  • Re: [PHP] Send process to background
    ... There is a script that is called through a web request. ... to execute. ... the request telling the user that the backup is being made. ...
    (php.general)