[SR-Users] Re: append_hf not working

2024-03-13 Thread Calvin E. via sr-users
%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7 > > > C638457559371077852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ > > > IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=IUKBac > > > HQspO1gtJ5B3ZULUOt6oAJKaTMBWM6R%2FDiq1Y%3D=0 > > > Kamailio services

[SR-Users] Re: append_hf not working

2024-03-11 Thread Calvin E. via sr-users
t; > Henning > > > -- Henning Westerholt - > > > https://sk/ > > > alatan.de%2Fblog%2F=05%7C02%7Cbkaufman%40bcmone.com%7Cb9eabef23 > > > 1974f061db008dc41c47c6b%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7 > > > C638457559371077852%7CUnknown%7CTWFpbGZsb3d8

[SR-Users] append_hf not working

2024-03-08 Thread Calvin E. via sr-users
I'm trying to add something simple like the following: append_hf("X-testheader: True\r\n", "From"); However, I don't see my X-testheader in a packet capture. Are there any common pitfalls that would prevent append_hf from working as expected?

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-03-08 Thread Calvin E. via sr-users
sionkey_udp_ip = 192.168.1.0/24 > ssl_sessionkey_udp_maxwait_ms = 1 > ssl_store_sessions = persistent > ssl_ignore_error_invalid_mac = yes > > NOTES: All the A.B.C.X are Kamailio instances Public IPs. > > I know I'm missing something to get the combo > Kamailio->Local

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-03-07 Thread Calvin E. via sr-users
gnu/libssl.so.3 > 7f0c53852000-7f0c5385c000 r--p 0009c000 08:01 3674382 > /usr/lib/x86_64-linux-gnu/libssl.so.3 > 7f0c5385c000-7f0c5386 rw-p 000a6000 08:01 3674382 > /usr/lib/x86_64-linux-gnu/libssl.so.3 > root@csbc01:~# > > Any other

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-03-05 Thread Calvin E. via sr-users
Make sure you are preloading the correct OpenSSL library. On my Debian 12 box it is libssl.so.3 not libssl.so.1.1. You can confirm which is loaded by checking the "maps" of a running proc: $ sudo fgrep ssl /proc/2951676/maps 7f26647a4000-7f26647c3000 r--p 08:01 131274

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-02-27 Thread Calvin E. via sr-users
> > > On Tue, Feb 27, 2024 at 00:18 Bastian Triller via sr-users < > sr-users@lists.kamailio.org> wrote: > >> Some weeks ago I learned about [1]. Didn't play with it yet though. >> >> >> [1] >> https://medium.com/@yunwei356/ebpf-practical-tutorial-ca

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-02-26 Thread Calvin E. via sr-users
/sslkeylog.cpp On Fri, Feb 2, 2024 at 1:23 AM Ihor Olkhovskyi via sr-users < sr-users@lists.kamailio.org> wrote: > Calvin, > > Thanks for sharing this, just a question, do you use system-provided > OpenSSL or tlsa ? > > Le mar. 30 janv. 2024 à 03:00, Calvin E. v

[SR-Users] Re: SSL key logger for Diffie-Hellman cipher

2024-01-29 Thread Calvin E. via sr-users
un, Jan 28, 2024 at 3:20 AM Sergey Safarov wrote: > You can check this PR > https://github.com/kamailio/kamailio/pull/2785 > > On Fri, Jan 26, 2024 at 8:58 PM Calvin E. via sr-users < > sr-users@lists.kamailio.org> wrote: > >> I've been tasked to use LD_PRELOAD to l

[SR-Users] SSL key logger for Diffie-Hellman cipher

2024-01-26 Thread Calvin E. via sr-users
I've been tasked to use LD_PRELOAD to log SSL keys for TLS connections using a Diffie-Hellman cipher. The first attempt did not work, so I wanted to sanity check whether Kamailio's TLS support is built in such a way that would defeat LD_PRELOAD. The instructions from the vendor are to update

[SR-Users] Re: Same number of max concurrent requests on backends

