[Bug 890] New: Bug in ulogd_filter_IP2BIN
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Wed Jan 29 18:20:47 CET 2014
https://bugzilla.netfilter.org/show_bug.cgi?id=890
Summary: Bug in ulogd_filter_IP2BIN
Product: ulogd
Version: SVN (please provide timestamp)
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P5
Component: ulogd_MYSQL
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: etmsys at rit.edu
Estimated Hours: 0.0
Created attachment 434
--> https://bugzilla.netfilter.org/attachment.cgi?id=434
Patch to ulogd_filter_IP2BIN.c
A bug in the IP2BIN filter would cause the reply_ip_daddr to be NULL when added
to MySQL. Since it appears only MySQL uses this, it would affect the MYSQL
output plugin. I compared IP2BIN to IP2STR and found one difference. I applied
this patch and it resolved the issue (attachment too):
--- ulogd-2.0.3.orig/filter/ulogd_filter_IP2BIN.c 2013-06-18
16:52:50.269920891 -0400
+++ ulogd-2.0.3/filter/ulogd_filter_IP2BIN.c 2014-01-29 10:49:37.641807142
-0500
@@ -205,7 +205,7 @@
int fret;
/* Iter on all addr fields */
- for(i = START_KEY; i < MAX_KEY; i++) {
+ for(i = START_KEY; i <= MAX_KEY; i++) {
if (pp_is_valid(inp, i)) {
fret = ip2bin(inp, i, i-START_KEY);
if (fret != ULOGD_IRET_OK)
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the netfilter-buglog
mailing list