Commit Graph

76 Commits

Author SHA1 Message Date
8c923f4a1b build.zig 2024-10-10 18:43:25 -04:00
Frank Denis
b54bab7e5b Update 2019-07-22 16:08:23 +02:00
Frank Denis
91f50be917 Check crypto_scalarmult() return value 2015-11-17 01:28:16 +01:00
Frank Denis
bb747e6e36 Make svr a global in order to be able to check if the process is a server
Mask or set the high bit of the nonce according to this value.
Properly initialize the nonce in little-endian mode
2015-11-15 18:52:00 +01:00
Frank Denis
d3b16d7829 Use writev() instead of writing before an allocated region 2015-11-04 02:18:19 +01:00
Frank Denis
8b8772f4f1 WHOEVER WROTE THAT IS A DANGEROUS PSYCHOPATH 2015-11-04 02:05:12 +01:00
Frank Denis
158c766368 Set initial previous peer nonce to zero 2015-11-04 01:10:27 +01:00
Frank Denis
1e1e0d7c13 1.0.6 2015-11-03 18:23:41 +01:00
Frank Denis
366b9ff47f Use sodium_compare() 2015-10-26 20:24:59 +01:00
Frank Denis
943fa76bc3 1.0.4 is out 2015-10-18 16:47:53 +02:00
Frank Denis
6165edf789 Try to guess what the intent was 2015-10-17 17:30:42 +02:00
Frank Denis
f4b95001d7 Regen the autoconf file 2015-10-17 17:25:38 +02:00
Frank Denis
907b13dbdc Another sigaction value worth initializing 2015-10-17 17:21:51 +02:00
Frank Denis
ed4127bf13 Zero sigaction value before using it 2015-10-17 17:19:25 +02:00
Frank Denis
e58f6b0abb Replace a couple sprintf() with snprintf() 2015-10-17 17:14:19 +02:00
Frank Denis
11dab6288d Nits 2015-10-17 17:02:15 +02:00
Frank Denis
df8bacead5 Implement a key exchange mechanism 2015-10-17 16:47:58 +02:00
Frank Denis
1159f54fe4 Remove meaningless debug message 2015-10-16 22:53:47 +02:00
Frank Denis
0086ece566 aes256gcm was merged to the main libsodium branch 2015-10-12 10:05:42 +02:00
Frank Denis
c7a7775aaa Use high-level aes256gcm functions instead of the specific aesni implementation 2015-10-11 14:31:41 +02:00
Frank Denis
6dd517d77c crypto_aead_aes256gcm_aesni_state doesn't exist any more
Use the non-implementation specific type crypto_aead_aes256gcm_state
2015-10-11 13:12:19 +02:00
Frank Denis
742a5d788d Explicit casts 2015-10-09 18:19:42 +02:00
Vincent Malguy
454e3ff720 fix use of an unallocated variable 2015-10-09 18:17:35 +02:00
Vincent Malguy
502ba4ac9b if the password supplied is 32 bit long, we should use it AS if 2015-10-09 18:00:06 +02:00
Frank Denis
17058b59af Untab 2015-10-09 13:21:10 +02:00
Frank Denis
80a75040a2 Move the key out of CryptoCtx 2015-10-09 13:20:27 +02:00
Frank Denis
64c9a90fae Missing return in derive_key() + explicit type conversions 2015-10-09 13:18:53 +02:00
Frank Denis
9335457ca4 Describe changes 2015-10-09 10:11:57 +02:00
Frank Denis
6d009fe509 Remove README.OpenSSL 2015-10-09 10:01:54 +02:00
Frank Denis
ed49289d7b Port to libsodium, switch to AES256-GCM, revamp authentication 2015-10-09 02:24:01 +02:00
Frank Denis
9aac84a0ce Remove legacy_encrypt form the Makefile template 2015-10-08 13:08:28 +02:00
Frank Denis
b04cd464db Remove constructions using the ECB mode 2015-10-08 12:54:43 +02:00
Frank Denis
116ee6234f Remove utterly broken and already deprecated legacy VTUN encryption 2015-10-08 12:38:13 +02:00
Frank Denis
4270256e1d Use slightly safer compiler flags 2015-10-08 01:27:09 +02:00
Frank Denis
b0aeb4f5eb Un-inline clear_nat_hack_flags() 2015-10-08 00:47:30 +02:00
Frank Denis
0416b858aa The last release of Mac OS was 13 years ago.
OSX doesn't have sys/md5.h any more.
2015-10-08 00:45:52 +02:00
Frank Denis
10328691e5 Import vtun.drivers, add an autogen.sh script to create autoconf files 2015-10-08 00:43:56 +02:00
mtbishop
59e5f82dc7 Buy in rfe3561826/bug32/pbz5668 code to add an %h macro to up/downs 2013-07-07 20:36:33 +00:00
mtbishop
cb0f55381a pbz5669 - add a -q hint to the client invocation to handle evolution-worthy quiet option 2013-07-07 20:31:22 +00:00
mtbishop
f74248b540 bug53 - attribute fix properly to AHeisner 2013-07-07 20:24:07 +00:00
mtbishop
88f8de8214 Buy in changes to fix bug53 - race condition in socket - patch from alfred heisner 2013-07-07 20:21:20 +00:00
mtbishop
f3c3e13798 Merge changes from Andrey Mazo:
Clean up Configure.in for autoheader
        Static declarations where sensible
        Check/handle no fork() for no-MMU client systems (eg blackfin)
2013-07-07 19:54:20 +00:00
mtbishop
34ee687c65 Dropped a note into the SPEC to remind for arbitrary variable changes 2013-07-07 18:03:49 +00:00
mtbishop
a46cecd544 pre-release pokes 2012-07-09 05:01:05 +00:00
mtbishop
2fc9258ef1 buying back from rfe1698248 2012-07-09 04:55:38 +00:00
mtbishop
674f0ca17c buy back changes from rfe2711212 - recompile bug 2012-07-09 01:11:08 +00:00
mtbishop
f581627ebc buy back changes from bug3541341-5591 for better compile 2012-07-09 01:01:08 +00:00
mtbishop
6a3866dab4 buy back changes to vtun.spec from rfe3541312-4057 2012-07-08 10:30:27 +00:00
mtbishop
9b1834fd2c 2951972 - make vtund quiet about connections (Sean MacLennan) 2012-07-08 05:32:57 +00:00
mtbishop
408c943518 buy back from patch 2972369 (debian 339364) 2012-07-07 07:14:17 +00:00