[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] RFC: add listener_allow_anonymous
|
Kurt Van Dijck <dev.kurt@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> > In order to have authenticated access to my MQTT box from outside,
> > I set allow_anonymous to 1. This does have the side effect that
> > my local programs also need a 'dummy' username+password to authenticate.
> > This dummy username+password is then usable from outside also.
> >
> > I addressed this by adding the patch below. It allows MQTT to be
> > configured to allow anonymous connections from localhost, and
> > authenicated connections from outside.
>
> Today, I solved my issue differently by adding a
> 'listener_allow_anonymous' config option. This is easier to add
> and the backward compatibility is simpler.
>
> Since I typically use a TLS-enabled port for outside access and
> a non-TLS port for local use, this fits my problem as well.
>
> Is this a valuable thing to do? Is it right?
> How else should I address my problem?
Why not just a separate listener that only listens on localhost?
Attachment:
signature.html
Description: OpenPGP Digital Signature