Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 480563004: Cast: Reject old RTCP packets (Closed)

Created:
6 years, 4 months ago by hubbe
Modified:
6 years, 4 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org, hguihot
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Reject old RTCP packets Use the RRTR ntp timestamp to make sure that any packets that is way older than the newest packet we've seen is rejected. This is needed because we use 8-bit frame IDs, and by doing this it should become impossible for old packets to confuse the logic that tries to extend 8-bit frame IDs to 32-bit frame IDs. Also clean up some logic in congestion_control that was exposed as buggy by the new test. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290667

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
M media/cast/net/rtcp/rtcp.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/rtcp/rtcp.cc View 1 3 chunks +22 lines, -4 lines 0 comments Download
M media/cast/sender/congestion_control.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M media/cast/test/utility/udp_proxy.h View 1 chunk +7 lines, -0 lines 0 comments Download
M media/cast/test/utility/udp_proxy.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hubbe
6 years, 4 months ago (2014-08-19 17:54:02 UTC) #1
Alpha Left Google
https://codereview.chromium.org/480563004/diff/1/media/cast/net/rtcp/rtcp.cc File media/cast/net/rtcp/rtcp.cc (right): https://codereview.chromium.org/480563004/diff/1/media/cast/net/rtcp/rtcp.cc#newcode23 media/cast/net/rtcp/rtcp.cc:23: // states from crazy routers. (Based on RTRR) nit: ...
6 years, 4 months ago (2014-08-19 18:01:36 UTC) #2
hubbe
https://codereview.chromium.org/480563004/diff/1/media/cast/net/rtcp/rtcp.cc File media/cast/net/rtcp/rtcp.cc (right): https://codereview.chromium.org/480563004/diff/1/media/cast/net/rtcp/rtcp.cc#newcode23 media/cast/net/rtcp/rtcp.cc:23: // states from crazy routers. (Based on RTRR) On ...
6 years, 4 months ago (2014-08-19 18:27:16 UTC) #3
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 4 months ago (2014-08-19 18:28:01 UTC) #4
Alpha Left Google
lgtm
6 years, 4 months ago (2014-08-19 18:28:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/480563004/20001
6 years, 4 months ago (2014-08-19 18:29:26 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 20:00:11 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-19 20:23:18 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/7090)
6 years, 4 months ago (2014-08-19 20:23:20 UTC) #9
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 4 months ago (2014-08-19 21:27:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/480563004/20001
6 years, 4 months ago (2014-08-19 21:27:47 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 21:29:50 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (20001) as 290667

Powered by Google App Engine
This is Rietveld 408576698