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

#1705 in Network programming

Download history 943/week @ 2024-07-21 1211/week @ 2024-07-28 712/week @ 2024-08-04 1026/week @ 2024-08-11 598/week @ 2024-08-18 562/week @ 2024-08-25 614/week @ 2024-09-01 724/week @ 2024-09-08 542/week @ 2024-09-15 825/week @ 2024-09-22 1074/week @ 2024-09-29 715/week @ 2024-10-06 1010/week @ 2024-10-13 716/week @ 2024-10-20 952/week @ 2024-10-27 932/week @ 2024-11-03

3,654 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

~16–23MB
~369K SLoC