Jump to content


Photo

disable root access openwebif


  • Please log in to reply
60 replies to this topic

Re: disable root access openwebif #21 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 21 February 2017 - 19:15

As soon as the drivers that are in our BSP facilitate transcoding, I will include support for it in streamproxy. But that is completely besides my point, please read. I said you can also use streamproxy just for streaming, not transcoding.

 

http://your_stb:8002...rvice=<service>


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: disable root access openwebif #22 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 21 February 2017 - 21:36

yes, I ve read it. but I put the test 20170212 drivers and they are able to transcoding...I will wait for BSP drivers then. I will be happy to work with streamproxy to stream when it will be inside pli. thank you.

Re: disable root access openwebif #23 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 21 February 2017 - 21:59

ok, I have tested streaming with streamproxy, custom port its ok. I will try with non root user, it must work, I think so. thanks.

Re: disable root access openwebif #24 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 21 February 2017 - 22:39

well, about users, you cannot limit to one non root user, root still runs. not a problem, just a mania of mine.

Re: disable root access openwebif #25 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 11:32

Just a last thing, where to find a full howto for streamproxy? Where could I read a full guide about streamproxy? thanks



Re: disable root access openwebif #26 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 22 February 2017 - 17:50

What do you want to know? I am the author... Fire away.


Edited by Erik Slagter, 22 February 2017 - 17:50.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: disable root access openwebif #27 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 18:05

oohh great!!! I only know 2 things about streamproxy, change stream port and transcoding port. I thought it could be able to limit the stream to some users, but it don't work in my tests by these lines:

 

#8001           stream  tcp6    nowait  dave1    /usr/bin/streamproxy      streamproxy
#8002           stream  tcp6    nowait  dave2    /usr/bin/transtreamproxy  transtreamproxy

 

It activate custom user but root user still works... but that is not a problem, just testing on it.

 

Yes, I know formuler f1 cannot transcoding by the moment with pli because you wont activate it until BSP drivers were released.

 

The change port option works. I dont know if my intention of limit to an user is possible.

On the other side, I read something about box hostname and the capacity of stream any content, multimedia files on hdd mounted on local network, as http://hostname:port/service_code

 

I would like to know all setup options and how to configure, something as I made with openvpn, openvpn --help and you have all options, with streamproxy how would it be? I try it but the shell stays blank, and I have to exit with CTRL+C.

 

Thanks in advance.


Edited by daveraver, 22 February 2017 - 18:06.


Re: disable root access openwebif #28 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 18:20

I've found this, just now, not some days ago... how did I look for on google search..??? :blink: :blink:

 

https://github.com/eriksl/streamproxy

 

I am a little lost...


Edited by daveraver, 22 February 2017 - 18:21.


Re: disable root access openwebif #29 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 22 February 2017 - 18:42

#8001           stream  tcp6    nowait  dave1    /usr/bin/streamproxy      streamproxy
#8002           stream  tcp6    nowait  dave2    /usr/bin/transtreamproxy  transtreamproxy

You are confusing the original streamproxy ( https://schwerkraft....y.git;a=summary ) with Erik Slagter's streamproxy ( https://github.com/eriksl/streamproxy ).

I urged him to name his one different to avoid this confusion ...

Dream's streamproxy (Also used by Vu+/VTi) is initiated through /etc/inetd.conf (In VuPlus original or VTi) or xinetd (on DreamOS based images), like in your example above.
Erik's streamproxy is run as a system service, e.g. through SysVinit-Script /etc/init.d/whatever
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: disable root access openwebif #30 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 18:44

I have installed enigma2-streamproxy_3.999+git15+37a3f19-r4_mips32el.ipk.

 

I would like to know how build the last git version by myself with the git source, I dont know if the .ipk is trust source, I dont think so.



Re: disable root access openwebif #31 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 18:45

 

#8001           stream  tcp6    nowait  dave1    /usr/bin/streamproxy      streamproxy
#8002           stream  tcp6    nowait  dave2    /usr/bin/transtreamproxy  transtreamproxy

You are confusing the original streamproxy ( https://schwerkraft....y.git;a=summary ) with Erik Slagter's streamproxy ( https://github.com/eriksl/streamproxy ).

I urged him to name his one different to avoid this confusion ...

Dream's streamproxy (Also used by Vu+/VTi) is initiated through /etc/inetd.conf (In VuPlus original or VTi) or xinetd (on DreamOS based images), like in your example above.
Erik's streamproxy is run as a system service, e.g. through SysVinit-Script /etc/init.d/whatever

 

ok, I think Erik release is better, I am interested in it too...



Re: disable root access openwebif #32 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 22:50

so Erik streamproxy is integrated on pli image?? I dont see any file inside, I dont know how to install or where to allocate the files and which files. can anybody guide me...have I to find out the git by myself?? I've tried it...I will insist...

Edited by daveraver, 22 February 2017 - 22:51.


Re: disable root access openwebif #33 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 22 February 2017 - 23:15

As Erik mentioned earlier, if you have a box that supports transcoding in OpenPLi, the OpenPLi streamproxy is installed by default. There is no streamproxy binary for the Formuler, as it doesn't support transcoding.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: disable root access openwebif #34 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 23:37

whats up with transcoding? I dont have any problem, if I want transcoding with f1 I know what enigma2 I have to install, not pli, but I stay on pli, so I dont want with urgency transcoding. I am talking about setup streamproxy I repeat, no transcoding needed for me now, I will hate transcoding at last, what an obsesion...not my obsesion...sure.

Re: disable root access openwebif #35 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 22 February 2017 - 23:41

We can stream files with streamfile, and simple stream, modifying some parameters. streamproxy is incomplete without transcoding but it may be useful some way, isnt it?

Re: disable root access openwebif #36 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 23 February 2017 - 17:30

Guys guys, relax. The streamproxy can be installed on any PLi-supported receiver (transcoding or non-transcoding). It just not installed by default then, you need to install it yourself: opkg install streamproxy.

 

If it doesn't work on your f1, I will fix it, that's something that should work.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: disable root access openwebif #37 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 23 February 2017 - 17:58

By default there is no match in stbs_traits and it doesn't work. I guess we need to use defaults when no match.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: disable root access openwebif #38 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 23 February 2017 - 18:46

This topic is going around in circles.

 

Either the Formuler F1 has transcoding support in the drivers, in which case our streamproxy should support it, and it should be installed by default. Or it doesn't, in which case this in a non-discussion.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: disable root access openwebif #39 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 23 February 2017 - 21:04

Guys guys, relax. The streamproxy can be installed on any PLi-supported receiver (transcoding or non-transcoding). It just not installed by default then, you need to install it yourself: opkg install streamproxy.

If it doesn't work on your f1, I will fix it, that's something that should work.

ok, I tried to install it some weeks ago, it cannot be installed by 'opkg install streamproxy', that's why I looked for a .ipk file, and I found the old dreambox streamproxy. I will remove the old packet and I will install your streambox, Erik, I hope you will warn us when streamproxy were available to install by putty. thanks.

Re: disable root access openwebif #40 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 24 February 2017 - 09:30

Either the Formuler F1 has transcoding support in the drivers, in which case our streamproxy should support it, and it should be installed by default. Or it doesn't, in which case this in a non-discussion.

No, not true. The streamproxy is supposed to be installable on each and every model (but by default isn't). It just won't support transcoding on non-transcoding models. It's supposed to present a uniform streaming/transcoding on all models. That's why it's also installed on xtrend and mutant models, even though it's strictly not required.

 

As I said, if it isn't working like that, right now, I should fix it.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users