netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reverse Nat and ICMP packet
@ 2009-01-29 19:59 Giant Sand Fan's
  2009-02-02 17:16 ` Giant Sand Fan's
  0 siblings, 1 reply; 2+ messages in thread
From: Giant Sand Fan's @ 2009-01-29 19:59 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reverse Nat and ICMP packet
  2009-01-29 19:59 Reverse Nat and ICMP packet Giant Sand Fan's
@ 2009-02-02 17:16 ` Giant Sand Fan's
  0 siblings, 0 replies; 2+ messages in thread
From: Giant Sand Fan's @ 2009-02-02 17:16 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-02 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 19:59 Reverse Nat and ICMP packet Giant Sand Fan's
2009-02-02 17:16 ` Giant Sand Fan's

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).