* How to make conntrack to process all packets?
@ 2013-07-09 18:09 Petr Chmelar
2013-07-11 9:21 ` Pascal Hambourg
0 siblings, 1 reply; 2+ messages in thread
From: Petr Chmelar @ 2013-07-09 18:09 UTC (permalink / raw)
To: netfilter
Hi there,
We would like to use Ulogd's NFCT input for intelligent netflow-based
statistics reporting. The problem is that the netfilter_conntrack
doesn't process connections that don't go through the system (we have
noticed and found in man conntrack /TABLES), which we need to process
because of sniffing in promisc mode (we have forwarded traffic from
different vlans). This doesn't work even when we do something like:
iptables -I PREROUTING -i eth9.10 -t raw -j CT
In fact we're looking for an opposite of NOTRACK. Do you have any idea
how to setup or recompile the libnetfilter_conntrack or similar (ulogd2)
so we get also flows not destined for the system?
Thank you, Petr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to make conntrack to process all packets?
2013-07-09 18:09 How to make conntrack to process all packets? Petr Chmelar
@ 2013-07-11 9:21 ` Pascal Hambourg
0 siblings, 0 replies; 2+ messages in thread
From: Pascal Hambourg @ 2013-07-11 9:21 UTC (permalink / raw)
To: Petr Chmelar; +Cc: netfilter
Hello,
Petr Chmelar a écrit :
>
> We would like to use Ulogd's NFCT input for intelligent netflow-based
> statistics reporting. The problem is that the netfilter_conntrack
> doesn't process connections that don't go through the system (we have
> noticed and found in man conntrack /TABLES), which we need to process
> because of sniffing in promisc mode (we have forwarded traffic from
> different vlans). This doesn't work even when we do something like:
> iptables -I PREROUTING -i eth9.10 -t raw -j CT
From reading the manpage, I do not think that CT without any option does
anything.
> In fact we're looking for an opposite of NOTRACK. Do you have any idea
> how to setup or recompile the libnetfilter_conntrack or similar (ulogd2)
> so we get also flows not destined for the system?
IMO, you are looking in the wrong direction. The whole netfilter (not
only conntrack) won't process packets not destined to the host because
these packets do no reach the IP layer. A workaround may be to use a
bridge with bridge-nf-call-iptables enabled.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-11 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09 18:09 How to make conntrack to process all packets? Petr Chmelar
2013-07-11 9:21 ` Pascal Hambourg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.