FS#37434 - [ulogd] missing IFINDEX.so plugin in config stack

Attached to Project: Community Packages
Opened by Wayne Shumaker (WayneS) - Monday, 21 October 2013, 15:16 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 October 2013, 09:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Updating to linux 3.11.5-1-ARCH breaks ulogd.
The change from ULOG to NFLOG in ulogd.conf has missing
'oob.in' key which causes the stack to fail.

'oob.in' is supplied with missing IFINDEX.so plugin.

Need to add the following to ulogd.conf in the ulogd package:

plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so"

and change the following:
#stack=log1:NFLOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

Additional info:
* package version(s)
ulogd 2.0.2-3

* config and/or log files etc.

Steps to reproduce:

update to latest version and execute this command
# ulogd -v
Mon Oct 21 11:09:59 2013 <5> ulogd.c:375 registering plugin `NFLOG'
Mon Oct 21 11:09:59 2013 <5> ulogd.c:375 registering plugin `BASE'
Mon Oct 21 11:09:59 2013 <5> ulogd.c:375 registering plugin `IP2STR'
Mon Oct 21 11:09:59 2013 <5> ulogd.c:375 registering plugin `PRINTPKT'
Mon Oct 21 11:09:59 2013 <5> ulogd.c:375 registering plugin `LOGEMU'
Mon Oct 21 11:09:59 2013 <7> ulogd.c:741 cannot find key `oob.in' in stack
Mon Oct 21 11:09:59 2013 <8> ulogd.c:1234 not even a single working plugin stack
Fatal error.

This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 24 October 2013, 09:27 GMT
Reason for closing:  Fixed
Comment by Wayne Shumaker (WayneS) - Monday, 21 October 2013, 17:38 GMT
also need to change group to 0. Here is my working ulogd.conf

[global]
logfile="/var/log/ulogd.log"
loglevel=5
rmem=131071
bufsize=150000

plugin="/usr/lib/ulogd/ulogd_inppkt_NFLOG.so"
plugin="/usr/lib/ulogd/ulogd_raw2packet_BASE.so"
plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so"
plugin="/usr/lib/ulogd/ulogd_filter_IP2STR.so"
plugin="/usr/lib/ulogd/ulogd_filter_PRINTPKT.so"
plugin="/usr/lib/ulogd/ulogd_output_LOGEMU.so"

#stack=log1:NFLOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

[log1]
group=0

[emu1]
file=/var/log/ulogd.syslogemu

Loading...