Skip to content

Commit b8ddd9e

Browse files
Kirill Tkhaiummakynes
authored andcommitted
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>
1 parent a00e763 commit b8ddd9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/netfilter/xt_osf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,6 @@ module_exit(xt_osf_fini);
422422
MODULE_LICENSE("GPL");
423423
MODULE_AUTHOR("Evgeniy Polyakov <zbr@ioremap.net>");
424424
MODULE_DESCRIPTION("Passive OS fingerprint matching.");
425+
MODULE_ALIAS("ipt_osf");
426+
MODULE_ALIAS("ip6t_osf");
425427
MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_OSF);

0 commit comments

Comments
 (0)