Linux Netfilter discussions
 help / color / mirror / Atom feed
* [nftables] packet (filtering) flow NIC vs. PPPoE?
@ 2020-09-28 21:35 ѽ҉ᶬḳ℠
  2020-09-29 11:23 ` ѽ҉ᶬḳ℠
  2020-09-29 15:06 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-09-28 21:35 UTC (permalink / raw)
  To: netfilter@vger.kernel.org

Whilst testing NFTables's flow offload on a node with a PPPoE subscriber 
line it turned out that the flow offload happens with the NIC netdev and 
not (as I expected) the virtual PPPoE netdev.

Just for reference this being the NFT config (eth2 being the NIC)

flowtable fte    {
   hook ingress priority -100
   devices = { eth2 }
   counter
}

ip protocol { 6, 17 } flow add @fte;
ip6 nexthdr { 6, 17 } flow add @fte;


Why would the packet filtering have to take place on the PPPoE netdev 
but the flowatable happens with the NIC instead?






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

end of thread, other threads:[~2020-09-29 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-28 21:35 [nftables] packet (filtering) flow NIC vs. PPPoE? ѽ҉ᶬḳ℠
2020-09-29 11:23 ` ѽ҉ᶬḳ℠
2020-09-29 15:06 ` Pablo Neira Ayuso
2020-09-29 16:08   ` ѽ҉ᶬḳ℠

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox