[LWN Logo]
[LWN.net]
From: Harald Welte <laforge@gnumonks.org>
To: Netfilter Mailinglist <netfilter@lists.samba.org>,
Subject: Bug in [RELEASE] iptables 1.2.1
Date: Fri, 16 Mar 2001 15:41:15 -0500


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello again!

I'm very, very sorry, but the just relased iptables-1.2.1 Release has
a problem :(

If you don't apply the ULOG patch, it won't compile, because of some
missing define :(

I've attached a patch (already in CVS) which fixes this problem. 

I'll most likely release a 1.2.1a tomorrow, just for fixing this bug.

-- 
Live long and prosper
- Harald Welte / laforge@gnumonks.org                http://www.gnumonks.org
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="iptables-1.2.1-nflog-define.patch"

diff -Nru iptables-1.2.1/include/linux/netfilter_ipv4/ipt_ULOG.h iptables-1.2.1.laforge/include/linux/netfilter_ipv4/ipt_ULOG.h
--- iptables-1.2.1/include/linux/netfilter_ipv4/ipt_ULOG.h	Wed Feb 28 06:21:54 2001
+++ iptables-1.2.1.laforge/include/linux/netfilter_ipv4/ipt_ULOG.h	Fri Mar 16 11:44:09 2001
@@ -11,6 +11,12 @@
 #define ULOG_PREFIX_LEN	32
 
 #define ULOG_MAX_QLEN	50
+
+/* if we don't have a patched kernel source */
+#ifndef NETLINK_NFLOG
+#define NETLINK_NFLOG	4	
+#endif
+
 /* Why 50? Well... there is a limit imposed by the slab cache 131000
  * bytes. So the multipart netlink-message has to be < 131000 bytes.
  * Assuming a standard ethernet-mtu of 1500, we could define this up

--qMm9M+Fa2AknHoGS--