From: Ganesh Kumar <ganeshkumarnm@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netfilter-devel@vger.kernel.org, Ganesh Kumar <gkumarnm@gmail.com>
Subject: Re: nfulnl_test doesn't work on Ubuntu
Date: Thu, 23 Feb 2012 13:05:31 +0530 [thread overview]
Message-ID: <CAHS57vVYyO+yES9CSk8Fbmdwc-S8g_p9QCT=kkOK2A-RmwzFJg@mail.gmail.com> (raw)
In-Reply-To: <1329981861.15610.10.camel@edumazet-laptop>
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@gmail.com> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-02-23 7:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 6:30 nfulnl_test doesn't work on Ubuntu Ganesh Kumar
2012-02-23 7:24 ` Eric Dumazet
2012-02-23 7:35 ` Ganesh Kumar [this message]
2012-02-23 7:58 ` Eric Dumazet
2012-02-23 8:05 ` Ganesh Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHS57vVYyO+yES9CSk8Fbmdwc-S8g_p9QCT=kkOK2A-RmwzFJg@mail.gmail.com' \
--to=ganeshkumarnm@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=gkumarnm@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).