[SR-Users] Masking Contact Header

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Wed Feb 13 11:07:01 CET 2019


…
CSeq: 103 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 292
TH: dih
Max-Forwards: 20



….

Session-Expires: 1800;refresher=uac
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 304
TH: dch


Don’t think it’s a bug 😊


De : YASIN CANER <caner_yaso at hotmail.com>
Envoyé : mercredi 13 février 2019 10:58
À : Nicolas Breuer <Nicolas.Breuer at belcenter.biz>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Masking Contact Header

Hello,

if there is a unrelated chars  in SIP trace , there may be str len mismatch for that module . Could you share header?

Thanks

________________________________
From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> on behalf of Nicolas Breuer <Nicolas.Breuer at belcenter.biz<mailto:Nicolas.Breuer at belcenter.biz>>
Sent: Wednesday, February 13, 2019 11:54 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Masking Contact Header

I tried and indeed the contact header is masked with topoh.

Just one question :
The masquerading is done after siptrace module because the original trace is stored in database.
I suppose it's the expected behavior.

I can also see that line in the trace : TH: uch
Any ideas?


-----Message d'origine-----
De : sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> De la part de Henning Westerholt
Envoyé : mercredi 13 février 2019 09:20
À : sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Masking Contact Header

Am Mittwoch, 13. Februar 2019, 00:05:46 CET schrieb Marcos Pytel:
> Im have an endpoint device that have a problem with long routers
> headers. I dont know why cut the route when send packet to the server
> and kamailio crash because cant parse the route. If i active topoh,
> the router header is encrypted but is bigest than the original. If i
> active the topos the kamailio crashed for another reason (I need try with the lastest version).
>
>
> There is another way to send routes with less info? Or other config to
> fix it?
> [..]

Hello Marcos,

you can certainly use the textops module to remove headers, but in the case of the Route header it will probably break something regarding the SIP protocol.

Kamailio should not crash if it encounters a invalid header. Can you open a bug report with more information about this in our issue tracker on github?
Then this crash could be just fixed.

Best regards,

Henning
--
Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services Kamailio security assessment - https://skalatan.de/de/assessment

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190213/57a70b32/attachment.html>


More information about the sr-users mailing list