7 releases

0.2.5 Dec 14, 2024
0.2.4 Jul 10, 2024
0.2.3 Feb 19, 2024
0.2.2 Mar 24, 2023
0.1.0 Dec 1, 2022

#1339 in Network programming

Download history 1093/week @ 2024-09-25 895/week @ 2024-10-02 779/week @ 2024-10-09 904/week @ 2024-10-16 833/week @ 2024-10-23 862/week @ 2024-10-30 1048/week @ 2024-11-06 975/week @ 2024-11-13 973/week @ 2024-11-20 769/week @ 2024-11-27 761/week @ 2024-12-04 1066/week @ 2024-12-11 576/week @ 2024-12-18 682/week @ 2024-12-25 793/week @ 2025-01-01 881/week @ 2025-01-08

3,095 downloads per month
Used in 2 crates

Apache-2.0

220KB
2.5K SLoC

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 --example mozim_async

Dependencies

~15–23MB
~366K SLoC