akwizgran
741c7cddfd
Replaced sleep with a latch to prevent test failures under heavy load.
2012-05-15 12:47:46 +02:00
akwizgran
e7d66d4b71
Printlns to track down a test failure.
2012-05-14 10:28:36 +02:00
akwizgran
c1133644e8
Debugging code to track down TorPuginTest failures.
2012-05-12 16:58:00 +02:00
akwizgran
46ed0cc4b1
Minor changes to serialisation library (mostly renaming).
2012-05-09 13:17:04 +02:00
akwizgran
78e18fb373
Simplified serialisation format.
2012-05-08 11:02:49 +02:00
akwizgran
a82ae82108
Optionally create a Tor plugin without a hidden service. Should speed up
...
tests.
2012-05-04 17:46:29 +01:00
akwizgran
4338bd9a8b
Refactored PollingRemovableDriveMonitor, fixed test.
2012-05-04 14:24:16 +01:00
akwizgran
4f2704e624
Fixed LockFairnessTest - use latches instead of sleeping.
2012-05-04 13:34:26 +01:00
akwizgran
5814826573
Separated key agreement algorithm from signature algorithm.
2012-04-28 18:02:28 +01:00
akwizgran
d47a3c3e5b
Increased some timeouts to stop tests from failing under load.
2012-03-28 23:42:41 +01:00
akwizgran
d78081b57d
Increased some timeouts and added latches to stop tests failing under
...
heavy load.
2012-03-28 23:30:45 +01:00
akwizgran
c316ebcf7a
Partial implementation of the invitation protocol (untested).
2012-02-23 23:18:25 +00:00
akwizgran
34cd8cddc3
Upgraded hash function to SHA-384 and MAC to HMAC-SHA-384.
...
This matches the security level of AES-256 according to NSA Suite B. To
better comply with Suite B we should replace the combination of CTR mode
and HMAC with GCM, which would reduce the MAC size from 48 to 16 bytes.
2012-02-22 13:17:07 +00:00
akwizgran
c0eb71748c
Removed an unnecessary allocation.
2012-02-10 16:44:18 +00:00
akwizgran
4ca5be7c06
Added a flag to indicate the last frame of the connection.
2012-02-07 10:46:01 +00:00
akwizgran
e8660c13ca
Use a single NetLayer instance for all connections.
2012-02-07 09:58:13 +00:00
akwizgran
9acaccb557
Minutes were invented in Java 1.6, apparently.
2012-02-07 01:33:48 +00:00
akwizgran
5656dc8df8
Another unit test for the Tor plugin.
2012-02-06 23:41:30 +00:00
akwizgran
fbf5c78f91
Factory and unit test for the Tor plugin; moved slow tests into their
...
own ant target.
2012-02-06 23:18:35 +00:00
akwizgran
ec6f60b065
Tor plugin using Silvertunnel's Netlib (untested).
2012-02-06 22:30:07 +00:00
akwizgran
6da30ca486
Plan B: Remove error correction and reliability layers and the
...
consequent distinction between segments and frames.
2012-02-06 16:03:09 +00:00
akwizgran
3d4b5e6282
Make room for the ack header.
2012-01-24 09:28:28 +00:00
akwizgran
ffe3bafce4
Tests and bugfixes for IncomingReliabilityLayerImpl.
2012-01-23 17:06:57 +00:00
akwizgran
9f1e3dea21
Incoming reliability layer with support for reordering (untested).
2012-01-21 18:48:24 +00:00
akwizgran
48ceaaea2a
Renamed a couple of classes.
2012-01-20 23:28:17 +00:00
akwizgran
3a77ba9aaf
Allow the transport to specify the maximum segment length.
2012-01-20 23:06:51 +00:00
akwizgran
337c1c8ac4
Unit tests for IncomingErrorCorrectionLayerImpl.
2012-01-20 19:56:18 +00:00
akwizgran
114ca203d8
Tests and bugfixes for XOR encoder and decoder.
2012-01-20 19:09:27 +00:00
akwizgran
74dd4e277f
Tests and bugfixes for XorErasureDecoder.
2012-01-20 17:02:17 +00:00
akwizgran
2b737e7e53
Test and bugfixes for XorErasureEncoder.
2012-01-20 16:29:22 +00:00
akwizgran
5a4505cb71
Fixed the frame reordering window.
2012-01-20 11:26:10 +00:00
akwizgran
e43ffe1ab4
Frame reordering window.
2012-01-19 23:26:26 +00:00
akwizgran
02c516492f
Moved connection window size to TransportConstants.
2012-01-19 22:13:26 +00:00
akwizgran
aabb8fb5b3
Split the functionality of ConnectionWriterImpl into layers.
2012-01-19 20:51:45 +00:00
akwizgran
12393581f9
Split the functionality of ConnectionReaderImpl into layers.
2012-01-19 19:52:15 +00:00
akwizgran
1f39bfef78
Distinguish between recoverable and unrecoverable errors.
2012-01-19 19:27:04 +00:00
akwizgran
249c82d30e
Renamed frame cipher -> segment cipher, frame key -> segment key.
2012-01-17 21:44:28 +00:00
akwizgran
6085b70b85
Factory methods for segmented connection writers.
2012-01-17 20:29:30 +00:00
akwizgran
dbeb7a207e
Added factory methods for segmented connection readers.
2012-01-17 20:21:26 +00:00
akwizgran
87e1c42bf8
Converted the outgoing encryption layer from frames to segments.
2012-01-17 17:37:38 +00:00
akwizgran
f6ed6dd60b
Converted incoming encryption layer from frames to segments.
2012-01-17 16:45:25 +00:00
akwizgran
8c0020873c
Updated transport constants and renamed some test classes.
2012-01-17 14:56:30 +00:00
akwizgran
9bd0b60dec
Renamed some classes.
2012-01-17 13:19:40 +00:00
akwizgran
b2cab71637
Decryption code for tagging every segment.
2012-01-13 16:58:41 +00:00
akwizgran
0d06ad8bd8
Unit tests for tagging every segment.
2012-01-13 15:56:53 +00:00
akwizgran
07f8607c04
Initial support for tagging every segment (untested).
2012-01-13 15:50:43 +00:00
akwizgran
ac136d3732
Pass segments rather than frames to/from segmented plugins.
2012-01-13 15:05:42 +00:00
akwizgran
d0e402062a
Unit tests for segmented encrypter and decrypter.
2012-01-13 13:06:43 +00:00
akwizgran
90e54d94e6
Encrypter and decrypter for segmented transports (untested).
2012-01-13 11:54:55 +00:00
akwizgran
ab9b05448d
APIs for segmented transports.
2012-01-13 10:53:23 +00:00