b6ee5f05 |
2019-07-25 18:08:06 |
Make usage() as noreturn, move exit flag to vpn.h |
Frank Denis |
9fdcee3c |
2019-07-25 11:23:50 |
Non-linux server support is not fully automated yet, but it's usable |
Frank Denis |
55c91b17 |
2019-07-25 11:05:31 |
Print the required rule for OpenBSD |
Frank Denis |
ab27fb0e |
2019-07-25 10:20:35 |
Assign IPs on an OpenBSD or MacOS server |
Frank Denis |
0ee2ec08 |
2019-07-25 10:06:15 |
Automatically find the interface on OpenBSD |
Frank Denis |
666b1d89 |
2019-07-24 19:31:47 |
fcpu --> mfpu in README for pi{3,4} (#26) |
Wilkins |
cbebaf53 |
2019-07-24 16:53:34 |
Add version number |
Frank Denis |
9a258b92 |
2019-07-24 16:38:28 |
Update documentation |
Frank Denis |
8e519b09 |
2019-07-24 16:35:28 |
Support host names as an alternative to server addresses |
Frank Denis |
709b5e5f |
2019-07-24 16:33:38 |
Close stderr |
Frank Denis |
3bc122a5 |
2019-07-24 16:06:37 |
remove indirections |
Frank Denis |
53315517 |
2019-07-24 12:55:49 |
up |
Frank Denis |
c0fb042e |
2019-07-24 12:31:32 |
Enable NEON on aarch64 (useful for Android) |
Frank Denis |
e10f86cd |
2019-07-24 12:27:20 |
Don't bother about errors in unset rules |
Frank Denis |
edde7b7c |
2019-07-24 11:46:46 |
Remove dead close, close file descriptor on error path instead |
Frank Denis |
083aa069 |
2019-07-24 10:39:02 |
Slightly better error messages |
Frank Denis |
85717f67 |
2019-07-24 10:34:53 |
Add a short pause on connection replacement |
Frank Denis |
958de666 |
2019-07-24 08:34:15 |
Log client IP |
Frank Denis |
0d641344 |
2019-07-24 08:11:53 |
Timeout in seconds |
Frank Denis |
501fc95b |
2019-07-24 08:07:14 |
Use TCP_DEFER_ACCEPT |
Frank Denis |
446dedf6 |
2019-07-24 07:15:23 |
Reduce timeout, crank reconnection attempts up |
Frank Denis |
ff35288a |
2019-07-23 21:20:24 |
Nits |
Frank Denis |
6bae6592 |
2019-07-23 21:18:48 |
Nits |
Frank Denis |
080f3c4e |
2019-07-23 21:16:36 |
Don't set the congestion bit on partial writes |
Frank Denis |
d7e60e0f |
2019-07-23 21:08:32 |
Print "Done." after we're done |
Frank Denis |
95b23266 |
2019-07-23 20:57:30 |
On congestion, block on partial writes, and write the remaining data |
Frank Denis |
42f005b8 |
2019-07-23 20:44:21 |
Back to blocking server-side |
Frank Denis |
7490c0a2 |
2019-07-23 20:41:22 |
Reset firewall rules on start |
Frank Denis |
f456ed83 |
2019-07-23 20:24:29 |
No timeout needed to load the key file |
Frank Denis |
3d2ea79a |
2019-07-23 16:02:39 |
Link Evaggelos service files |
Frank Denis |
549c91af |
2019-07-23 14:20:45 |
It's just called "tun" |
Frank Denis |
ce418d92 |
2019-07-23 14:17:17 |
Better error message |
Frank Denis |
06efb64b |
2019-07-23 09:30:03 |
Linux client: add /96 IPv6 mask |
Frank Denis |
9c11cd7d |
2019-07-23 09:25:32 |
Add IPv6 prefix length |
Frank Denis |
b0063265 |
2019-07-23 07:36:27 |
Add IPv6 address on the server end |
Frank Denis |
58250b16 |
2019-07-23 05:49:26 |
Document how to enable the NEON-optimized code |
Frank Denis |
27414d6b |
2019-07-23 05:37:28 |
Add configurable CFLAGS and OPTFLAGS |
Frank Denis |
d1adacb0 |
2019-07-23 02:39:06 |
Add optimized NEON implementation (requires -mfpu=neon) |
Frank Denis |
00011b98 |
2019-07-23 02:38:31 |
Add VTUN-libsodium |
Frank Denis |
0fb863db |
2019-07-22 20:50:34 |
Merge branch 'master' of github.com:jedisct1/dsvpn |
Frank Denis |
4c967387 |
2019-07-22 20:50:29 |
CRLF |
Frank Denis |
80cedb52 |
2019-07-22 20:50:20 |
fix compilation problem (#17) |
jandelgado |
9cd88d97 |
2019-07-22 15:33:14 |
up |
Frank Denis |
b6359432 |
2019-07-22 14:51:53 |
pledge(2) on OpenBSD |
Frank Denis |
7c248c10 |
2019-07-22 14:51:50 |
up |
Frank Denis |
a0b148a3 |
2019-07-22 11:52:55 |
Include <signal.h> |
Frank Denis |
f04841fa |
2019-07-22 03:45:58 |
tun_buf is local |
Frank Denis |
2e17b0b9 |
2019-07-22 03:06:37 |
Avoid fps |
Frank Denis |
aee3c616 |
2019-07-22 02:46:54 |
Turn BUFFERBLOAT_CONTROL on by default |
Frank Denis |
ceb637cd |
2019-07-22 02:46:23 |
Set the congestion flag on any error or interruption |
Frank Denis |
be454401 |
2019-07-22 02:46:01 |
Move tunables up |
Frank Denis |
5f64768c |
2019-07-22 02:33:47 |
Tweak for gcc fp |
Frank Denis |
08ce3e41 |
2019-07-22 02:22:29 |
Improve performance |
Frank Denis |
59922c06 |
2019-07-22 01:31:25 |
bufs |
Frank Denis |
60de29f5 |
2019-07-21 15:47:05 |
More explicit casts |
Frank Denis |
484b80ad |
2019-07-21 15:43:35 |
Cast |
Frank Denis |
212369b3 |
2019-07-21 15:38:47 |
Use an alternative memcpy() for variable-sized copies |
Frank Denis |
9a9691bf |
2019-07-21 14:46:16 |
Add a short sleep after stream corruption |
Frank Denis |
06c85f16 |
2019-07-21 14:43:46 |
Pause the client after a failed key exchange |
Frank Denis |
d5d39916 |
2019-07-21 14:43:05 |
Update charm - Requires both the client and the server to be updated |
Frank Denis |
a6e4d3eb |
2019-07-21 13:45:20 |
Still recommend IPs over host names |
Frank Denis |
2b2902aa |
2019-07-21 13:23:26 |
Add a link to Evaggelos blog |
Frank Denis |
782c50f4 |
2019-07-21 13:08:05 |
Smaller on Linux |
Frank Denis |
e7e13114 |
2019-07-21 02:16:58 |
Rename dsvpn.c to vpn.c |
Frank Denis |
0f7a9d0a |
2019-07-20 15:16:05 |
and |
Frank Denis |
d5c764a3 |
2019-07-20 15:15:29 |
Never tried FreeBSD |
Frank Denis |
4af7ea3c |
2019-07-20 14:16:02 |
up |
Frank Denis |
5d140b7b |
2019-07-20 09:16:57 |
Somehow, the size grew since the first version |
Frank Denis |
7f4c1d2a |
2019-07-20 08:58:14 |
unbreak |
Frank Denis |
ac36f09e |
2019-07-20 08:52:32 |
Move os-specific code into a dedicated file |
Frank Denis |
86f5a33a |
2019-07-20 08:27:23 |
Sort .gitignore |
Frank Denis |
77a2d500 |
2019-07-20 08:24:22 |
Move Makefile to the root directory |
Frank Denis |
ccb769b2 |
2019-07-20 02:07:59 |
Support tag length up to 128 bit |
Frank Denis |
028eb291 |
2019-07-20 02:03:26 |
Faster reconnects |
Frank Denis |
f99501c1 |
2019-07-20 01:58:22 |
(void) |
Frank Denis |
73f83e66 |
2019-07-20 00:09:11 |
clang-format |
Frank Denis |
2c5e9c5a |
2019-07-19 23:59:40 |
DNS |
Frank Denis |
ecec3fe2 |
2019-07-19 23:56:02 |
Fix Linux IPv6 routes |
Frank Denis |
cebec3dc |
2019-07-19 23:41:56 |
Track gateway address changes |
Frank Denis |
2c5ae098 |
2019-07-19 23:16:49 |
A better way to support MacOS Catalina |
Frank Denis |
a0d2fed3 |
2019-07-19 23:13:41 |
Compatibility with MacOS Catalina |
Frank Denis |
a53c9f96 |
2019-07-19 21:01:38 |
Revert "Turn bufferbloat control on by default" |
Frank Denis |
6c436026 |
2019-07-19 20:36:13 |
up |
Frank Denis |
b949a041 |
2019-07-19 20:35:48 |
up |
Frank Denis |
f75a831e |
2019-07-19 20:28:39 |
Turn bufferbloat control on by default |
Frank Denis |
c781b5a5 |
2019-07-19 20:23:36 |
Use a shallow buffer for the outer socket using TCP_NOTSENT_LOWAT |
Frank Denis |
8ffd8e13 |
2019-07-19 19:30:35 |
up |
Frank Denis |
44224675 |
2019-07-19 19:05:31 |
Better fix |
Frank Denis |
8d5ffb62 |
2019-07-19 19:04:49 |
Revert "Default server IP" |
Frank Denis |
d11fb6a8 |
2019-07-19 18:59:01 |
Default server IP |
Frank Denis |
4bb2b642 |
2019-07-19 18:33:21 |
More logging |
Frank Denis |
c8860565 |
2019-07-19 18:22:03 |
Print the listening address and port |
Frank Denis |
1f1e0310 |
2019-07-19 18:01:43 |
up |
Frank Denis |
27098bf4 |
2019-07-19 18:01:06 |
up |
Frank Denis |
97597db3 |
2019-07-19 17:59:13 |
up |
Frank Denis |
7f659ef2 |
2019-07-19 17:57:13 |
up |
Frank Denis |
f36ef301 |
2019-07-19 17:44:01 |
Kb->KB |
Frank Denis |
d5c81eef |
2019-07-19 17:38:01 |
up |
Frank Denis |
6f18e4dd |
2019-07-19 17:37:16 |
up |
Frank Denis |
03692434 |
2019-07-19 17:36:01 |
nits |
Frank Denis |
6b9d16b2 |
2019-07-19 17:34:58 |
nits |
Frank Denis |
a467a1e1 |
2019-07-19 17:34:04 |
Move up |
Frank Denis |
4b336d51 |
2019-07-19 17:32:56 |
Clarify |
Frank Denis |
181c926a |
2019-07-19 17:31:42 |
Put examples first |
Frank Denis |
602320e3 |
2019-07-19 17:29:10 |
The command could be even shorter |
Frank Denis |
2d49a3e5 |
2019-07-19 17:27:59 |
Make pretty much everything optional |
Frank Denis |
66634c3b |
2019-07-19 17:22:15 |
Remove debugging leftover |
Frank Denis |
af790b3e |
2019-07-19 17:20:36 |
On a client, the server IP cannot be set to auto |
Frank Denis |
85dd9e84 |
2019-07-19 17:16:26 |
Breaking changes to make the configuration even easier |
Frank Denis |
93fe2952 |
2019-07-19 13:03:44 |
CRLF |
Frank Denis |
a1445633 |
2019-07-19 09:41:39 |
Nits |
Frank Denis |
af6f7779 |
2019-07-19 09:30:38 |
Rename <external host> and <external port> for clarity |
Frank Denis |
244bf74d |
2019-07-19 09:25:04 |
The external interface can be left to "auto" on a client |
Frank Denis |
e3f7e943 |
2019-07-19 09:18:26 |
up |
Frank Denis |
9e9c239d |
2019-07-19 09:16:53 |
Improve usage clarity |
Frank Denis |
aa777aca |
2019-07-19 08:52:38 |
On clients, set the firewall rules after the first connection |
Frank Denis |
f085647b |
2019-07-19 03:17:05 |
up |
Frank Denis |
93c186cb |
2019-07-19 03:09:10 |
up |
Frank Denis |
23613d1a |
2019-07-19 02:49:10 |
Fix unset firwall rules for Linux |
Frank Denis |
5709e21a |
2019-07-19 02:39:25 |
safe_{read,write}: return -1 on timeout/errors |
Frank Denis |
655d8adf |
2019-07-19 02:35:44 |
Break on empty reads |
Frank Denis |
ce5aa7ba |
2019-07-19 02:31:33 |
If there is a timeout, report it as a timeout |
Frank Denis |
09087eea |
2019-07-19 02:28:56 |
IPv6 variables where lost in a pull request |
Frank Denis |
08d1c8b0 |
2019-07-19 02:04:36 |
Restore default signals |
Frank Denis |
1c998e77 |
2019-07-19 02:02:29 |
Unbreak linux |
Frank Denis |
cf5872c3 |
2019-07-19 02:01:13 |
Remove rules we don't need if the tun interface vanishes |
Frank Denis |
b8b47db8 |
2019-07-19 01:54:30 |
Simplify things |
Frank Denis |
aebf88be |
2019-07-19 01:30:52 |
A few improvements to the exit handler |
Frank Denis |
c7c42f97 |
2019-07-19 01:05:47 |
Indent |
Frank Denis |
2d0ba57b |
2019-07-19 01:05:16 |
Firewall cleanup (#5) |
Stanislas |
08436ab1 |
2019-07-18 22:30:08 |
Always include netinet/in.h |
Frank Denis |
2f97f689 |
2019-07-18 22:29:35 |
Merge pull request #7 from bsdlme/master |
Frank Denis |
fd8c7fcd |
2019-07-18 21:45:34 |
Make dsvpn compile on FreeBSD and add client support. |
Lars Engels |
333b16be |
2019-07-18 19:47:29 |
Rename |
Frank Denis |
d50503aa |
2019-07-18 19:46:46 |
up |
Frank Denis |
23968676 |
2019-07-18 19:46:16 |
Don't drop packets by default |
Frank Denis |
e448f2ee |
2019-07-18 19:14:42 |
Re-add safe_read_partial() for Linux |
Frank Denis |
be75523c |
2019-07-18 19:12:25 |
Some congestion control |
Frank Denis |
2f7ecb07 |
2019-07-18 18:47:56 |
timeouts |
Frank Denis |
c6f1dc46 |
2019-07-18 18:43:07 |
Make safe_read() and safe_write() block |
Frank Denis |
27c995fa |
2019-07-18 16:44:57 |
up |
Frank Denis |
65cab729 |
2019-07-18 16:38:20 |
Rename to be more explicit |
Frank Denis |
54ff853b |
2019-07-18 16:36:16 |
Use bbr on Linux clients |
Frank Denis |
470df582 |
2019-07-18 15:38:59 |
Reject connections if a session is already active |
Frank Denis |
c1fca06d |
2019-07-18 15:14:00 |
Use BBR for congestion control on the client socket |
Frank Denis |
b43ab506 |
2019-07-18 15:08:56 |
Merge branch 'master' of github.com:jedisct1/dsvpn |
Frank Denis |
6df60e50 |
2019-07-18 15:08:45 |
We don't need the environment any more |
Frank Denis |
3c249265 |
2019-07-18 14:05:36 |
Merge pull request #6 from angristan/readme-order |
Frank Denis |
c825ec19 |
2019-07-18 14:00:27 |
Nits |
Frank Denis |
4646a8d3 |
2019-07-18 13:48:06 |
README: Update arguments order |
angristan |
a1a4176f |
2019-07-18 13:28:56 |
MacOS/BSD: add the blackhole flag to IPv6 routes |
Frank Denis |
d15dcb42 |
2019-07-18 12:58:28 |
OpenBSD client support is done |
Frank Denis |
40972728 |
2019-07-18 12:55:22 |
posix_spawn() doesn't seem to work as expected on OpenBSD |
Frank Denis |
c6d3e5dc |
2019-07-18 12:27:09 |
The routing commands might work on OpenBSD |
Frank Denis |
0d366a47 |
2019-07-18 12:24:03 |
Make it OpenBSD friendly |
Frank Denis |
e4309c4a |
2019-07-18 12:13:30 |
Don't use $^ |
Frank Denis |
b98b0c08 |
2019-07-18 12:00:10 |
Adding a prefixlen is the key |
Frank Denis |
adf365fc |
2019-07-18 11:52:18 |
Not the right way to add v6 IPs to a tunnel on MacOS |
Frank Denis |
67730f12 |
2019-07-18 11:02:17 |
count -> len |
Frank Denis |
eae0d80e |
2019-07-18 11:00:11 |
Linux requires _GNU_SOURCE |
Frank Denis |
b13127a6 |
2019-07-18 10:56:59 |
Move randombytes_buf() to charm |
Frank Denis |
e1aab70a |
2019-07-18 10:49:52 |
Move memzero to charm |
Frank Denis |
51c848c7 |
2019-07-18 10:45:06 |
Of course old Linux distros didn't had explicit_memzero() |
Frank Denis |
23d8e2e9 |
2019-07-18 10:41:15 |
Use the getrandom syscall on Linux |
Frank Denis |
7e27ec1d |
2019-07-18 10:35:56 |
Add Travis |
Frank Denis |
cb19d0fd |
2019-07-18 10:29:28 |
Add .clang-format |
Frank Denis |
217e84b5 |
2019-07-18 10:28:15 |
Add IPv6 addresses to the tunnel |
Frank Denis |
d2c53a32 |
2019-07-18 02:07:16 |
Doc |
Frank Denis |
bcdeaea4 |
2019-07-18 01:14:01 |
Set the blackhole flag on null IPv6 routes on MacOS |
Frank Denis |
986dc885 |
2019-07-18 01:00:45 |
Block IPv6 traffic on the client |
Frank Denis |
223ba120 |
2019-07-17 23:42:35 |
Merge pull request #4 from angristan/gitignore |
Frank Denis |
a9703c5c |
2019-07-17 23:27:25 |
gitignore: add src/*.key |
angristan |
d60984c7 |
2019-07-17 22:36:10 |
Add a Maybe section |
Frank Denis |
101913bb |
2019-07-17 22:33:05 |
Mention that the VPN server can be a host name on MacOS |
Frank Denis |
686ef1d9 |
2019-07-17 22:30:48 |
Update usage: the key file is the second argument |
Frank Denis |
c85d7bee |
2019-07-17 22:22:39 |
Doc |
Frank Denis |
776483b9 |
2019-07-17 22:22:35 |
CRLF |
Frank Denis |
d5c0fcd4 |
2019-07-17 22:06:31 |
pm -> ds |
Frank Denis |
7d762b44 |
2019-07-17 21:04:28 |
Use an IP address for the server |
Frank Denis |
f903c77e |
2019-07-17 20:57:00 |
Don't print the interface twice on Linux |
Frank Denis |
41b12643 |
2019-07-17 20:54:45 |
Nicer message |
Frank Denis |
ae3261e7 |
2019-07-17 20:53:40 |
Linux client rules have been added |
Frank Denis |
ac83da75 |
2019-07-17 20:49:57 |
Add some routing commands for a Linux client |
Frank Denis |
d876813e |
2019-07-17 20:41:02 |
Ignore exit status, set forwarding on Linux |
Frank Denis |
da8e516b |
2019-07-17 20:16:36 |
Doc |
Frank Denis |
b97a5b63 |
2019-07-17 19:30:32 |
up |
Frank Denis |
64a33be9 |
2019-07-17 19:29:18 |
+ logo |
Frank Denis |
55fd2f2e |
2019-07-17 19:24:16 |
Initial import |
Frank Denis |
d70b1f70 |
2019-07-17 19:19:19 |
Initial commit |
Frank Denis |