Adrien Gallouët
|
c605043ffe
|
Don't touch SO_{RCV,SND}BUF (at least for now)
|
2016-06-22 08:16:53 +00:00 |
|
Adrien Gallouët
|
b7a0e222bf
|
Remove old variables
|
2016-06-22 08:14:27 +00:00 |
|
Adrien Gallouët
|
bb307f26dc
|
Code cleanup
|
2016-06-22 06:55:31 +00:00 |
|
Adrien Gallouët
|
9474ea9d9d
|
Select the path with addr on BSD
|
2016-06-21 16:46:34 +00:00 |
|
Adrien Gallouët
|
5289ff0f27
|
Give some love to BSD
|
2016-06-21 07:04:37 +00:00 |
|
Adrien Gallouët
|
f6df78d016
|
Remove mud_new_key()
|
2016-06-20 22:11:29 +00:00 |
|
Adrien Gallouët
|
29b5a3148d
|
Configure libsodium
|
2016-06-20 22:06:28 +00:00 |
|
Adrien Gallouët
|
7236e1f6bb
|
Import libsodium
|
2016-06-20 21:44:30 +00:00 |
|
Adrien Gallouët
|
3c9ee4c625
|
Code cleanup
|
2016-06-20 21:19:01 +00:00 |
|
Adrien Gallouët
|
c5e5cadcdc
|
Add travis
|
2016-06-20 21:09:49 +00:00 |
|
angt
|
2c4443a823
|
Code cleanup
|
2016-05-10 10:36: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
|
0c7390bf8f
|
Reset path before ping
|
2016-04-30 14:40:38 +00:00 |
|
angt
|
549fc058ad
|
Try to read as much as we can
|
2016-04-30 13:24:04 +00:00 |
|
angt
|
b4b687bd4c
|
Code cleanup
|
2016-04-30 12:53:26 +00:00 |
|
angt
|
a26e2af038
|
Always update path->send.time
|
2016-04-30 12:38:18 +00:00 |
|
angt
|
e0c80bef3d
|
Don't rewrite cmsg if the path exists
|
2016-04-30 12:34:38 +00:00 |
|
angt
|
7e5c487951
|
Add mud_get_key()
|
2016-04-26 06:50:04 +00:00 |
|
angt
|
3b7853c9ba
|
Use unsigned char
|
2016-04-26 06:34:48 +00:00 |
|
angt
|
782329b7db
|
Generate a new random key in mud_create()
|
2016-04-26 06:32:55 +00:00 |
|
angt
|
f0ad4bbdd3
|
Allow IPv{4,6} only
|
2016-04-25 16:27:06 +00:00 |
|
angt
|
04c8495fe6
|
Create active connection only with mud_peer()
|
2016-04-17 16:21:16 +00:00 |
|
angt
|
3b86683636
|
Add key exchange
|
2016-04-17 10:13:31 +00:00 |
|
angt
|
60fed031a8
|
Check ping/pong too
|
2016-04-14 20:02:48 +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
|
f380720272
|
Code cleanup
|
2016-04-07 10:03:19 +00:00 |
|
angt
|
ecec237a56
|
Add functions to set timeouts and time_tolerance
|
2016-04-05 14:09:34 +00:00 |
|
angt
|
104bc68266
|
Add MUD_PACKET_MAX_SIZE
|
2016-04-05 06:39:29 +00:00 |
|
angt
|
22e05b0742
|
Check mud->last_time as it can be zero
|
2016-04-05 06:25:50 +00:00 |
|
angt
|
85367eff80
|
More stuff
from http://whatthecommit.com/0cd527cd19f926a6e6b683a2efadb664
|
2016-04-04 16:46:10 +00:00 |
|
angt
|
a1ba274fbf
|
Use chacha20
|
2016-04-01 16:31:34 +00:00 |
|
angt
|
92416a9c5d
|
Code cleanup
|
2016-04-01 15:27:20 +00:00 |
|
angt
|
68346e7ca4
|
Ignore old packets
|
2016-04-01 15:21:52 +00:00 |
|
angt
|
6b3001e6d8
|
Use also path->rtt to compute tx timeout
|
2016-03-30 14:34:36 +00:00 |
|
angt
|
1b58401095
|
Add mud_is_up()
|
2016-03-24 14:38:43 +00:00 |
|
angt
|
20c07fb6d9
|
Remove old code
|
2016-03-09 20:29:42 +00:00 |
|
angt
|
11903da862
|
Add mud_can_pull()
|
2016-03-09 10:58:14 +00:00 |
|
angt
|
58ae40149b
|
Use a bigger packet queue
|
2016-03-07 17:30:21 +00:00 |
|
angt
|
fe5b384ef2
|
Set SO_RCVBUF and SO_SNDBUF
|
2016-03-07 17:29:34 +00:00 |
|
angt
|
d3811a9a9b
|
Use a bigger packet queue
|
2016-03-07 16:32:55 +00:00 |
|
angt
|
994f0e61c9
|
Code cleanup
|
2016-03-07 14:53:32 +00:00 |
|
angt
|
97a5b79f82
|
Return ENOBUFS
|
2016-03-07 14:49:51 +00:00 |
|
angt
|
b253f30983
|
Set packet size to 1500
|
2016-03-07 14:45:55 +00:00 |
|
angt
|
417d4fe91f
|
Ask for RFC 3542
|
2016-03-04 11:31:45 +00:00 |
|
angt
|
57ff188731
|
Include headers for macosx
|
2016-03-04 11:19:31 +00:00 |
|
angt
|
21893bcd43
|
Include netinet/in.h
|
2016-03-04 11:01:04 +00:00 |
|