Project

General

Profile

Actions

Feature #713

open

TCP/IP and TLS Connection Parameters are not dumped for most networking tools

Added by Jörg Riesmeier over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library and Apps
Target version:
-
Start date:
2017-01-25
Due date:
% Done:

10%

Estimated time:
Module:
dcmnet and others?
Operating System:
Compiler:

Description

There is a DcmTransportConnection::dumpConnectionParameter() method and also a DUL_DumpConnectionParameters() and a ASC_dumpConnectionParameters() function, but none of these seem to be used for most of the networking tools.

One of the few exceptions are storescu, dcmpssnd and dcmpsrcv, which all use ASC_dumpConnectionParameters().

Dumping the connection parameters is especially useful in the context of a secure TLS connection. Here's an example output of storescu:

[...]
D: Parsing an A-ASSOCIATE PDU
D: Transport connection: TLS/SSL over TCP/IP
D:   Protocol: TLSv1
D:   Ciphersuite: AES128-SHA, version: TLSv1/SSLv3, encryption: 128 bits
D: X.509v3 Certificate
D:   Subject      : /C=DE/ST=Lower Saxony/L=Oldenburg/O=J. Riesmeier/OU=DCMTK/CN=My Cert/emailAddress=mycert/at/jriesmeier.com
D:   Issued by    : /C=DE/ST=Lower Saxony/L=Oldenburg/O=J. Riesmeier/OU=DCMTK/CN=My CA/emailAddress=myca/at/jriesmeier.com
D:   Serial no.   : 1
D:   Validity     : not before Jan 25 10:58:30 2017 GMT, not after Jan 25 10:58:30 2019 GMT
D:   Public key   : RSA, 2048 bits
D: 
D: 
D: Association Parameters Negotiated:
[...]

The extra newlines at the end of the TLS part of the output should also be removed. => done

Actions #1

Updated by Jörg Riesmeier over 8 years ago

  • Description updated (diff)
Actions #2

Updated by Jörg Riesmeier over 8 years ago

  • Target version deleted (3.6.2)
  • % Done changed from 0 to 10
Actions

Also available in: Atom PDF