Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 726
  • Last Modified:

Api to set the NIC in promiscuous mode

Hello Experts,
Currently i working on a project, where its required to set the NIC in promiscuous mode. Is there a free ware or a tool that does this.
I am using the winpcap freeware to capture and decode packets.
Any help is greatly appreciated.

Thanks in advance
0
sjcu
Asked:
sjcu
  • 2
1 Solution
 
jhanceCommented:
WinPCap certainly does this.  And being open source, you can certainly look at its souce code and use that method.  You can also just use WinPCap itself as the basis of any raw-mode communications you need to do.  It's free and is widely used by a number of commercial applications.

Another alternative is the RawEther product from PCAUSA: http://www.rawether.net

0
 
sjcuAuthor Commented:
Thanx so much. Currenlty by using Winpcap the NIC card is set to the promiscuous mode, but it doesn't work, nor does it give an error when it fails to set to this mode. So i am looking for a third party tool or a freeware of some sort that will allow me to successfuly set the promiscuous mode.
0
 
sjcuAuthor Commented:
Ok its working. Now is there a way for me to test a NIC card after its set to promicous mode and confirm that its actually working ?
Without installing ethreal on a client machine and analyzing the packets and then confirming that the NIC card
supports promiscuous mode? I am sure there is tool some place that does this. ?
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now