45bb01cd8e
Don't accept message if number of forwarding tokens is too high.
2016-07-01 21:55:05 +02:00
4a36fdbef2
Send messages via relays ( fixes #26 ).
2016-06-24 13:34:59 +02:00
1add05b72f
Store total node connection time in database.
2016-06-07 20:10:10 +02:00
23ee0f6da7
Added message buffer with automatic retry.
2016-06-02 21:36:48 +02:00
7ce2e937ab
Added extra trace logging for RREQ/RREP/RERR messages.
2016-05-31 12:26:23 +02:00
83fc696cc7
Implemented AODVv2, including integration test ( fixes #33 ).
...
For documentation on how AODVv2 works, see this link:
https://datatracker.ietf.org/doc/draft-ietf-manet-aodvv2/
Note that this implementation is incompatible with AODVv2 itself,
as various details are changed, and not all features have been
implemented
2016-05-29 18:35:50 +02:00
2cc4928a99
Use SLF4J for logging.
2016-05-29 18:24:36 +02:00
8bafd62e35
Simplified ConnectionHandler interface.
2016-05-10 17:19:36 +09:00
453b2d7fe6
Assume default port if none is specified.
2016-04-10 17:32:55 +02:00
97e70c2092
Renamed KeyServers to KeyAddresses, properly use defaults.
2016-04-07 20:39:22 +02:00
656f52d3f3
Switch to Slick with H2 as database.
...
This allows us to use the same database implementation for Android
and servers.
2016-04-01 00:56:05 +02:00
127acfb3ab
Use domain instead of IP for default server.
2016-03-08 01:33:44 +01:00
4d6afbc9cd
Limit number of internet connections, connect to random node.
2016-02-16 19:08:51 +01:00
375d245765
Added second default node.
...
This will only have an effect for new installs.
2016-02-16 18:23:04 +01:00
721c99c6d9
Optimized imports.
2016-02-11 17:42:32 +01:00
8c7d4db8c5
Fixed unit tests.
2016-02-11 14:03:10 +01:00
021e22e50b
Don't need to block explicitly on transfers.
2016-02-11 13:54:34 +01:00
ba3ce67a06
Fixed crash when receiving message with invalid length.
2016-02-11 13:51:15 +01:00
02a506608f
Significantly decreased CPU usage.
...
Calls to InputStream#available() weren't blocking, so the loops
in both classes were running hot. Replaced the conditional with
a blocking call instead. CPU usage is down from 100% to barely
noticable.
2016-02-10 21:18:51 +01:00
84e00a23d2
Don't display the same message multiple times.
2016-02-01 14:54:58 +01:00
6e3cf1da63
Catch SocketException.
2016-02-01 14:35:31 +01:00
ddb3d64708
Added user option for server.
2016-01-25 22:17:56 +01:00
d2f497d4de
Log username and status on start.
2016-01-24 23:43:10 +01:00
dc55d74f9b
Log address with username on connect if we know the name.
2016-01-24 14:03:07 +01:00
3cbba72117
Updated server address, improved documentation.
2016-01-24 13:45:43 +01:00
244fd32762
Catch InvalidKeyException when receiving messages.
2016-01-19 00:08:53 +01:00
199b185861
Added server project for internet routing.
...
Also adjusted Log trait and visibility of library classes.
2016-01-18 18:19:41 +01:00
49293e259e
Cleaned build scripts.
2015-11-21 21:29:14 +01:00
925eb2d5c5
Use encrypt-then-mac instead of mac-and-encrypt.
2015-11-19 22:43:46 +01:00
f5ee0996eb
Force close app when exception occurs in FutureHelper.
2015-10-29 14:42:31 +01:00
a951b05965
Improved documentation for Crypto class.
2015-10-18 22:40:01 +02:00
269fe41ebf
Split project into seperate modules for core and android ( fixes #18 ).
2015-10-18 22:39:51 +02:00