pcap
Rust language pcap library (by rust-pcap)
snoopy
A highly configurable multi-threaded packet sniffer and parser build in rust-lang. (by kanishkarj)
pcap | snoopy | |
---|---|---|
5 | 1 | |
575 | 171 | |
1.0% | - | |
7.6 | 10.0 | |
13 days ago | over 3 years ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pcap
Posts with mentions or reviews of pcap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-11.
-
Packet capture (use PcapPlusPlus in Rust?)
Hey, I'm looking for the best way to do packet capture in Rust. I've looked at both libpnet and pcap crates, and they both seem way less mature and with less functionality than the PcapPlusPlus library, which seems to be the golden suite of packet capture and manipulation.
-
Cannot read packets from tun interface using libpnet
I've also had issues with the pnet crate, I ended up using pcap to do the capturing and transmitting instead, while still using the parsing/construction utilities provided by pnet
-
Help with packet sniffing and parsing in rust
I can not find, the original project, or example, so here is mine: https://github.com/sleepy771/rustacap/blob/master/src/main.rs (it probably does not work, because each of the libraries used has evovlved). Basically it caputred packets on interface using pcap (libpcap) and then parsed them using nom.
-
Tool that exports wifi information?
If you are willing to put in some work, you can capture beacon frames ib realtine with https://github.com/ebfull/pcap .
-
Getting into network programming with Rust, can I listen to incoming connections on a port that another application(Nodejs server) is using?
You should be able to use https://github.com/ebfull/pcap to do that
snoopy
Posts with mentions or reviews of snoopy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-02.
-
Help with packet sniffing and parsing in rust
Hi, few years back I did similar toy project. I think you maybe want to write something like this: https://github.com/kanishkarj/snoopy .
What are some alternatives?
When comparing pcap and snoopy you can also consider the following projects:
Dust-tools - A set of tools for exploring network filtering
tcp-streams - One stop solution for tcp client and server with tls support.
memcache-conduit
curl - A Haskell binding to the curl library
nom - Rust parser combinator framework
json-rpc - Fully-featured JSON-RPC 2.0 library for Haskell programs
api-builder - library for building JSON API wrappers in haskell
rustacap - Project focused on parsing captured packet headers
libpnet - Cross-platform, low level networking using the Rust programming language.