NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 13 14 15 16 17 … 433 Next »
Web streaming security

Web streaming security
bisonfan
Offline

Member

Posts: 99
Threads: 21
Joined: Jan 2014
#1
2019-10-29, 02:50 PM
Hi!

Long time NPVR user that is slowly expanding the horizon of the software offerings.  This past weekend I figured out how to allow a family member to stream to remote location (their house) a football game via my PVR system.  I used my routers HTTP server and all worked well for the most part(occasional drops). However after the fact I realized that this wasn't the most secure connection. 

My System is an r3 1200 windows 10, NPVR build 4.2.5, asus rt-arch13 router

So my question is what is the best way to secure an output feed from your system?  What methods are others using? Is this outside of the realm of what the web access portion of the software is intended for?

My first thought was a VPN however they seem to be inconsistent (even paid services)… I than looked at HTTPS but not totally certain that it is what I need.

Thanks in advance for any help.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,865
Threads: 954
Joined: May 2006
#2
2019-10-29, 06:30 PM
NextPVR doesn't offer a "hardened" server so it is user beware. I suspect any really good hacker could hack there way into a v4 or v5 web server if they really really wanted to so your first have to figure out what you are trying to guard and from whom. What more can they find that google doesn't already know.

To answer your question the best way is to host your own vpn server like OpenVPN. PPTP might be ok but even it can be hacked. This type of server won't be easy for casual viewing since you have to install the clients.

Commercial VPN's are typicall for outbound privacy not inbound. Then there are issues like the NordVPN leak where services might not be as secure as you think.

One minimum thing you might do is to only open your ipv6 address this will avoid many script kiddies who might be looking (if never even seen any "knocks" on port 8866 in my logs)

v5 is definitely a better bet for security because you can be configure to run https and even run behind an nginx proxy server which is going to be more hardened. Also the internal web server is newer and is still maintained.

Martin
bisonfan
Offline

Member

Posts: 99
Threads: 21
Joined: Jan 2014
#3
2019-10-29, 08:18 PM
Thanks Martin...

Since V5 is not an .exe are there good instructions on how to install it? I tried installing it but it didn't seems to do much if anything. I am quite certain I did something wrong in the install

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,865
Threads: 954
Joined: May 2006
#4
2019-10-29, 08:24 PM
This is the most complete so far. https://forums.nextpvr.com/showthread.php?tid=59913

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#5
2019-10-30, 06:06 AM
(2019-10-29, 08:18 PM)bisonfan Wrote: Thanks Martin... 

Since V5 is not an .exe are there good instructions on how to install it?  I tried installing it but it didn't seems to do much if anything.  I am quite certain I did something wrong in the install

Thanks
At it's most basic, on a machine without NextPVR v4 (or where NextPVR v4 has been stopped), just do this:

Unzip the files into a directory like "C:\Program Files\NPVR" and run NextPVRServer.exe. A few seconds later the web app should start in your default browser. Login with admin/password, head to the settings screen....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#6
2019-10-30, 06:10 AM
Realistically, I wouldn't suggest using v4 over the internet. v5 is more secure, but make sure you're not using the default username/password/pin. You could also use a different port number for port forwarding from your router.

With v5 it is also possible to https etc, if you have certs, or via proxy pass from another server like iis/nginx etc.
bisonfan
Offline

Member

Posts: 99
Threads: 21
Joined: Jan 2014
#7
2019-11-05, 06:33 PM
Ok I was able to get V5 installed and it seems to be working but I am starting to lean towards it is not possible with my current setup.

1) I have messed with the config files to decrease quality.  I have changed the max bitrate to 1,500,000 Kbps which I believe is 1.5Mbps. VBR vs CBR seems to do little different.

2) I am not sure how to disable the V4 web server so I am running V5 webserver, is that necessary?

3) FFmpeg is doing the transcode, I have read in past posts that you can utilize VLC for transcode but have yet to figure out how to complete that. I did change the transcode location but it did nothing...

