Tue, 2 Oct 2001 03:58:39 -0700 (PDT)
--- Johnny Tang <email@example.com> wrote:
> I was wondering if there exists a module/app which passes connection
> statuses from one machine to another. What I was thinking was something
> like: primary router is keeping track of the connections and running vrrp
> (rfc2338), then when it dies and the backup router picks up as the gateway,
> it will be able to keep the current connections.
> If there isn't already a way to do this, perhaps someone can suggest what I
> should read to learn more about the connection tracking? Or about how this
> should be implemented? Perhaps as part of vrrp? Seperate application?
No. Now that ctnetlink is available, thanks to Jay Schulist, implementing
it requires these steps:
1. Patch the primary and secondary router kernels with ctnetlink.
2. Read the ctnetlink display app written by Jay Schulist.
3. Hack together a network daemon which can be run simultaneously on both hosts.
4. Set up the network daemon on the secondary to read keepalive messages sent
over a TCP connection by the primary router's daemon.
5. Every 30 sec or so, send a complete, updated map of the current connection list
to the secondary, who stores it on disk, memory, etc...
6. When the primary stops responding, use ctnetlink to install the new entries
into the kernel conntrack code.
It's not simple, but it can be done.
Permanent e-mail: firstname.lastname@example.org
Current e-mail: email@example.com
Alternate e-mail: firstname.lastname@example.org
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.