All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Alan Ezust <alan.ezust@presinet.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: problems building conntrack w/ uclibc - no output
Date: Tue, 28 Nov 2006 03:36:40 +0100	[thread overview]
Message-ID: <456BA0B8.3050607@netfilter.org> (raw)
In-Reply-To: <200611221144.00766.alan.ezust@presinet.com>

Alan Ezust wrote:
> using libnetfilter_conntrack-0.0.31, libnfnetlink (SVN) and 
> conntrack 1.00beta2. 
> 
> Hi Folks, I was just wondering, if I'm the only one in this boat. 
> 
> I'm trying to build conntrack for a box that runs uclibc, so I am using a 
> scratchbox to build (i386-gcc-3.3.2-uclibc-0.9.26), and I've managed to build 
> and insteall each of the three libraries, and they can run without any linker 
> errors, but when I am running it on the embedded box, in -e mode, 
> I see no output - when I strace, I see this in the output:
> 
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000002}, 
> msg_iov(1)=[{"\274\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 188
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000002}, 
> msg_iov(1)=[{"\274\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 188
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000002}, 
> msg_iov(1)=[{"\274\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 188
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000004}, 
> msg_iov(1)=[{"\244\0\0\0\2\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 164
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000004}, 
> msg_iov(1)=[{"\244\0\0\0\2\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 164
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000004}, 
> msg_iov(1)=[{"\244\0\0\0\2\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 164
> recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000004}, 
> msg_iov(1)=[{"\244\0\0\0\2\1\0\0\0\0\0\0\0\0\0\0\2\0\0\0004\0\1\200\24"..., 
> 8192}], msg_controllen=0, msg_flags=0}, 0) = 164
> 
> So it seems conntrack is receiving messages but not printing them out 
> properly. Has anyone else seen this problem? This is a hard problem to search 
> for, since there are no error messages.
> 
> Any advice? 

Strange. Unfortunately I don't have access to such environment so I
would require a considerable amount of time to set it up and I'm
currently totally burden in many things. Could you run conntrack inside
gdb and try to figure out what it wrong?

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris


  reply	other threads:[~2006-11-28  2:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22 19:43 problems building conntrack w/ uclibc - no output Alan Ezust
2006-11-28  2:36 ` Pablo Neira Ayuso [this message]
2006-11-28 17:38   ` Alan Ezust
2006-11-28 23:14     ` Alan Ezust
     [not found] ` <200612081043.59816.alan.ezust@presinet.com>
     [not found]   ` <457CB353.1010409@netfilter.org>
     [not found]     ` <200612191557.43981.alan.ezust@presinet.com>
2006-12-20 11:01       ` Pablo Neira Ayuso

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=456BA0B8.3050607@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=alan.ezust@presinet.com \
    --cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.