Florian Westphal
47f4f510ad
netfilter: nft_queue: only allow supported familes and hooks
...
Trying to use 'queue' statement in ingress (for example)
triggers a splat on reinject:
WARNING: CPU: 3 PID: 1345 at net/netfilter/nf_queue.c:291
... because nf_reinject cannot find the ruleset head.
The netdev family doesn't support async resume at the moment anyway,
so disallow loading such rulesets with a more appropriate
error message.
v2: add 'validate' callback and also check hook points, v1 did
allow ingress use in 'table inet', but that doesn't work either. (Pablo)
Signed-off-by: Florian Westphal <fw@strlen.de >
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org >
2022-07-26 21:12:42 +02:00
..
2022-05-03 10:15:06 +02:00
2022-03-28 08:57:10 -07:00
2021-12-23 01:07:35 +01:00
2022-01-18 14:26:42 -08:00
2022-05-16 13:05:40 +02:00
2022-02-04 06:30:28 +01:00
2022-04-06 09:58:30 -07:00
2022-07-07 20:55:18 +02:00
2022-05-13 18:56:28 +02:00
2022-01-09 23:30:13 +01:00
2022-05-13 18:52:16 +02:00
2022-05-13 18:52:17 +02:00
2022-02-04 06:30:28 +01:00
2022-01-11 10:41:44 +01:00
2022-07-07 20:55:18 +02:00
2022-02-04 06:30:28 +01:00
2022-02-04 05:38:15 +01:00
2022-05-16 13:09:51 +02:00
2022-03-03 13:35:22 +01:00
2022-05-13 18:56:27 +02:00
2022-02-04 06:30:28 +01:00
2022-07-07 20:55:18 +02:00
2022-05-13 18:56:27 +02:00
2022-02-04 06:30:28 +01:00
2022-06-21 10:50:41 +02:00
2022-05-18 17:34:26 +02:00
2022-03-16 11:25:04 +01:00
2022-05-18 17:34:26 +02:00
2022-03-20 00:29:47 +01:00
2022-07-09 09:55:43 +02:00
2022-03-17 13:56:58 -07:00
2022-05-13 18:56:27 +02:00
2022-03-01 11:51:15 +01:00
2022-07-15 11:49:55 +01:00
2022-07-26 21:12:42 +02:00
2022-06-27 19:22:54 +02:00
2022-06-06 19:19:15 +02:00
2022-06-27 19:22:54 +02:00
2022-06-17 23:31:20 +02:00
2021-12-29 08:48:14 -08:00
2022-03-03 14:38:48 +00:00
2022-07-26 21:12:42 +02:00
2022-05-27 11:16:33 +02:00
2022-04-11 11:47:58 +01:00
2022-03-20 00:29:46 +01:00
2021-10-22 11:41:16 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-04-05 11:55:46 +02:00
2022-04-05 11:55:46 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:47 +01:00
2022-03-20 00:29:47 +01:00
2022-03-20 00:29:47 +01:00
2022-04-11 12:10:09 +02:00
2022-05-31 23:32:53 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:47 +01:00
2022-03-20 00:29:47 +01:00
2022-04-05 11:55:46 +02:00
2022-05-26 22:50:34 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-06-08 12:30:59 +02:00
2022-06-01 15:53:39 +02:00
2022-06-08 12:30:59 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:47 +01:00
2022-03-20 00:29:46 +01:00
2022-07-26 21:12:42 +02:00
2022-04-05 11:55:46 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-06-27 19:03:37 +02:00
2021-12-24 16:58:17 +01:00
2022-07-02 21:04:19 +02:00
2022-04-22 15:49:15 +02:00
2022-04-28 16:15:23 +02:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:46 +01:00
2022-03-20 00:29:47 +01:00
2022-03-20 00:29:47 +01:00
2022-01-22 08:33:37 +02:00
2022-01-09 23:30:13 +01:00
2022-01-22 08:33:37 +02:00
2021-11-08 12:14:05 +01:00
2021-09-21 03:46:56 +02:00
2021-09-21 03:46:56 +02:00
2021-10-18 12:54:41 +01:00
2022-01-22 08:33:37 +02:00
2022-02-13 23:55:48 +01:00