thanks for that.
its starting to look like the device may be misbehaving.
agame wrote:problem solved: it appears the later DoorBird device is now only supporting digest authentication (whereas they formerly didn't). I have the newer intercom calling an action group directly from Indigo web server without the httpd plugin.
FlyingDiver wrote:agame wrote:
I might just go ahead and add digest to the plugin so users don't have to mix and match, in cases like yours.
FlyingDiver wrote:Yeah, maybe not. It's a lot more complicated than doing Basic. Not sure when I'll have time. If you think it'll really be useful, create an issue at https://github.com/FlyingDiver/Indigo-HTTPd/issues
Thanks!
agame wrote:No worries. Given indigo supports digest, its a nice-to-have really. hopefully multiple indigo user logins will appear one day.... I don't suppose as an alternative your plugin could more precisely identify the error...ie detect attempted digest authentication in order to produce a more descriptive error message than 'no authentication header' ?
FlyingDiver wrote:
From the plugin's point of view, there is no error. It gets a request without a header and reports that. It then tells the client (DoorBird) that Basic Authentication is required. That's the standard HTTP flow. The client can't do an unsolicited request with Digest Authentication, the protocol doesn't allow for that. So there's no way to tell (as far as I know) that it really wants to do Digest.
The client never does another request, and there's no way to know it's not doing so because the plugin only does Basic Auth.
cjp767 wrote:Here's something that I noticed in my Event Log. Looks like someone was trying to get in.
rustyhodge wrote:If you have your router tunnel the HTTP port to a non-standard one, you can avoid a lot of these automated attacks.
Pick a random number between 8000-32000 and configure your router to use that as the "public" port.
You can then still connect with http://your.url.com:#### where #### is the port number.
HTTPdId = "com.flyingdiver.indigoplugin.httpd"
HTTPdPlugin = indigo.server.getPlugin(HTTPdId)
if HTTPdPlugin.isEnabled():
HTTPdPlugin.restart(waitUntilDone=True)
Users browsing this forum: No registered users and 1 guest