Hello,

there were some limitations in sngrep for capturing tls traffic:

  * https://github.com/irontec/sngrep/issues/112

Not sure if there was any work afterwards to improve. The best place to ask in on sngrep project.

Anyhow, I want to add that if you use Kamailio, then you can load sipdump module and get the traffic stored in pcap files -- it requires master branch:

  * https://www.kamailio.org/docs/modules/devel/modules/sipdump.html#sipdump.p.mode

For stable branches, sipdump can store the traffic in text files.

Cheers,
Daniel

On 08.12.20 08:37, Yuriy Gorlichenko wrote:
As I remember sngrep doesn't work with TLS 1.3, so may be it is your case.

On Tue, 8 Dec 2020, 08:01 Agiftel, <agiftel@gmail.com> wrote:
Hi all, does anyone was able to use sngrep (with -k option) to decrypt TLS
connections?
I'am doing what help says; used private key is the correct one; but no
traffic is seen on sngrep.
If i use not ecrypted call i can see everything, so sngrep is working good.

Any hint?

regards




--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla