From: Pawel Sikora <pluto@pld-linux.org>
To: Patrick McHardy <kaber@trash.net>, netfilter-devel@lists.netfilter.org
Subject: [PATCH] conntrack-mms / keep hook private.
Date: Tue, 3 May 2005 09:28:15 +0200 [thread overview]
Message-ID: <200505030928.16263.pluto@pld-linux.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
Hi All,
IMHO the hook should be a private part of a kernel
(similar to other conntrack modules).
Attached patch hide the mms hook from userland.
Regards,
Pawel.
--
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
[-- Attachment #2: mms-conntrack-keep_hook_private.patch --]
[-- Type: text/x-diff, Size: 677 bytes --]
Index: mms-conntrack-nat/linux-2.6.11/include/linux/netfilter_ipv4/ip_conntrack_mms.h
===================================================================
--- mms-conntrack-nat/linux-2.6.11/include/linux/netfilter_ipv4/ip_conntrack_mms.h (revision 3889)
+++ mms-conntrack-nat/linux-2.6.11/include/linux/netfilter_ipv4/ip_conntrack_mms.h (working copy)
@@ -30,9 +30,11 @@
};
struct ip_conntrack_expect;
+#ifdef __KERNEL__
extern unsigned int (*ip_nat_mms_hook)(struct sk_buff **pskb,
enum ip_conntrack_info ctinfo,
const struct ip_ct_mms_expect *exp_mms_info,
struct ip_conntrack_expect *exp);
+#endif
#endif /* _IP_CONNTRACK_MMS_H */
next reply other threads:[~2005-05-03 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-03 7:28 Pawel Sikora [this message]
2005-05-03 18:01 ` [PATCH] conntrack-mms / keep hook private Patrick McHardy
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=200505030928.16263.pluto@pld-linux.org \
--to=pluto@pld-linux.org \
--cc=kaber@trash.net \
--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.