pnet
Cross-platform, low level networking using the Rust programming language.
0.35.0
19M downloads/mo
#2134 most downloaded on crates.io
libpnet/libpnet
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 6 months
Rarely documented
notes for 8 of 50 stable releases
1 version withdrawn
withdrawn after publishing
12 years old
51 releases · first in 2014
0 releases in the last 12 months
see the full history below
Release timeline
51 releases · Nov 2014 to May 2024Releases
latest 51-
0.35.030 May 2024Release notes
Open source →What's Changed
- Update license field following SPDX 2.1 license expression standard by @frisoft in #633
- transport: Add option to set ECN on the TransportSender socket. by @hawkinsw in #685
- Fix failing tests by @Paul-weqe in #676
- remove the repetitive word by @cuishuang in #672
- Add apple tvos support by @lcruz99 in #652
- Adding vxlan to pnet_packet by @stevedoyle in #654
- Add ICMP Destination unreachable Next-hop MTU by @fabi321 in #662
- Update ARP example to also support IPv6 via NDP by @tgross35 in #642
- Ensure BPF read is 4-byte aligned by @frankplow in #655
- Expose the various values in the TcpOption structure for external program access by @rikonaka in #640
- Definition for ethernet flow control packets. by @AJMansfield in #649
- Expose set_ecn on unix only by @mrmonday in #689
- datalink(linux): add feature to pass the fd (socket) to ::channel() by @Martichou in #584
- Added DNS protocol support by @tomDev5 in #678
- linux: use poll api instead of select inorder to support fd > 1024. Fixes #612 and #639 by @nemosupremo in #681
New Contributors
- @frisoft made their first contribution in #633
- @hawkinsw made their first contribution in #685
- @Paul-weqe made their first contribution in #676
- @cuishuang made their first contribution in #672
- @lcruz99 made their first contribution in #652
- @stevedoyle made their first contribution in #654
- @fabi321 made their first contribution in #662
- @tgross35 made their first contribution in #642
- @frankplow made their first contribution in #655
- @AJMansfield made their first contribution in #649
- @tomDev5 made their first contribution in #678
- @nemosupremo made their first contribution in #681
Full Changelog: v0.34.0...v0.35.0
-
0.34.019 Jul 2023Release notes
Open source →What's Changed
- Add blanket impls of Packet for Box and &T. by @landhb in #606
- GitHub actions updates by @mrmonday in #608
- Fix typos by @darxriggs in #609
- Update pnet_macros to use syn v2 by @james-jra in #627
- Spell check with
typos. Addspell-checkCI job by @vvv in #621 - Add LINKTYPE_LINUX_SLL2 support and fix link to SLL by @reticulis in #619
- TCP header remove NS flag by @rikonaka in #625
- Assorted cleanup by @mrmonday in #630
New Contributors
- @james-jra made their first contribution in #627
- @vvv made their first contribution in #621
- @reticulis made their first contribution in #619
- @rikonaka made their first contribution in #625
Full Changelog: v0.33.0...v0.34.0
-
0.33.003 Feb 2023Release notes
Open source →What's Changed
- Apply dependabot on all subfolders by @matteyeux in #578
- packet: add DHCP support by @Martichou in #581
- Fix examples/arp_packet.rs by @palindrom615 in #586
- Add blanket impls of Packet for Box and &T. by @landhb in #599
- Revert "Add blanket impls of Packet for Box and &T." by @mrmonday in #605
- Upgrade dependencies
- Remove
pnetdev dependency frompnet_datalink - Fix
cargo docwarning forpnet_macros
New Contributors
- @Martichou made their first contribution in #581
- @palindrom615 made their first contribution in #586
- @landhb made their first contribution in #599
Full Changelog: v0.32.0...v0.33.0
-
0.32.003 Feb 2023Release notes
Open source →What's Changed
- pnet_macros: Fix handle_vec_primitive for multi byte primitives by @jefftt in #596
- Add missing
#[repr(C)]attributes to structs - Enable the
stdfeature by default use--no-default-featuresfornostdsupport
New Contributors
Full Changelog: v0.31.0...v0.32.0
-
0.31.001 Jun 2022Release notes
Open source →What's Changed
- Update libc dependency to 0.2.117 by @cc-morning in #568
- Fix feature deps in top-level Cargo.toml blocking #[no_std] use by @Felix-El in #566
- bump version for ipnetwork in pnet_datalink by @matteyeux in #567
- Upgrade dependencies by @mrmonday in #570
- Fix some build warnings on Windows by @mrmonday c9bb42f
New Contributors
- @cc-morning made their first contribution in #568
- @matteyeux made their first contribution in #567
Full Changelog: v0.30.0...v0.31.0
-
0.30.012 May 2022Release notes
Open source →What's Changed
- pnet_macros: fix num_bytes calculation by @yu-re-ka in #547
- Assorted cleanup by @mrmonday in #548
- support Vec with construct_with by @yu-re-ka in #550
- Misc fixes by @mrmonday in #551
- Update ipnetwork requirement from 0.18.0 to 0.19.0 by @dependabot in #552
- Fix build on architectures with unsigned char by @pkubaj in #561
- Changes to Functions to include inline and moved benches to criterion to use stable toolchain by @infosechoudini in #555
- Add illumos support by @teutat3s in #549
- enable #[no_std] use by providing std feature by @Felix-El in #562
New Contributors
- @pkubaj made their first contribution in #561
- @infosechoudini made their first contribution in #555
- @teutat3s made their first contribution in #549
- @Felix-El made their first contribution in #562
Full Changelog: v0.29.0...v0.30.0
-
0.29.013 Jan 2022Release notes
Open source →- Update Rust edition to 2021
- Update time dev-dependency
- Remove deprecated
interface.mac_address(), useinterface.macinstead - Make
pnet_datalink::Channelbe#[non_exhaustive] - Support more interface flags
- Fix issue preventing filling the datalink write buffer on Linux
- Clean up/better document some unsafety
- Add icmpv6 echo request and reply packet types
- Add Linux SLL packet type
- Various code clean-ups
-
0.28.015 May 2021Release notes
Open source →- Upgrade dependencies
- Add USBPcap packet
- Switch from Travis and AppVeyor to Github Actions for CI
- Switch from
compiletest_rstotrybuildfor macro tests - Upgrade to github native dependabot
- README cleanups
- Switch from syntex to procedural macros
- Support getting
MacAddroctets as a fixed-size array - Fix crash found during fuzz testing
- Fix invalid pointer use
- Support setting IPv6 TTL
-
0.27.227 Nov 2020Nothing published for this version
-
0.27.127 Nov 2020Nothing published for this version
-
0.26.001 May 2020Nothing published for this version
-
0.25.008 Jan 2020Nothing published for this version
-
0.23.108 Jan 2020Nothing published for this version
-
0.23.006 Nov 2019 withdrawnNothing published for this version
-
0.22.021 Feb 2019Nothing published for this version
-
0.21.007 Mar 2018Nothing published for this version
-
0.20.030 Oct 2017Nothing published for this version
-
0.19.024 Jul 2017Nothing published for this version
-
0.18.020 Jul 2017Nothing published for this version
-
0.17.123 Apr 2017Nothing published for this version
-
0.17.002 Apr 2017Nothing published for this version
-
0.16.011 Jan 2017Nothing published for this version
-
0.15.003 Jan 2017Nothing published for this version
-
0.14.022 Oct 2016Nothing published for this version
-
0.13.009 Oct 2016Nothing published for this version
-
0.12.014 Jul 2016Nothing published for this version
-
0.11.112 Jul 2016Nothing published for this version
-
0.11.012 Jul 2016Nothing published for this version
-
0.10.023 May 2016Nothing published for this version
-
0.9.001 May 2016Nothing published for this version
-
0.8.111 Apr 2016Nothing published for this version
-
0.8.010 Apr 2016Nothing published for this version
-
0.7.423 Jan 2016Nothing published for this version
-
0.7.321 Jan 2016Nothing published for this version
-
0.7.213 Jan 2016Nothing published for this version
-
0.7.105 Jan 2016Nothing published for this version
-
0.7.002 Jan 2016Nothing published for this version
-
0.6.228 Dec 2015Nothing published for this version
-
0.6.111 Dec 2015Nothing published for this version
-
0.6.010 Dec 2015Nothing published for this version
-
0.5.105 Dec 2015Nothing published for this version
-
0.5.020 Nov 2015Nothing published for this version
-
0.4.112 Nov 2015Nothing published for this version
-
0.4.010 Nov 2015Nothing published for this version
-
0.3.228 Oct 2015Nothing published for this version
-
0.3.116 Oct 2015Nothing published for this version
-
0.3.016 Oct 2015Nothing published for this version
-
0.2.021 Sep 2015Nothing published for this version
-
0.1.116 Aug 2015Nothing published for this version
-
0.1.031 Jul 2015Nothing published for this version
-
0.0.120 Nov 2014Nothing published for this version