Skip to content

Add RFC3489 RESPONSE-ADDRESS support with security opt-in#66

Open
KP000007 wants to merge 2 commits intojselbie:masterfrom
KP000007:master
Open

Add RFC3489 RESPONSE-ADDRESS support with security opt-in#66
KP000007 wants to merge 2 commits intojselbie:masterfrom
KP000007:master

Conversation

@KP000007
Copy link

Implement support for the RFC3489 RESPONSE-ADDRESS attribute used in Binding Lifetime Discovery. This feature is disabled by default and requires the --allow-response-address-unsafe flag due to DoS amplification risks.

  • Add GetResponseAddress() method to CStunMessageReader
  • Add --allow-response-address-unsafe command-line option
  • Pass flag through server config and TransportAddressSet
  • Update messagehandler to honor RESPONSE-ADDRESS when enabled
  • Document security implications in stunserver.md

Implement support for the RFC3489 RESPONSE-ADDRESS attribute used in
Binding Lifetime Discovery. This feature is disabled by default and
requires the --allow-response-address-unsafe flag due to DoS
amplification risks.

- Add GetResponseAddress() method to CStunMessageReader
- Add --allow-response-address-unsafe command-line option
- Pass flag through server config and TransportAddressSet
- Update messagehandler to honor RESPONSE-ADDRESS when enabled
- Document security implications in stunserver.md

Signed-off-by: Panagiotis Katsikogiannis <panagiotis.katsikogiannis@mitel.com>
Updated stunserver.txtcode from stunserver.md to include the new
--allow-response-address-unsafe flag in the help output.

Signed-off-by: Panagiotis Katsikogiannis <panagiotis.katsikogiannis@mitel.com>
@jselbie
Copy link
Owner

jselbie commented Jan 28, 2026

Thank you. I'll take a look within the next couple of days.

@KP000007
Copy link
Author

Is there any update on this one?

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.

2 participants