![]() |
|
General Discussion General discussion about SageTV and related companies, products, and technologies. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Web Server Security - is it safe?
I'm wondering what people's opinions are on the safety of running web servers (like the Sage web server add-on) over the open internet?
What's the risk if I get a dynamic dns account and setup port forwarding in my router so that I can access a lightweight web server like this over the internet? I'm interested because I recently installed some security cameras outside my house and have been playing with some different camera monitoring software. One of the programs I have been looking at is Blue Iris. The Blue Iris software has its own web server built-in to allow you to access your live cameras and recorded clips over the LAN or WAN. I plan to run it on the same PC that is used as my Sage Server. I was also thinking about installing the web server plugin for Sage (I can set it to use a different port than Blue Iris).
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#2
|
||||
|
||||
Just my opinion...
Not really Quote:
Quote:
Quote:
What I do at home is I use apache as a reverse proxy for this sort of thing - this allows me to wrap the sagetv web interface with SSL.
__________________
{"HW": "NUC", "CPU": "i7-5557U", "RAM": "16GB", "Recordings": "2TB SATA", "Imports": "2x 4TB USB", "Clients": ["HD300", "HD200", "SageTVClient"]} |
#3
|
|||
|
|||
You may want to look at port knocking
http://en.wikipedia.org/wiki/Port_knocking to improve your chances.
__________________
TV: Samsung UN46D8000 Server: Intel Core i3 540, 4G RAM, Matrox G450, 70GB EXT3 encrypted software RAID1 system drive, 1TB XFS tv recording drive, 2TB EXT3 encrypted data drive mirror across 2 machines, 2TB EXT3 encrypted media drive mirror across 2 machines, CentOS 6 64 bit, Experimenting with DNLA servers 1Gb wired network Disconnected after G day[HD 100 Media Extender, Placeshifter 7.x, SageTV 7.x, HDHomeRun] |
#4
|
|||
|
|||
VPN
You might want to look into running a VPN server for access to your internal network. OpenVPN is quite good.
Also, running a simple / small / obscure web server does tend to help. I ran my company's web server with thttpd running under FreeBSD on a DEC Alpha for many years. It was never down & never hacked. All the apache / x86 targeted attacks just bounced right off. With "professional IT" now running the server since it is "business critical", it is running some kind of "best practices" apache/php clusterf*ck and gets hacked pretty much weekly.. So much for the pros. Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#5
|
|||
|
|||
+1 for VPN
Jetty can use HTTPS but obviously you still have to forward the port. I am using pfSense firewall and IPsec VPN (for iOS clents). If you don't need iPhone/iPad access you can use OpenVPN. IMHO Ps. I also use Blue Iris ...very good.
__________________
SageTV 7.1.9 on Win 7 Ultimate x86; Intel DH67CF, i3-2100T, 4GB DDR3, 60GB SSD, 8TB Drive Bender storage pool, blu-ray. 2x HD PVR (SA 4250HD firewire channel change), 2x HD200 extenders (external IR receiver mod, HD300 remotes). Plugins: Custom Main Menu, Enable/Disable Favorites, Stock Manager, Web Interface, Mobile Web Interface, PlayOn Last edited by DMT; 08-17-2012 at 08:45 AM. |
#6
|
||||
|
||||
Quote:
This wouldn't be for public viewing (just me and possibly family members), but I want to be able to access from the office or when traveling. I'm not sure what Blue Iris uses for its web server (maybe it's Jetty, maybe not). After reading the various comments, I'm beginning to think the VPN route makes the most sense. I see that iPhone doesn't support OpenVPN, but it looks like it supports PPtP. It looks like Windows 7 has built in support to set-up PPtP for inbound connections, so I may give that a shot. Even with VPN, I'll need to open up a port on the router, but it seems like a VPN connection is a lot more secure than an exposed web server.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#7
|
|||
|
|||
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java safe to use list | MacDaddy | SageTV Software | 3 | 03-27-2011 08:15 AM |
Safe to use Diamond on 7.1.5 or stil must stay on 7.1.2? | TechBill | Diamond | 10 | 03-15-2011 08:00 AM |
Safe to edit UID Prefix? | tmiranda | SageTV Studio | 7 | 12-19-2009 07:43 PM |
How safe is 33099??? | Big Jeff | SageTV Placeshifter | 3 | 07-21-2007 04:12 AM |
New Safe Way to Expand Storage | spike5884 | The SageTV Community | 17 | 07-07-2007 03:12 PM |