All Projects → TechnikEmpire → DivertPInvoke

TechnikEmpire / DivertPInvoke

Licence: LGPL-3.0 license
PInvoke wrapper for WinDivert

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to DivertPInvoke

Divert.Net
.NET Wrapper for WinDivert
Stars: ✭ 51 (+131.82%)
Mutual labels:  packets, packet-analyser, packet-processing, packet-sniffer, windivert, packet-capture
Scapy
Scapy: the Python-based interactive packet manipulation program & library. Supports Python 2 & Python 3.
Stars: ✭ 6,932 (+31409.09%)
Mutual labels:  packet-analyser, packet-sniffer, packet-capture
Jxnet
Jxnet is a Java library for capturing and sending custom network packet buffers with no copies. Jxnet wraps a native packet capture library (libpcap/winpcap/npcap) via JNI (Java Native Interface).
Stars: ✭ 26 (+18.18%)
Mutual labels:  packet-sniffer, packet-capture, packet-analyzer
SnifferUI
基于MFC和WinPcap库开发的网络抓包和协议分析软件
Stars: ✭ 86 (+290.91%)
Mutual labels:  packet-analyser, packet-capture, packet-analyzer
WinDivertSharp
A minimal .NET binding over WinDivert
Stars: ✭ 91 (+313.64%)
Mutual labels:  packet-sniffer, windivert, packet-capture
Libtins
High-level, multiplatform C++ network packet sniffing and crafting library.
Stars: ✭ 1,609 (+7213.64%)
Mutual labels:  packets, packet-analyser, packet-parsing
arp-dns-attacks
ARP spoofing, HTTP redirection, DNS spoofing and DNS forging using pcap library
Stars: ✭ 25 (+13.64%)
Mutual labels:  packet-sniffer, packet-capture
NetStalker
A network tool to control the bandwidth over your local network.
Stars: ✭ 69 (+213.64%)
Mutual labels:  packet-sniffer, packet-capture
Skydive
An open source real-time network topology and protocols analyzer
Stars: ✭ 2,086 (+9381.82%)
Mutual labels:  packet-sniffer, packet-analyzer
Tanji
Habbo Packet Sniffer/Analyzer
Stars: ✭ 33 (+50%)
Mutual labels:  packet-analyser, packet-capture
zk-sniffer
sniffer and parse zookeeper packet
Stars: ✭ 38 (+72.73%)
Mutual labels:  packet-analyser, packet-capture
rvi capture
rvictl for Linux and Windows: capture packets sent/received by iOS devices
Stars: ✭ 124 (+463.64%)
Mutual labels:  packet-sniffer, packet-capture
xpcap
Cross-platform Packet Capture which supports Linux and macOS(BSD) in 1000 LOC without depending on libpcap.
Stars: ✭ 19 (-13.64%)
Mutual labels:  packet-sniffer, packet-capture
godivert
Bindings for WinDivert in Go
Stars: ✭ 37 (+68.18%)
Mutual labels:  windivert, packet-capture
Ntopng
Web-based Traffic and Security Network Traffic Monitoring
Stars: ✭ 4,313 (+19504.55%)
Mutual labels:  packet-analyser, packet-processing
Xdp
Package xdp allows one to use XDP sockets from the Go programming language.
Stars: ✭ 36 (+63.64%)
Mutual labels:  packets, packet-capture
sharppcap
Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
Stars: ✭ 1,054 (+4690.91%)
Mutual labels:  packets, windivert
Trackerjacker
Like nmap for mapping wifi networks you're not connected to, plus device tracking
Stars: ✭ 2,307 (+10386.36%)
Mutual labels:  packets
orb
Orb is a dynamic network observability platform
Stars: ✭ 437 (+1886.36%)
Mutual labels:  packet-analyser
Pkuremote
A port rewritting utility to modify the source or destination port for packets on Windows.
Stars: ✭ 185 (+740.91%)
Mutual labels:  packets

DivertPInvoke

PInvoke wrapper for WinDivert.

Notice

You may be interested in the fully-managed wrapper for WinDivert I've written, called WinDivertSharp. It will be actively maintained, and this repository almost surely will not be.

Be mindful of the fact that the source file(s) in this repo are LGPLv3. Make sure you comply with this license (which is the same license as WinDivert).

This class will append two directories to the env vars of the executing application. It will append EXE\x86 and EXE\x64. This way, you can drop the WinDivert native executables in arch-specific directories next to your deployed application and keep using AnyCPU, and thanks to this little trick, the .NET assembly resolver will load the proper WinDivert native libraries.

Note that network to host and host to network order conversion is provided transparently by the structures defined here. In WinDivert, this is not the case obviously, but because we have the syntactic sugar to do this, it's done in this wrapper. For example, you can simply read or write the DstPort of a TCP packet to 80 like x.DstPort = 80 or x.DstPort == 80, and all necessary order swapping is done under the hood.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].