All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
To: netfilter-devel@lists.netfilter.org
Subject: Sequence number translation explanations.
Date: Sat, 27 Mar 2004 18:00:01 +0200	[thread overview]
Message-ID: <4065A500.8060107@netlab.hut.fi> (raw)

Hi!

I need to translate sequence numbers between the two networks that are 
separated by the firewall. In fact, I just need to translate on of them 
(so tcph->ack_seq in one direction, and tcph->seq in the opposite 
direction).
I found the ip_nat_seq stucture and the ip_nat_seq_adjust function but I 
do not understand them. Particularly this "correction_pos", what is it?

Could someone provide me with some explanations?

             Emmanuel

             reply	other threads:[~2004-03-27 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27 16:00 Emmanuel Guiton [this message]
2004-03-28 18:36 ` Sequence number translation explanations Harald Welte
2004-03-29  8:12   ` Emmanuel Guiton

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=4065A500.8060107@netlab.hut.fi \
    --to=emmanuel@netlab.hut.fi \
    --cc=netfilter-devel@lists.netfilter.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.