netsim

Crates.ionetsim
lib.rsnetsim
version0.3.0
created_at2018-02-27 11:59:03.571864+00
updated_at2024-12-18 04:47:30.828821+00
descriptionRun tests in network-isolated threads. Intercept and meddle with their packets.
homepage
repositoryhttps://github.com/canndrew/netsim-ng
max_upload_size
id53023
size179,928
Povilas Balciunas (povilasb)

documentation

https://docs.rs/netsim

README

netsim

netsim is a Rust library which allows you to:

  • Run tests in network-isolated threads.
  • Test networking code on simulated networks.
  • Capture and inspect packets produced by your code.
  • Inject and meddle with network packets.

Documentation

Examples

See the examples directory in this repo.

Limitations

netsim currently only supports Linux since it makes use of the Linux containerization APIs.

License

MIT or BSD-3-Clause at your option.

Commit count: 15

cargo fmt