Description

When using auth_ephemeral module I found that using anything other than the default sha1 would fail and crash Kamailio.

Troubleshooting

Log Messages

*** 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

SIP Traffic

N/A

Possible Solutions

I dug into the code and have a Pull Request to fix the issue.
#2962

Additional Information

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
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


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.