bugzilla-daemon at bugzilla.netfilter.org
2010-Apr-02  07:33 UTC
[Bug 644] New: IP2BIN empty key prevents ulogd2 from starting
http://bugzilla.netfilter.org/show_bug.cgi?id=644
           Summary: IP2BIN empty key prevents ulogd2 from starting
           Product: ulogd
           Version: SVN (please provide timestamp)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: ulogd
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: christophe.fish at free.fr
ulogd2 from git won't start using filter IP2BIN. It gives the following
error
message in the log:
<1> ulogd.c:670 traversing plugin `IP2BIN'
<1> ulogd.c:627 log4(NFLOG)
<1> ulogd.c:733 assigning `oob.family(?)' as source for
IP2BIN(oob.family)
<7> ulogd.c:727 cannot find key `' in stack
<1> ulogd.c:863 destroying stack
Filling up ip2bin_inp[] declaration with missing section in
filter/ulogd_filter_IP2BIN.c solves the problem:
--- ulogd_filter_IP2BIN.c.orig  2010-03-28 18:29:14.318208633 +0200
+++ ulogd_filter_IP2BIN.c       2010-03-28 18:30:11.482276418 +0200
@@ -50,6 +50,11 @@
                .flags = ULOGD_RETF_NONE,
                .name = "oob.family",
        },
+       [KEY_OOB_PROTOCOL] = {
+               .type = ULOGD_RET_UINT16,
+               .flags = ULOGD_RETF_NONE,
+               .name = "oob.protocol",
+       },
        [KEY_IP_SADDR] = {
                .type = ULOGD_RET_IPADDR,
                .flags = ULOGD_RETF_NONE|ULOGD_KEYF_OPTIONAL,
-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2010-Apr-02  07:35 UTC
[Bug 644] IP2BIN empty key prevents ulogd2 from starting
http://bugzilla.netfilter.org/show_bug.cgi?id=644 ------- Comment #1 from christophe.fish at free.fr 2010-04-02 09:35 ------- Created an attachment (id=318) --> (http://bugzilla.netfilter.org/attachment.cgi?id=318&action=view) The patch above -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2010-Apr-02  12:22 UTC
[Bug 644] IP2BIN empty key prevents ulogd2 from starting
http://bugzilla.netfilter.org/show_bug.cgi?id=644 ------- Comment #2 from pablo at netfilter.org 2010-04-02 14:22 ------- (In reply to comment #1)> Created an attachment (id=318)--> (http://bugzilla.netfilter.org/attachment.cgi?id=318&action=view) [details]> The patch aboveapplied, thanks -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2010-Apr-04  20:17 UTC
[Bug 644] IP2BIN empty key prevents ulogd2 from starting
http://bugzilla.netfilter.org/show_bug.cgi?id=644
christophe.fish at free.fr changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2010-Apr-04  20:21 UTC
[Bug 644] IP2BIN empty key prevents ulogd2 from starting
http://bugzilla.netfilter.org/show_bug.cgi?id=644
christophe.fish at free.fr changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- [Bug 890] New: Bug in ulogd_filter_IP2BIN
 - [Bug 741] New: ULOGD segfaults on init
 - [Bug 1232] New: Ulogd2 Failed Startup on VPS
 - [Bug 1217] New: ULOGD2 JSON Plugin Timestamp Failure
 - [Bug 550] New: building ulogd2 fails due to missing 'autoheader' in autogen.sh