mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
res_rtp_asterisk.c: Add "seqno" strictrtp option
When networks experience disruptions, there can be large gaps of time between receiving packets. When strictrtp is enabled, this created issues where a flood of packets could come in and be seen as an attack. Another option - seqno - has been added to the strictrtp option that ignores the time interval and goes strictly by sequence number for validity. Change-Id: I8a42b8d193673899c8fc22fe7f98ea87df89be71
This commit is contained in:
committed by
Benjamin Keith Ford
parent
aa10d6d5eb
commit
b11a6643cf
@@ -31,6 +31,10 @@ rtpend=20000
|
||||
; seconds after starting learning mode. Once learning mode completes the
|
||||
; current stream is locked in and cannot change until the next
|
||||
; renegotiation.
|
||||
; Valid options are "no" to disable strictrtp, "yes" to enable strictrtp,
|
||||
; and "seqno", which does the same thing as strictrtp=yes, but only checks
|
||||
; to make sure the sequence number is correct rather than checking the time
|
||||
; interval as well.
|
||||
; This option is enabled by default.
|
||||
; strictrtp=yes
|
||||
;
|
||||
|
Reference in New Issue
Block a user