Commit Graph

112 Commits

Author SHA1 Message Date
Dennis Schwerdel 937c7b9f3b Logging timed out peers as INFO 2016-08-12 08:30:13 +02:00
Dennis Schwerdel 0243859d5a Support for port forwarding (closes #6) 2016-08-10 11:34:13 +02:00
Dennis Schwerdel de6709853f Removed duplicate error prints 2016-08-08 22:24:04 +02:00
Dennis Schwerdel b8fcd382d8 Fixed problem with interrupted poll after suspend to ram 2016-08-08 20:41:29 +02:00
Dennis Schwerdel 08048709b6 Configurable magic header instead of network id (re #5) 2016-08-08 09:34:13 +02:00
Dennis Schwerdel d37c61fd22 Code improvements 2016-07-06 22:35:42 +02:00
Dennis Schwerdel 0bcdfbe21e More tests, bugfixes and code cleanup 2016-07-06 21:14:09 +02:00
Dennis Schwerdel 3488d2d2a3 Some code cleanup 2016-07-06 18:48:58 +02:00
Dennis Schwerdel 4e047b6065 Fixed compile error 2016-07-03 11:59:14 +02:00
Dennis Schwerdel 885b288025 Fixed problem with reading from device 2016-07-03 09:47:58 +02:00
Dennis Schwerdel 91722f4270 Added support for strange BSD tun header 2016-07-02 14:05:24 +02:00
Dennis Schwerdel d52d7e3aaf Added pluggable polling system 2016-06-30 10:06:34 +02:00
Dennis Schwerdel 1cf1d0687b Removing learnt addresses of lost peers 2016-06-29 08:47:36 +02:00
Dennis Schwerdel a698ad95a3 Code cleanup 2016-06-29 08:43:39 +02:00
Dennis Schwerdel 72b8eccfa9 Some documentation and code cleanup 2016-06-27 15:43:30 +02:00
Dennis Schwerdel ab7c033383 Reconnecting to lost peers when receiving from them or sending to them 2016-06-26 19:21:26 +02:00
Dennis Schwerdel d7b930982d Sending peer list more often to prevent timeouts 2016-06-26 19:21:04 +02:00
Dennis Schwerdel e31e5c362d Building for ARMv6, silenced unknown lints 2016-06-21 11:37:26 +02:00
Dennis Schwerdel bebfc07ecd Cross-compiling for ARMv7, updated dependencies, silenced clippy warnings 2016-06-21 08:57:20 +02:00
Dennis Schwerdel f933db2dd9 Making clippy happy 2016-06-11 16:08:57 +02:00
Dennis Schwerdel 1c6f72539e Some fixes 2016-05-25 13:30:18 +02:00
Dennis Schwerdel 9fcb89bba8 Updated dependencies, removed unused imports 2016-05-25 09:56:41 +02:00
Dennis Schwerdel 2119bbcae5 Exponential backoff for reconnect timeouts 2016-05-24 10:32:32 +02:00
Dennis Schwerdel 5099003479 Repeatedly resolving connect addresses to allow DynDNS 2016-05-11 10:54:00 +02:00
Dennis Schwerdel 8d3ab9cc4a Handling multiple addresses per peer 2016-05-02 09:05:34 +02:00
Dennis Schwerdel 2f2f7b725f Listening on ipv4 and ipv6 2016-05-02 08:35:11 +02:00
Dennis Schwerdel fe7b0f0007 Removing learned addresses of lost peers 2016-03-29 13:54:28 +02:00
Dennis Schwerdel c11d5b4d6e Using FNV hash 2016-03-29 10:45:54 +02:00
Dennis Schwerdel 60de5d069f Extensive tests and benchmarks 2016-02-09 09:10:56 +01:00
Dennis Schwerdel c07d772b90 Passing listen address as &str 2016-02-09 09:10:40 +01:00
Dennis Schwerdel 102fedd7ea Added license and copyright information 2016-02-05 16:58:32 +01:00
Dennis Schwerdel 3cf6a28eb7 Fixed peer exchange for more than 65000 peers 2016-02-04 22:40:26 +01:00
Dennis Schwerdel c19e1fbf75 Using display format for addresses 2016-02-02 22:03:56 +01:00
Dennis Schwerdel 87cceca65f Fixed problem with nodes broadcasting to themselves 2016-02-02 11:01:23 +01:00
Dennis Schwerdel 112e531127 Fixed parsing and printed length 2015-12-22 22:47:41 +01:00
Dennis Schwerdel 8930e21663 No longer encrypting multiple times 2015-12-22 22:45:52 +01:00
Dennis Schwerdel cb00c2f30a Supporting hostnames as peers 2015-12-22 22:44:25 +01:00
Dennis Schwerdel 8a5b2cc5ee Removed last payload memcopy 2015-12-13 22:03:06 +01:00
Dennis Schwerdel 80119c4c5a Small fixes 2015-12-04 11:25:14 +01:00
Dennis Schwerdel 28f7c794e1 No longer connecting to self, flush on write 2015-12-03 09:38:14 +01:00
Dennis Schwerdel 6be85ea1cb Ready to release 0.3 2015-12-02 14:16:13 +01:00
Dennis Schwerdel c2f627bc07 Checking AES support 2015-11-30 23:04:24 +01:00
Dennis Schwerdel 46011a03c6 Lots of changes and release 0.2 2015-11-26 22:16:51 +01:00
Dennis Schwerdel 748f9363a6 Fixed problem with init messages 2015-11-26 10:52:58 +01:00
Dennis Schwerdel ecb57b24de More improvements 2015-11-25 21:55:30 +01:00
Dennis Schwerdel 946e384660 Some benchmarks and low-hanging speed improvements 2015-11-25 21:05:11 +01:00
Dennis Schwerdel b4cc4d402a Sending close message at the end 2015-11-25 14:31:05 +01:00
Dennis Schwerdel 12b5b17c3b Pretty error messages instead of panics 2015-11-25 12:29:12 +01:00
Dennis Schwerdel 553526299c Changed encryption a little 2015-11-24 20:55:14 +01:00
Dennis Schwerdel 72b5d9c3fd Removed unused trait 2015-11-24 12:12:15 +01:00
Dennis Schwerdel 29f6e4d6b1 Ifup & ifdown scripts 2015-11-23 19:06:25 +01:00
Dennis Schwerdel 46728ce362 Crypto feature 2015-11-23 15:40:04 +01:00
Dennis Schwerdel 90ef94224a Changes, fixes, renaming, specs, ... 2015-11-23 11:55:37 +01:00
Dennis Schwerdel 30fab51be6 More generic 2015-11-23 01:40:47 +01:00
Dennis Schwerdel a559a10155 types in extra module 2015-11-23 01:04:30 +01:00
Dennis Schwerdel 28a79f2d47 Rework 2015-11-23 00:49:58 +01:00
Dennis Schwerdel 83f53c16d7 Behavior 2015-11-22 23:34:54 +01:00
Dennis Schwerdel 64342d1288 Fixed tun mode 2015-11-22 22:45:04 +01:00
Dennis Schwerdel d9dedcdd0d Lots of changes 2015-11-22 22:00:34 +01:00
Dennis Schwerdel 1666845835 TunCloud 2015-11-22 19:00:56 +01:00
Dennis Schwerdel 87571feef6 Simplification 2015-11-22 18:05:15 +01:00
Dennis Schwerdel 7cbe7c8f71 More code 2015-11-22 17:28:04 +01:00