[OpenSIPS-Devel] [OpenSIPS/opensips] 3861f4: b2b_entities: add more entropy to from_tag generation
Răzvan Crainea
noreply at github.com
Mon Dec 5 11:51:47 UTC 2022
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 3861f458d33ada142ec05ae9c35a7a6199de019e
https://github.com/OpenSIPS/opensips/commit/3861f458d33ada142ec05ae9c35a7a6199de019e
Author: Razvan Crainea <razvan at opensips.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M modules/b2b_entities/client.c
Log Message:
-----------
b2b_entities: add more entropy to from_tag generation
The initial from-tag generation cosisted of an md5 hash over the From
URI. Thus, if you would have generating client requests to the same
entity (such as a media server), you would always get the same from-tag
for all those requests.
The current patch adds more entropy when generating the from_tag, such
as the current timestamp (expressed in milliseconds) along with the
process pid.
(cherry picked from commit b003891b468d5730fd68b445331735a92c770bce)
More information about the Devel
mailing list