option to bind target port to 0.0.0.0 #553
Labels
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-1.14
cwtch-1.15
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.12
cwtch-beta-1.13
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
hybrid-groups
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
packaging
post-stable
question
questionable
requires-more-effort-than-we-can-spare
rust
scheduled
stable-blocker
tails
testing-needed
tests
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
whonix
windows
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch-ui#553
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System: Whonix
Cwtch binds to
127.0.0.1:RAND
For services to be reacheable, the Workstation needs to set the service to bind to
0.0.0.0
, so it can listen on the internal network interface Qubes IP or 10.152.152.11 for Whonix KVM or Virtual Box. If Cwtch binds to0.0.0.0
, then we don't need to worry about the correct ip, as it will be reacheable on all interfaces. This is not a problem for whonix as it is firewalled and only connected to the Gateway that routes everything through tor.I understand the reason Cwtch binds to 127.0.0.1 for normal systems, but for Whonix it won't work. Bitcoind for example defaults to 127.0.0.1 and we have to manually edit the bitcoin.conf to set 0.0.0.0. But for Cwtch there is no conf.
Can a UI configuration option be added to
bind listening address to all interfaces
or option to set the interface to bind to? This would be very useful for systems that are firewalled and use internal network interfaces.5996d426c1/tor/listen.go (L129)
To clarify the first port, the only thing I am asking it to make
127.0.0.1
become a variable so it can have other values. I know this will require some changes on the UI so it may take some time.Anyway, loving the UI so far, it is the best chat client I've ever used, and I am not talking about private open source messengers, but in general, it has made the experience so nice that I hope in the future I can say for normies to use it without requiring a cell phone like Signal.
Some Whonix documentation for more detailed information.
https://github.com/Kicksecure/proposals/blob/master/635-listen-port-convention.txt
https://www.whonix.org/wiki/Dev/Project_friendly_applications_best_practices#Listen_Interface
So as per Whonix recommendation, it doesn't even need a UI config, that would require more code change, instead detecting Whonix and setting the correct binding interface seems more practical for the Cwtch developers.
Python example:
Implemented in: openprivacy/connectivity#47
Initial documentation stub here: https://docs.cwtch.im/docs/platforms/whonix
Doc update cwtch.im/docs.cwtch.im#10