4) my ISP upload speed averages 10 Mbps.  This seems to be borderline for reliable service...

5) When accessing the service from a remote location, I can get 10 seconds worth of streaming before it crashes the webserver protion of NPVR and I have to restart the recording service.

6) windows 10 seems to "Burst" the upload information.  Sometime the upload is 0Mbps sometime it is 5-6Mbps per second this cycles about every second. I receive a steady stream from my HDHR tuners... Would be nice if I could figure out how to "flatten" the upload so it was consistently under 2mpbs consistently...

Any thoughts or recommendations would be greatly appreciated...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#8
2019-11-05, 06:50 PM
(2019-11-05, 06:33 PM)bisonfan Wrote: 5) When accessing the service from a remote location, I can get 10 seconds worth of streaming before it crashes the webserver protion of NPVR and I have to restart the recording service.
If you want to post the logs showing this, I'm happy to take a look. It absolutely shouldn't be crashing the web server, and I've not seen any other reports of this.

What CPU is in your computer? Transcoding is relatively hard on CPU, but most modern computers cope just fine.

Quote:4) my ISP upload speed averages 10 Mbps. This seems to be borderline for reliable service...
In the web app, in Settings->General, I'd set the streaming profile to the lowest quality (360p - 500kbps), and try that. If that works ok, you can try increasing to higher bitrates, and hopefully find the sweet spot that works best for your setup vs quality.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#9
2019-11-05, 06:51 PM
Quote:2) I am not sure how to disable the V4 web server so I am running V5 webserver, is that necessary?
If you've uninstalled v4, and moved to v5, you don't need to worry about this.

If you've got both installed, you can change the web server port in the config.xml file and restart.

The v5 web app is better than the v4 web app, so definitely try to stick to that.
bisonfan
Offline

Member

Posts: 99
Threads: 21
Joined: Jan 2014
#10
2019-11-05, 07:27 PM
Sub

Thanks for the replies.  

cpu is a brand new ryzen 3 1200 with A320 motherboard & 8GB DDR4 @ 2666 MHZ, it is uses about 15-20% when transcoding to 1080P down.  It is a mid level GPU in it, however I am not sure I can use or need to use that for transcoding...

I did not uninstall v4 so I think I am running both.  I will uninstall version 4 tonight and see if that helps.

In the settings->General (not sure what location you are referencing) I am using 480p 1 MPBS however I have mess with my config file so I am not sure I have the correct configuration... Anyway I can get this portion of the config file?

I will pull my log file... It works great inside my router network, outside is where it crashes...

Thanks!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Streaming Services with NPVR tesla1886 4 2,660 2021-01-04, 02:58 AM
Last Post: tesla1886
  Web Cleint Streaming Failed (Transcoder Exited) SilverTiger 6 3,790 2019-08-14, 10:24 PM
Last Post: SilverTiger
  log files for streaming outside network MaxOne72 9 2,519 2019-07-26, 05:32 AM
Last Post: persim
  streaming outside network MaxOne72 3 1,428 2019-07-24, 12:54 AM
Last Post: mvallevand
  HDHomeRun Premium Streaming channels ccihon 5 1,656 2018-11-21, 02:21 AM
Last Post: sub
  Not all channels streaming after upgrade rosede 66 17,280 2018-09-27, 12:35 PM
Last Post: BrettB
  Channels with AC3 give laggy video and doesn't work when streaming jeppetinghoej 12 3,230 2018-02-26, 09:23 PM
Last Post: sub
  Streaming Failed (transcoder exited) Coolbob99 3 2,476 2018-01-29, 01:00 AM
Last Post: sub
  Support for on demand streaming channels ? NicolasK 4 2,168 2018-01-17, 04:59 PM
Last Post: NicolasK
  "Not all bytes read" errors when streaming live TV toii 2 1,418 2017-09-23, 07:21 PM
Last Post: toii

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode