Package: netfilter-extensions-source Version: 20080326+debian-1 Followup-For: Bug #481300
I had the same compile error as the original poster. I ported a patch from Ubuntu which seems to resolve the problem. The patch is attached. Best, -N -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages netfilter-extensions-source depends on: ii bzip2 1.0.5-0.1 high-quality block-sorting file co ii debhelper 7.0.10 helper programs for debian/rules ii make 3.81-5 The GNU version of the "make" util ii module-assistant 0.10.11.0 tool to make module package creati netfilter-extensions-source recommends no packages. -- no debconf information
*** ipt_TARPIT.c 2008-03-26 14:37:00.000000000 -0700 --- ipt_TARPIT.c.new 2008-07-13 22:29:05.000000000 -0700 *************** *** 165,171 **** fl.nl_u.ip4_u.tos = RT_TOS(ip_hdr(nskb)->tos) | RTO_CONN; fl.oif = 0; ! if (ip_route_output_key(&nrt, &fl)) goto free_nskb; dst_release(nskb->dst); --- 165,171 ---- fl.nl_u.ip4_u.tos = RT_TOS(ip_hdr(nskb)->tos) | RTO_CONN; fl.oif = 0; ! if (ip_route_output_key(&init_net, &nrt, &fl)) goto free_nskb; dst_release(nskb->dst); *************** *** 238,244 **** if (ip_hdr(skb)->frag_off & htons(IP_OFFSET)) return NF_DROP; ! tarpit_tcp(skb,rt,hooknum == NF_IP_LOCAL_IN); return NF_DROP; } --- 238,244 ---- if (ip_hdr(skb)->frag_off & htons(IP_OFFSET)) return NF_DROP; ! tarpit_tcp(skb,rt,hooknum == NF_INET_LOCAL_IN); return NF_DROP; } *************** *** 261,268 **** DEBUGP("TARPIT: bad table %s'.\n", tablename); return 0; } ! if ((hook_mask & ~((1 << NF_IP_LOCAL_IN) ! | (1 << NF_IP_FORWARD))) != 0) { DEBUGP("TARPIT: bad hook mask %X\n", hook_mask); return 0; } --- 261,268 ---- DEBUGP("TARPIT: bad table %s'.\n", tablename); return 0; } ! if ((hook_mask & ~((1 << NF_INET_LOCAL_IN) ! | (1 << NF_INET_FORWARD))) != 0) { DEBUGP("TARPIT: bad hook mask %X\n", hook_mask); return 0; }