Re: Looking for a example of reading incoming IP

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

 



On Friday 2009-04-03 05:01, Kunsheng Chen wrote:
>
>I am looking for a example of netfilter hook to read the ip address
> of incoming packets in both PreRoute and PostRoute.

Have a look at the Writing Netfilter Modules e-book
(http://jengelh.medozas.de/), section 2 ("match extension"), which
presents a fictional ipaddr module for demonstrational purposes
that reads and prints said address.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux