Re: Promiscuous mode and multicast

2013-10-07 Thread Martin Pieuchot
On 04/10/13(Fri) 21:52, Brad Smith wrote: > On Fri, Oct 04, 2013 at 03:18:45PM +0200, Martin Pieuchot wrote: > > tl;dr > > > > This diff stop (ab)using the actual SIOC{ADD,DEL}MULTI ioctls with a > > magic value for the whole range of multicast addresses used for IPv4/6 > > to turn the interface

Re: Promiscuous mode and multicast

2013-10-04 Thread Brad Smith
On Fri, Oct 04, 2013 at 03:18:45PM +0200, Martin Pieuchot wrote: > tl;dr > > This diff stop (ab)using the actual SIOC{ADD,DEL}MULTI ioctls with a > magic value for the whole range of multicast addresses used for IPv4/6 > to turn the interface into promiscuous mode. > > > Long story > > Ethe

Promiscuous mode and multicast

2013-10-04 Thread Martin Pieuchot
tl;dr This diff stop (ab)using the actual SIOC{ADD,DEL}MULTI ioctls with a magic value for the whole range of multicast addresses used for IPv4/6 to turn the interface into promiscuous mode. Long story Ethernet multicast records are currently represented by the ``struct ether_multi'' as ran