Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-27 | log: add an "error" parameter to all low-level logging calls and intrdouce ↵ | Lennart Poettering | |
log_error_errno() as log calls that take error numbers This change has two benefits: - The format string %m will now resolve to the specified error (or to errno if the specified error is 0. This allows getting rid of a ton of strerror() invocations, a function that is not thread-safe. - The specified error can be passed to the journal in the ERRNO= field. Now of course, we just need somebody to convert all cases of this: log_error("Something happened: %s", strerror(-r)); into thus: log_error_errno(-r, "Something happened: %m"); | |||
2014-08-04 | sd-dhcp-server: always send out ROUTER and SUBNET_MASK | Tom Gundersen | |
For now we simply take these values from the server's address. | |||
2014-07-28 | sd-dhcp-server: add forcerenew support | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: track bound leases | Tom Gundersen | |
Make sure we don't hand out the same IP twice. We still don't handle lease expiry. | |||
2014-06-13 | sd-dhcp-server: add support for clients requesting lease lifetime | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: add basic REQUEST/ACK support | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: add support for sending messages | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: add support for setting the server address | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: bind to raw socket for sending | Tom Gundersen | |
We would like to use the UDP socket, but we cannot as we need to specify the MAC address manually. | |||
2014-06-13 | sd-dhcp-server: add basic message parsing | Tom Gundersen | |
Parse the maximum message size the client can accept and the client id, falling back to sane defaults if they are not set. | |||
2014-06-13 | sd-dhcp-server: add basic message handling and verification | Tom Gundersen | |
2014-06-13 | sd-dhcp-server: bind to a given interface | Tom Gundersen | |
We will (at least at first), restrict our focus to running the server on at most one interface. | |||
2014-06-13 | sd-dhcp-server: add basic functionality for starting/stopping server | Tom Gundersen | |
Bind to UDP socket and listen for messages, discarding anything we receive. | |||
2014-06-13 | sd-dhcp-server: add basic functionality for creating/destroying server instance | Tom Gundersen | |