Skip to content

Conversation

@Snawoot
Copy link
Contributor

@Snawoot Snawoot commented Aug 6, 2021

Fixes:

  • There was a slight possibility of goroutine leak under rare race condition when probe was cancelled but listening goroutine is still trying to deliver message into channel.
  • Fix handling of garbage packets:
    • Incorrect packets silently ignored, it is still possible we'll receive answer from STUN-server.
    • Oversized packets silently ignored, they may be garbage too.

@Snawoot Snawoot marked this pull request as ready for review August 6, 2021 12:10
@Snawoot Snawoot merged commit 03263e4 into master Aug 9, 2021
@Snawoot Snawoot deleted the natprobe_fixes branch August 9, 2021 06:30
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.

4 participants