Superb quality and spec AB-Com PULSe 4K SE only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[GiGaBlue QUAD+ PLUS] Stream HTTP authentication not working / unable to change stream port?

outrage_uk

New member
Joined
Jun 21, 2014
Messages
112
Reaction score
0
Points
0
Im sick of having to manually disconnect strangers that are streaming from my box.

Ive tried to turn on HTTP authentication (Menu -> Setup -> System -> Customise -> "Require authentication for http streams") but neither VLC or direct entering username/password works (http://root:*password*@xxxx.xxxx.xxxx:8001/1:0:1:1933:7FF:2:11A0000:0:0:0::101 - BBC One Yorks)

Also "Fallback remote receiver streaming port" doesn't seem to change streaming port number (probably getting the function of this wrong).

I've checked in OpenWebIF and "Disable access for root user is set to no".

1_0_19_5104_80F_2_11A0000_0_0_0.webp

1_0_19_5104_80F_2_11A0000_0_0_02.webp
 
Thanks, but forgive me for been thick - but what will that actually do.
 
If you're leaving your box open to streaming to anyone, you have a lot bigger issues to worry about on your home network by the way.
 
I have a £150 Asus router that seemly can't block incoming WAN IP addresses (it's all or nothing for port forwarding). I've blocked outgoing ports which works fine now, just find it annoying how specific incoming connections can't be blocked, but that's another problem for another forum.
 
I have a £150 Asus router that seemly can't block incoming WAN IP addresses (it's all or nothing for port forwarding). I've blocked outgoing ports which works fine now, just find it annoying how specific incoming connections can't be blocked, but that's another problem for another forum.

Doesn't matter how much your router cost you, if you set it up incorrectly, it's your problem, not an E2 or image issue.
 
I have a £150 Asus router that seemly can't block incoming WAN IP addresses (it's all or nothing for port forwarding).
I've only seen incoming filter rules on modems, rather than routers. So it's not on my Asus router either, but is on my Billion modem.
Not that I use it, though.
 
Doesn't matter how much your router cost you, if you set it up incorrectly, it's your problem, not an E2 or image issue.

Yes im aware of that and as I say, that problem was for another forum - the router issue is now sorted
(iptables -t nat -I VSERVER 3 -p tcp -m tcp -s x.x.x.x --dport 8001 -j DNAT --to x.x.x.x)

The problem with E2/Openvix I refer to is still there however, when you enable HTTP authentication - it doesn't work with the root credentials. VLC repeatedly re-requests logins, and a direct url reports an error.
 
Last edited:
Ive tried to turn on HTTP authentication (Menu -> Setup -> System -> Customise -> "Require authentication for http streams") but neither VLC or direct entering username/password works (http://root:*password*@xxxx.xxxx.xxxx:8001/1:0:1:1933:7FF:2:11A0000:0:0:0::101 - BBC One Yorks)


I've checked in OpenWebIF and "Disable access for root user is set to no".
I've just tested authentication on my box with vlc.
It works OK using a non-root account for authentication.
It doesn't seem to work with root.

I can't see that the OpenWebif "Disable access for root user" setting actually makes any difference, as the streaming port (8001) isn't run by OpenWebif anyway. Min you, the code which handles it (enigma2/lib/dvb/streamserver.cpp) doesn't do any checking of the account name so the non-working for root is a little mysterious.

Anyway, as a workaround, try this.

  • Login to the box and create a non-root account (useradd streamer)
  • Set a password for it (passwd streamer)
  • Use that in the vlc authentication prompt.
 
Good suggestion, sadly adding a non root account still does not allow streaming with authentication.

What is strange, if you keep trying username and password time and time again, i eventually does work as a one off.

As you implied, I believe the fault lies somewhere within: enigma2/lib/dvb/streamserver.cpp

@Huevos , i'd imagine you know more about this.
 
Last edited:
Which box, image and build are you using?
I'm using a MiracleBox Premium Twin, and was using 3.2-027, but the code is generic. Also, the only recent change has been to add some code to allow you to list connected clients from python code.
 
Good suggestion, sadly adding a non root account still does not allow streaming with authentication.

What is strange, if you keep trying username and password time and time again, .

having the same issue - can't stream successfully when streaming authentication is switched on.

how exactly is this feature supposed to be used?
 

OpenViX Feeds Status

Back
Top