Using Little Snitch, I have a rule in place that allows all connections to my personal XMPP/TURN server and denies everything else:
I'd like all of my calls to go through my XMPP server so folks don't have my client's IP address.
Changing the deny rule to Ask for any outgoing connections prompts me to allow an outgoing connection to a single IP (presumably my contact's voice server, or something) when the call connects. If I leave this prompt hanging, the call immediately connects via my personal TURN server.
However, if I deny the prompt from Little Snitch and try to call back, BeagleIM will crash as soon as the call connects:
To Reproduce
Configure Little Snitch as I have above.
Try to make a call.
BeagleIM will crash once the call connects.
Expected behavior
BeagleIM doesn't crash when I try to make a call.
Desktop (please complete the following information):
I can reproduce this bug on Beagle 5.1, Beagle 5.2, and Beagle 5.3-b157 on macOS 11.6.7 (20G630) using Little Snitch 5.4.1 (6256).
Unknown commented 2 years ago
AFAIK even if you block all outgoing & incoming traffic except to your XMPP server (which in your case would also need to be a TURN server), then WebRTC (used to establish the connection) will try to get your client's external IP from your TURN server (using STUN) and when found would XMPP client will send it to other call participants as the endpoint which should be checked/used for establishing WebRTC connection?
Unless you modify your TURN server not to send back to you your client's IP address (I'm not sure if that is possible).
Anyway, we will review crash logs and provide a fix crash is inside BeagleIM (and not in WebRTC).
Describe the bug
Using Little Snitch, I have a rule in place that allows all connections to my personal XMPP/TURN server and denies everything else:
I'd like all of my calls to go through my XMPP server so folks don't have my client's IP address.
Changing the deny rule to
Ask for any outgoing connections
prompts me to allow an outgoing connection to a single IP (presumably my contact's voice server, or something) when the call connects. If I leave this prompt hanging, the call immediately connects via my personal TURN server.However, if I deny the prompt from Little Snitch and try to call back, BeagleIM will crash as soon as the call connects:
To Reproduce
Expected behavior
Desktop (please complete the following information):
I can reproduce this bug on Beagle 5.1, Beagle 5.2, and Beagle 5.3-b157 on macOS 11.6.7 (20G630) using Little Snitch 5.4.1 (6256).