All of lore.kernel.org
 help / color / mirror / Atom feed
* ulogd2 and nflog prefix
@ 2006-05-15  2:49 Philip Craig
  2006-05-15  5:36 ` Patrick McHardy
  0 siblings, 1 reply; 12+ messages in thread
From: Philip Craig @ 2006-05-15  2:49 UTC (permalink / raw)
  To: Harald Welte; +Cc: netfilter-devel

The log message prefix contained in the netlink message is
not null terminated, but nflog_get_prefix() returns a pointer
to the data in the netlink message, and ulogd2 treats it as
null terminated.

I can create a patch to fix this if I know how it is meant to work:
- null terminate in kernel?
- nflog_get_prefix() should copy and null terminate?
- add nflog_get_prefix_len() and handle in ulogd?

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

end of thread, other threads:[~2006-05-15  9:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15  2:49 ulogd2 and nflog prefix Philip Craig
2006-05-15  5:36 ` Patrick McHardy
2006-05-15  6:59   ` Philip Craig
2006-05-15  7:06     ` Patrick McHardy
2006-05-15  7:33       ` Philip Craig
2006-05-15  7:39         ` Patrick McHardy
2006-05-15  7:59           ` Philip Craig
2006-05-15  8:31             ` Patrick McHardy
2006-05-15  9:35               ` Harald Welte
2006-05-15  9:41                 ` Patrick McHardy
2006-05-15  9:05       ` Philip Craig
2006-05-15  9:10         ` 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.