Commit graph

894 commits

Author SHA1 Message Date
Viktor Klang
8a7c8a2ced Restructuring some of the SSL code to avoid the risk of races 2012-06-20 00:10:06 +02:00
Viktor Klang
a0cf41b3ef Merge conflict resolution 2012-06-19 23:06:26 +02:00
Viktor Klang
64566e6912 Rewriting large parts of the SSL tests and adding cleanup to the code 2012-06-19 22:44:01 +02:00
Viktor Klang
f5fb24719d Disabling SSL once again 2012-06-19 21:19:19 +02:00
Björn Antonsson
6bf37ad59f Merge branch 'wip-2218-test-conductor-barrier-timeouts' 2012-06-19 17:11:24 +02:00
Viktor Klang
5f066165ba Commenting out Ticket1978AES128CounterRNGSecureSpec 2012-06-19 16:34:02 +02:00
Viktor Klang
23a87afca6 Commenting out one of the SSL tests since I can't see how it is needed 2012-06-19 16:10:46 +02:00
Viktor Klang
53d8ef601e Revert "Sigh, the tests are flakier than a flaky flake from flakeville"
This reverts commit 9862afab84.
2012-06-19 15:24:00 +02:00
Björn Antonsson
4a56f195fc Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-19 15:11:50 +02:00
Viktor Klang
5b8ce4cc6b Turning on the ssl test again 2012-06-19 12:17:41 +02:00
Viktor Klang
9862afab84 Sigh, the tests are flakier than a flaky flake from flakeville 2012-06-19 12:16:10 +02:00
Viktor Klang
32562652af remove debug statement 2012-06-19 11:09:54 +02:00
Viktor Klang
4f3f4aadba I think I nailed it. 2012-06-19 10:36:09 +02:00
Viktor Klang
e730432cb0 Switching to 256bit for the Ticket1978AES128CounterRNGSecureSpec 2012-06-18 20:07:58 +02:00
Viktor Klang
16530fd88a Deactivating the SSL tests for now 2012-06-18 19:58:23 +02:00
Viktor Klang
a9f258b23e Trying to work around the fact that intercept doesn't respect remaining but invents its own default timeout 2012-06-18 19:31:36 +02:00
Viktor Klang
8eca3692c8 Switching to 30s timeout for the SSL tests + loading from classloader rather than file path 2012-06-18 18:47:35 +02:00
Viktor Klang
a2c15f8321 Trying to embed smarted detection for the SSL tests, is this a keeper? 2012-06-18 17:57:09 +02:00
Viktor Klang
bf32ca0c37 Minor code restructuring for the SSL tests 2012-06-18 17:18:17 +02:00
Viktor Klang
f63409e0e7 Removing commented out code in the Ticket1978CommunicationSpec 2012-06-18 15:05:24 +02:00
Viktor Klang
ceb7d1515a Switching strategy for SSL detection to try to initialize a Client SslHandler 2012-06-18 14:55:49 +02:00
Viktor Klang
da5862ab6f InitialiZe 2012-06-18 14:02:08 +02:00
Viktor Klang
5a3a02a516 Unrandom to unb0rk Linux, because Linux has some issues with dev/random entropy 2012-06-18 13:57:42 +02:00
Viktor Klang
faff67c7fa Commenting out the SSL tests until I have time to fix them 2012-06-15 18:49:07 +02:00
Viktor Klang
d0272b848d Adding a test for the default RNG 2012-06-15 18:31:28 +02:00
Viktor Klang
1e9d648255 Removing the use of 256bit encryption by default since it requires an install to get 2012-06-15 18:12:29 +02:00
Viktor Klang
77d8ebeb28 Parrying for NoSuchAlgorithmException 2012-06-15 16:47:14 +02:00
Björn Antonsson
ef1e39f297 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 16:21:05 +02:00
Viktor Klang
8b260c2758 Second stab at making sure we don't run the tests for SSL remoting for the RNGs that aren't installed on the box the tests run on 2012-06-15 16:08:07 +02:00
Viktor Klang
019ec0da71 Fixing so that the SSL tests are ignored if the respective cipher isn't available on the machine the test runs on, so you'll see a yellow warning that the test wasn't run in that case 2012-06-15 15:04:54 +02:00
Björn Antonsson
db656ab669 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 14:40:46 +02:00
Björn Antonsson
529b168ff9 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 14:39:55 +02:00
Viktor Klang
46c06fa669 Minor reformatting 2012-06-15 14:15:09 +02:00
viktorklang
5f77590eb8 Merge pull request #476 from dev10/ticket_1978
Added changes to Netty pipelines to support SSL/TLS. Fixes #1978
2012-06-15 04:34:08 -07:00
Björn Antonsson
b52da8d588 Fixed protoc generated code with script and updated instructions 2012-06-14 09:18:02 +02:00
Peter Badenhorst
399a08b8b3 Used RemoteCommunicationSpec as a template to implement a functional spec to test SSL communication.
1) Converted provider and related RNG's from Java to Scala
2) Added trust/key stores for testing purposes
3) As stated in the test comments, Internet access is required for the 2 'Secure' RNG variants to function within the time limit.
4) Fixed unnecessary imports
2012-06-11 18:33:05 +02:00
Viktor Klang
fd455d14bf #2208 - Upgrading to Netty 3.5.0 - remove StaticChannelPipeline since it's deprecated. 2012-06-08 21:57:39 +02:00
Viktor Klang
5ec760680a Minor restructuring of the send-callback 2012-06-06 14:28:06 +02:00
Viktor Klang
c686622acf Deciding not to publish errors when a message delivery fails 2012-06-06 14:23:34 +02:00
Viktor Klang
1c5d0bdf42 Adding a FIXME 2012-06-06 14:04:02 +02:00
Viktor Klang
211435048a #2189 - Removing RemoteClientWriteFailed and log it as a RemoteClientError and send the message to DeadLetters 2012-06-06 13:56:46 +02:00
Viktor Klang
4d3e9f19fe Fixing ScalaDoc messup 2012-06-05 18:19:46 +02:00
Peter Badenhorst
c647758579 Updated to support 3 different random number generators:
1) SecureRandom supported by Java (default)
2) SHA1PRNG (causes problems on Linux)
3) Various versions of the AES Counter RNG (faster than default at generating random data)
2012-06-05 13:44:05 +02:00
Viktor Klang
46c9cf41cd Review cleanup 2012-06-05 11:38:41 +02:00
Viktor Klang
a5127b12dd Merge branch 'master' into wip-2134-deathwatch2.0-√ 2012-06-04 13:58:09 +02:00
Viktor Klang
0330a5fd29 Adding the low watermark option 2012-06-01 21:47:14 +02:00
Viktor Klang
5ec38e82e5 Switching over to foreach, anticipating the use of -optimize for 2.10 2012-06-01 21:42:18 +02:00
Viktor Klang
12b9af25cf #2168 - Exposing more Netty options in remtoe config 2012-06-01 21:29:47 +02:00
Viktor Klang
f4a3bdff33 Adding PossiblyHarmful to RemoteTransport untrusted mode filtering 2012-05-30 13:29:48 +02:00
Peter Badenhorst
56cd9692ed Reverted changes to client and server files and moved the code to NettySSLSupport.scala
Updated configuration file to reflect new netty.ssl hierarchy.
2012-05-30 12:04:16 +02:00