Re: [NFLOG] How to determine the connection a packet belongs to?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2011-06-07 12:40, 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?

Because packets contain IP1, 80, IP2 and 39678.

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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux