Re: Get source IP of packet through PREROUTING CHAIN

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

 



On 11.08.2009 15:37, Elison Niven wrote:
> Hi,
> 
> What I need is to be able to know the source IP and port of the
> packets received at a particular port (10000 here) in user space
> through a C language interface or may be can I read somewhere from the
> proc directory?

I guess
/proc/net/nf_conntrack
will be handy for you.

kind regards,
Christoph A.

Attachment: signature.asc
Description: OpenPGP digital signature


[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