summaryrefslogtreecommitdiffstats
path: root/jrt/src/com
Commit message (Collapse)AuthorAgeFilesLines
...
| * async tls handshake in jrtHåvard Pettersen2019-02-265-65/+164
| |
* | Log when slobrok request failsHarald Musum2019-02-261-0/+2
| |
* | Revert "Add some debug logging for trying to track down Slobrok issue"Harald Musum2019-02-262-6/+0
| |
* | Add some debug logging for trying to track down an issueHarald Musum2019-02-252-0/+6
|/
* Require client auth for ssl engines constructed by DefaultTlsContextBjørn Christian Seime2019-02-191-1/+0
|
* Revert "Bjorncs/jdisc mixed mode preparations"Arnstein Ressem2019-02-181-0/+1
|
* Merge pull request #8511 from vespa-engine/bjorncs/jdisc-misc-mode-preparationsBjørn Christian Seime2019-02-181-1/+0
|\ | | | | Bjorncs/jdisc mixed mode preparations
| * Require client auth for ssl engines constructed by DefaultTlsContextBjørn Christian Seime2019-02-141-1/+0
| |
* | Fix bug where authorization result was never assignedBjørn Christian Seime2019-02-181-1/+1
| |
* | Do heavy computation work as an explicit handshake stepBjørn Christian Seime2019-02-186-16/+43
|/ | | | | | Move execution of SSLEngine's delegated tasks to a separate method doHandshakeWork(). This is a preparation for performing computation heavy handshake work in a separate thread.
* Report values from initial snapshotBjørn Christian Seime2019-01-291-0/+2
| | | | | Initialize JrtMetrics with empty snapshot so that the values of the first real snapshot are reported.
* Merge pull request #8218 from vespa-engine/bjorncs/tlsTor Brede Vekterli2019-01-244-4/+4
|\ | | | | bjorncs/tls
| * Prefix names of jrt threads with 'jrt'Bjørn Christian Seime2019-01-244-4/+4
| |
* | Add calculation of metrics changes since previous snapshotBjørn Christian Seime2019-01-221-17/+41
| | | | | | | | | | | | | | | | - Move metric diff calculation to TransportMetrics.Snapshot. - Remove TransportMetrics.reset() and use changesSince() instead in EchoTest. - Remove unnecessary volatile modifier on JrtMetrics.previousSnapshot. - Initialize JrtMetrics.previousSnapshot in constructor. - Use separate field declarations for fields in TransportMetrics.Snapshot.
* | Make TransportMetrics a singletonBjørn Christian Seime2019-01-2210-31/+41
| |
* | Add method to create snapshot of transport metricsBjørn Christian Seime2019-01-221-0/+35
|/
* Return default values when env vars are not presentBjørn Christian Seime2019-01-151-5/+4
|
* Add metrics for jrt transportBjørn Christian Seime2019-01-0810-60/+180
|
* Store authorization result in TlsCryptoSocketBjørn Christian Seime2019-01-081-1/+10
|
* ThreadLocalRandom is recommended over Random in multithreaded environments, ↵Håkon Hallingstad2018-12-201-3/+2
| | | | try 2
* Nonfunctional changes onlyJon Bratseth2018-12-131-3/+5
|
* Use AuthorizationMode to configure behaviour of PeerAuthorizerTrustManagerBjørn Christian Seime2018-12-051-2/+3
|
* Move MixedMode to separate classBjørn Christian Seime2018-12-051-1/+1
|
* Split ConfigFileManagedTlsContext into ReloadingTlsContext and DefaultTlsContextBjørn Christian Seime2018-12-051-2/+2
|
* Close the cryptoengine in order to get to close the tls context.Henning Baldersheim2018-12-034-3/+18
|
* Use TlsContext to construct TlsCryptoEngineBjørn Christian Seime2018-11-282-24/+10
|
* Enable PeerAuthorizer in dry-run mode in TlsCryptoSocketBjørn Christian Seime2018-11-271-0/+5
|
* Use TransportSecurityOptions.BuilderBjørn Christian Seime2018-11-191-10/+5
|
* detect eof during tls handshake detectionHåvard Pettersen2018-11-091-1/+3
|
* Revert "Bjorncs/accepted ciphers"Harald Musum2018-11-071-16/+6
|
* Allow configuration of accepted ciphersBjørn Christian Seime2018-11-061-6/+16
|
* No * importHenning Baldersheim2018-11-061-2/+15
|
* Verify handshake is complete in write() + flush()Bjørn Christian Seime2018-11-051-0/+2
|
* Add more debug logging to TlsCryptoSocketBjørn Christian Seime2018-11-051-0/+4
|
* Minor fixesJon Bratseth2018-10-141-4/+5
|
* Introduce insecure mixed mode + move env var logic to separate classBjørn Christian Seime2018-09-261-7/+17
|
* address naming concernsHåvard Pettersen2018-09-262-12/+12
|
* added support for auto-detecting tls for incoming connectionsHåvard Pettersen2018-09-253-0/+165
|
* Use TlsCryptoEngine if VESPA_TLS_CONFIG_FILE is setBjørn Christian Seime2018-09-102-1/+31
|
* Use drain() to unwrap multiple frames before reading from networkBjørn Christian Seime2018-09-041-1/+1
|
* Use com.yahoo.jrt.Buffer to simplify buffer managementBjørn Christian Seime2018-09-041-31/+25
|
* Rewrite wrap+unwrap to remove use of magic return valuesBjørn Christian Seime2018-09-041-47/+71
| | | | | | | - Wrap/unwrap for handshake returns true for success, false otherwise - Wrap/unwrap for application data returns bytes consumed/produced - Do not throw exception on overflow for unwrap - Misc changes to reduce code duplication
* Rename SslEngine/SslSocket -> TlsCryptoEngine/TlsCryptoSocketBjørn Christian Seime2018-09-032-10/+8
|
* Various fixes to SslSocketBjørn Christian Seime2018-09-031-5/+8
| | | | | | | | - Clear reference to handshake dummy buffer after completed handshake. - Make return value consistent between sslEngineAppDataWrap and sslEngineAppDataUnwrap. - Throw SSLException in sslEngineUnwrap when destination buffer capacity is too low. - SocketChannel.write() never returns -1 - Call flush() from write()
* Add ssl socket implementation based on SSLEngineBjørn Christian Seime2018-09-032-0/+262
|
* Perform post-handshake drain after setting connection stateHåvard Pettersen2018-08-301-1/+1
| | | | | This is to make sure that session live events will be delivered before any incoming requests.
* handshake data flushing should be handled by crypto socket handshakeHåvard Pettersen2018-08-291-5/+0
|
* integrate crypto concepts into jrtHåvard Pettersen2018-08-298-62/+429
|
* Fix author tag for SimonBjørn Christian Seime2018-07-051-1/+1
|
* Update javadocHåkon Hallingstad2017-10-121-2/+2
|