Linux Netfilter discussions
 help / color / mirror / Atom feed
* Question about conntrack
@ 2009-10-24 12:51 Michele Petrazzo - Unipex
  2009-10-26 15:52 ` Gary Smith
  0 siblings, 1 reply; 6+ messages in thread
From: Michele Petrazzo - Unipex @ 2009-10-24 12:51 UTC (permalink / raw)
  To: netfilter

Hi list,
I have a server that nat a network lan where there are some pcs. My
provider say me that I'm uploading contents from an high (5XXXX)
external udp port. For see if it's true :) and which lan ip do the
upload (of course excluding the server) I "tcpdump" the connection and I
see that yes, there is an upload that goes out from the wan (that has a
public IP) at that specific port, but no corresponding lan traffic on
the lan port.

Here are my question: why I see the traffic on that port only on the
external port? nat does also port translation?
Is there another, better, solution for look for the data that I need?

Thanks,
Michele

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Question about conntrack
@ 2008-09-05 12:31 Yury Batrakov
  2008-09-18 14:05 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 6+ messages in thread
From: Yury Batrakov @ 2008-09-05 12:31 UTC (permalink / raw)
  To: netfilter

Hello all!

I've got a couple of questiona about netfilter's connection tracker,
could someone clarify it to me?
1. When conntrack is being flushed? In /proc/net/ip_conntrack I see
lots of UNREPLIED connections, I reload conntrack kernel module but
see the table being filled with old entries. The same looks to happen
after rebooting Linux box.
2. Are UNREPLIED connections being wiped when number of connections to
track equals to conntrack's capacity? Some web resources tell they
are, but some tell otherwise. I tried to reduce conntrack's capacity
and saw that these connections aren't wiped and cause conntrack to
overflow is it bug or feature?
3. I played with NOTRACK target of table raw and discovered that if I
add a NOTRACK rule that matches with already established connections,
they stuck in table as unreplied. Most of them disappear when I set
net.ipv4.netfilter.ip_conntrack_tcp_loose to 0. Is it recommended to
kill existing unreplied connections in this way? Could it be any side
effect for new or currently established connections that don't match
NOTRACK?

Thanks in advance

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: question about conntrack
@ 2004-08-03  0:19 Jason Opperisano
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Opperisano @ 2004-08-03  0:19 UTC (permalink / raw)
  To: netfilter

> Just a quick question. Is there a tutorial/how-to/example for conntrack
> module??

http://netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-3.html#ss3.3

should give you the basic idea.

> I've been using -m state ESTABLISHED, RELATED, NEW, and INVALID without
> doubts , but reading ponng I found conntrack module and I couldn
> undersant its usage..

essentially--it allows you to be much more granular in what you require to match a state entry.

with most of the POM stuff--if you can't figure out the point of it--you probably don't need it.

-j


^ permalink raw reply	[flat|nested] 6+ messages in thread
* question about conntrack
@ 2004-08-02 20:32 Paulo Ricardo
  0 siblings, 0 replies; 6+ messages in thread
From: Paulo Ricardo @ 2004-08-02 20:32 UTC (permalink / raw)
  To: netfilter

Hi guys 

Just a quick question. Is there a tutorial/how-to/example for conntrack
module??

I've been using -m state ESTABLISHED, RELATED, NEW, and INVALID without
doubts , but reading ponng I found conntrack module and I couldn
undersant its usage..


thanks in advance
-- 
Paulo Ricardo Bruck - consultor
tel 011 5031-4932  fone/fax 011 5034-1732  cel 011 9235-4327



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

end of thread, other threads:[~2009-10-26 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24 12:51 Question about conntrack Michele Petrazzo - Unipex
2009-10-26 15:52 ` Gary Smith
  -- strict thread matches above, loose matches on Subject: below --
2008-09-05 12:31 Yury Batrakov
2008-09-18 14:05 ` Pablo Neira Ayuso
2004-08-03  0:19 question " Jason Opperisano
2004-08-02 20:32 Paulo Ricardo

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