1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org>
5 * This software has been sponsored by Sophos Astaro <http://www.sophos.com>
8 #include <linux/kernel.h>
9 #include <linux/init.h>
10 #include <linux/module.h>
11 #include <linux/netlink.h>
12 #include <linux/netfilter.h>
13 #include <linux/netfilter/nfnetlink.h>
14 #include <linux/netfilter/nf_tables.h>
15 #include <linux/netfilter/nf_tables_compat.h>
16 #include <linux/netfilter/x_tables.h>
17 #include <linux/netfilter_ipv4/ip_tables.h>
18 #include <linux/netfilter_ipv6/ip6_tables.h>
19 #include <linux/netfilter_bridge/ebtables.h>
20 #include <linux/netfilter_arp/arp_tables.h>
21 #include <net/netfilter/nf_tables.h>
22 #include <net/netfilter/nf_log.h>
24 /* Used for matches where *info is larger than X byte */
25 #define NFT_MATCH_LARGE_THRESH 192
27 struct nft_xt_match_priv {
31 static int nft_compat_chain_validate_dependency(const struct nft_ctx *ctx,
32 const char *tablename)
34 enum nft_chain_types type = NFT_CHAIN_T_DEFAULT;
35 const struct nft_chain *chain = ctx->chain;
36 const struct nft_base_chain *basechain;
39 !nft_is_base_chain(chain))
42 basechain = nft_base_chain(chain);
43 if (strcmp(tablename, "nat") == 0) {
44 if (ctx->family != NFPROTO_BRIDGE)
45 type = NFT_CHAIN_T_NAT;
46 if (basechain->type->type != type)
57 struct arpt_entry arp;
61 nft_compat_set_par(struct xt_action_param *par,
62 const struct nft_pktinfo *pkt,
63 const void *xt, const void *xt_info)
65 par->state = pkt->state;
66 par->thoff = nft_thoff(pkt);
67 par->fragoff = pkt->fragoff;
69 par->targinfo = xt_info;
73 static void nft_target_eval_xt(const struct nft_expr *expr,
74 struct nft_regs *regs,
75 const struct nft_pktinfo *pkt)
77 void *info = nft_expr_priv(expr);
78 struct xt_target *target = expr->ops->data;
79 struct sk_buff *skb = pkt->skb;
80 struct xt_action_param xt;
83 nft_compat_set_par(&xt, pkt, target, info);
85 ret = target->target(skb, &xt);
92 regs->verdict.code = NFT_CONTINUE;
95 regs->verdict.code = ret;
100 static void nft_target_eval_bridge(const struct nft_expr *expr,
101 struct nft_regs *regs,
102 const struct nft_pktinfo *pkt)
104 void *info = nft_expr_priv(expr);
105 struct xt_target *target = expr->ops->data;
106 struct sk_buff *skb = pkt->skb;
107 struct xt_action_param xt;
110 nft_compat_set_par(&xt, pkt, target, info);
112 ret = target->target(skb, &xt);
119 regs->verdict.code = NF_ACCEPT;
122 regs->verdict.code = NF_DROP;
125 regs->verdict.code = NFT_CONTINUE;
128 regs->verdict.code = NFT_RETURN;
131 regs->verdict.code = ret;
136 static const struct nla_policy nft_target_policy[NFTA_TARGET_MAX + 1] = {
137 [NFTA_TARGET_NAME] = { .type = NLA_NUL_STRING },
138 [NFTA_TARGET_REV] = { .type = NLA_U32 },
139 [NFTA_TARGET_INFO] = { .type = NLA_BINARY },
143 nft_target_set_tgchk_param(struct xt_tgchk_param *par,
144 const struct nft_ctx *ctx,
145 struct xt_target *target, void *info,
146 union nft_entry *entry, u16 proto, bool inv)
149 par->table = ctx->table->name;
150 switch (ctx->family) {
152 entry->e4.ip.proto = proto;
153 entry->e4.ip.invflags = inv ? IPT_INV_PROTO : 0;
157 entry->e6.ipv6.flags |= IP6T_F_PROTO;
159 entry->e6.ipv6.proto = proto;
160 entry->e6.ipv6.invflags = inv ? IP6T_INV_PROTO : 0;
163 entry->ebt.ethproto = (__force __be16)proto;
164 entry->ebt.invflags = inv ? EBT_IPROTO : 0;
169 par->entryinfo = entry;
170 par->target = target;
171 par->targinfo = info;
172 if (nft_is_base_chain(ctx->chain)) {
173 const struct nft_base_chain *basechain =
174 nft_base_chain(ctx->chain);
175 const struct nf_hook_ops *ops = &basechain->ops;
177 par->hook_mask = 1 << ops->hooknum;
181 par->family = ctx->family;
182 par->nft_compat = true;
185 static void target_compat_from_user(struct xt_target *t, void *in, void *out)
189 memcpy(out, in, t->targetsize);
190 pad = XT_ALIGN(t->targetsize) - t->targetsize;
192 memset(out + t->targetsize, 0, pad);
195 static const struct nla_policy nft_rule_compat_policy[NFTA_RULE_COMPAT_MAX + 1] = {
196 [NFTA_RULE_COMPAT_PROTO] = { .type = NLA_U32 },
197 [NFTA_RULE_COMPAT_FLAGS] = { .type = NLA_U32 },
200 static int nft_parse_compat(const struct nlattr *attr, u16 *proto, bool *inv)
202 struct nlattr *tb[NFTA_RULE_COMPAT_MAX+1];
206 err = nla_parse_nested_deprecated(tb, NFTA_RULE_COMPAT_MAX, attr,
207 nft_rule_compat_policy, NULL);
211 if (!tb[NFTA_RULE_COMPAT_PROTO] || !tb[NFTA_RULE_COMPAT_FLAGS])
214 flags = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_FLAGS]));
215 if (flags & ~NFT_RULE_COMPAT_F_MASK)
217 if (flags & NFT_RULE_COMPAT_F_INV)
220 *proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO]));
224 static void nft_compat_wait_for_destructors(void)
226 /* xtables matches or targets can have side effects, e.g.
227 * creation/destruction of /proc files.
228 * The xt ->destroy functions are run asynchronously from
229 * work queue. If we have pending invocations we thus
230 * need to wait for those to finish.
232 nf_tables_trans_destroy_flush_work();
236 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
237 const struct nlattr * const tb[])
239 void *info = nft_expr_priv(expr);
240 struct xt_target *target = expr->ops->data;
241 struct xt_tgchk_param par;
242 size_t size = XT_ALIGN(nla_len(tb[NFTA_TARGET_INFO]));
245 union nft_entry e = {};
248 target_compat_from_user(target, nla_data(tb[NFTA_TARGET_INFO]), info);
250 if (ctx->nla[NFTA_RULE_COMPAT]) {
251 ret = nft_parse_compat(ctx->nla[NFTA_RULE_COMPAT], &proto, &inv);
256 nft_target_set_tgchk_param(&par, ctx, target, info, &e, proto, inv);
258 nft_compat_wait_for_destructors();
260 ret = xt_check_target(&par, size, proto, inv);
262 if (ret == -ENOENT) {
263 const char *modname = NULL;
265 if (strcmp(target->name, "LOG") == 0)
266 modname = "nf_log_syslog";
267 else if (strcmp(target->name, "NFLOG") == 0)
268 modname = "nfnetlink_log";
271 nft_request_module(ctx->net, "%s", modname) == -EAGAIN)
278 /* The standard target cannot be used */
285 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr)
292 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
294 struct xt_target *target = expr->ops->data;
295 void *info = nft_expr_priv(expr);
296 struct module *me = target->me;
297 struct xt_tgdtor_param par;
302 par.family = ctx->family;
303 if (par.target->destroy != NULL)
304 par.target->destroy(&par);
306 __nft_mt_tg_destroy(me, expr);
309 static int nft_extension_dump_info(struct sk_buff *skb, int attr,
311 unsigned int size, unsigned int user_size)
313 unsigned int info_size, aligned_size = XT_ALIGN(size);
316 nla = nla_reserve(skb, attr, aligned_size);
320 info_size = user_size ? : size;
321 memcpy(nla_data(nla), info, info_size);
322 memset(nla_data(nla) + info_size, 0, aligned_size - info_size);
327 static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr)
329 const struct xt_target *target = expr->ops->data;
330 void *info = nft_expr_priv(expr);
332 if (nla_put_string(skb, NFTA_TARGET_NAME, target->name) ||
333 nla_put_be32(skb, NFTA_TARGET_REV, htonl(target->revision)) ||
334 nft_extension_dump_info(skb, NFTA_TARGET_INFO, info,
335 target->targetsize, target->usersize))
336 goto nla_put_failure;
344 static int nft_target_validate(const struct nft_ctx *ctx,
345 const struct nft_expr *expr,
346 const struct nft_data **data)
348 struct xt_target *target = expr->ops->data;
349 unsigned int hook_mask = 0;
352 if (nft_is_base_chain(ctx->chain)) {
353 const struct nft_base_chain *basechain =
354 nft_base_chain(ctx->chain);
355 const struct nf_hook_ops *ops = &basechain->ops;
357 hook_mask = 1 << ops->hooknum;
358 if (target->hooks && !(hook_mask & target->hooks))
361 ret = nft_compat_chain_validate_dependency(ctx, target->table);
368 static void __nft_match_eval(const struct nft_expr *expr,
369 struct nft_regs *regs,
370 const struct nft_pktinfo *pkt,
373 struct xt_match *match = expr->ops->data;
374 struct sk_buff *skb = pkt->skb;
375 struct xt_action_param xt;
378 nft_compat_set_par(&xt, pkt, match, info);
380 ret = match->match(skb, &xt);
383 regs->verdict.code = NF_DROP;
387 switch (ret ? 1 : 0) {
389 regs->verdict.code = NFT_CONTINUE;
392 regs->verdict.code = NFT_BREAK;
397 static void nft_match_large_eval(const struct nft_expr *expr,
398 struct nft_regs *regs,
399 const struct nft_pktinfo *pkt)
401 struct nft_xt_match_priv *priv = nft_expr_priv(expr);
403 __nft_match_eval(expr, regs, pkt, priv->info);
406 static void nft_match_eval(const struct nft_expr *expr,
407 struct nft_regs *regs,
408 const struct nft_pktinfo *pkt)
410 __nft_match_eval(expr, regs, pkt, nft_expr_priv(expr));
413 static const struct nla_policy nft_match_policy[NFTA_MATCH_MAX + 1] = {
414 [NFTA_MATCH_NAME] = { .type = NLA_NUL_STRING },
415 [NFTA_MATCH_REV] = { .type = NLA_U32 },
416 [NFTA_MATCH_INFO] = { .type = NLA_BINARY },
419 /* struct xt_mtchk_param and xt_tgchk_param look very similar */
421 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx,
422 struct xt_match *match, void *info,
423 union nft_entry *entry, u16 proto, bool inv)
426 par->table = ctx->table->name;
427 switch (ctx->family) {
429 entry->e4.ip.proto = proto;
430 entry->e4.ip.invflags = inv ? IPT_INV_PROTO : 0;
434 entry->e6.ipv6.flags |= IP6T_F_PROTO;
436 entry->e6.ipv6.proto = proto;
437 entry->e6.ipv6.invflags = inv ? IP6T_INV_PROTO : 0;
440 entry->ebt.ethproto = (__force __be16)proto;
441 entry->ebt.invflags = inv ? EBT_IPROTO : 0;
446 par->entryinfo = entry;
448 par->matchinfo = info;
449 if (nft_is_base_chain(ctx->chain)) {
450 const struct nft_base_chain *basechain =
451 nft_base_chain(ctx->chain);
452 const struct nf_hook_ops *ops = &basechain->ops;
454 par->hook_mask = 1 << ops->hooknum;
458 par->family = ctx->family;
459 par->nft_compat = true;
462 static void match_compat_from_user(struct xt_match *m, void *in, void *out)
466 memcpy(out, in, m->matchsize);
467 pad = XT_ALIGN(m->matchsize) - m->matchsize;
469 memset(out + m->matchsize, 0, pad);
473 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
474 const struct nlattr * const tb[],
477 struct xt_match *match = expr->ops->data;
478 struct xt_mtchk_param par;
479 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO]));
482 union nft_entry e = {};
485 match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info);
487 if (ctx->nla[NFTA_RULE_COMPAT]) {
488 ret = nft_parse_compat(ctx->nla[NFTA_RULE_COMPAT], &proto, &inv);
493 nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv);
495 nft_compat_wait_for_destructors();
497 return xt_check_match(&par, size, proto, inv);
501 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
502 const struct nlattr * const tb[])
504 return __nft_match_init(ctx, expr, tb, nft_expr_priv(expr));
508 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
509 const struct nlattr * const tb[])
511 struct nft_xt_match_priv *priv = nft_expr_priv(expr);
512 struct xt_match *m = expr->ops->data;
515 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL);
519 ret = __nft_match_init(ctx, expr, tb, priv->info);
526 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr,
529 struct xt_match *match = expr->ops->data;
530 struct module *me = match->me;
531 struct xt_mtdtor_param par;
535 par.matchinfo = info;
536 par.family = ctx->family;
537 if (par.match->destroy != NULL)
538 par.match->destroy(&par);
540 __nft_mt_tg_destroy(me, expr);
544 nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
546 __nft_match_destroy(ctx, expr, nft_expr_priv(expr));
550 nft_match_large_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
552 struct nft_xt_match_priv *priv = nft_expr_priv(expr);
554 __nft_match_destroy(ctx, expr, priv->info);
558 static int __nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr,
561 struct xt_match *match = expr->ops->data;
563 if (nla_put_string(skb, NFTA_MATCH_NAME, match->name) ||
564 nla_put_be32(skb, NFTA_MATCH_REV, htonl(match->revision)) ||
565 nft_extension_dump_info(skb, NFTA_MATCH_INFO, info,
566 match->matchsize, match->usersize))
567 goto nla_put_failure;
575 static int nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr)
577 return __nft_match_dump(skb, expr, nft_expr_priv(expr));
580 static int nft_match_large_dump(struct sk_buff *skb, const struct nft_expr *e)
582 struct nft_xt_match_priv *priv = nft_expr_priv(e);
584 return __nft_match_dump(skb, e, priv->info);
587 static int nft_match_validate(const struct nft_ctx *ctx,
588 const struct nft_expr *expr,
589 const struct nft_data **data)
591 struct xt_match *match = expr->ops->data;
592 unsigned int hook_mask = 0;
595 if (nft_is_base_chain(ctx->chain)) {
596 const struct nft_base_chain *basechain =
597 nft_base_chain(ctx->chain);
598 const struct nf_hook_ops *ops = &basechain->ops;
600 hook_mask = 1 << ops->hooknum;
601 if (match->hooks && !(hook_mask & match->hooks))
604 ret = nft_compat_chain_validate_dependency(ctx, match->table);
612 nfnl_compat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type,
613 int event, u16 family, const char *name,
616 struct nlmsghdr *nlh;
617 unsigned int flags = portid ? NLM_F_MULTI : 0;
619 event = nfnl_msg_type(NFNL_SUBSYS_NFT_COMPAT, event);
620 nlh = nfnl_msg_put(skb, portid, seq, event, flags, family,
625 if (nla_put_string(skb, NFTA_COMPAT_NAME, name) ||
626 nla_put_be32(skb, NFTA_COMPAT_REV, htonl(rev)) ||
627 nla_put_be32(skb, NFTA_COMPAT_TYPE, htonl(target)))
628 goto nla_put_failure;
635 nlmsg_cancel(skb, nlh);
639 static int nfnl_compat_get_rcu(struct sk_buff *skb,
640 const struct nfnl_info *info,
641 const struct nlattr * const tb[])
643 u8 family = info->nfmsg->nfgen_family;
644 const char *name, *fmt;
645 struct sk_buff *skb2;
649 if (tb[NFTA_COMPAT_NAME] == NULL ||
650 tb[NFTA_COMPAT_REV] == NULL ||
651 tb[NFTA_COMPAT_TYPE] == NULL)
654 name = nla_data(tb[NFTA_COMPAT_NAME]);
655 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV]));
656 target = ntohl(nla_get_be32(tb[NFTA_COMPAT_TYPE]));
672 pr_err("nft_compat: unsupported protocol %d\n", family);
676 if (!try_module_get(THIS_MODULE))
680 try_then_request_module(xt_find_revision(family, name, rev, target, &ret),
685 skb2 = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL);
691 /* include the best revision for this extension in the message */
692 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid,
693 info->nlh->nlmsg_seq,
694 NFNL_MSG_TYPE(info->nlh->nlmsg_type),
696 family, name, ret, target) <= 0) {
701 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid);
704 module_put(THIS_MODULE);
709 static const struct nla_policy nfnl_compat_policy_get[NFTA_COMPAT_MAX+1] = {
710 [NFTA_COMPAT_NAME] = { .type = NLA_NUL_STRING,
711 .len = NFT_COMPAT_NAME_MAX-1 },
712 [NFTA_COMPAT_REV] = { .type = NLA_U32 },
713 [NFTA_COMPAT_TYPE] = { .type = NLA_U32 },
716 static const struct nfnl_callback nfnl_nft_compat_cb[NFNL_MSG_COMPAT_MAX] = {
717 [NFNL_MSG_COMPAT_GET] = {
718 .call = nfnl_compat_get_rcu,
720 .attr_count = NFTA_COMPAT_MAX,
721 .policy = nfnl_compat_policy_get
725 static const struct nfnetlink_subsystem nfnl_compat_subsys = {
726 .name = "nft-compat",
727 .subsys_id = NFNL_SUBSYS_NFT_COMPAT,
728 .cb_count = NFNL_MSG_COMPAT_MAX,
729 .cb = nfnl_nft_compat_cb,
732 static struct nft_expr_type nft_match_type;
734 static const struct nft_expr_ops *
735 nft_match_select_ops(const struct nft_ctx *ctx,
736 const struct nlattr * const tb[])
738 struct nft_expr_ops *ops;
739 struct xt_match *match;
740 unsigned int matchsize;
745 if (tb[NFTA_MATCH_NAME] == NULL ||
746 tb[NFTA_MATCH_REV] == NULL ||
747 tb[NFTA_MATCH_INFO] == NULL)
748 return ERR_PTR(-EINVAL);
750 mt_name = nla_data(tb[NFTA_MATCH_NAME]);
751 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV]));
752 family = ctx->family;
754 match = xt_request_find_match(family, mt_name, rev);
756 return ERR_PTR(-ENOENT);
758 if (match->matchsize > nla_len(tb[NFTA_MATCH_INFO])) {
763 ops = kzalloc(sizeof(struct nft_expr_ops), GFP_KERNEL);
769 ops->type = &nft_match_type;
770 ops->eval = nft_match_eval;
771 ops->init = nft_match_init;
772 ops->destroy = nft_match_destroy;
773 ops->dump = nft_match_dump;
774 ops->validate = nft_match_validate;
777 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize));
778 if (matchsize > NFT_MATCH_LARGE_THRESH) {
779 matchsize = NFT_EXPR_SIZE(sizeof(struct nft_xt_match_priv));
781 ops->eval = nft_match_large_eval;
782 ops->init = nft_match_large_init;
783 ops->destroy = nft_match_large_destroy;
784 ops->dump = nft_match_large_dump;
787 ops->size = matchsize;
791 module_put(match->me);
795 static void nft_match_release_ops(const struct nft_expr_ops *ops)
797 struct xt_match *match = ops->data;
799 module_put(match->me);
803 static struct nft_expr_type nft_match_type __read_mostly = {
805 .select_ops = nft_match_select_ops,
806 .release_ops = nft_match_release_ops,
807 .policy = nft_match_policy,
808 .maxattr = NFTA_MATCH_MAX,
809 .owner = THIS_MODULE,
812 static struct nft_expr_type nft_target_type;
814 static const struct nft_expr_ops *
815 nft_target_select_ops(const struct nft_ctx *ctx,
816 const struct nlattr * const tb[])
818 struct nft_expr_ops *ops;
819 struct xt_target *target;
824 if (tb[NFTA_TARGET_NAME] == NULL ||
825 tb[NFTA_TARGET_REV] == NULL ||
826 tb[NFTA_TARGET_INFO] == NULL)
827 return ERR_PTR(-EINVAL);
829 tg_name = nla_data(tb[NFTA_TARGET_NAME]);
830 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV]));
831 family = ctx->family;
833 if (strcmp(tg_name, XT_ERROR_TARGET) == 0 ||
834 strcmp(tg_name, XT_STANDARD_TARGET) == 0 ||
835 strcmp(tg_name, "standard") == 0)
836 return ERR_PTR(-EINVAL);
838 target = xt_request_find_target(family, tg_name, rev);
840 return ERR_PTR(-ENOENT);
842 if (!target->target) {
847 if (target->targetsize > nla_len(tb[NFTA_TARGET_INFO])) {
852 ops = kzalloc(sizeof(struct nft_expr_ops), GFP_KERNEL);
858 ops->type = &nft_target_type;
859 ops->size = NFT_EXPR_SIZE(XT_ALIGN(target->targetsize));
860 ops->init = nft_target_init;
861 ops->destroy = nft_target_destroy;
862 ops->dump = nft_target_dump;
863 ops->validate = nft_target_validate;
866 if (family == NFPROTO_BRIDGE)
867 ops->eval = nft_target_eval_bridge;
869 ops->eval = nft_target_eval_xt;
873 module_put(target->me);
877 static void nft_target_release_ops(const struct nft_expr_ops *ops)
879 struct xt_target *target = ops->data;
881 module_put(target->me);
885 static struct nft_expr_type nft_target_type __read_mostly = {
887 .select_ops = nft_target_select_ops,
888 .release_ops = nft_target_release_ops,
889 .policy = nft_target_policy,
890 .maxattr = NFTA_TARGET_MAX,
891 .owner = THIS_MODULE,
894 static int __init nft_compat_module_init(void)
898 ret = nft_register_expr(&nft_match_type);
902 ret = nft_register_expr(&nft_target_type);
906 ret = nfnetlink_subsys_register(&nfnl_compat_subsys);
908 pr_err("nft_compat: cannot register with nfnetlink.\n");
914 nft_unregister_expr(&nft_target_type);
916 nft_unregister_expr(&nft_match_type);
920 static void __exit nft_compat_module_exit(void)
922 nfnetlink_subsys_unregister(&nfnl_compat_subsys);
923 nft_unregister_expr(&nft_target_type);
924 nft_unregister_expr(&nft_match_type);
927 MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_NFT_COMPAT);
929 module_init(nft_compat_module_init);
930 module_exit(nft_compat_module_exit);
932 MODULE_LICENSE("GPL");
933 MODULE_AUTHOR("Pablo Neira Ayuso <pablo@netfilter.org>");
934 MODULE_ALIAS_NFT_EXPR("match");
935 MODULE_ALIAS_NFT_EXPR("target");
936 MODULE_DESCRIPTION("x_tables over nftables support");