* ipt_TARPIT.c - dst_ptmu
@ 2005-05-10 3:58 Jérôme Poulin
0 siblings, 0 replies; only message in thread
From: Jérôme Poulin @ 2005-05-10 3:58 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
I get errors about :
*** Warning: "dst_pmtu" [net/ipv4/netfilter/ipt_TARPIT.ko] undefined!
when compiling the TARPIT, I replaced the dst_pmtu with dst_mtu and it
now works, just a little patch to do to ipt_TARPIT.c to make it work
with the new kernel I think. Using 2.6.12-rc3-mm3.
[-- Attachment #2: ipt_TARPIT.c.diff --]
[-- Type: application/octet-stream, Size: 306 bytes --]
--- ipt_TARPIT.c.old 2005-05-09 23:54:50.000000000 -0400
+++ ipt_TARPIT.c 2005-05-09 23:51:14.000000000 -0400
@@ -194,7 +194,7 @@
nskb->dst = &nrt->u.dst;
/* "Never happens" */
- if (nskb->len > dst_pmtu(nskb->dst))
+ if (nskb->len > dst_mtu(nskb->dst))
goto free_nskb;
ip_direct_send (nskb);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-10 3:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-10 3:58 ipt_TARPIT.c - dst_ptmu Jérôme Poulin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.