diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-17 10:01:42 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-11-17 10:01:42 -0500 |
commit | 4dc06f9633444f426ef9960c53426f2d2ded64ac (patch) | |
tree | 9db7c6555dd08f796dadc8a01d63f9464fb80ab3 /net | |
parent | 528a3a6f67d4fbe708b9f306be194e78b29e8d7a (diff) |
netfilter: nf_conntrack: connection tracking helper name persistent aliases
This patch adds the macro MODULE_ALIAS_NFCT_HELPER that defines a
way to provide generic and persistent aliases for the connection
tracking helpers.
This next patch requires this patch.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_amanda.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_ftp.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_h323_main.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_irc.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_netbios_ns.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_pptp.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_sane.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_sip.c | 1 | ||||
-rw-r--r-- | net/netfilter/nf_conntrack_tftp.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_amanda.c b/net/netfilter/nf_conntrack_amanda.c index 38aedeeaf4e1..4f8fcf498545 100644 --- a/net/netfilter/nf_conntrack_amanda.c +++ b/net/netfilter/nf_conntrack_amanda.c | |||
@@ -30,6 +30,7 @@ MODULE_AUTHOR("Brian J. Murrell <netfilter@interlinx.bc.ca>"); | |||
30 | MODULE_DESCRIPTION("Amanda connection tracking module"); | 30 | MODULE_DESCRIPTION("Amanda connection tracking module"); |
31 | MODULE_LICENSE("GPL"); | 31 | MODULE_LICENSE("GPL"); |
32 | MODULE_ALIAS("ip_conntrack_amanda"); | 32 | MODULE_ALIAS("ip_conntrack_amanda"); |
33 | MODULE_ALIAS_NFCT_HELPER("amanda"); | ||
33 | 34 | ||
34 | module_param(master_timeout, uint, 0600); | 35 | module_param(master_timeout, uint, 0600); |
35 | MODULE_PARM_DESC(master_timeout, "timeout for the master connection"); | 36 | MODULE_PARM_DESC(master_timeout, "timeout for the master connection"); |
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c index 629500901bd4..703a4378074a 100644 --- a/net/netfilter/nf_conntrack_ftp.c +++ b/net/netfilter/nf_conntrack_ftp.c | |||
@@ -29,6 +29,7 @@ MODULE_LICENSE("GPL"); | |||
29 | MODULE_AUTHOR("Rusty Russell <rusty@rustcorp.com.au>"); | 29 | MODULE_AUTHOR("Rusty Russell <rusty@rustcorp.com.au>"); |
30 | MODULE_DESCRIPTION("ftp connection tracking helper"); | 30 | MODULE_DESCRIPTION("ftp connection tracking helper"); |
31 | MODULE_ALIAS("ip_conntrack_ftp"); | 31 | MODULE_ALIAS("ip_conntrack_ftp"); |
32 | MODULE_ALIAS_NFCT_HELPER("ftp"); | ||
32 | 33 | ||
33 | /* This is slow, but it's simple. --RR */ | 34 | /* This is slow, but it's simple. --RR */ |
34 | static char *ftp_buffer; | 35 | static char *ftp_buffer; |
diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c index 99bc803d1dd1..687bd633c3d7 100644 --- a/net/netfilter/nf_conntrack_h323_main.c +++ b/net/netfilter/nf_conntrack_h323_main.c | |||
@@ -1827,3 +1827,4 @@ MODULE_AUTHOR("Jing Min Zhao <zhaojingmin@users.sourceforge.net>"); | |||
1827 | MODULE_DESCRIPTION("H.323 connection tracking helper"); | 1827 | MODULE_DESCRIPTION("H.323 connection tracking helper"); |
1828 | MODULE_LICENSE("GPL"); | 1828 | MODULE_LICENSE("GPL"); |
1829 | MODULE_ALIAS("ip_conntrack_h323"); | 1829 | MODULE_ALIAS("ip_conntrack_h323"); |
1830 | MODULE_ALIAS_NFCT_HELPER("h323"); | ||
diff --git a/net/netfilter/nf_conntrack_irc.c b/net/netfilter/nf_conntrack_irc.c index 4d681a04447e..409c8be58e7c 100644 --- a/net/netfilter/nf_conntrack_irc.c +++ b/net/netfilter/nf_conntrack_irc.c | |||
@@ -41,6 +41,7 @@ MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); | |||
41 | MODULE_DESCRIPTION("IRC (DCC) connection tracking helper"); | 41 | MODULE_DESCRIPTION("IRC (DCC) connection tracking helper"); |
42 | MODULE_LICENSE("GPL"); | 42 | MODULE_LICENSE("GPL"); |
43 | MODULE_ALIAS("ip_conntrack_irc"); | 43 | MODULE_ALIAS("ip_conntrack_irc"); |
44 | MODULE_ALIAS_NFCT_HELPER("irc"); | ||
44 | 45 | ||
45 | module_param_array(ports, ushort, &ports_c, 0400); | 46 | module_param_array(ports, ushort, &ports_c, 0400); |
46 | MODULE_PARM_DESC(ports, "port numbers of IRC servers"); | 47 | MODULE_PARM_DESC(ports, "port numbers of IRC servers"); |
diff --git a/net/netfilter/nf_conntrack_netbios_ns.c b/net/netfilter/nf_conntrack_netbios_ns.c index 08404e6755fb..5af4273b4668 100644 --- a/net/netfilter/nf_conntrack_netbios_ns.c +++ b/net/netfilter/nf_conntrack_netbios_ns.c | |||
@@ -37,6 +37,7 @@ MODULE_AUTHOR("Patrick McHardy <kaber@trash.net>"); | |||
37 | MODULE_DESCRIPTION("NetBIOS name service broadcast connection tracking helper"); | 37 | MODULE_DESCRIPTION("NetBIOS name service broadcast connection tracking helper"); |
38 | MODULE_LICENSE("GPL"); | 38 | MODULE_LICENSE("GPL"); |
39 | MODULE_ALIAS("ip_conntrack_netbios_ns"); | 39 | MODULE_ALIAS("ip_conntrack_netbios_ns"); |
40 | MODULE_ALIAS_NFCT_HELPER("netbios_ns"); | ||
40 | 41 | ||
41 | static unsigned int timeout __read_mostly = 3; | 42 | static unsigned int timeout __read_mostly = 3; |
42 | module_param(timeout, uint, 0400); | 43 | module_param(timeout, uint, 0400); |
diff --git a/net/netfilter/nf_conntrack_pptp.c b/net/netfilter/nf_conntrack_pptp.c index 1bc3001d1827..9e169ef2e854 100644 --- a/net/netfilter/nf_conntrack_pptp.c +++ b/net/netfilter/nf_conntrack_pptp.c | |||
@@ -37,6 +37,7 @@ MODULE_LICENSE("GPL"); | |||
37 | MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>"); | 37 | MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>"); |
38 | MODULE_DESCRIPTION("Netfilter connection tracking helper module for PPTP"); | 38 | MODULE_DESCRIPTION("Netfilter connection tracking helper module for PPTP"); |
39 | MODULE_ALIAS("ip_conntrack_pptp"); | 39 | MODULE_ALIAS("ip_conntrack_pptp"); |
40 | MODULE_ALIAS_NFCT_HELPER("pptp"); | ||
40 | 41 | ||
41 | static DEFINE_SPINLOCK(nf_pptp_lock); | 42 | static DEFINE_SPINLOCK(nf_pptp_lock); |
42 | 43 | ||
diff --git a/net/netfilter/nf_conntrack_sane.c b/net/netfilter/nf_conntrack_sane.c index a94294b2b23c..dcfecbb81c46 100644 --- a/net/netfilter/nf_conntrack_sane.c +++ b/net/netfilter/nf_conntrack_sane.c | |||
@@ -30,6 +30,7 @@ | |||
30 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
31 | MODULE_AUTHOR("Michal Schmidt <mschmidt@redhat.com>"); | 31 | MODULE_AUTHOR("Michal Schmidt <mschmidt@redhat.com>"); |
32 | MODULE_DESCRIPTION("SANE connection tracking helper"); | 32 | MODULE_DESCRIPTION("SANE connection tracking helper"); |
33 | MODULE_ALIAS_NFCT_HELPER("sane"); | ||
33 | 34 | ||
34 | static char *sane_buffer; | 35 | static char *sane_buffer; |
35 | 36 | ||
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c index 6813f1c8863f..4b572163784b 100644 --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c | |||
@@ -28,6 +28,7 @@ MODULE_LICENSE("GPL"); | |||
28 | MODULE_AUTHOR("Christian Hentschel <chentschel@arnet.com.ar>"); | 28 | MODULE_AUTHOR("Christian Hentschel <chentschel@arnet.com.ar>"); |
29 | MODULE_DESCRIPTION("SIP connection tracking helper"); | 29 | MODULE_DESCRIPTION("SIP connection tracking helper"); |
30 | MODULE_ALIAS("ip_conntrack_sip"); | 30 | MODULE_ALIAS("ip_conntrack_sip"); |
31 | MODULE_ALIAS_NFCT_HELPER("sip"); | ||
31 | 32 | ||
32 | #define MAX_PORTS 8 | 33 | #define MAX_PORTS 8 |
33 | static unsigned short ports[MAX_PORTS]; | 34 | static unsigned short ports[MAX_PORTS]; |
diff --git a/net/netfilter/nf_conntrack_tftp.c b/net/netfilter/nf_conntrack_tftp.c index f57f6e7a71ee..46e646b2e9b9 100644 --- a/net/netfilter/nf_conntrack_tftp.c +++ b/net/netfilter/nf_conntrack_tftp.c | |||
@@ -22,6 +22,7 @@ MODULE_AUTHOR("Magnus Boden <mb@ozaba.mine.nu>"); | |||
22 | MODULE_DESCRIPTION("TFTP connection tracking helper"); | 22 | MODULE_DESCRIPTION("TFTP connection tracking helper"); |
23 | MODULE_LICENSE("GPL"); | 23 | MODULE_LICENSE("GPL"); |
24 | MODULE_ALIAS("ip_conntrack_tftp"); | 24 | MODULE_ALIAS("ip_conntrack_tftp"); |
25 | MODULE_ALIAS_NFCT_HELPER("tftp"); | ||
25 | 26 | ||
26 | #define MAX_PORTS 8 | 27 | #define MAX_PORTS 8 |
27 | static unsigned short ports[MAX_PORTS]; | 28 | static unsigned short ports[MAX_PORTS]; |