[Bug 644] New: IP2BIN empty key prevents ulogd2 from starting

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Fri Apr 2 09:33:06 CEST 2010


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.



More information about the netfilter-buglog mailing list