Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 060b72b24b1488bbbecb5c1527f13036e34c4582
      
https://github.com/OpenSIPS/opensips/commit/060b72b24b1488bbbecb5c1527f13036e34c4582
  Author: Razvan Crainea <[email protected]>
  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)



_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to