2024-01-22 Thread Calvin E. via sr-users
each backend unless it connects to them? Thank you > > On Jan 22, 2024, at 18:37, Calvin E. wrote: > >  > It sounds like you're looking for "Call Load Distribution", provided by > the dispatcher module, algorithm 10 in 'ds_select_dst'. > > https://www.kamailio.

[SR-Users] Re: Same number of max concurrent requests on backends

2024-01-22 Thread Calvin E. via sr-users
It sounds like you're looking for "Call Load Distribution", provided by the dispatcher module, algorithm 10 in 'ds_select_dst'. https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html Search the page for references to "call load" to see how 'ds_load_update()' and 'ds_load_unset()'

[SR-Users] Re: Standard on RTP ports

2023-12-15 Thread Calvin E. via sr-users
Probably this: https://github.com/sipwise/rtpengine/blob/master/debian/changelog ngcp-rtpengine (12.1.0.0+0~mr12.1.0.0) unstable; urgency=medium * [2fa121c] MT#54294 add GPU support * [b3544be] MT#54294 packaging for rtpengine-gpu * [079bfac] MT#55283 fix up pkg generator for -gpu packages

[SR-Users] Re: Iterating Through Multiple IP Peers for DID Call Termination in Kamailio

2023-09-25 Thread Calvin E. via sr-users
Take a look at the Dispatcher module. It has a lot of flexibility built in. On Mon, Sep 25, 2023, 5:57 PM Shah Hussain Khattak via sr-users < sr-users@lists.kamailio.org> wrote: > Hello Team, > > I hope you're all doing well. I'm reaching out to request your insights on > the following scenario.

[SR-Users] Using maxload in dispatcher list

2023-09-18 Thread Calvin E.
Should maxload work with all dispatcher algorithms? I'm trying to add a test node to dispatcher.list with maxload=1 and it is getting a lot more than one concurrent call. The test node is the last one in the list. 16 sip:10.x.x.43:5070 0 0

[SR-Users] Re: Dialog DMQ state after restart

2023-06-09 Thread Calvin E.
al shared database, just keep in mind that > you need to configure the dialog module (hash table “step” variables”) to > properly work. > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio servic

[SR-Users] Dialog DMQ state after restart

2023-06-08 Thread Calvin E.
to the restart? In other words, do we need to wait until the pre-restart calls end before we can safely failover? -Calvin E. __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org

[SR-Users] Re: Override listen advertise address

2023-05-25 Thread Calvin E.
> On May 23, 2023, at 2:09 AM, Daniel-Constantin Mierla > wrote: > > > > Hello, > > you can skip setting advertise for listen and try to play with > set_advertised_address() and record_route_preset() along with domain alias > for public address. > > Cheers, > >

[SR-Users] Override listen advertise address

2023-05-22 Thread Calvin E.
Using 5.6.x, a scenario designed for a public IP now needs to support life in the cloud behind NAT. I'd like to avoid having two listeners to separate on-net from off-net traffic. In a HA scenario, it would be nice to have only one floating IP. Is it possible to use the same local address and

[SR-Users] Re: ICMP Port Unreachable using loopback interface with ethernet IP

2023-05-11 Thread Calvin E.
olt wrote: > Hello, > > > > usally there are not special requirements regarding the localhost. Is > kamailio actually listening on the localhost? You could check e.g. with > netstat or kamcmd/kamcli commands. > > > > Cheers, > > > > Henning > > > &

[SR-Users] ICMP Port Unreachable using loopback interface with ethernet IP

2023-05-09 Thread Calvin E.
The scenario is Kamailio on Debian 11 talking to an external application server that returns a 302 with a Contact that contains Kamailio's own IP and a different port. Kamailio is listening on the correct port via at the given IP address. However, when Kamailio creates the packet to talk to

[SR-Users] Rancher, AWS, and Elastic IP

2023-03-28 Thread Calvin E.
I'm looking for documentation//howto/advice/best practices for running Kamailio under Kubernetes on AWS via Rancher. Specifically, how to manage the public/Elastic IP. This is a load balancer (dispatcher) scenario with rtpengine for receiving inbound calls from a DID provider, but a similar