Skip to content

feat: ignore RTPS datagrams#264

Open
jmonticelli wants to merge 1 commit intomasterfrom
jmonticelli/ignore-rtps-datagrams
Open

feat: ignore RTPS datagrams#264
jmonticelli wants to merge 1 commit intomasterfrom
jmonticelli/ignore-rtps-datagrams

Conversation

@jmonticelli
Copy link
Member

@jmonticelli jmonticelli commented Mar 9, 2026

RTPS headers will come in on whatever port DDS assigns them to.

Obviously, this isn't a 100% guarantee that the packet is RTPS, but the protocol description here makes it clear that the magic number is ASCII "RTPS".

Disclaimer: This was not tested, so will need to be tested on a system experiencing this issue. I just added the check and toss the packet, I do no additional debug. Unsure what the preferred behavior is, but often times RTPS packets will be seen on autonomous systems, and this could become noisy.

@jmonticelli jmonticelli requested a review from mattalvarado March 9, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant