I believe that the NDIS DDI contract around the packet filter (settings) and the multicast list is that it is managed ‘per binding’ by NDIS and the merged result is presented to the adapter. However, a protocol can only rely on receiving those packets which match the specification of packet filter (mask) and multicast address list that the protocol has registered with that binding.
NDIS is free to send a protocol more than it bargained for in some circumstances of course but in general I would say that it is *not* possible to manipulate the packet filter and multicast list from NDISPROT (for example) and effect PCap’s binding (for example). THat would be a rather dicey situation for sure.
Of course doing it all via a private incarnation of NDISPROT where the dataflow and control operations all operate over a single binding is totally reasonable and the correct approach. Considering that is exactly what NDISPROT was created for - to provide such support for the 802.1x supplicant to send & receive EAPOL packets.
Good Luck,
Dave Cattley
From: xxxxx@pcausa.com
To: xxxxx@lists.osr.com
Subject: Re: [ntdev] Setting up multicast MAC address.
Date: Tue, 7 Sep 2010 08:32:36 -0400
NDISPROT is a sample NDIS protocol driver whose source in in the Windows Driver Kit.
If you use NDISPROT and its API (IOCTL_NDISUIO_SET_OID_VALUE) then NDISPROT WILL receive packets with the desired MC address.
I’m not sure whether that will actually change what Pcap receives.
Thomas F. Divine
http://www.pcausa.com
From: Jim
Sent: Tuesday, September 07, 2010 5:27 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Setting up multicast MAC address.
Many thanks for your help guys.
I didn’t let go and continue to investigate if it is possible to set a multicast address via user mode (with no NDIS protocol driver).
After some reverse engineering of the dot3svc service which add a multicast address to the multicast list, I figure out it using NDISUIO (Ndis User mode interface) ?
However, I find out that it is not documented for windows XP/Vista/7 but only for WinCE. but I do see the dot3svc using that driver.
NDISUIO is a protocol driver, and they are enabling the multicast address via a device io control that is “IOCTL_NDISUIO_SET_OID_VALUE”.
Is there any documentation for this interface ? maybe it was deprecated ?
Any help will be appreciated,
Thanks,
Jim
On Sun, Sep 5, 2010 at 11:37 PM, David R. Cattley wrote:
> what are the percentage of NICs that do not support promiscuous mode
Zero.
Especially since you just need it to mean ?at least all multicast addresses?.
Good Luck,
Dave Cattley
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer