#low-level #high-level #data #networking #macro #interface

bin+lib sendpacket

High-level library for interacting with low-level network data

2 releases

Uses old Rust 2015

0.1.1 May 11, 2018
0.1.0 May 11, 2018

#257 in #high-level

MIT/Apache

23KB
521 lines

sendpacket

sendpacket is a high-level rust library for low-level networking that makes use of macros to provide a "kwargs-like" interface a-la python's dpkt/scapy.

With sendpacket you can construct and modify arbitrary packet data and attempt to send it via a NIC, which uses libpnet under the covers.

sendpacket should perform well, but is otherwise fundamentally a hackathon project: it exposes a somewhat hacky API, provides an incomplete set of functionality for general use, and the authors don't promise any level of maintenance.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1–2MB
~42K SLoC