angt
|
d787fa1dca
|
Version 0.0.11
|
2015-12-03 18:10:55 +01:00 |
|
angt
|
b7582d0107
|
Set GT_TIMEOUT to 5s
|
2015-12-03 16:59:22 +01:00 |
|
angt
|
2d46958f9f
|
Beautify usage
|
2015-12-02 20:51:23 +01:00 |
|
angt
|
9131742ff3
|
Add retry const option
|
2015-12-02 20:48:13 +01:00 |
|
angt
|
590bac0f89
|
Add trap option to use SIGUSR2
|
2015-12-02 17:05:51 +01:00 |
|
angt
|
a43f2c935d
|
Send SIGUSR2 on successful connection
|
2015-12-02 16:50:34 +01:00 |
|
angt
|
200dd6273f
|
Fix last commit
|
2015-12-02 16:08:35 +01:00 |
|
angt
|
2a97e94770
|
Version 0.0.10
|
2015-12-02 16:06:29 +01:00 |
|
angt
|
bd46acb672
|
Add retry (count, slope and limit) option
|
2015-12-02 16:05:15 +01:00 |
|
angt
|
723006a10d
|
Add fake daemon mode
|
2015-12-02 12:04:36 +01:00 |
|
angt
|
da6a2a7d61
|
Code cleanup
|
2015-12-01 09:15:40 +01:00 |
|
angt
|
7db50de8df
|
Version 0.0.9
|
2015-11-30 16:08:36 +01:00 |
|
angt
|
22a6b511f7
|
Little opt
|
2015-11-30 16:07:13 +01:00 |
|
angt
|
2f2e5e6f99
|
Use SIGUSR1 to show tcp_info
|
2015-11-29 18:10:15 +01:00 |
|
angt
|
3472771a6f
|
Try to close nicely on tun error
|
2015-11-28 14:23:45 +01:00 |
|
angt
|
8989138051
|
Version 0.0.8
|
2015-11-27 14:53:18 +01:00 |
|
angt
|
c2f76213cc
|
Add noquickack option
|
2015-11-27 14:52:52 +01:00 |
|
angt
|
6ed736327a
|
Align blk.data to 16 bytes
|
2015-11-27 08:07:53 +01:00 |
|
angt
|
e20be0ad97
|
Keep it simple and use the right tools
|
2015-11-27 07:56:40 +01:00 |
|
angt
|
2e7355bb92
|
Write shutdown() should be called only one time
|
2015-11-27 07:44:45 +01:00 |
|
angt
|
8ec7238f49
|
Version 0.0.7
|
2015-11-25 15:50:38 +01:00 |
|
angt
|
ac10f5a4e1
|
Fix prio and add priority size option
|
2015-11-25 15:49:45 +01:00 |
|
angt
|
d658669a04
|
Beautify usage
|
2015-11-24 18:42:14 +01:00 |
|
angt
|
746d998d4e
|
Add some useless free()
|
2015-11-24 13:34:29 +01:00 |
|
angt
|
d1c51d90d4
|
Version 0.0.6
|
2015-11-24 11:30:04 +01:00 |
|
angt
|
0b1303b029
|
Add dscp-prio option (first qos draft)
|
2015-11-24 11:05:16 +01:00 |
|
angt
|
a78089ba10
|
Version 0.0.5
|
2015-11-23 12:13:42 +01:00 |
|
angt
|
128aaae368
|
Add daemon option (only one fork)
|
2015-11-23 12:12:28 +01:00 |
|
angt
|
230c9fa26a
|
Little fix and cleanup
|
2015-11-21 19:09:21 +01:00 |
|
angt
|
9834498d94
|
Avoid str_cmp() in sk_set()
|
2015-11-20 10:17:26 +01:00 |
|
angt
|
9454b5c9e1
|
Code cleanup
|
2015-11-19 23:38:13 +01:00 |
|
angt
|
ca3ed9ff1a
|
Group ip packets for encryption
|
2015-11-19 19:07:42 +01:00 |
|
angt
|
836ffaad37
|
Increment listener backlog
|
2015-11-19 09:51:29 +01:00 |
|
angt
|
4c02e38954
|
Defer accept on listener
|
2015-11-19 09:51:29 +01:00 |
|
angt
|
540d0e2dff
|
Flag is just an empty option
|
2015-11-19 09:51:29 +01:00 |
|
angt
|
0c1e3a5f09
|
Version 0.0.4
|
2015-11-18 10:39:15 +01:00 |
|
angt
|
4337251218
|
Code cleanup
|
2015-11-18 10:17:50 +01:00 |
|
angt
|
baca343fdf
|
Simplify setsockopt() code
|
2015-11-18 09:24:30 +01:00 |
|
angt
|
c20a2a5a13
|
Code cleanup
|
2015-11-17 23:58:19 +01:00 |
|
angt
|
7fc368cf3c
|
Make keepalive an option (and not a flag)
|
2015-11-17 23:48:55 +01:00 |
|
angt
|
25b62bf4c6
|
Simplify and generalize option_usage()
|
2015-11-17 23:36:03 +01:00 |
|
angt
|
47432ecafa
|
Add gt_print()
|
2015-11-17 23:29:56 +01:00 |
|
angt
|
e4f2a92c5b
|
Add ka-count, ka-idle and ka-interval options to setup keepalive
|
2015-11-17 22:14:35 +01:00 |
|
angt
|
89d2edb61b
|
Try again to open() on EINTR
|
2015-11-17 21:39:56 +01:00 |
|
angt
|
310e499234
|
Version 0.0.3
|
2015-11-17 21:22:24 +01:00 |
|
angt
|
9ff87109f9
|
Add buffer-size option
|
2015-11-17 21:19:16 +01:00 |
|
angt
|
bfcf38f380
|
Try to be more robust on restart but accept some lost for now
|
2015-11-17 21:04:26 +01:00 |
|
angt
|
286f54aed4
|
Try to close nicely, waiting for a real proto
|
2015-11-17 13:10:09 +01:00 |
|
angt
|
6ef8ca45d7
|
Merge pull request #9 from jedisct1/pointer-arith
Avoid pointer arithmetic on void *
|
2015-11-17 07:58:19 +01:00 |
|
angt
|
a261f1a8b1
|
Code cleanup
|
2015-11-17 07:15:59 +01:00 |
|
angt
|
53a55e83c4
|
Merge pull request #8 from jedisct1/scalarmult-check
Check crypto_scalarmult() return code
|
2015-11-17 06:40:13 +01:00 |
|
angt
|
246f1bd7c0
|
Add a very simple client and server authentication
|
2015-11-16 16:35:43 +01:00 |
|
angt
|
6095cc021a
|
Include missing uio.h in tun.c
|
2015-11-16 16:08:44 +01:00 |
|
angt
|
2ad21e9375
|
Include missing ip-static.h in tun.c
|
2015-11-16 16:05:05 +01:00 |
|
angt
|
21ae1f34c3
|
Add common.c
|
2015-11-16 16:00:33 +01:00 |
|
angt
|
a8ebefbef3
|
Add tun.[ch]
|
2015-11-16 15:44:16 +01:00 |
|
angt
|
14c0c2edb1
|
Add ip-static.h
|
2015-11-16 12:53:47 +01:00 |
|
angt
|
b8148600f2
|
Add keepalive option
|
2015-11-16 11:44:28 +01:00 |
|
angt
|
164c32c23c
|
Code cleanup
|
2015-11-16 11:42:53 +01:00 |
|
angt
|
a5e415736d
|
Merge pull request #7 from jedisct1/keepalive
Set `SO_KEEPALIVE` on the socket
|
2015-11-16 10:50:50 +01:00 |
|
angt
|
0359c21643
|
Merge pull request #6 from jedisct1/dd
Use /dev/urandom
|
2015-11-16 10:50:39 +01:00 |
|
angt
|
725a8e2fd0
|
Merge pull request #5 from jedisct1/bsd-osx
Complete support for OSX & BSD
|
2015-11-16 10:50:22 +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
|
3e1809a608
|
Version 0.0.2
|
2015-11-15 16:27:03 +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
|
1f2f697946
|
Update README.md
|
2015-11-12 16:18:44 +01:00 |
|
angt
|
b21e4ecea9
|
Update README.md
|
2015-11-12 16:07:23 +01:00 |
|
angt
|
44e61295e5
|
Update .gitignore
|
2015-11-11 14:09:27 +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
|
3a7ba82d59
|
Update configure.ac
|
2015-11-11 09:36:19 +01:00 |
|
angt
|
9cf4c97468
|
Move code in src
|
2015-11-11 09:14:35 +01:00 |
|
angt
|
e122d76a32
|
Code cleanup
|
2015-11-10 21:51:02 +01:00 |
|
angt
|
e9cad43bee
|
Simplify dump_ip_header()
|
2015-11-10 21:50:31 +01:00 |
|
angt
|
b686dd845c
|
Dump ip header when something looks wrong
|
2015-11-10 17:28:44 +01:00 |
|
angt
|
ff8372c70e
|
Hash public data with skey and check it
|
2015-11-09 21:31:44 +01:00 |
|
angt
|
8fb452de82
|
Warn if IFF_MULTI_QUEUE is not supported
|
2015-11-09 12:47:04 +01:00 |
|
angt
|
aee6a48da4
|
Warn if TCP_CONGESTION is not supported
|
2015-11-09 12:36:53 +01:00 |
|
angt
|
a406fb6096
|
Add the multiqueue option
|
2015-11-09 12:33:35 +01:00 |
|
angt
|
55275038c3
|
Add the nodelay option to disable nagle
|
2015-11-09 12:22:30 +01:00 |
|
angt
|
8c441b1221
|
Fix option_usage()
|
2015-11-09 10:24:52 +01:00 |
|
angt
|
df8a199bee
|
Add the keyfile option to load a secret key
|
2015-11-09 10:10:29 +01:00 |
|
angt
|
3a64658eaf
|
Do not allow the same option multiple times
|
2015-11-09 08:58:57 +01:00 |
|
angt
|
f7db7e0c45
|
Use gettimeofday() instead of clock_gettime()
|
2015-11-09 08:47:56 +01:00 |
|
angt
|
228b633183
|
Set glorytun_CFLAGS instead of CFLAGS
|
2015-11-09 08:40:11 +01:00 |
|
angt
|
b836f8f5e5
|
Fix Makefile.am
|
2015-11-09 06:51:53 +01:00 |
|
angt
|
e2150df5da
|
Add option.[ch]
|
2015-11-09 06:47:33 +01:00 |
|
angt
|
8d08d74b95
|
Merge pull request #3 from jedisct1/travis
Test under Linux and OSX, with gcc and clang
|
2015-11-09 06:26:45 +01:00 |
|
angt
|
399529eb86
|
Update .travis.yml
|
2015-11-08 23:23:28 +01:00 |
|
angt
|
f72063b650
|
TravisCI use autotools version 2.68
|
2015-11-08 18:40:27 +01:00 |
|
angt
|
f45aa3dc58
|
Update .gitignore
|
2015-11-08 18:20:13 +01:00 |
|
angt
|
14e3c892ba
|
Add minimal .travis.yml
|
2015-11-08 18:09:11 +01:00 |
|
angt
|
09a27fa817
|
Print usage when an unknown option is present
|
2015-11-08 17:05:17 +01:00 |
|
angt
|
5bf8e8ea5e
|
Merge pull request #2 from jedisct1/sad
Don't expect TCP_INFO and clock_gettime() to be portable
|
2015-11-07 23:38:37 +01:00 |
|
angt
|
62980c97a3
|
Show TCP_INFO
|
2015-11-07 13:06:18 +01:00 |
|