Commit Graph

39 Commits

Author SHA1 Message Date
Adrien Gallouët
53f8d31f77 Use size_t for mtu
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-16 15:57:03 +00:00
Adrien Gallouët
6e5e2dea64 Autoselect ipv4/ipv6
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-15 14:10:28 +00:00
Adrien Gallouët
219e17edb6 Ask for sockaddr directly
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-14 21:30:17 +00:00
Adrien Gallouët
582eb29617 Use unsigned long in mud_set_x()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-11 10:14:58 +00:00
Adrien Gallouët
d8ede46d8a Avoid useless copies and protect keys
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-06 18:10:39 +00:00
Adrien Gallouët
d4546ccae0 Add mud_del_path()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-01-29 16:17:06 +00:00
Adrien Gallouët
61e7a23a11 Rework mud->peer and remove mud_ipaddr
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-01-29 16:17:06 +00:00
Adrien Gallouët
7c90d54b91 Add mud_add_path()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-01-24 16:27:41 +00:00
Adrien Gallouët
2c82c01233 Don't set mtu in mud_create()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2017-11-15 22:44:03 +00:00
Adrien Gallouët
21957cc0cc Add mud_set_aes()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2017-11-15 22:41:13 +00:00
Adrien Gallouët
522ca2804d Add mud_new_key()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2017-11-15 22:04:44 +00:00
Adrien Gallouët
bd5323a46e Add mud_set_tc() and use CS6 by default 2016-12-22 11:40:06 +00:00
Adrien Gallouët
662fe83173 Add first draft backup 2016-11-28 10:59:27 +00:00
Adrien Gallouët
ca9aa34ae3 Rework pong 2016-11-18 17:44:10 +00:00
Adrien Gallouët
c612a0772e Remove the internal tracker (failover) 2016-11-07 15:01:51 +00:00
Adrien Gallouët
22d61780fd Remove pull/push 2016-10-27 15:00:03 +00:00
Adrien Gallouët
b82534d54c Add mud_set_mtu() 2016-10-18 16:41:41 +00:00
Adrien Gallouët
d255074199 Add MTU negotiation 2016-10-04 13:23:14 +00:00
Adrien Gallouët
6a9be23e69 Add mud_peer_is_up() 2016-09-02 09:39:38 +00:00
Adrien Gallouët
c1ce6c7481 Add mud_set_on() to enable/disable a local addr 2016-07-27 20:23:19 +00:00
Adrien Gallouët
c1b501bc19 Add tos/tclass support in mud_send() 2016-07-25 15:00:33 +00:00
Adrien Gallouët
67f1f6abc2 Add AES-NI negotiation 2016-07-12 16:53:04 +00:00
angt
de465a17b6 Don't use getaddrinfo() 2016-05-08 14:02:59 +02:00
angt
244ad0f714 Remove mud_bind() 2016-05-02 08:39:02 +00:00
angt
566a1da699 API cleanup 2016-05-01 08:41:45 +00:00
angt
7e5c487951 Add mud_get_key() 2016-04-26 06:50:04 +00:00
angt
f0ad4bbdd3 Allow IPv{4,6} only 2016-04-25 16:27:06 +00:00
angt
23a2cc1e24 Add mud_can_push() 2016-04-14 19:41:59 +00:00
angt
cd9fb7ce34 Remove down_timeout 2016-04-08 14:36:22 +00:00
angt
a05381a329 Add a better failover 2016-04-08 12:57:29 +00:00
angt
ecec237a56 Add functions to set timeouts and time_tolerance 2016-04-05 14:09:34 +00:00
angt
1b58401095 Add mud_is_up() 2016-03-24 14:38:43 +00:00
angt
11903da862 Add mud_can_pull() 2016-03-09 10:58:14 +00:00
angt
fc8e97caef Select port in mud_create() and add mud_set_key() 2016-03-01 15:08:28 +00:00
angt
bfa92d373d Use only one socket 2016-02-25 15:13:43 +00:00
angt
0596afef7e Code cleanup 2016-02-03 21:18:00 +01:00
angt
bfcfd3263e Add a simple aes256gcm layer 2016-02-03 19:43:17 +01:00
angt
6561f819f9 Add a simple rx queue 2016-02-02 21:11:34 +01:00
angt
40d5998fac First draft 2016-01-29 09:59:01 +01:00