| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Instead of a list of attributes, parse messages into a proper struct to
avoid duplicating code in the server/client for handling this list, as
well as making parsing nicer in general.
|
| |
|
| |
|
|
|
|
|
| |
This enables us to later use the timeout parameter of epoll_wait() to
timely remove expired leases.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reject clients not connecting from an IPv6 address.
Reject clients not connecting from the correct port.
Fake address allocation.
Update allowed-ips with leases handed out.
Send response messages.
Extend protocol to include lease start and lease time, errno and errmsg.
Move common code to common.[ch].
|
|
|