<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7590">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_sip: Add security event for calls to invalid extension.<br><br>Log a message to security events when an INVITE is received to an<br>invalid extension.<br><br>ASTERISK-25869 #close<br><br>Change-Id: I0da40cd7c2206c825c2f0d4e172275df331fcc8f<br>---<br>M CHANGES<br>M channels/chan_sip.c<br>2 files changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/CHANGES b/CHANGES<br>index f367f46..bd1ca67 100644<br>--- a/CHANGES<br>+++ b/CHANGES<br>@@ -50,6 +50,11 @@<br> Asterisk is compiled with the LOW_MEMORY compile time option enabled because<br> the cache code does not exist.<br> <br>+chan_sip<br>+------------------<br>+ * Calls to invalid extensions are now reported as an ACL failure security event<br>+ "no_extension_match".<br>+<br> res_rtp_asterisk<br> ------------------<br> * The X.509 certificate used for DTLS negotation can now be automatically<br>diff --git a/channels/chan_sip.c b/channels/chan_sip.c<br>index 2d20442..e54997b 100644<br>--- a/channels/chan_sip.c<br>+++ b/channels/chan_sip.c<br>@@ -26654,6 +26654,7 @@<br> ast_log(LOG_NOTICE, "Call from '%s' (%s) to extension"<br> " '%s' rejected because extension not found in context '%s'.\n",<br> S_OR(p->username, p->peername), ast_sockaddr_stringify(&p->recv), decoded_exten, p->context);<br>+ sip_report_failed_acl(p, "no_extension_match");<br> }<br> break;<br> case SIP_GET_DEST_REFUSED:<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7590">change 7590</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7590"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I0da40cd7c2206c825c2f0d4e172275df331fcc8f </div>
<div style="display:none"> Gerrit-Change-Number: 7590 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>