Commit Graph

213 Commits

Author SHA1 Message Date
Frank Denis
dae5d4a800 Set SO_KEEPALIVE on the socket so that we don't hang forever 2015-11-16 09:56:11 +01:00
Frank Denis
c63885a748 Add support for the native OSX utun interface 2015-11-16 01:52:33 +01:00
Frank Denis
8530e4c378 On OSX and BSD, packets sent to the tun interface have to be prefixed
by the protocol family
2015-11-16 00:43:16 +01:00
angt
4944e76f97 Fix last commit 2015-11-15 18:38:43 +01:00
angt
5865e61fd2 Use select() in the main loop (macos is full of sh!t) 2015-11-15 18:23:29 +01:00
angt
8855ce75fc Code cleanup 2015-11-15 17:42:18 +01:00
angt
04370f0aa0 Code cleanup 2015-11-15 10:51:28 +01:00
angt
e2a6aeced7 Be more paranoid: generate 2 keys 2015-11-13 17:57:21 +01:00
angt
ef0561764f Add debug option 2015-11-13 11:49:44 +01:00
angt
78713006b8 Do not poll forever in fd_*_all() 2015-11-11 10:42:03 +01:00
angt
a744de7ef2 Fix option_usage() 2015-11-11 10:31:15 +01:00
angt
eb3dd064cf Enable nodelay by default 2015-11-11 09:56:27 +01:00
angt
9cf4c97468 Move code in src 2015-11-11 09:14:35 +01:00