Skip to content

Releases: NetworkConfiguration/dhcpsd

dhcpsd 0.0.6

16 Dec 22:27
v0.0.6

Choose a tag to compare

SHA256 (dhcpsd-0.0.6.tar.xz) = f990e71e543e16baabdf957fbf2486c983a08e7a8d6f85b51962ca58d8b7d4f5
Size   (dhcpsd-0.0.6.tar.xz) = 96544
  • DHCP: Fix copying out FQDN hostname
  • lua: add add_domain function to encode a string using RFC 1035
  • DHCP: work with the broadcast flag correctly
  • DHCP: Sanitize incoming hostnames for RFC1053 conformance
  • DHCP: Fix plugin leasetime

Full Changelog: v0.0.5...v0.0.6

dhcpsd 0.0.5

14 Dec 10:55
v0.0.5

Choose a tag to compare

SHA256 (dhcpsd-0.0.5.tar.xz) = 3da7a38a59f680a62fa675f7b7f5cc1f26d3da6f45ee31d3bb1c8cefef03e2f2
Size   (dhcpsd-0.0.5.tar.xz) = 95348
  • lua: add add_uint8, add_uint16 and add_uint32 functions
  • lua: allow a hostname and pool to define a lease time
  • kqueue/epoll support
  • dhcpsd: don't have a controlling TTY on fork

Full Changelog: v0.0.4...v0.0.5

dhcpsd 0.0.4

23 Oct 16:30
v0.0.4

Choose a tag to compare

SHA256 (dhcpsd-0.0.4.tar.xz) = 855b427feb1b69854a5abe51c0f54aacbb94936f71e998278cd5bf032a6c327e
Size   (dhcpsd-0.0.4.tar.xz) = 90632
  • dhcspd: exit if a plugin has an error configuring pools
  • service: Treat read len 0 as HANGUP

Full Changelog: v0.0.3...v0.0.4

dhcpsd 0.0.3

23 Oct 14:47
v0.0.3

Choose a tag to compare

SHA256 (dhcpsd-0.0.3.tar.xz) = 8a0d2d05135fbf395f47a33a2b1994b39ccc546b7aee30ab63efd8876850f9d8
Size   (dhcpsd-0.0.3.tar.xz) = 90596
  • lua: cause the unpriv helper to exit if we fail to load dhcp.lua

Full Changelog: v0.0.2...v0.0.3

dhcpsd 0.0.2

23 Oct 14:21
v0.0.2

Choose a tag to compare

SHA256 (dhcpsd-0.0.2.tar.xz) = ae6575384aba8a4df73854c1e594508996903968dcf650004a8ac49d95c41b7a
Size   (dhcpsd-0.0.2.tar.xz) = 90612
  • configure: allow —user=dhcpsd to configure the user

Full Changelog: v0.0.1...v0.0.2

dhcpsd 0.0.1

23 Oct 11:16
v0.0.1

Choose a tag to compare

SHA256 (dhcpsd-0.0.1.tar.xz) = 86036893242be8f3ac44c0cdee7dafe4f4c7f816171298e11d0a63141e21c5d3
Size   (dhcpsd-0.0.1.tar.xz) = 90580

Initial release of dhcpsd!
This is a DHCP server, driven by plugins rather than a specific
configuration.

There is an auto plugin which makes an opinionated automatic
DHCP setup based on your IP address.
There is a leasefile plugin which stores the leases to a
persistent flat file periodically.
There is an ethers plugin to lookup a nodes hostname from their
ethernet address.
There is an addrinfo plugin to lookup a nodes ip address from their
hostname.
There is an ICMP plugin to detect if an ip address is in use
before offering it.
And if that is not enough there is a LUA plugin which allows you
to script pretty much everything, but there is likely room for
improvement here.

Out of the box, dhcpsd is fast by using 2 hashmaps for clientid
and ip address lookups and then by using a Red Black tree for
lease expiry ordering.
dhcpsd is written in C and uses Verstable for a hashmap and
NetBSD's Red Black tree.
It's also event driven with timeouts and callbacks which
allows for example the ICMP plugin to hold the DHCP request
until finished and then continue it once done and dhcpsd
will process other tasks in the middle of this.

dhcpsd is also secure by supporting Capsicum from FreeBSD,
pledge from OpenBSD send SECCOMP from Linux.
Other OS's enjoy a POSIX resource limited chrooted sandbox.

I hope you all enjoy using this as much as I have creating it :)