[Asterisk-code-review] res rtp asterisk.c: Make strict RTP learning more flexible. (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Fri Sep 8 11:07:17 CDT 2017
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/6410 )
Change subject: res_rtp_asterisk.c: Make strict RTP learning more flexible.
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.asterisk.org/#/c/6410/1/res/res_rtp_asterisk.c
File res/res_rtp_asterisk.c:
https://gerrit.asterisk.org/#/c/6410/1/res/res_rtp_asterisk.c@5145
PS1, Line 5145: if (!ast_sockaddr_cmp(&rtp->strict_rtp_address, &addr)) {
> The RFC maintains a database of all SSRC to IP:port mappings in the system
I'm not referring to switching entirely. We'd still do the host/port based filtering like we do today, but if in a closed state we receive a packet that contains the same SSRC we know about (rtp->themssrc) but a different host/port we let it through and update the strict address. Since themssrc is only set after we go through a normal probation period that data has passed and been accepted.
--
To view, visit https://gerrit.asterisk.org/6410
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia2d3aa6e0f22906c25971e74f10027d96525f31c
Gerrit-Change-Number: 6410
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Fri, 08 Sep 2017 16:07:17 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170908/fd1291dd/attachment.html>
More information about the asterisk-code-review
mailing list