angt
|
1b3c23889a
|
Do not use the shared secret as AES key directly
|
2015-10-31 22:03:47 +01:00 |
|
angt
|
0aeab9a33b
|
Add a very simple encryption layer for testing
|
2015-10-31 21:30:51 +01:00 |
|
angt
|
a25ac267d3
|
Update Makefile
|
2015-10-30 17:22:34 +01:00 |
|
angt
|
13086a0f88
|
Fix typo
|
2015-10-30 16:47:14 +01:00 |
|
angt
|
1722b5e05f
|
Add a more generic option system
|
2015-10-30 16:34:41 +01:00 |
|
angt
|
c9dca9269f
|
Do not use writev() for now
|
2015-10-29 18:18:52 +01:00 |
|
angt
|
0957a0c341
|
Rewrite the ip size directly in the packet
|
2015-10-29 11:57:32 +01:00 |
|
angt
|
8a7fedcb7a
|
Stop reading if no more space...
|
2015-10-28 17:14:47 +01:00 |
|
angt
|
504df2e318
|
Make GCC happy
|
2015-10-28 16:27:55 +01:00 |
|
angt
|
cf1ccba57f
|
Wait after a failed connect
|
2015-10-28 08:17:49 +01:00 |
|
angt
|
b480a6eac3
|
Do not format buffer on restart
|
2015-10-27 20:11:11 +01:00 |
|
angt
|
e48333d955
|
Use writev to write in tun
|
2015-10-27 12:55:41 +01:00 |
|
angt
|
575796fc6f
|
Add get_ip_size() and cleanup
|
2015-10-26 15:59:02 +01:00 |
|
angt
|
b82f2fd0da
|
Fix poll
|
2015-10-26 10:45:09 +01:00 |
|
angt
|
2eece5ab15
|
Update Makefile
|
2015-10-25 15:58:02 +01:00 |
|
angt
|
c6d8ad288e
|
Update .gitignore
|
2015-10-25 13:14:58 +01:00 |
|
angt
|
29b0924db6
|
Do not force c99
|
2015-10-25 13:12:59 +01:00 |
|
angt
|
fa026aa36d
|
Code cleanup
|
2015-10-24 22:46:51 +02:00 |
|
angt
|
1e7db434e7
|
Update Makefile
|
2015-10-24 19:38:51 +02:00 |
|
angt
|
4b5c774593
|
Use common-static.h
|
2015-10-24 15:59:52 +02:00 |
|
angt
|
b3647c507a
|
Add common-static.h
|
2015-10-24 15:30:35 +02:00 |
|
angt
|
b01502a115
|
Set AI_PASSIVE only for listener
|
2015-10-24 12:12:09 +02:00 |
|
angt
|
7f7e2a7723
|
Code cleanup
|
2015-10-24 11:18:25 +02:00 |
|
angt
|
4f4b64bffd
|
Code cleanup
|
2015-10-24 11:04:11 +02:00 |
|
angt
|
582c9a9ee7
|
Use fcntl(O_NONBLOCK) instead of old FIONBIO and set tun.fd to be non-blocking
|
2015-10-24 11:01:37 +02:00 |
|
angt
|
6ba1ed89b8
|
Update LICENSE
|
2015-10-22 21:49:10 +02:00 |
|
angt
|
7bce8aad83
|
Do not use gnu %m
|
2015-10-22 17:28:10 +02:00 |
|
angt
|
822dd459d8
|
Merge pull request #1 from jedisct1/linuxisms
Ditch Linuxisms
|
2015-10-22 17:13:21 +02:00 |
|
Frank Denis
|
577f91e42b
|
Remove Linuxisms
|
2015-10-22 17:08:20 +02:00 |
|
angt
|
7fb0e3f97d
|
Code cleanup
|
2015-10-22 16:26:12 +02:00 |
|
angt
|
f8484777b3
|
Add congestion
|
2015-10-22 11:12:14 +02:00 |
|
angt
|
4d98a16579
|
Setup fd for perf and always reconnect
|
2015-10-22 10:47:04 +02:00 |
|
angt
|
692a1c3c55
|
Warn and quit if an option is unknown
|
2015-10-22 00:46:02 +02:00 |
|
angt
|
69a3414e76
|
Drop bad packets
|
2015-10-22 00:37:35 +02:00 |
|
angt
|
6ad9807f9d
|
First draft of a stupid and slow tunnel
|
2015-10-21 22:56:10 +02:00 |
|
angt
|
a16215e099
|
Set SO_REUSEADDR on listener
|
2015-10-21 18:14:53 +02:00 |
|
angt
|
ae7f1aa941
|
Try to be a nice guy, even if it is a PoC
|
2015-10-21 12:32:53 +02:00 |
|
angt
|
559a9ce8bd
|
Add a minimal option and gt_open_sock
|
2015-10-20 23:55:45 +02:00 |
|
angt
|
a2a9973f5f
|
Add str_cmp() and use restrict
|
2015-10-20 23:49:00 +02:00 |
|
angt
|
796d804f33
|
Code cleanup
|
2015-10-20 17:47:18 +02:00 |
|
angt
|
7f2a8ace59
|
Block on poll
|
2015-10-20 17:40:36 +02:00 |
|
angt
|
8ad524a0ef
|
Add a buffer_t and fill it from tun
|
2015-10-20 17:37:43 +02:00 |
|
angt
|
64316dd724
|
Ignore SIGPIPE too
|
2015-10-20 17:00:59 +02:00 |
|
angt
|
aba7067ea9
|
Add .gitignore
|
2015-10-20 16:56:27 +02:00 |
|
angt
|
afa530b766
|
Initial code commit
|
2015-10-20 16:55:54 +02:00 |
|
angt
|
c7bb703777
|
Initial commit
|
2015-10-20 16:51:54 +02:00 |
|