[OpenSIPS-Devel] [OpenSIPS/opensips] e6cfd6: Fix cookie collision when using rtpengine/rtpproxy...

Răzvan Crainea noreply at github.com
Wed Apr 21 16:18:11 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e6cfd6f3c7e358ee9581aa9adca6398f4eead033
      https://github.com/OpenSIPS/opensips/commit/e6cfd6f3c7e358ee9581aa9adca6398f4eead033
  Author: John Burke <john at voxtelesys.net>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Fix cookie collision when using rtpengine/rtpproxy modules

When using Docker, PIDs often are the same between OpenSIPS instances and cannot be used as a good source for cookie prefix. Use prefix with random influence instead.

Fixes #2459


  Commit: cc851498a3d1345cd680e69d18da7303d26bcb06
      https://github.com/OpenSIPS/opensips/commit/cc851498a3d1345cd680e69d18da7303d26bcb06
  Author: John Burke <john at voxtelesys.net>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Instead of summation, use combination schema for cookie: `PID_RAND_SEQN`


  Commit: 0157ad9db13ed93bf1e389a9094ef49e73a92fd5
      https://github.com/OpenSIPS/opensips/commit/0157ad9db13ed93bf1e389a9094ef49e73a92fd5
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Merge pull request #2479 from john08burke/rtpengine_rtpproxy_cookie

Fix cookie collision when using rtpengine/rtpproxy modules


Compare: https://github.com/OpenSIPS/opensips/compare/1683dfbc9008...0157ad9db13e



More information about the Devel mailing list