owntracks / quicksetup

A (mostly) automated installer for OwnTracks Recorder, Frontend with MQTT and Let's Encrypt
https://owntracks.org/booklet/guide/quicksetup/
9 stars 3 forks source link

Do we support MQTT over Websockets? #3

Closed jpmens closed 5 months ago

ckrey commented 5 months ago

I think we added WS support back in the days when a lot of company firewalls blocked outgoing connections to port 8883. Is this still the case? If we have to support it, there is another layer of complexity (keepalive, SNI, ...) iOS app supports it, mosquitto current version?

jpmens commented 5 months ago

I knew of its existence in our apps, of course, hence the question. But your comment regarding support in Mosquitto is very good. I do not see compiled in Websocket support on the Debian package:

$ ldd /usr/sbin/mosquitto
    linux-vdso.so.1
    libwrap.so.0 
    libsystemd.so.0 
    libdlt.so.2 
    libssl.so.3 
    libcrypto.so.3 
    libm.so.6 
    libcap.so.2 
    libc.so.6 
    libnsl.so.2 
    libgcrypt.so.20 
    liblzma.so.5 
    libzstd.so.1 
    liblz4.so.1 
    /lib64/ld-linux-x86-64.so.2
    libtirpc.so.3 
    libgpg-error.so.0 
    libgssapi_krb5.so.2 
    libkrb5.so.3 
    libk5crypto.so.3 
    libcom_err.so.2 
    libkrb5support.so.0 
    libkeyutils.so.1 
    libresolv.so.2 

And that immediately closes this case, as we do NOT want to build special packages.