Jump to content


Photo

E2 Patch to remove Internal Webserver


  • Please log in to reply
10 replies to this topic

#1 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 13 November 2011 - 06:54

Hi,

attached a small patch that remove the internal Webserver from e2.

Regards,

nobody9

Attached Files



Re: E2 Patch to remove Internal Webserver #2 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 13 November 2011 - 08:27

What is de intend??

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 Patch to remove Internal Webserver #3 daddelfalk

  • Senior Member
  • 489 posts

+17
Neutral

Posted 13 November 2011 - 09:32

Hi Littlesat,

i think nobody9 wants to state out that this Patch disable the internal E2-HTTP-Server Listening on Socket TCP/8080 as seen with:

root@et9x00:/# netstat -an | grep 808
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
root@et9x00:/#

root@et9x00:/# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
3433/enigma2

Port 8080 is defined in here:

http://openpli.git.s...a4b4eec;hb=HEAD

Don't know what actually makes more scene.

1. Completely remove internal HTTP Components in E2 or

2. Just change the Port 8080 to some other non-priviledged "Unused" Port according to IANA-Portassignment.

3. Don't know which other components bind or refer on internal E2 Port 8080?

Does if have an other negative side-effects to diable Port usage 8080 in E2?

I think OpenWebIf uses Port 8080 as Default Portnumer.

twisted.internet.error.CannotListenError: Couldn't listen on any:8080: [Errno 125] Address already in use.


Edited by daddelfalk, 13 November 2011 - 09:35.


Re: E2 Patch to remove Internal Webserver #4 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 13 November 2011 - 09:38

What is de intend??


It used fixed port 8080 and you can´t disabled it. The most Users don´t know that a Internal Webserver in E2 exist. I think it better to have only the Webserver as Python Plugin.
The other think is for security reason then you have acces to all files on the Box.

nobody9

Re: E2 Patch to remove Internal Webserver #5 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 13 November 2011 - 09:48

Never noticed it was there. That alone is enough reason to remove it, it's just a waste of resources.
Real musicians never die - they just decompose

Re: E2 Patch to remove Internal Webserver #6 Jeroensky

  • Senior Member
  • 2,177 posts

+12
Neutral

Posted 13 November 2011 - 15:45

So let me get it clear.
4 example webif (newest original) and streaminterface(pli plugin) they all use the webserver as python plugin?

So the httpd at port 8080 is not in use at all?

Maybe something for openpli to remove it, and offer the httpd on port 8080 as plugin? (if someone need it)

So if we run this remove internal webserver patch of first posting, then dreambox webif and streaminterface are unchanged?
I prefer to dump all unnessesary resources eating stuff.

Maybe a stupid question, but how to use the *.patch file?

Edited by J3r03n5ky, 13 November 2011 - 15:49.

Dreambox Dm8000 with all hardware addons donated to OpenPli. No interests anymore in policy of CanalDigitaal / M7 group and now-a-days channel encryption (like CI+ / HD+).

Good luck Enigma2 / OpenPli, it was fun with Sky Movies and so on, collected a nice collection of movies. Now back to basic boring lineair TV with KPN iTV (VDSL2 pair bonding 219 / 63 Mbps).

The VDSL pair bonding is excellent for... torrents to NAS in higher quality then HDTV (Like Dolby-TrueHD or DTS-Master-Audio soundquality ) :D


Re: E2 Patch to remove Internal Webserver #7 daddelfalk

  • Senior Member
  • 489 posts

+17
Neutral

Posted 13 November 2011 - 17:25

Hi,

just update your STB tomorrow and Webserver on Port 8080 will be removed, so no need for you to apply such a Patch. The other mentioned Plugins uses completly different Ports

WebInterface: 80/443 as default

and Streamproxy: 8001

Re: E2 Patch to remove Internal Webserver #8 Jeroensky

  • Senior Member
  • 2,177 posts

+12
Neutral

Posted 13 November 2011 - 18:56

Awesome.
Didn't realize that it goes so fast at openPli (and that is goooood).

So streaminterface plugin (port 40080), isn't depending on the removed httpd.
I'll check telnet update/upgrade tomorrow what it does.
.

Edited by J3r03n5ky, 13 November 2011 - 18:56.

Dreambox Dm8000 with all hardware addons donated to OpenPli. No interests anymore in policy of CanalDigitaal / M7 group and now-a-days channel encryption (like CI+ / HD+).

Good luck Enigma2 / OpenPli, it was fun with Sky Movies and so on, collected a nice collection of movies. Now back to basic boring lineair TV with KPN iTV (VDSL2 pair bonding 219 / 63 Mbps).

The VDSL pair bonding is excellent for... torrents to NAS in higher quality then HDTV (Like Dolby-TrueHD or DTS-Master-Audio soundquality ) :D


Re: E2 Patch to remove Internal Webserver #9 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 13 November 2011 - 20:19

Nice port for openwebinterface....;)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 Patch to remove Internal Webserver #10 Jeroensky

  • Senior Member
  • 2,177 posts

+12
Neutral

Posted 14 November 2011 - 11:19

After update of today, port 8080 is not active anymore. So i assume httpd is away, or disabled?

Dreambox Dm8000 with all hardware addons donated to OpenPli. No interests anymore in policy of CanalDigitaal / M7 group and now-a-days channel encryption (like CI+ / HD+).

Good luck Enigma2 / OpenPli, it was fun with Sky Movies and so on, collected a nice collection of movies. Now back to basic boring lineair TV with KPN iTV (VDSL2 pair bonding 219 / 63 Mbps).

The VDSL pair bonding is excellent for... torrents to NAS in higher quality then HDTV (Like Dolby-TrueHD or DTS-Master-Audio soundquality ) :D


Re: E2 Patch to remove Internal Webserver #11 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 14 November 2011 - 11:22

It is completely away...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users