Commit Graph

291 Commits

Author SHA1 Message Date
Dennis Schwerdel 7cfc77a2d8 Some fixes 2020-10-25 00:24:11 +02:00
Dennis Schwerdel aab4f000b5 Improve logging 2020-10-24 22:59:14 +02:00
Dennis Schwerdel 7e8b042055 treat vlan id 0x000 as untagged 2020-10-21 23:42:03 +02:00
Dennis Schwerdel 2656820f37 Ignore first 4 bits of VLAN header 2020-10-21 23:32:59 +02:00
Dennis Schwerdel 0677c7682e More tests 2020-10-21 23:09:49 +02:00
Dennis Schwerdel 43382bbe33 More tests 2020-10-20 00:19:38 +02:00
Dennis Schwerdel 35c2b3479f Finish crypto tests 2020-10-19 23:31:02 +02:00
Dennis Schwerdel 4f2b09d92c More tests 2020-10-19 22:38:32 +02:00
Dennis Schwerdel 7b0718399c More tests 2020-10-11 22:47:55 +02:00
Dennis Schwerdel 5bb0187726 More tests + clippy changes 2020-10-11 21:45:28 +02:00
Dennis Schwerdel 36f0b94514 Some improvements 2020-10-06 22:52:14 +02:00
Dennis Schwerdel 59ebac3e9d Remove broken benches 2020-10-06 22:45:29 +02:00
Dennis Schwerdel af7a7f6a29 Send salted hash of node_id 2020-09-28 12:50:08 +02:00
Dennis Schwerdel 941ac62bac Fix tests 2020-09-25 22:11:28 +02:00
Dennis Schwerdel 3ef8753085 Manpage 2020-09-25 00:45:58 +02:00
Dennis Schwerdel 923269d057 Major refactoring, version 2 2020-09-24 19:48:13 +02:00
Dennis Schwerdel 2fcf2c1e01 Fixed problem with TUN on dynamic host addresses 2020-07-20 23:56:48 +02:00
Dennis Schwerdel 86223fb4f9 Potential fix for port-forwarding 2020-07-20 22:58:55 +02:00
Dennis Schwerdel 12c899b04d Remove C code 2020-07-14 00:03:08 +02:00
Dennis Schwerdel 0cead0fd08 Allow to use minus instead of underscore 2020-06-30 17:38:33 +02:00
Dennis Schwerdel 2f5ce0b194 Add default port for peers 2020-06-24 15:28:16 +02:00
Dennis Schwerdel 57c993e8d5 Fix keepalive for small timeouts 2020-06-17 22:53:14 +02:00
Dennis Schwerdel ef81d2901a Typos in comments 2020-06-17 16:21:21 +02:00
Dennis Schwerdel dfad73065c Added support for AES128 2020-06-09 09:03:52 +02:00
Dennis Schwerdel cbc135ce12 Fix startup race condition 2020-06-03 15:49:06 +02:00
Dennis Schwerdel cac5af890b Fixed statsd support 2020-05-30 16:12:54 +02:00
Dennis Schwerdel 1f94d0deff Statsd support 2020-05-29 11:51:04 +02:00
Dennis Schwerdel ed0fdbc366 Change stats output format ot yaml 2020-05-29 10:04:14 +02:00
Dennis Schwerdel 02ccea326e Structopt instead of docopt 2020-05-29 08:37:29 +02:00
Dennis Schwerdel 805c4055a0 Added missing copyright headers 2020-05-28 09:07:34 +02:00
Dennis Schwerdel 2441cbc177 Update corpyrighht years 2020-05-28 09:03:48 +02:00
Dennis Schwerdel d8d18a2aae Fix warings 2020-05-28 08:57:49 +02:00
Dennis Schwerdel 7b79b9b26f For mapped ipv4 add plain ip4 to known addresses 2020-05-28 08:57:25 +02:00
Dennis Schwerdel a73b33bf44 Updated dependencies, small fixes 2020-04-17 22:35:24 +02:00
Dennis Schwerdel fd45da489a Building for i686 2020-02-20 22:52:40 +01:00
Dennis Schwerdel 5c2977e612 Warning for missing router is now info 2020-02-20 22:51:22 +01:00
Dennis Schwerdel 390f217a23 Add listen option, switched to dual-stack 2020-02-20 16:25:35 +01:00
Dennis Schwerdel 44ad73701b Fixed problem with growing stats file 2019-12-29 13:03:48 +01:00
Dennis Schwerdel eb620781a8 Added feature to disable special NAT support 2019-12-22 23:21:47 +01:00
Dennis Schwerdel 54a2240f34 Reduced timeout to 5min to work better with NAT 2019-12-22 23:03:45 +01:00
Dennis Schwerdel 10ebd08dad Improved port forwarding on quirky routers 2019-12-22 22:51:40 +01:00
Dennis Schwerdel 7edb649c32 Release 1.2.0 2019-12-20 14:50:24 +01:00
Dennis Schwerdel 246cd3bc2a Some code cleanup 2019-12-20 13:54:58 +01:00
Dennis Schwerdel 00858fe140 Fixed benches 2019-12-20 13:41:55 +01:00
Dennis Schwerdel f6a72e4174 Fixed duplicate port bindings 2019-12-19 16:13:03 +01:00
Dennis Schwerdel 714d8c3220 Update deps 2019-12-19 16:11:48 +01:00
Dennis Schwerdel f7ed961317 Deleting beacon file at shutdown 2019-12-19 16:09:52 +01:00
Dennis Schwerdel 0d29293309 Deleting files before overwriting them 2019-12-19 16:08:51 +01:00
Dennis Schwerdel bc994a959d Fixed tests 2019-12-06 10:23:50 +01:00
Dennis Schwerdel 55358b3561 Set keepalive to 120 secs when NAT is detected 2019-12-06 10:20:24 +01:00
Dennis Schwerdel cd09311059 Fixed problems on stats file when dropping perms 2019-12-06 09:55:24 +01:00
Dennis Schwerdel 04e2892c8e Also drop privileges in foreground mode 2019-12-06 08:54:27 +01:00
Dennis Schwerdel 70109eeb51 Removed one unneeded unsafe block 2019-12-05 18:29:12 +01:00
Dennis Schwerdel 50058e60d0 Fixed wrong base62 encoding 2019-12-04 16:33:42 +01:00
Dennis Schwerdel 63dc1e3ce1 Tests for NAT 2019-12-04 13:09:20 +01:00
Dennis Schwerdel 9cd7e53880 Reducing published peer timeout to 5 min on NAT 2019-12-04 10:34:08 +01:00
Dennis Schwerdel ee8542307f Exchange peer_timeout and adapt keepalive 2019-12-04 10:04:42 +01:00
Dennis Schwerdel 509ab1504e Updated dependencies, rustfmt 2019-12-04 09:32:35 +01:00
Dennis Schwerdel 553e09611e More tests 2019-03-03 14:56:59 +01:00
Dennis Schwerdel 82b7e5f18b Fixed benches 2019-03-02 12:23:12 +01:00
Dennis Schwerdel 3cc40ff8d1 Updates 2019-03-02 00:50:55 +01:00
Dennis Schwerdel f2e6a1ef7b Clippy 2019-03-01 23:25:42 +01:00
Dennis Schwerdel 706d205ff1 Edition 2018 2019-03-01 23:12:19 +01:00
Dennis Schwerdel c5ba4b197b Improved tests 2019-03-01 16:36:18 +01:00
Dennis Schwerdel 5be254db4a More tests 2019-02-26 18:36:54 +01:00
Dennis Schwerdel c750947ab0 First cloud test 2019-02-26 01:21:15 +01:00
Dennis Schwerdel 452a022bc3 Mocking time 2019-02-25 14:01:25 +01:00
Dennis Schwerdel 03c295d0a9 Added comment 2019-02-22 22:06:01 +01:00
Dennis Schwerdel e7efd290ad Changed beacon encryption 2019-02-22 21:23:07 +01:00
Dennis Schwerdel 9614c9bd97 Preparations for tests 2019-02-22 13:21:24 +01:00
Dennis Schwerdel be27f79b8c Extended sleep in tests 2019-02-21 17:50:44 +01:00
Dennis Schwerdel ac6e7f1ffd Beacon tests 2019-02-21 16:57:25 +01:00
Dennis Schwerdel 537cb55c41 Implemented beacon support 2019-02-20 14:26:35 +01:00
Dennis Schwerdel 62186152e4 Full beacon encode/decode 2019-02-20 14:26:35 +01:00
Dennis Schwerdel 0dd694c708 Removed libsodium specific parts 2019-02-20 14:26:29 +01:00
Dennis Schwerdel c43b1cc37d Initial beacon test 2019-02-20 14:25:53 +01:00
Dennis Schwerdel 4959ca48a1 Fixed bug in new hex secret key functionality 2019-02-20 14:25:53 +01:00
Dennis Schwerdel 3cf947e62c Updates 2019-02-20 14:25:53 +01:00
Dennis Schwerdel 54e0119451 Changes 2019-02-20 14:25:53 +01:00
Dennis Schwerdel 71a6f70f97 Updated deps 2019-02-20 14:25:53 +01:00
Dennis Schwerdel 215b95f771 Option to use other tun device file 2019-02-20 14:25:53 +01:00
Dennis Schwerdel ba641be637 Some minor changes 2019-02-20 14:25:53 +01:00
Dennis Schwerdel fecffcce95 Many changes for 0.9.0 2019-02-20 14:25:53 +01:00
Dennis Schwerdel fe25ecec1d Added statistics file 2019-02-20 14:25:51 +01:00
Dennis Schwerdel 6a3208949e Removed libsodium completely 2019-02-20 14:25:46 +01:00
Dennis Schwerdel ca909d1320 Ring instead of libsodium 2019-02-20 14:25:41 +01:00
Dennis Schwerdel 5d479d6d54 Fixes 2019-02-20 14:25:34 +01:00
Dennis Schwerdel 262bf4e6eb New version 2019-01-03 21:14:00 +01:00
Dennis Schwerdel 1f32f0a6a7 Updated dependencies 2019-01-02 00:57:54 +01:00
Dennis Schwerdel 6866c29a71 Fixed wrong address 2019-01-01 22:55:15 +01:00
Dennis Schwerdel 4c9ec65254 Fixed wrong address 2019-01-01 22:50:04 +01:00
Dennis Schwerdel 5718c6391f Updated copyright headers 2017-07-22 16:49:53 +02:00
Dennis Schwerdel 00b4641056 Fixed tests and serialization constants 2017-07-22 16:42:32 +02:00
Dennis Schwerdel 0e13277911 Updated, serde instead of rustc_serialize 2017-07-22 16:34:20 +02:00
Dennis Schwerdel 68af49bf29 Removed a layer of indirection from inner loop 2017-05-04 08:22:24 +02:00
Dennis Schwerdel 87097cc59f Fixed two problems in routing table (re #18) 2017-05-04 07:52:34 +02:00
Dennis Schwerdel 2d11454316 Making clippy happy 2017-05-04 07:52:34 +02:00
Dennis Schwerdel 21837abf68 Updated dependencies and libsodium 2017-05-04 07:52:33 +02:00
Dennis Schwerdel b248e50672 Limit peer lists to 20 peers 2017-01-11 14:31:28 +01:00
Dennis Schwerdel dd804fe6df Even more tests 2016-11-28 12:14:56 +01:00