mozim

Crates.iomozim
lib.rsmozim
version0.2.4
sourcesrc
created_at2022-12-01 13:36:45.770743
updated_at2024-07-10 14:29:12.725975
descriptionDHCP Client Library
homepagehttps://github.com/nispor/mozim
repository
max_upload_size
id727632
size914,462
Gris Ge (cathay4t)

documentation

README

Mozim -- DHCP Client Library

Still doing code sign, no real work this project can do yet. Check again in 2022.

DONE:

  • raw socket with BPF applied and accepting all mac address.
  • DHCP discovery and request.
  • Renew, rebind.
  • DHCP IP apply via cli tool mzc.
  • Route
  • Timeout and retry

TODO:

Try out

# Below script will create veth eth1/eth1.ep.
# The `eth1.ep` is DHCP server interface running dnsmasq in `mozim` network
# namespace.
sudo ./utils/test_env_mozim &
cargo run
Commit count: 0

cargo fmt