From: Wang Jian <lark@linux.net.cn>
To: Pablo Neira <pablo@eurodev.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: conntrack-tool core dumps
Date: Tue, 19 Apr 2005 20:29:08 +0800 [thread overview]
Message-ID: <20050419202007.0398.LARK@linux.net.cn> (raw)
In-Reply-To: <4264E119.5010506@eurodev.net>
Hi Pablo Neira,
The patch looks good. thanks.
BTW, I have tried pom-ng (r3884) conntrack-event-api/, nfnetlink/,
ctnetlink/ and conntrack/, . It works fine.
But conntrack/ + old ctevent-api patch + nfnetlink/ + ctnetlink/ will
receives strange event like
type: [NEW] src=192.168.0.254 dst=192.168.0.123 sport=2937 dport=22 src=192.168.0.123 dst=192.168.0.254 sport=22 dport=2937 status:392 timeout:120 tcp 6
type: [DESTROY] src=192.168.0.254 dst=192.168.0.123 sport=2937 dport=22 src=192.168.0.123 dst=192.168.0.254 sport=22 dport=2937 status:392 timeout:120
type: [UPDATE] src=192.168.0.254 dst=192.168.0.123 sport=2937 dport=22 src=192.168.0.123 dst=192.168.0.254 sport=22 dport=2937 status:394 tcp 6
The strange place is value of status.
So anyone who wants to try should sync to the head now.
On Tue, 19 Apr 2005 12:44:41 +0200, Pablo Neira <pablo@eurodev.net> wrote:
> Wang Jian wrote:
> > Hi,
> >
> > When some packets hit the box, conntrack-tool core dumps, below is
> > backtrace
> >
> > [root@qos conntrack-tool]# gdb conntrack core.3023
> > ...
> > Loaded symbols for extensions/libct_proto_tcp.so
> > #0 0xb7f1fc2a in strcmp () from /lib/tls/libc.so.6
> > (gdb) bt
> > #0 0xb7f1fc2a in strcmp () from /lib/tls/libc.so.6
> > #1 0x0804aaf8 in findproto (name=0x0) at src/libct.c:429
> > #2 0x0804a301 in event_handler (sock=0xbffff710, nlh=0xbfffd75c,
> > arg=0xbffff770) at src/libct.c:181
> > #3 0x0804ae9c in list_conntrack_handler ()
> > #4 0x0804bb4b in nfnl_listen ()
> > #5 0x0804b08d in ctnl_event_conntrack ()
> > #6 0x0804aa82 in event_conntrack () at src/libct.c:413
> > #7 0x08049d05 in main (argc=3, argv=0xbffff904) at src/conntrack.c:458
> > (gdb) up
> > #1 0x0804aaf8 in findproto (name=0x0) at src/libct.c:429
> > 429 if (strcmp(cur->name, name) == 0) {
> > (gdb) print cur
> > $1 = (struct ctproto_handler *) 0xb7fe9b60
> > (gdb) print name
> > $2 = 0x0
> > (gdb) print cur->name
> > $3 = 0xb7fe89a7 "tcp"
>
> The patch attached must fix your problem. I'll commit to SVN asap.
>
> --
> Pablo
--
lark
prev parent reply other threads:[~2005-04-19 12:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 9:38 conntrack-tool core dumps Wang Jian
2005-04-18 15:35 ` Amin Azez
2005-04-18 17:03 ` Wang Jian
2005-04-20 12:11 ` conntrack session information Amin Azez
2005-04-20 13:35 ` Wang Jian
2005-04-20 13:50 ` Amin Azez
2005-04-20 14:18 ` Wang Jian
2005-04-20 13:52 ` Amin Azez
2005-04-19 10:44 ` conntrack-tool core dumps Pablo Neira
2005-04-19 12:29 ` Wang Jian [this message]
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=20050419202007.0398.LARK@linux.net.cn \
--to=lark@linux.net.cn \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@eurodev.net \
/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.