[OpenSIPS-Devel] [OpenSIPS/opensips] f9958d: Fix cookie collision when using rtpengine/rtpproxy...
John Burke
noreply at github.com
Wed Apr 21 16:21:10 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: f9958d77748f3144c630c1867301c031d4dadffc
https://github.com/OpenSIPS/opensips/commit/f9958d77748f3144c630c1867301c031d4dadffc
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
(cherry picked from commit e6cfd6f3c7e358ee9581aa9adca6398f4eead033)
Commit: 2515c7499db6f35abba04b6cce1d9489f3cdf4cc
https://github.com/OpenSIPS/opensips/commit/2515c7499db6f35abba04b6cce1d9489f3cdf4cc
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`
(cherry picked from commit cc851498a3d1345cd680e69d18da7303d26bcb06)
Compare: https://github.com/OpenSIPS/opensips/compare/55e2a3b65d7f...2515c7499db6
More information about the Devel
mailing list