Reputation: 273
I want to send ARP packet for "ARP Poison Routing" through C#. I am use SharpPcap(for use the winpcap). How to do this with SharpPcap or without SparpPcap (with other library) ?
Upvotes: 1
Views: 4217
Reputation: 6585
If you need an alternative for SharpPcap, you can use Pcap.Net.
All you need to do is build an EthernetLayer, ArpLayer and use the PacketBuilder to build a packet and send it.
It's simple, straight forward and easy to do.
Upvotes: 2
Reputation: 1339
There is an example of sending an arp packet in the source code download of sharppcap in the Examples directory off of the sourceforge project page, http://sourceforge.net/projects/sharppcap/
There were some issues with ARP in older versions but these have been resolved in the 4.0.0 release that came out 2011-09-13.
Upvotes: 1