netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dāvis <davikovs@gmail.com>
To: netfilter@vger.kernel.org
Subject: Translation of addresses inside ICMP errors
Date: Tue, 13 Mar 2012 12:10:08 +0200	[thread overview]
Message-ID: <4F5F1D00.7030901@gmail.com> (raw)
In-Reply-To: <CAHQn7pLfLuYS=XC1SYxYNPxL35aMD_pU8dd6mFt-FFRiqsrAAg@mail.gmail.com>

When packets are NATed (in very typical case with SNAT when leaving
internal network) their IP addresses in IP header are adjusted. ICMP
error messages sent via router (running netfilter and doing translation)
however contain unmodified "IP Header + First 8 Bytes of Original
Datagram's Data" of packets sent in internal network (i.e. IP addresses
inside ICMP error messages aren't translated). Is this expected behavior
of netfilter? Is it possible to translate IP addresses inside ICMP
messages using netfilter?


       reply	other threads:[~2012-03-13 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHQn7pLfzDNrEsUawtqeE_yyeqKpUp4n-E=mTaghwdRoJWo5oQ@mail.gmail.com>
     [not found] ` <CAHQn7pLfLuYS=XC1SYxYNPxL35aMD_pU8dd6mFt-FFRiqsrAAg@mail.gmail.com>
2012-03-13 10:10   ` Dāvis [this message]
2012-03-13 20:58     ` Translation of addresses inside ICMP errors Dāvis

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=4F5F1D00.7030901@gmail.com \
    --to=davikovs@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;
as well as URLs for NNTP newsgroup(s).