lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 16 Oct 2012 13:00:43 +0200 From: Daniel Borkmann <danborkmann@...earbox.net> To: Eric Dumazet <eric.dumazet@...il.com> Cc: Ani Sinha <ani@...stanetworks.com>, netdev@...r.kernel.org Subject: Re: bpf filter : support for vlan tag On Tue, Oct 16, 2012 at 8:46 AM, Eric Dumazet <eric.dumazet@...il.com> wrote: > On Mon, 2012-10-15 at 19:10 -0700, Ani Sinha wrote: >> Hi : >> >> I was looking at the kernel side implementation of the BPF filter. I >> do not see any code that supports filtering of packets based on >> provided vlan tag information from the skbuff. This will make it >> impossible to provide any filter to tcpdump that will filter packets >> based on the tag information if libpcap uses the kernel filter. >> >> Any help will be much appreciated. > > Right, we need a basic support, using a new ancillary definition. > > Is the following patch enough to address your need, or do you also need > access to vlan_tx_tag_present() ? I like this patch, it's especially useful to speed up processing for packet analyzers. vlan_tx_tag_present() might also be good to have if this doesn't waste to much room for future ancillary operations. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists