[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Can SUB without authentication with allow_anonymous=false
|
Hi Stefano,
Are you by any chance setting the "use_identity_as_username" option to true?
Cheers,
Roger
On Fri, Mar 20, 2015 at 11:02 AM, Stefano Costa
<stefano.costa@xxxxxxxxxxx> wrote:
> On 20/03/2015 11:57, Stefano Costa wrote:
>>
>> With allow_anonymous=false and authentication enabled (either with
>> password or psk) I still can connect with a "mosquitto_sub" without
>> specifying user/password (or identity). Of course "mosquitto_pub" quit
>> with error in the same situation.
>>
>> Is this intended?
>>
>> S
>
>
> ...sorry tested again: this is true for PSK (can connect with SUB without
> authentication, and of course I'm not receiving messages) but NOT true for
> password authentication: when enabled in mosquitto.conf, SUB without
> authentication will fail.
>
>
>
>
>
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev