All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] [PATCH v4 0/2] Drop IPV6 packets if IPv6 is disabled on boot
@ 2019-08-30 18:13 ` Leonardo Bras
  0 siblings, 0 replies; 34+ messages in thread
From: Leonardo Bras @ 2019-08-30 18:13 UTC (permalink / raw)
  To: netfilter-devel, coreteam, bridge, netdev, linux-kernel
  Cc: Nikolay Aleksandrov, Roopa Prabhu, Florian Westphal,
	Jozsef Kadlecsik, Leonardo Bras, David S. Miller,
	Pablo Neira Ayuso

This patchset was prevously a single patch named:
- netfilter: nf_tables: fib: Drop IPV6 packets if IPv6 is disabled on boot

It fixes a bug where a host, with IPv6 disabled on boot, has to deal with
guest IPv6 packets, that comes from a bridge interface.
When these packets reach the host ip6tables they cause a kernel panic.

---
Changes from v3:
- Move drop logic from nft_fib6_eval{,_type} to nft_fib_netdev_eval
- Add another patch to drop ipv6 packets from bridge when ipv6 disabled  

Changes from v2:
- Replace veredict.code from NF_DROP to NFT_BREAK
- Updated commit message (s/package/packet)

Changes from v1:
- Move drop logic from nft_fib_inet_eval() to nft_fib6_eval{,_type}
so it can affect other usages of these functions.

Leonardo Bras (2):
  netfilter: Terminate rule eval if protocol=IPv6 and ipv6 module is
    disabled
  net: br_netfiler_hooks: Drops IPv6 packets if IPv6 module is not
    loaded

 net/bridge/br_netfilter_hooks.c | 2 ++
 net/netfilter/nft_fib_netdev.c  | 3 +++
 2 files changed, 5 insertions(+)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2019-09-03 20:55 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30 18:13 [Bridge] [PATCH v4 0/2] Drop IPV6 packets if IPv6 is disabled on boot Leonardo Bras
2019-08-30 18:13 ` Leonardo Bras
2019-08-30 18:13 ` [Bridge] [PATCH v4 1/2] netfilter: Terminate rule eval if protocol=IPv6 and ipv6 module is disabled Leonardo Bras
2019-08-30 18:13   ` Leonardo Bras
2019-08-30 20:58   ` [Bridge] " Florian Westphal
2019-08-30 20:58     ` Florian Westphal
2019-09-03 16:46     ` [Bridge] " Leonardo Bras
2019-09-03 16:46       ` Leonardo Bras
2019-09-03 16:49       ` [Bridge] " Pablo Neira Ayuso
2019-09-03 16:49         ` Pablo Neira Ayuso
2019-09-03 16:56         ` [Bridge] " Leonardo Bras
2019-09-03 16:56           ` Leonardo Bras
2019-09-03 17:05         ` [Bridge] " Florian Westphal
2019-09-03 17:05           ` Florian Westphal
2019-09-03 19:31           ` [Bridge] " Pablo Neira Ayuso
2019-09-03 19:31             ` Pablo Neira Ayuso
2019-09-03 19:48             ` [Bridge] " Florian Westphal
2019-09-03 19:48               ` Florian Westphal
2019-09-03 20:19               ` [Bridge] " Pablo Neira Ayuso
2019-09-03 20:19                 ` Pablo Neira Ayuso
2019-09-03 20:35                 ` [Bridge] " Florian Westphal
2019-09-03 20:35                   ` Florian Westphal
2019-09-03 20:55                   ` [Bridge] " Pablo Neira Ayuso
2019-09-03 20:55                     ` Pablo Neira Ayuso
2019-09-03 20:55   ` [Bridge] " Pablo Neira Ayuso
2019-09-03 20:55     ` Pablo Neira Ayuso
2019-08-30 18:13 ` [Bridge] [PATCH v4 2/2] net: br_netfiler_hooks: Drops IPv6 packets if IPv6 module is not loaded Leonardo Bras
2019-08-30 18:13   ` Leonardo Bras
2019-08-30 20:55   ` [Bridge] " Florian Westphal
2019-08-30 20:55     ` Florian Westphal
2019-08-31  4:42     ` [Bridge] " Leonardo Bras
2019-08-31  4:42       ` Leonardo Bras
2019-08-31  8:43       ` [Bridge] " Florian Westphal
2019-08-31  8:43         ` Florian Westphal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.