All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paweł Sikora" <pluto@agmk.net>
To: linux-kernel@vger.kernel.org
Cc: netfilter-devel@lists.netfilter.org
Subject: [2.6.14] ipt_TARPIT vs sysctl_ip_default_ttl.
Date: Wed, 2 Nov 2005 17:54:41 +0100	[thread overview]
Message-ID: <200511021754.41694.pluto@agmk.net> (raw)

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

                 reply	other threads:[~2005-11-02 16:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511021754.41694.pluto@agmk.net \
    --to=pluto@agmk.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.