libpnet

Cross-platform, low level networking using the Rust programming language. (by libpnet)

Libpnet Alternatives

Similar projects and alternatives to libpnet

  1. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  2. protocol

    Easy protocol definitions in Rust (by dylanmckay)

  3. MIO

    22 libpnet VS MIO

    Metal I/O library for Rust.

  4. actix

    17 libpnet VS actix

    Actor framework for Rust.

  5. hydrogen

    Multithreaded, non-blocking Linux server framework in Rust (by nathansizemore)

  6. tcpflow

    TCP/IP packet demultiplexer. Download from:

  7. pcap

    5 libpnet VS pcap

    Rust language pcap library

  8. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  9. sniffnet

    90 libpnet VS sniffnet

    Comfortably monitor your Internet traffic 🕵️‍♂️

  10. parallel-getter

    Discontinued ** Deprecated **

  11. zenoh

    17 libpnet VS zenoh

    zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.

  12. rust-utp

    Discontinued A µTP (Micro/uTorrent Transport Library) library implemented in Rust

  13. lineriver

    Non-blocking buffered line reader for Read objects

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better libpnet alternative or higher similarity.

libpnet discussion

Log in or Post with

libpnet reviews and mentions

Posts with mentions or reviews of libpnet. 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?)
    2 projects | /r/rust | 11 May 2023
    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.
  • tcpdump is amazing (2016)
    2 projects | news.ycombinator.com | 2 Feb 2023
    > I mentioned really briefly that tcpdump lets you save pcap files. This is awesome because literally every network analysis tool in the universe understands pcap files. pcap files are like freshly baked chocolate chip cookies. Everybody loves them.

    OMG, yes, very well put. When I get a bug report with a pcap file I know I'll be able to know exactly what happened.

    Speaking of which: for one of my libraries, I want to make a diagnostic tool that replays an interaction. My library mostly operates at the TCP level (also some UDP), so I need to reconstruct the TCP flows in my tool to feed to my library. Either I need an easy-to-use Rust library to do that directly from pcap files [1] or some format that represents bytes moving over the flow (like sets of lines with a timestamp, flow id, and pretty hexdump of the bytes) with a tool that produces it from pcap. This seems like something that should exist? Wireshark's “Analyze > Follow > TCP Stream”’s “Save As…” with "hex dump" is kind of what I want, but it doesn't have timestamps, and it doesn't have a way to put everything (multiple flows, UDP packets also) in one file.

    [1] https://crates.io/crates/pnet looks promising but it wasn't as obvious as I hoped how to plug it in for what I want.

  • Low Level Networking/Packet Manipulation
    1 project | /r/rust | 10 Apr 2022
    libpnet provides a cross-platform API for low level networking using Rust.
  • TCP Assembly library?
    1 project | /r/rust | 4 Feb 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic libpnet repo stats
4
2,435
6.2
4 months ago

libpnet/libpnet is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of libpnet is Rust.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?