Commit Graph

278 Commits

Author SHA1 Message Date
Adrien Gallouët adb791d3ba Update mud 2016-11-25 16:44:00 +00:00
Adrien Gallouët f46305847e Rework buffer 2016-11-18 11:55:21 +00:00
Adrien Gallouët a75f3b0fd8 Remove STARTED and STOPPED 2016-11-07 15:08:25 +00:00
Adrien Gallouët 2934228005 Remove pull/push of mud 2016-10-27 15:04:11 +00:00
Adrien Gallouët d599e545f7 Update mud 2016-10-25 09:15:34 +00:00
Frank Denis 048870e280 <linux/if.h> is not required any more (#19) 2016-10-24 11:19:43 +02:00
Frank Denis 31045456fe include <net/if.h> for the ifreq structure (#18)
Required on BSD. Doesn't break anything elsewhere.
2016-10-23 12:38:32 +02:00
Adrien Gallouët 0bb5be63b9 Get ICMP type 3 to set the next-hop MTU 2016-10-18 16:44:20 +00:00
Adrien Gallouët c9f737197c Remove multiqueue (not used with mud) 2016-10-05 09:49:14 +00:00
Adrien Gallouët 726a3eed13 Add MTU negotiation 2016-10-04 15:27:37 +00:00
Adrien Gallouët 05cc7b1087 Be more verbose when mud fails 2016-09-06 08:45:53 +00:00
Adrien Gallouët 91bb0b1231 Forward tos/tclass to mud 2016-07-25 15:15:27 +00:00
Adrien Gallouët 00ee23b0b6 Allow IPv4 and IPv6 only on Linux 2016-07-15 18:42:28 +00:00
Adrien Gallouët fe5bc5454e Add chacha20 option and AES-NI negotiation 2016-07-12 17:01:41 +00:00
Adrien Gallouët a01dc81500 Don't wait too long when we have data to send 2016-06-27 11:19:16 +00:00
Adrien Gallouët 378316bd68 Add mtu option 2016-06-13 15:43:45 +00:00
angt 1f1464e90d Update mud 2016-05-09 14:23:17 +00:00
angt 55d9dd9277 Update mud 2016-05-02 09:18:44 +00:00
angt 2f290dbf85 Update mud and merge from master 2016-04-26 06:54:30 +00:00
angt 39e3f53139 Add v{4,6}only option 2016-04-25 16:29:20 +00:00
angt babe14d544 Quit on tun error 2016-04-25 10:24:42 +00:00
angt b0f60caab2 Update mud 2016-04-14 20:12:45 +00:00
angt efd5e0bb36 Remove down-timeout and use timeout for send-timeout 2016-04-08 14:38:07 +00:00
angt ade4617d53 Update mud 2016-04-08 13:00:52 +00:00
angt eba968797c Add {down,send,pong}-timeout and time-tolerance option 2016-04-05 14:17:07 +00:00
angt 32069eb104 Print tun device on STARTED and STOPPED too 2016-04-04 20:05:33 +00:00
angt 743b0ee0da Don't check AES-NI 2016-04-01 16:50:04 +00:00
angt b0d5007bfb Restore STARTED and STOPPED states 2016-03-24 14:45:15 +00:00
angt d04acc9c0f Update mud 2016-03-09 10:59:52 +00:00
angt 664160e0cc Add bind-port option 2016-03-01 15:11:16 +00:00
angt 1dd760e382 Code cleanup 2016-03-01 08:13:05 +00:00
angt a7fbf806fb Use a list to setup mud_bind() 2016-02-29 15:28:37 +00:00
angt e750c46665 Update mud 2016-02-25 15:22:47 +00:00
angt 27970e24fb Import and use mud 2016-02-04 10:39:36 +01:00
angt acc3ee3461 Encrypt only one packet at a time 2016-01-26 12:18:00 +01:00
angt eefa7722c5 Use timeout in connect() too 2016-01-21 16:22:31 +01:00
angt 17547f555d Add SECRETKEY state 2016-01-18 18:07:35 +01:00
angt ec9c59ce69 Code cleanup 2016-01-18 18:00:41 +01:00
angt 679927a684 Show device name in INITIALIZED state 2016-01-18 17:58:20 +01:00
angt 2999faf5d7 Move up state_init() 2016-01-18 17:26:42 +01:00
angt 219384b7e5 Remove the old school daemon option 2016-01-18 16:09:29 +01:00
angt 3649e46b03 Remove the absolute path restriction on statefile 2016-01-18 16:02:29 +01:00
angt 88f314bc75 Add state.[ch] 2016-01-18 15:59:18 +01:00
angt 1815ea519f Create a tcp_entry only on ACK 2016-01-17 10:18:39 +01:00
angt 33356d5d35 Don't work too much 2016-01-17 09:40:56 +01:00
angt b2cb8ebcbe The minimum value for buffer-size option is GT_PKT_MAX 2016-01-15 17:02:11 +01:00
Frank Denis f0fc2751e5 Include <sys/socket.h> for AF_INET/AF_INET6 definitions
Required on OpenBSD
2016-01-14 17:11:27 +01:00
angt 81cab007d0 Resend packet on partial tun_write() 2016-01-14 10:25:37 +01:00
angt 606396839f Don't update sa->base with old acks 2016-01-14 09:27:15 +01:00
angt a8e37bafb9 Use realloc(): easier, better, faster, stronger 2016-01-13 16:19:58 +01:00