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