How to set NIC to promiscuous mode from FilterHook driver



Hi !

I want to receive all packets in my filter hook driver and do
filtering the TCP packets which matches a particular destination
address in the network. So, I wrote a filter hook driver and is
working fine. Now, I want to get packets destined to other machines
also in the network, from my filter hook driver. How can I set the NIC
to promiscuous mode so that I shall receive other packets also in my
PacketFilterExtension function.

Is it possible? If so, how can I set it?

Please help.

thanks in advance,

regards,
vasanth.
.



Relevant Pages

  • Re: How to set NIC to promiscuous mode from FilterHook driver
    ... the filter hook driver I mentioned is as per the msdn ... able to get packets to an fro the host machine. ... hijacking NDIS and TCPIP entry points. ... network -from- this machine, then just look at them on the transmit path.. ...
    (microsoft.public.development.device.drivers)
  • Re: How to enable "strict multihoming" on AIX?
    ... IP packets that have an IP destination address of 192.168.1.1 somehow ... arrive on network 192.168.2.0 instead of on network 192.168.1.0. ... interface to check that IP packets destined for the other interface ...
    (comp.unix.aix)
  • Re: How to set NIC to promiscuous mode from FilterHook driver
    ... So from your reply I take it you are interested in getting packets destined to other hosts -that are not necessarily originated from the host your filter is running on-. ... As I said in my previous post, setting the adapter to promiscuous mode is not going to help you. ... the filter hook driver I mentioned is as per the msdn ...
    (microsoft.public.development.device.drivers)
  • Re: IP 0.0.0.0 blocked, explanation please
    ... No default gateway is configured in my Win XP Network settings ... > The destination address 0.0.0.0 indicates the default destination, ... > default destination is where all packets will be sent, ... or to another router along the appropriate path. ...
    (comp.security.firewalls)
  • Re: How to set NIC to promiscuous mode from FilterHook driver
    ... "Filter hook driver" could mean one of those nasty virus like drivers that take a shortcut by hijacking NDIS and TCPIP entry points. ... It could also mean an NDIS IM filter drivers written to spec or it could be something else. ... If your object is to see packets sent to the other interfaces on the network -from- this machine, then just look at them on the transmit path. ... Any switch worth the box it came in, will not allow you to see "packets destined to other machines in the network" just because you set the NIC to promiscuous mode. ...
    (microsoft.public.development.device.drivers)

Loading