Re: [PATCH nf-next v3 0/3] Netfilter egress hook

2020-08-28 Thread Eric Dumazet
On 8/28/20 12:14 AM, Daniel Borkmann wrote: > Hi Lukas, > > On 8/27/20 10:55 AM, Lukas Wunner wrote: >> Introduce a netfilter egress hook to allow filtering outbound AF_PACKETs >> such as DHCP and to prepare for in-kernel NAT64/NAT46. > > Thinking more about this, how will this allow to suffic

Re: [PATCH nf-next v3 0/3] Netfilter egress hook

2020-08-28 Thread Daniel Borkmann
Hi Lukas, On 8/27/20 10:55 AM, Lukas Wunner wrote: Introduce a netfilter egress hook to allow filtering outbound AF_PACKETs such as DHCP and to prepare for in-kernel NAT64/NAT46. Thinking more about this, how will this allow to sufficiently filter AF_PACKET? It won't. Any AF_PACKET application

Re: [PATCH nf-next v3 0/3] Netfilter egress hook

2020-08-27 Thread Laura García Liébana
Hi Lukas, thank you for your patches. On Thu, Aug 27, 2020 at 10:55 AM Lukas Wunner wrote: > > Introduce a netfilter egress hook to allow filtering outbound AF_PACKETs > such as DHCP and to prepare for in-kernel NAT64/NAT46. > Actually, we've found 2 additional use cases in container-based nodes

[PATCH nf-next v3 0/3] Netfilter egress hook

2020-08-27 Thread Lukas Wunner
Introduce a netfilter egress hook to allow filtering outbound AF_PACKETs such as DHCP and to prepare for in-kernel NAT64/NAT46. An earlier version of this series was applied by Pablo Neira Ayuso back in March and subsequently reverted by Daniel Borkmann over performance concerns. I've now reworke