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