[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130906.144703.1302269836449738869.davem@davemloft.net>
Date: Fri, 06 Sep 2013 14:47:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH net] net: netlink: filter particular protocols from
analyzers
From: Daniel Borkmann <dborkman@...hat.com>
Date: Thu, 05 Sep 2013 21:59:28 +0200
> On 09/05/2013 09:54 PM, David Miller wrote:
>> From: Daniel Borkmann <dborkman@...hat.com>
>> Date: Thu, 05 Sep 2013 21:48:00 +0200
>>
>>> With socket(PF_PACKET, ..., htons(ETH_P_ALL)) you will already get
>>> all users from the suggested white-list of the patch, which is the
>>> majority of netlink users I believe. Hence, you do not need to have
>>> one socket per protocol. skbs from there should get dragged into
>>> pf_packet via dev_queue_xmit_nit() which works on ptype_all list.
>>
>> What about user level netlink protocols?
>
> If you are referring to NETLINK_USERSOCK, then we let this pass here,
> so nothing changes.
Ok, I've applied this, thanks Daniel.
--
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