Hi,
The ipt_TARPIT module uses sysctl_ip_default_ttl
variable but kernel doesn't export this symbol.
ipt_TARPIT.c:
(...)
/* Adjust IP TTL */
#ifdef CONFIG_SYSCTL
nskb->nh.iph->ttl = sysctl_ip_default_ttl;
#else
nskb->nh.iph->ttl = IPDEFTTL;
#endif
(...)
Finally we get undefined symbol in TARPIT module.
--- linux-2.6.14/net/ipv4/ip_output.c.orig
+++ linux-2.6.14/net/ipv4/ip_output.c
@@ -1329,3 +1329,4 @@
EXPORT_SYMBOL(ip_generic_getfrag);
EXPORT_SYMBOL(ip_queue_xmit);
EXPORT_SYMBOL(ip_send_check);
+EXPORT_SYMBOL(sysctl_ip_default_ttl);
--
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]