Repository navigation
Replies: 4 comments
|
I think the confusion comes from the documentation not fully reflecting the 15.5.0 change yet. Looking at the current source, // #define DISABLE_REFERER_CHK // [SetOption128] Disable HTTP APIThe 15.5.0 changelog also explicitly says the state was inverted and HTTP access is now off by default. So as I understand the current behavior:
That also explains why the Web UI's "Enable HTTP API" checkbox changes together with SetOption128. Regarding So yes, the older description of SetOption128 purely as "Web referrer check" seems misleading after the 15.5.0 behavior change. It probably needs a documentation update to describe it as HTTP API access rather than simply a referrer-check toggle. |
|
Thanks for the clarification - I agree with you. Just wondering if there has ever been any discussion about that change in the default behavior - I could not find any. It requires an extra step to get them working with those app, that a begginer might struggle with, understanding why he needs to do that. Obviously the final choice in regard to default values is up to you guys, as is the design of security features, I just would want to highlight this reduces the ease of use (I know security is always a burden). I would have preferred a note in Web UI stating that no password is set, I think that would have increased security more, as now people will leave their HTTP web interface open. |
I received PM's from AI pushed security reports. To get rid of AI flooding I inverted the state of the flag to fix at least this "anomaly". There were other issues reported too about features not enabled in the default binaries which I refuse to waste my time on. |
|
Thanks Theo for the clarification - and welcome to the wonderful new world of AI, making our lives so much easier! Decision up to you obviously, but I guess it will have some impact on ease of use of Tasmota in combination with everything that does not use MQTT (e.g. all Apps and I even use Home Assistant with Tasmota through HTTP triggers). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
as per the latest release notes for 15.5.0 there has been a fundamental change:
As per the documentation this is also controlled by SetOption128:
Four questions:
When SetOption128 is ON, the HTTP API is on and referrer check is disabled?
When SetOption128 is OFF the HTTP API is off, thus referrer check is not of interest anyhow
Somehow this seems to be very confusing to me - can you clear this up?
Lastly:
The forced default of "HTTP API off" is a big thing for all users that use apps like "Tasmotrol" or "Tasmota Remota" or others that communicate with the devices directly via HTTP commands.
Now fresh users (or after device resets) have to use SetOption128 or enable HTTP API in Web UI, before they can use those apps.
That is a big issue for users not that savvy in Tasmota configuration, with a strong decrease of usability.
I would have preferred a "note" in web UI instead saying "HTTP password not set", to make users aware that they should set a PW, instead of making them find out the hard way, when they try to use those apps.
Security is important - but usability as well.
All reactions