All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ulogd2 update
@ 2006-10-10 21:54 Eric Leblond
  2006-10-10 21:57 ` [PATCH 1/3] " Eric Leblond
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Eric Leblond @ 2006-10-10 21:54 UTC (permalink / raw)
  To: netfilter-devel

Hi,

This set of patches updates ulogd2 ULOG plugin to current API and fix a
crash.

BR,
--
Eric Leblond
INL : http://www.inl.fr
NuFW, Now User Filtering Works (http://www.nufw.org)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ulogd2 update
  2006-10-10 21:54 [PATCH 0/3] ulogd2 update Eric Leblond
@ 2006-10-10 21:57 ` Eric Leblond
  2006-10-10 21:59 ` [PATCH 2/3] " Eric Leblond
  2006-10-10 22:01 ` [PATCH 3/3] " Eric Leblond
  2 siblings, 0 replies; 5+ messages in thread
From: Eric Leblond @ 2006-10-10 21:57 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

Hi,

This patch synchronizes ULOG input plugin with current ulogd2 API.

BR
--
Eric Leblond
INL : http://www.inl.fr
NuFW, Now User Filtering Works (http://www.nufw.org)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ulogd2-sync-api.patch --]
[-- Type: text/x-patch; name="ulogd2-sync-api.patch", Size: 413 bytes --]

=== input/packet/ulogd_inppkt_ULOG.c
==================================================================
--- input/packet/ulogd_inppkt_ULOG.c	(revision 4622)
+++ input/packet/ulogd_inppkt_ULOG.c	(revision 4623)
@@ -234,6 +234,7 @@
 	ui->ulog_fd.fd = ipulog_get_fd(ui->libulog_h);
 	ui->ulog_fd.cb = &ulog_read_cb;
 	ui->ulog_fd.data = upi;
+	ui->ulog_fd.when = ULOGD_FD_READ;
 
 	ulogd_register_fd(&ui->ulog_fd);
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/3] ulogd2 update
  2006-10-10 21:54 [PATCH 0/3] ulogd2 update Eric Leblond
  2006-10-10 21:57 ` [PATCH 1/3] " Eric Leblond
@ 2006-10-10 21:59 ` Eric Leblond
  2006-10-10 22:01 ` [PATCH 3/3] " Eric Leblond
  2 siblings, 0 replies; 5+ messages in thread
From: Eric Leblond @ 2006-10-10 21:59 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

Hi,

This patch fixes a crash in ULOG input plugin due to a free on invalid value.

BR,
--
Eric Leblond
INL : http://www.inl.fr
NuFW, Now User Filtering Works (http://www.nufw.org)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ulogd2-free-crash.patch --]
[-- Type: text/x-patch; name="ulogd2-free-crash.patch", Size: 557 bytes --]

=== input/packet/ulogd_inppkt_ULOG.c
==================================================================
--- input/packet/ulogd_inppkt_ULOG.c	(revision 4621)
+++ input/packet/ulogd_inppkt_ULOG.c	(revision 4622)
@@ -58,12 +58,12 @@
 static struct ulogd_key output_keys[] = {
 	{ 
 		.type = ULOGD_RET_STRING, 
-		.flags = ULOGD_RETF_FREE, 
+		.flags = ULOGD_RETF_NONE, 
 		.name = "raw.mac", 
 	},
 	{
 		.type = ULOGD_RET_RAW,
-		.flags = ULOGD_RETF_FREE,
+		.flags = ULOGD_RETF_NONE,
 		.name = "raw.pkt",
 		.ipfix = {
 			.vendor = IPFIX_VENDOR_NETFILTER,

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ulogd2 update
  2006-10-10 21:54 [PATCH 0/3] ulogd2 update Eric Leblond
  2006-10-10 21:57 ` [PATCH 1/3] " Eric Leblond
  2006-10-10 21:59 ` [PATCH 2/3] " Eric Leblond
@ 2006-10-10 22:01 ` Eric Leblond
  2006-10-11  6:02   ` Patrick McHardy
  2 siblings, 1 reply; 5+ messages in thread
From: Eric Leblond @ 2006-10-10 22:01 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

Hi,

This patch fixes a trivial typo in ULOG plugin code.

BR,
--
Eric Leblond
INL : http://www.inl.fr
NuFW, Now User Filtering Works (http://www.nufw.org)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ulogd2-typo.patch --]
[-- Type: text/x-patch; name="ulogd2-typo.patch", Size: 621 bytes --]

=== input/packet/ulogd_inppkt_ULOG.c
==================================================================
--- input/packet/ulogd_inppkt_ULOG.c	(revision 4623)
+++ input/packet/ulogd_inppkt_ULOG.c	(revision 4624)
@@ -13,7 +13,7 @@
 #define ULOGD_NLGROUP_DEFAULT	32
 #endif
 
-/* Size of the socket recevive memory.  Should be at least the same size as the
+/* Size of the socket receive memory.  Should be at least the same size as the
  * 'nlbufsiz' module loadtime parameter of ipt_ULOG.o
  * If you have _big_ in-kernel queues, you may have to increase this number.  (
  * --qthreshold 100 * 1500 bytes/packet = 150kB  */

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] ulogd2 update
  2006-10-10 22:01 ` [PATCH 3/3] " Eric Leblond
@ 2006-10-11  6:02   ` Patrick McHardy
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick McHardy @ 2006-10-11  6:02 UTC (permalink / raw)
  To: Eric Leblond; +Cc: netfilter-devel

Eric Leblond wrote:
> This patch fixes a trivial typo in ULOG plugin code.

All three patches applied, thanks Eric.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-11  6:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 21:54 [PATCH 0/3] ulogd2 update Eric Leblond
2006-10-10 21:57 ` [PATCH 1/3] " Eric Leblond
2006-10-10 21:59 ` [PATCH 2/3] " Eric Leblond
2006-10-10 22:01 ` [PATCH 3/3] " Eric Leblond
2006-10-11  6:02   ` Patrick McHardy

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.