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: Wed, 26 Mar 2008 21:19:56 +0100 From: Patrick McHardy <kaber@...sh.net> To: Stephen Hemminger <shemminger@...tta.com> CC: David Miller <davem@...emloft.net>, Jamal <hadi@...erus.ca>, netdev@...r.kernel.org Subject: Re: [PATCH net-2.6.26] netlink: make socket filters work on netlink Stephen Hemminger wrote: > Make socket filters work for netlink unicast and notifications. > This is useful for applications like Zebra that get overrun with > messages that are then ignored. > > Note: netlink messages are in host byte order, but packet filter > state machine operations are done as network byte order. Do you have an example for a filter for this? I have a similar patch that adds a new filter instruction for parsing netlink attributes, which seemed necessary for getting at nested attributes without too much trouble. Attached for reference together with a libnl testing patch for ctnetlink. View attachment "x" of type "text/plain" (1908 bytes) View attachment "x2" of type "text/plain" (3022 bytes)
Powered by blists - more mailing lists