Cursock v1.2.7
Crate for raw socketing, can send raw packets and some protocols
Changelog
- reimplemented
Icmp,ArpandAdapterstructs - added
IpPackedwhich represents eth + (ipv4 | ipv6) headers - handling dest mac address for
Icmpstruct
Todo
- Add ipv6 support for Icmp
Protocols
- Arp
- Icmp
Platforms
- Windows (npcap)
- Linux
Links
- docs.rs - https://docs.rs/cursock
- github - https://github.com/CURVoid/cursock.git
Examples
use *;
use *;
let socket = new.expect;
let mut buffer = ;
socket.read_raw_packet.expect;
socket.destroy;