Linux Netfilter discussions
 help / color / mirror / Atom feed
* NAT stops working (more)
@ 2005-04-25 21:56 Daniel Wittenberg
  2005-04-26  2:00 ` Taylor Grant
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Wittenberg @ 2005-04-25 21:56 UTC (permalink / raw)
  To: netfilter

The only ideas people came up with was the conntrack table, but I know
that's not a problem (I see no errors at all, plus manually checking it
is fine).  So now I'm wondering how I can debug netfilter itself?
kernel debugger?  I can see the packets come into the host using
tcpdump/ethereal, but they don't go out the internal interface, so not
sure how to "track" the packet within the kernel.  Ideas?

Thanks,
Dan



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

* Re: NAT stops working (more)
  2005-04-25 21:56 NAT stops working (more) Daniel Wittenberg
@ 2005-04-26  2:00 ` Taylor Grant
  2005-04-26 15:25   ` Dan Wittenberg
  0 siblings, 1 reply; 3+ messages in thread
From: Taylor Grant @ 2005-04-26  2:00 UTC (permalink / raw)
  To: netfilter

Daniel Wittenberg wrote:
> The only ideas people came up with was the conntrack table, but I know
> that's not a problem (I see no errors at all, plus manually checking it
> is fine).  So now I'm wondering how I can debug netfilter itself?
> kernel debugger?  I can see the packets come into the host using
> tcpdump/ethereal, but they don't go out the internal interface, so not
> sure how to "track" the packet within the kernel.  Ideas?
> 
> Thanks,
> Dan

Dan, silly question, but are you sure that your firewall is not somehow interfering with the traffic?  Could you do an iptables dump of the filter, mangle, and nat tables the next time that the traffic exhibits this failure?  If you could post that (scrubbed of sensitive IPs if needed) as well as some of your network config (interfaces and IP addresses, upstream gateways, etc) we might be able to do more for you.  I know that any time that I have had any thing just not work it has usually been a firewall issue.  You say that you are playing with your routing cache, so we might need an output of your routing tables as well, route -n should do the trick unless you are doing any advanced routing.



Grant. . . .



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

* Re: NAT stops working (more)
  2005-04-26  2:00 ` Taylor Grant
@ 2005-04-26 15:25   ` Dan Wittenberg
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Wittenberg @ 2005-04-26 15:25 UTC (permalink / raw)
  To: Taylor Grant; +Cc: netfilter

Well, it's not that it doesn't work period, it's that over time
eventually it stops.  It seems to be the total amount of traffic going
through, though I don't know what that number is.  So say I reset the
firewall, and I pound some web servers behind it and so nat would stop
working in say 5-10 minutes.  If I just reset it and walk away at 8pm,
it could be hours before it stops working.  Normally I would agree, that
sounds like a firewall, except if it were iptables it would either work,
or not, and not stop after some amount of time.  

Thanks,
Dan

On Mon, 2005-04-25 at 21:00, Taylor Grant wrote:
> Daniel Wittenberg wrote:
> > The only ideas people came up with was the conntrack table, but I know
> > that's not a problem (I see no errors at all, plus manually checking it
> > is fine).  So now I'm wondering how I can debug netfilter itself?
> > kernel debugger?  I can see the packets come into the host using
> > tcpdump/ethereal, but they don't go out the internal interface, so not
> > sure how to "track" the packet within the kernel.  Ideas?
> > 
> > Thanks,
> > Dan
> 
> Dan, silly question, but are you sure that your firewall is not somehow interfering with the traffic?  Could you do an iptables dump of the filter, mangle, and nat tables the next time that the traffic exhibits this failure?  If you could post that (scrubbed of sensitive IPs if needed) as well as some of your network config (interfaces and IP addresses, upstream gateways, etc) we might be able to do more for you.  I know that any time that I have had any thing just not work it has usually been a firewall issue.  You say that you are playing with your routing cache, so we might need an output of your routing tables as well, route -n should do the trick unless you are doing any advanced routing.
> 
> 
> 
> Grant. . . .


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

end of thread, other threads:[~2005-04-26 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25 21:56 NAT stops working (more) Daniel Wittenberg
2005-04-26  2:00 ` Taylor Grant
2005-04-26 15:25   ` Dan Wittenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox