[Home]

Summary:ASTERISK-28444: chan_pjsip: Peer IP for SSL handshake errors not logged
Reporter:Bernhard Schmidt (bschmidt)Labels:pjsip
Date Opened:2019-06-11 16:30:47Date Closed:2019-07-01 10:07:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:16.2.1 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-26006 Show offending IP for TLS setup failures in logs
Environment:Debian BusterAttachments:
Description:When there is a SSL handshake error pjproject logs the reason through the Asterisk console/log, i.e.

{code}
[2019-05-18 23:59:52] WARNING[21669] pjproject:                            SSL SSL_ERROR_SSL (Handshake): Level: 0 err: <337260938> <SSL routines-tls_process_ske_dhe-dh key too small> len: 0
{code}

However, this does not include any indication for the peer that caused this issue (i.e. remote IP).

With the upcoming changes in newer OpenSSL versions (deprecation of small DH keys, deprecation of TLS < 1.2, deprecation of ciphers) these errors frequently scroll by without a decent way to pinpoint them to a specific peer.
Comments:By: Asterisk Team (asteriskteam) 2019-06-11 16:30:47.905-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Friendly Automation (friendly-automation) 2019-07-01 10:07:44.613-0500

Change 11497 merged by Friendly Automation:
pjproject_bundled:  Add peer information to most SSL/TLS errors

[https://gerrit.asterisk.org/c/asterisk/+/11497|https://gerrit.asterisk.org/c/asterisk/+/11497]

By: Friendly Automation (friendly-automation) 2019-07-01 10:21:09.035-0500

Change 11496 merged by George Joseph:
pjproject_bundled:  Add peer information to most SSL/TLS errors

[https://gerrit.asterisk.org/c/asterisk/+/11496|https://gerrit.asterisk.org/c/asterisk/+/11496]

By: Friendly Automation (friendly-automation) 2019-07-01 10:21:33.934-0500

Change 11495 merged by George Joseph:
pjproject_bundled:  Add peer information to most SSL/TLS errors

[https://gerrit.asterisk.org/c/asterisk/+/11495|https://gerrit.asterisk.org/c/asterisk/+/11495]