Skip to contentSkip to conversation

ebtables: port ebt*[u]log.c to nf[netlink]_log

PATCH In review Bart De Schuymer 2 participants 2 messages Nov 15, 2005 – Nov 22, 2005 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ebtables: port ebt*[u]log.c to nf[netlink]_log

Hi Dave,

Below is a patch from Harald, slightly altered by me to merge some printk's.

Please apply,
Bart

[NETFILTER] ebtables: Support nf_log API from ebt_log and ebt_ulog

This makes ebt_log and ebt_ulog use the new nf_log api. This enables the bridging packet filter to log packets e.g. via nfnetlink_log.

net/bridge/netfilter/Kconfig renamed from net/bridge/netfilter/Kconfig.old +5 -1
@@ -196,9 +196,13 @@ config BRIDGE_EBT_LOG
 	  To compile it as a module, choose M here.  If unsure, say N.
 
 config BRIDGE_EBT_ULOG
-	tristate "ebt: ulog support"
+	tristate "ebt: ulog support (OBSOLETE)"
 	depends on BRIDGE_NF_EBTABLES
 	help
+	  This option enables the old bridge-specific "ebt_ulog" implementation
+	  which has been obsoleted by the new "nfnetlink_log" code (see
+	  CONFIG_NETFILTER_NETLINK_LOG).
+
 	  This option adds the ulog watcher, that you can use in any rule
 	  in any ebtables table. The packet is passed to a userspace
 	  logging daemon using netlink multicast sockets. This differs
net/bridge/netfilter/ebt_log.c renamed from net/bridge/netfilter/ebt_log.c.old +55 -17

130 lines not on this page · raw message

net/bridge/netfilter/ebt_ulog.c renamed from net/bridge/netfilter/ebt_ulog.c.old +50 -3

94 lines not on this page · raw message

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

A message that is not in the archive (sent off-list or not yet received): 1132078881.3464.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#2 lore raw

From: Bart De Schuymer <[email protected]>
Date: Tue, 15 Nov 2005 18:21:21 +0000

Quoted 7 lines

[NETFILTER] ebtables: Support nf_log API from ebt_log and ebt_ulog

This makes ebt_log and ebt_ulog use the new nf_log api. This enables the bridging packet filter to log packets e.g. via nfnetlink_log.

I'm going to queue this up for 2.6.16, thanks.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click