linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iptables 2.6.38, can kernel erroneously bypass PREROUTING ?
@ 2011-09-18 16:06 Martin Devera
  2011-09-19  1:26 ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Devera @ 2011-09-18 16:06 UTC (permalink / raw)
  To: linux-kernel

Hello,

we have problem with high-bw router (1gbit, conntrack, nat, htb qos) 
where after some time (weeks) DNAT stops working.
I tried to include "-t raw -A PREROUTING -i eth0" an it got ZERO hits
while -i eth1 has many.
Thus DNAT (in -t nat) doesn't work but interestingly conntrack (and thus
SNAT records) is ok - packets from eth0 sems to be routed.
Only they "somehow" skip all PREROUTING chains.. But from sources
I can find no way how only eth0 pkts could skip PREROUTING but still
be routed and contracked ... Anyone has a clue ?

A didn't more investigation as I had to reboot it - it always helps.

thanks, Martin

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

* Re: iptables 2.6.38, can kernel erroneously bypass PREROUTING ?
  2011-09-18 16:06 iptables 2.6.38, can kernel erroneously bypass PREROUTING ? Martin Devera
@ 2011-09-19  1:26 ` Henrique de Moraes Holschuh
  0 siblings, 0 replies; 2+ messages in thread
From: Henrique de Moraes Holschuh @ 2011-09-19  1:26 UTC (permalink / raw)
  To: Martin Devera; +Cc: linux-kernel, netdev

(netdev added to cc)

On Sun, 18 Sep 2011, Martin Devera wrote:
> we have problem with high-bw router (1gbit, conntrack, nat, htb qos)
> where after some time (weeks) DNAT stops working.
> I tried to include "-t raw -A PREROUTING -i eth0" an it got ZERO hits
> while -i eth1 has many.
> Thus DNAT (in -t nat) doesn't work but interestingly conntrack (and thus
> SNAT records) is ok - packets from eth0 sems to be routed.
> Only they "somehow" skip all PREROUTING chains.. But from sources
> I can find no way how only eth0 pkts could skip PREROUTING but still
> be routed and contracked ... Anyone has a clue ?
> 
> A didn't more investigation as I had to reboot it - it always helps.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

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

end of thread, other threads:[~2011-09-19  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 16:06 iptables 2.6.38, can kernel erroneously bypass PREROUTING ? Martin Devera
2011-09-19  1:26 ` Henrique de Moraes Holschuh

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