Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Burroughs <chris.burroughs@gmail.com>
To: netfilter@vger.kernel.org
Subject: Altering outgoing IP Address without Connection Tracking
Date: Tue, 06 Sep 2011 18:59:04 -0400	[thread overview]
Message-ID: <4E66A5B8.4030700@gmail.com> (raw)

I'd like to alter the outgoing IP address (from internal to external LB)
on all packets sent on a specific port, without incurring the overhead
of running conntrack.  DNAT of course requires conntrack. But I can't
think of a reason why this simple substitution would require stateful
representation of packet flows.  I was able to find one reference to
someone trying to mange the RAW packets [1] in 2008, but apparently
without success.

Is it currently possible to alter outgoing IP addresses without
connection tracking?

[1]
http://www.linuxquestions.org/questions/linux-networking-3/iptables-notrack-670012/

             reply	other threads:[~2011-09-06 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 22:59 Chris Burroughs [this message]
2011-09-06 23:10 ` Altering outgoing IP Address without Connection Tracking Pandu Poluan
2011-09-07  0:07   ` Jan Engelhardt

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=4E66A5B8.4030700@gmail.com \
    --to=chris.burroughs@gmail.com \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox