-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Support for custom path for MQTT over WebSockets #1896
Comments
Note: If we implement this, we will need to do this in the iOS app too. |
I also want to add that I would write something about the path used by Owntracks in the log/debug since it only say I was loosing my mind since I though Owntracks asked for
for ref:
|
@kuolemaaa why do you think you need to modify the path? We try to implement standard behaviour not edge cases. |
@ckrey I would like to use MQTT over WS over TLS using a secret long path as a security measure when (or better "where") I cannot use mTLS |
Security by obscurity ("hiding behind a long path") is never a good idea. |
nice textbook answer. In MQTT over WS over TLS I dont think the path is communicated before the TLS channel is correctly established. I'm trying to obfuscate my endpoint here, not base my entire security stack on it. Endpoint that will be communicated inside a TLS connection, then WS will do its security stuff and MQTT will do its own authentication stuff. Not so different from using long random strings that we still send through the wire nowadays (passwords, tokens, you name it) |
What's your threat model? Why is MQTT credentials insufficient, but MQTT credentials + secret path acceptable?
The state of the art is to explicitly not put secrets on the wire. A VPN feels like a better control if you want to restrict who can SYN to your endpoint. |
By default Owntracks tries to establish a connection, using MQTT over WS, contacting
<hostname>:<port>/mqtt
It would be cool if there is a way to change that path to something else, customized. Even if one should use the editor in the configuration manager.
The text was updated successfully, but these errors were encountered: