aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Do remove expired leases from allowedipsHEADmasterLinus Nordberg2019-12-121-2/+6
* Use siphash for hashtablesThomas Gschwantner2019-12-118-18/+315
* Allow /32 and /128 to be omitted in ip= keysThomas Gschwantner2019-12-111-12/+15
* radix-trie: fix add() when no poolnodes existThomas Gschwantner2019-12-111-0/+5
* Properly send and display wg_errno and errmsgThomas Gschwantner2019-12-114-21/+54
* Change request_ip protocolThomas Gschwantner2019-12-114-42/+29
* Postpone freeing memory for leases until after updating allowedipsLinus Nordberg2019-12-111-25/+19
* radix-trie: implement ipp_removepool_v{4,6}Thomas Gschwantner2019-12-113-10/+109
* radix-trie: fix issues related to shadow-/countingThomas Gschwantner2019-12-111-106/+144
* radix-trie: fix bug where /64 pools would overflowThomas Gschwantner2019-12-111-10/+8
* Fix parsing issue with split messagesThomas Gschwantner2019-12-112-17/+18
* radix-trie: allow full use of the v4 address spaceThomas Gschwantner2019-12-113-5/+5
* Rename struct ip_pool to be more descriptiveThomas Gschwantner2019-12-113-101/+102
* Fix random_bounded() to always be in [0, bound)Thomas Gschwantner2019-12-113-15/+19
* Fixup client, including a lot of refactoringThomas Gschwantner2019-12-114-364/+197
* Extract all RTNETLINK code into ipm.{c,h}Thomas Gschwantner2019-12-116-128/+263
* Serialize/deserialize messages into a structThomas Gschwantner2019-12-113-301/+331
* Don't validate RTA_GATEWAY and fix an error stringLinus Nordberg2019-12-111-8/+1
* Stop passing devname and ifindex aroundLinus Nordberg2019-12-113-25/+28
* Ignore routes not for the wg interfaceLinus Nordberg2019-12-113-9/+31
* server: restore leases from allowedips at startupLinus Nordberg2019-12-112-1/+191
* server: add --leasetime as a commandline optionLinus Nordberg2019-12-113-8/+37
* lease: handle allowedips updates and improve APILinus Nordberg2019-12-114-136/+229
* Fix typo in the previous commits NULL checkLinus Nordberg2019-09-271-1/+1
* Fix incorrect use of pubkey ptr in new_lease()Thomas Gschwantner2019-09-101-3/+16
* Fix build issue that occurs on gcc debian 6.3.0-18Thomas Gschwantner2019-08-211-1/+5
* Improve error handling and serializationThomas Gschwantner2019-08-203-88/+88
* Don't build wg-dynamic-client until it's fixedThomas Gschwantner2019-08-201-1/+1
* Initialize pools from routes via netlinkThomas Gschwantner2019-08-175-29/+191
* radix-trie: implement pool shadowingThomas Gschwantner2019-08-022-27/+60
* Move counting logic from lease.c to radix-trie.cThomas Gschwantner2019-07-183-108/+94
* Implement lease expirationThomas Gschwantner2019-07-188-36/+120
* radix-trie: inline find_node() into ipp_addpool()Thomas Gschwantner2019-07-161-16/+8
* Use epoll() instead of poll()Thomas Gschwantner2019-06-144-123/+143
* Remove CLOCK_MONOTONIC commentThomas Gschwantner2019-06-141-4/+0
* Fix use-after-free and memory leak in ipp_free()Thomas Gschwantner2019-06-141-14/+11
* Add missing #include in netlink.hThomas Gschwantner2019-06-141-0/+1
* Don't overwrite peer changes by othersThomas Gschwantner2019-06-131-46/+28
* Implement basic lease managementThomas Gschwantner2019-06-1210-162/+536
* radix-trie: implement ipp_addrnd_* and relatedThomas Gschwantner2019-06-022-70/+328
* Add BUG() and BUG_ON()Thomas Gschwantner2019-06-022-1/+4
* radix-trie: allow both ipv4 and ipv6 debug outputThomas Gschwantner2019-06-022-12/+30
* radix-trie: fix fls/fls64Thomas Gschwantner2019-06-021-6/+6
* radix-trie: remove bits arg from radix_insert_v4/6Thomas Gschwantner2019-06-022-6/+6
* Use hashtable to match ll-ip with pubkeyThomas Gschwantner2019-06-022-31/+661
* Sleep lessLinus Nordberg2019-05-261-3/+5
* Use blocking I/O in clientLinus Nordberg2019-05-261-119/+39
* No need to clear bits in pollfd reventsLinus Nordberg2019-05-262-5/+0
* Fix backwards logic in debug loggingLinus Nordberg2019-05-261-2/+2
* Implement client sending ip-request and configuring interfaceLinus Nordberg2019-05-263-24/+521