<p></p>

<h3 dir="auto">Description</h3>
<p dir="auto">When using <code>auth_ephemeral</code> module I found that using anything other than the default sha1 would fail and crash Kamailio.</p>

<h3 dir="auto">Troubleshooting</h3>
<h4 dir="auto">Log Messages</h4>

<pre><code>*** stack smashing detected ***: <unknown> terminated
13(85) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 15
 0(65) ALERT: <core> [main.c:788]: handle_sigs(): child process 77 exited by a signal 6
 0(65) ALERT: <core> [main.c:791]: handle_sigs(): core was generated
</code></pre>
<h4 dir="auto">SIP Traffic</h4>

<pre><code>N/A
</code></pre>
<h3 dir="auto">Possible Solutions</h3>

<p dir="auto">I dug into the code and have a Pull Request to fix the issue.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1071189052" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2962" data-hovercard-type="pull_request" data-hovercard-url="/kamailio/kamailio/pull/2962/hovercard" href="https://github.com/kamailio/kamailio/pull/2962">#2962</a></p>
<h3 dir="auto">Additional Information</h3>
<ul dir="auto">
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.6.0-dev2 (x86_64/linux) 3c905e
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 3c905e -dirty
compiled on 11:02:49 Dec  4 2021 with gcc 8.3.0
</code></pre>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>Docker debian:debian on MacOS Mojave 10.14
Linux 47b9de1080dc 5.10.47-linuxkit #1 SMP Sat Jul 3 21:51:47 UTC 2021 x86_64 GNU/Linux
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2963">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZO27UINDVKESJ2PLJTUPH5O7ANCNFSM5JLPR27Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZM3COOBF3DPJKVU5S3UPH5O7A5CNFSM5JLPR272YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4P6ZCEMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2963",
"url": "https://github.com/kamailio/kamailio/issues/2963",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>