6 releases

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

#1674 in Network programming

Download history 676/week @ 2024-08-09 967/week @ 2024-08-16 493/week @ 2024-08-23 674/week @ 2024-08-30 520/week @ 2024-09-06 712/week @ 2024-09-13 745/week @ 2024-09-20 1044/week @ 2024-09-27 822/week @ 2024-10-04 981/week @ 2024-10-11 723/week @ 2024-10-18 840/week @ 2024-10-25 882/week @ 2024-11-01 1127/week @ 2024-11-08 910/week @ 2024-11-15 796/week @ 2024-11-22

3,834 downloads per month
Used in 2 crates

Apache-2.0

220KB
2K 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

Dependencies

~15–23MB
~364K SLoC