diff options
author | Kirill Tkhai <ktkhai@parallels.com> | 2014-03-26 14:37:59 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-04-03 23:52:22 +0200 |
commit | b8ddd9eac8788b0aa9a9d4e09d76dc9e1667bb2c (patch) | |
tree | fb939288d5b927eac59ae356e99a017575f89bed /net/netfilter | |
parent | a00e76349f3564bb8129fc0510dfd93248c3084d (diff) | |
download | linux-stable-b8ddd9eac8788b0aa9a9d4e09d76dc9e1667bb2c.tar.gz linux-stable-b8ddd9eac8788b0aa9a9d4e09d76dc9e1667bb2c.tar.bz2 linux-stable-b8ddd9eac8788b0aa9a9d4e09d76dc9e1667bb2c.zip |
netfilter: Add {ipt,ip6t}_osf aliases for xt_osf
There are no these aliases, so kernel can not request appropriate
match table:
$ iptables -I INPUT -p tcp -m osf --genre Windows --ttl 2 -j DROP
iptables: No chain/target/match by that name.
setsockopt() requests ipt_osf module, which is not present. Add
the aliases.
Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_osf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/xt_osf.c b/net/netfilter/xt_osf.c index 7174611bd672..c529161cdbf8 100644 --- a/net/netfilter/xt_osf.c +++ b/net/netfilter/xt_osf.c @@ -422,4 +422,6 @@ module_exit(xt_osf_fini); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Evgeniy Polyakov <zbr@ioremap.net>"); MODULE_DESCRIPTION("Passive OS fingerprint matching."); +MODULE_ALIAS("ipt_osf"); +MODULE_ALIAS("ip6t_osf"); MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_OSF); |