aboutsummaryrefslogtreecommitdiffstats
path: root/common.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [server] Make leasetime an optional command line argumentLinus Nordberg2019-09-301-1/+1
|
* Improve error handling and serializationThomas Gschwantner2019-08-201-6/+17
|
* Use epoll() instead of poll()Thomas Gschwantner2019-06-141-2/+3
| | | | | This enables us to later use the timeout parameter of epoll_wait() to timely remove expired leases.
* Implement basic lease managementThomas Gschwantner2019-06-121-11/+4
|
* Implement faked allocations, server sideLinus Nordberg2019-05-261-5/+30
| | | | | | | | | | 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].
* Match incoming IP with pubkeyThomas Gschwantner2019-02-251-1/+3
|
* Implement key=value parsingThomas Gschwantner2019-02-091-0/+56
|
* Fix licensing headersThomas Gschwantner2019-01-271-2/+2
|
* Implement basic validation and I/O multiplexingThomas Gschwantner2019-01-261-0/+16