Hi Eric, Thanks for a fast reply. I tried modprobe nfnetlink_log this is what I get in dmesg [2054919.049919] Netfilter messages via NETLINK v0.30. gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$ ./nfulnl_test binding nfnetlink_log to AF_INET error during nflog_bind_pf() gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$ These are the contents of gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$ ls /usr/local/lib/ libnetfilter_log.a libnetfilter_log_libipulog.so.1 libnfnetlink.a pkgconfig/ libnetfilter_log.la libnetfilter_log_libipulog.so.1.0.0 libnfnetlink.la python2.6/ libnetfilter_log_libipulog.a libnetfilter_log.so libnfnetlink.so libnetfilter_log_libipulog.la libnetfilter_log.so.1 libnfnetlink.so.0 libnetfilter_log_libipulog.so libnetfilter_log.so.1.1.0 libnfnetlink.so.0.2.0 gakumar@krishna-desktop:~/PacketFilter/libnetfilter_log-1.0.0/utils$ Hope its installed properly. anything else I need to fix/check Many Thanks, Ganesh On 2/23/12, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > Le jeudi 23 février 2012 à 12:00 +0530, Ganesh Kumar a écrit : >> dear all, >> >> I'm trying my hand on the NFLOG target of iptables, so I setup >> the below ones on my ubuntu machine 10.4 : >> >> >> libnetfilter_log-1.0.0 >> libnfnetlink-dev_1.0.0 >> >> >> $ uname -a >> Linux ubuntu 2.6.32.21 #2 SMP Wed Jul 6 22:03:07 PDT 2011 i686 GNU/Linux >> >> >> but when I try to build and run the utils nfulnl_test.c this is what >> I'm getting using the below command >> gcc -o nfulnl_test nfulnl_test.c -L /usr/local/lib/ -lnetfilter_log >> >> $ ./nfulnl_test >> binding nfnetlink_log to AF_INET >> error during nflog_bind_pf() >> >> Am I missing something, any help is appreciated. >> >> Many thanks, >> GK > > It works well on ubuntu 11.10 & 11.04, not sure for 10.04 > > Could you check if you can load nfnetlink_log module ? > > modprobe nfnetlink_log > > > > -- Ganesh Kumar NM Experience is what causes a person to make new mistakes instead of old ones. -- 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