Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Serialize/deserialize messages into a struct | Thomas Gschwantner | 2019-12-11 | 1 | -21/+18 |
| | | | | | | 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. | ||||
* | server: add --leasetime as a commandline option | Linus Nordberg | 2019-12-11 | 1 | -2/+0 |
| | |||||
* | lease: handle allowedips updates and improve API | Linus Nordberg | 2019-12-11 | 1 | -0/+1 |
| | |||||
* | Improve error handling and serialization | Thomas Gschwantner | 2019-08-20 | 1 | -6/+17 |
| | |||||
* | Use epoll() instead of poll() | Thomas Gschwantner | 2019-06-14 | 1 | -2/+3 |
| | | | | | This enables us to later use the timeout parameter of epoll_wait() to timely remove expired leases. | ||||
* | Implement basic lease management | Thomas Gschwantner | 2019-06-12 | 1 | -11/+4 |
| | |||||
* | Implement faked allocations, server side | Linus Nordberg | 2019-05-26 | 1 | -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 pubkey | Thomas Gschwantner | 2019-02-25 | 1 | -1/+3 |
| | |||||
* | Implement key=value parsing | Thomas Gschwantner | 2019-02-09 | 1 | -0/+56 |
| | |||||
* | Fix licensing headers | Thomas Gschwantner | 2019-01-27 | 1 | -2/+2 |
| | |||||
* | Implement basic validation and I/O multiplexing | Thomas Gschwantner | 2019-01-26 | 1 | -0/+16 |