[sr-dev] git:master:e4ae7c7a: tm: improve from-tags to include more randomness and use the recommended size from RFC 3261 (GH #1164)

Henning Westerholt hw at skalatan.de
Mon Sep 2 09:56:28 CEST 2019


Module: kamailio
Branch: master
Commit: e4ae7c7a7c7e8696870535e3399c8b9ddf585a06
URL: https://github.com/kamailio/kamailio/commit/e4ae7c7a7c7e8696870535e3399c8b9ddf585a06

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-09-02T09:54:21+02:00

tm: improve from-tags to include more randomness and use the recommended size from RFC 3261 (GH #1164)

- improve from-tag generation for uac request to include more randomness (request uri)
- use the recommended size of 32 bit randomness from RFC 3261
- implementation could be further improved by using a cryptographic hash algorithm
- related to GH #1164

---

Modified: src/modules/tm/dlg.c
Modified: src/modules/tm/rpc_uac.c
Modified: src/modules/tm/t_msgbuilder.c
Modified: src/modules/tm/uac.c
Modified: src/modules/tm/uac.h

---

Diff:  https://github.com/kamailio/kamailio/commit/e4ae7c7a7c7e8696870535e3399c8b9ddf585a06.diff
Patch: https://github.com/kamailio/kamailio/commit/e4ae7c7a7c7e8696870535e3399c8b9ddf585a06.patch




More information about the sr-dev mailing list