netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Giant Sand Fan's" <rampxxxx@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Re: Reverse Nat and ICMP packet
Date: Mon, 2 Feb 2009 18:16:55 +0100	[thread overview]
Message-ID: <417f50830902020916y401dd931g6b906e1b5e7d0f7a@mail.gmail.com> (raw)
In-Reply-To: <417f50830901291159ma6ad4dbm454abc04f66e94e6@mail.gmail.com>

Hi,

I answer to myself.

The problem was that our hook that do the unpack was after -less
priority , higher number- that conntrack -both in prerouting- so in
the back the packet was a different one that the one conntrack saves.

The solution, just put with a priority NF_IP_PRI_CONNTRACK+1 .

Thanks.


2009/1/29 Giant Sand Fan's <rampxxxx@gmail.com>:
> Hi:
>
>
> I've a netfilter module that unpack a icmp packet and then there is a
> NAT to internet but in the back there is a problem the NAT don't do
> anything in prerouting.
> The question is the reverse is done with a match for address and what
> else? , i cannot no see it. I supposse that the macht is not done and
> then the reverse is not done too, perhaps the id or sequence fields of
> icmp are involved too.
>
> Any clue, thanks anyway.
>
>
>
>
> --
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
>



-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

      reply	other threads:[~2009-02-02 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 19:59 Reverse Nat and ICMP packet Giant Sand Fan's
2009-02-02 17:16 ` Giant Sand Fan's [this message]

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=417f50830902020916y401dd931g6b906e1b5e7d0f7a@mail.gmail.com \
    --to=rampxxxx@gmail.com \
    --cc=netfilter-devel@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).