Re: ws2_32: Fix interface-bound filter to accept locally generated targeted packets.
24 Jun
2013
24 Jun
'13
3:33 a.m.
On 24 Jun 2013, at 04:30, Erich E. Hoover wrote:
<0001-ws2_32-Fix-interface-bound-filter-to-accept-locally-.patch>
The added "struct sock_filter ip_memaddr" field doesn't seem to be used. Jonas
24 Jun
24 Jun
7:03 a.m.
New subject: ws2_32: Fix interface-bound filter to accept locally generated targeted packets.
On Mon, Jun 24, 2013 at 2:33 AM, Jonas Maebe <jonas.maebe(a)elis.ugent.be> wrote:
... The added "struct sock_filter ip_memaddr" field doesn't seem to be used.
It's set in the initialization of "generic_interface_filter", which is used to setup "specific_interface_filter" for individual sockets. Only the field corresponding to the interface index and, now, the destination IP get set explicitly in interface_bind(), everything else is from "generic_interface_filter". Best, Erich
4553
Age (days ago)
4553
Last active (days ago)
1 comments
2 participants
participants (2)
-
Erich E. Hoover -
Jonas Maebe