On 06/07/2011 04:10 PM, Clemens Eisserer wrote:
Hi,
You can build the tuple from the packet in user-space to look up the
conntrack via libnetfilter_conntrack.
How can I do that?
Assuming there are two open connections:
IP1:80<----> IP2:39678
IP1:39678<-----> IP2:80
How can I know which packet belongs to which connection?
Thanks, Clemens
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am not an expert, but can't you match the src and dst address/port in
each packet?
Regards,
Seenu.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html