All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
To: netfilter-devel@lists.netfilter.org
Subject: Changing the conntrack / NATP information.
Date: Mon, 15 Mar 2004 17:12:03 +0200	[thread overview]
Message-ID: <4055C7C3.2030003@netlab.hut.fi> (raw)


Hi!

I wish to change the connection tracking / NAPT information of my target 
upon reception of a certain nf_conntrack event. Is it possible to do so 
by doing the following for example:

u_int32_t  ip_address;
conntrack->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip = ip_address;
conntrack->nat.info.manips[IP_CT_DIR_ORIGINAL].manip.ip = ip_address;

Or is there more complicated interactions that makes these operations 
not possible? (And then, do you have an advice on how to overcome them?)
To tell the truth, I am investigating the reasons of my kernel crashes :)

                Emmanuel

             reply	other threads:[~2004-03-15 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 15:12 Emmanuel Guiton [this message]
2004-03-17 13:59 ` Changing the conntrack / NATP information Harald Welte
2004-03-22 15:58   ` Using NF_DROP or NF_STOLEN? Emmanuel Guiton
2004-03-24 11:00   ` problem when loading ip_tables Emmanuel Guiton
2004-03-24 16:51     ` Henrik Nordstrom
2004-03-24 17:00       ` Emmanuel Guiton
2004-03-25  9:43         ` problem when loading ip_tables - solved Emmanuel Guiton
2004-03-24 16:52     ` problem when loading ip_tables 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=4055C7C3.2030003@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.