--- ./nf-log/linux-2.4.patch.orig Tue Aug 10 14:18:40 2004 +++ ./nf-log/linux-2.4.patch Sun Feb 6 14:45:51 2005 @@ -27,10 +27,11 @@ #include #include #include -@@ -624,6 +627,75 @@ +@@ -621,6 +624,75 @@ + return 0; } #endif /*CONFIG_INET*/ - ++ +/* Internal logging interface, which relies on the real + LOG target modules */ + @@ -99,13 +100,12 @@ + reported++; + } +} -+ - /* This does not belong here, but ipt_REJECT needs it if connection - tracking in use: without this, connection may not be in hash table, - and hence manufactured ICMP or RST packets will not be associated -diff -urN --exclude-from=diff.exclude linux-2.4.20-base/net/ipv4/netfilter/ipt_LOG.c linux-2.4.20-log/net/ipv4/netfilter/ipt_LOG.c ---- linux-2.4.20-base/net/ipv4/netfilter/ipt_LOG.c 2002-02-25 20:38:14.000000000 +0100 -+++ linux-2.4.20-log/net/ipv4/netfilter/ipt_LOG.c 2003-05-13 19:30:26.000000000 +0200 + + /* This does not belong here, but locally generated errors need it if connection + tracking in use: without this, connection may not be in hash table, and hence +diff -urN linux-2.4.29-hf1/net/ipv4/netfilter/ipt_LOG.c linux-2.4.29-hf1-pomng-20050205/net/ipv4/netfilter/ipt_LOG.c +--- linux-2.4.29-hf1/net/ipv4/netfilter/ipt_LOG.c Sat Dec 6 08:14:52 2003 ++++ linux-2.4.29-hf1-pomng-20050205/net/ipv4/netfilter/ipt_LOG.c Sun Feb 6 14:42:07 2005 @@ -12,6 +12,11 @@ #include @@ -459,31 +459,9 @@ ipt_unregister_target(&ipt_ulog_reg); sock_release(nflognl->socket); -diff -urN --exclude-from=diff.exclude linux-2.4.20-base/net/netsyms.c linux-2.4.20-log/net/netsyms.c ---- linux-2.4.20-base/net/netsyms.c 2003-05-09 17:34:23.000000000 +0200 -+++ linux-2.4.20-log/net/netsyms.c 2003-05-09 17:36:32.000000000 +0200 -@@ -572,6 +572,7 @@ - #endif - #ifdef CONFIG_NETFILTER - #include -+#include - EXPORT_SYMBOL(nf_register_hook); - EXPORT_SYMBOL(nf_unregister_hook); - EXPORT_SYMBOL(nf_register_sockopt); -@@ -584,6 +585,10 @@ - EXPORT_SYMBOL(nf_setsockopt); - EXPORT_SYMBOL(nf_getsockopt); - EXPORT_SYMBOL(ip_ct_attach); -+EXPORT_SYMBOL(nf_log_register); -+EXPORT_SYMBOL(nf_log_unregister); -+EXPORT_SYMBOL(nf_log_packet); -+EXPORT_SYMBOL(nf_log); - #ifdef CONFIG_INET - #include - EXPORT_SYMBOL(ip_route_me_harder); -diff -urN --exclude-from=diff.exclude linux-2.4.20-base/net/ipv6/netfilter/ip6t_LOG.c linux-2.4.20-log/net/ipv6/netfilter/ip6t_LOG.c ---- linux-2.4.20-base/net/ipv6/netfilter/ip6t_LOG.c 2002-11-29 00:53:15.000000000 +0100 -+++ linux-2.4.20-log/net/ipv6/netfilter/ip6t_LOG.c 2003-05-13 19:31:03.000000000 +0200 +diff -urN linux-2.4.29-hf1/net/ipv6/netfilter/ip6t_LOG.c linux-2.4.29-hf1-pomng-20050205/net/ipv6/netfilter/ip6t_LOG.c +--- linux-2.4.29-hf1/net/ipv6/netfilter/ip6t_LOG.c Mon Jan 31 22:01:10 2005 ++++ linux-2.4.29-hf1-pomng-20050205/net/ipv6/netfilter/ip6t_LOG.c Sun Feb 6 14:42:07 2005 @@ -10,6 +10,7 @@ #include #include @@ -604,3 +582,25 @@ ip6t_unregister_target(&ip6t_log_reg); } +diff -urN linux-2.4.29-hf1/net/netsyms.c linux-2.4.29-hf1-pomng-20050205/net/netsyms.c +--- linux-2.4.29-hf1/net/netsyms.c Mon Jan 31 22:01:10 2005 ++++ linux-2.4.29-hf1-pomng-20050205/net/netsyms.c Sun Feb 6 14:44:11 2005 +@@ -595,6 +595,7 @@ + #endif + #ifdef CONFIG_NETFILTER + #include ++#include + EXPORT_SYMBOL(nf_register_hook); + EXPORT_SYMBOL(nf_unregister_hook); + EXPORT_SYMBOL(nf_register_sockopt); +@@ -608,6 +609,10 @@ + EXPORT_SYMBOL(nf_getsockopt); + EXPORT_SYMBOL(ip_ct_attach); + EXPORT_SYMBOL(nf_ct_attach); ++EXPORT_SYMBOL(nf_log_register); ++EXPORT_SYMBOL(nf_log_unregister); ++EXPORT_SYMBOL(nf_log_packet); ++EXPORT_SYMBOL(nf_log); + #ifdef CONFIG_INET + #include + EXPORT_SYMBOL(ip_route_me_harder);