SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #2421  
Old 01-30-2010, 11:52 PM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 444
Webserver streaming

I love the webserver, and mostly use it to manage conversions, anc checking/creating recordings remotely. I was, however, experimenting with streaming videos via the webserver, and can't get it to work. "Stream original video" over the LAN works fine, opening up VLC when I click on "pls." When I try to use the stream transcoded video links, however, VLC comes up, but can't seem to connect. I've tried various transcode formats, but nothing works.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
  #2422  
Old 01-31-2010, 09:48 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
v 2.26 snapshot 47 has the following changes:
  • Video conversions now allows entry of a new folder and filename when deleting original recording
  • Video conversions now allows entry of start and duration when converting multiple recordings
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #2423  
Old 02-01-2010, 12:12 PM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
This probably isn't a great place to ask this, but I can't think of a better spot...

This may also be a very *very* stupid question...

I don't want to expose the sage web server directly to the outside world. I've got SSH set up inside my network, and I tunnel into my computer which has squid running on it -- so with all that, I can get into my sage webserver from "inside" my network. I'm paranoid, I like it like that. I know the sage server is probably secure, but humor me for a moment.

I've verified that all i've got open on my router is the ssh port (non standard) pointing at my server. _nothing_else_is_open_

Why and how is it, then, that the port I gave to the sage webserver is open to the outside world? Is it doing some kind of upnp voodoo to open a port in a way i'm unaware of (is this even possible?)
I checked from other accounts not tied to my home in any way, and was easily able to access the sage web server
I checked everywhere in my router config, and i don't see any mention of the port, but upnp is indeed on.

I'm not very familiar with upnp -- i normally set up everything manually. I don't know what it is capable of, or how to see what it has done.

So my question is thus: Does the sage webserver have some kind of magic router-firewall punching ability, and if so, how do i disable it?

thanks!

Edit: I pawed through my router logs and found out that upnp is indeed the culprit here. I'll disable it, hopefully there won't be repercussions as far as java functionality...
Alternately, is there any way to disable upnp attempts by the java webserver?
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network

Last edited by ericscottf; 02-01-2010 at 12:48 PM.
Reply With Quote
  #2424  
Old 02-01-2010, 12:47 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
uPnP does have the capability to set up an open port on the router. That said, i don't know if the sage webserver supports this. What you CAN do is disable uPnP on the router (should be an option in the router config).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #2425  
Old 02-01-2010, 12:50 PM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
Yup, i just discovered that by searching my logs for upnp and the port number in question.

Since many routers don't even have upnp (esp. old ones), i'm inclined to think that disabling it won't cause me any grief...
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network
Reply With Quote
  #2426  
Old 02-01-2010, 08:05 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I don't fully understand what the web server installer (the SageWebserverSetup.exe file) does, but it has a feature to set up UPnP for the webserver's port. I believe it hooks into Sage's UPnP configuration features. Check your Sage properties files for any of these keys:
Code:
upnp_port_forward_additional_mappings/WebServer/
placeshifter_port_forward_method
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #2427  
Old 02-05-2010, 10:15 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Option to send email notes to friend(s) of a TVshow/Movie (w/ optional personal mess)

Hi Ben, I'm not sure if you've ever used TitanTV's EPG for PC based TV recording software; however, one of the most popular features (which I used to even use back in the HiPix HDTV recording days; and, completely miss) was the ability to select a TVshow/movie on the Guide; and, have a a button to send an email reminder to a friends and/or coworkers about a new TV show/series, air date, and a short synopsis of the show; and, if it's a "first run" show.

Would you be motivated to include this feature similar to other EPGs using something like http://www.developerfusion.com/code/1975/sending-email-using-smtp-and-java/?

If the idea sounds appealing to you and others (as it did with people who use TitanTV EPG), we could even take it a step further and add the abililty to add the show as a manual recording/favorite (as an option) buy just clicking on the URL included in the mail sent via the SageTV web interface.

Ultimately... the end user would receive an email saying something like...


--------------------------------------------------------------------------------------
michael@sageTV.dynip.com: Subject: Hi Ben, Someone thought you might enjoy watching the TV show...


Saturday Night Live

Airing: Feb 6, 2010 11:29 PM - 1:02 AM

Description: Host Ashton Kutcher; Them Crooked Vultures perform.

Message: I know how much you a "Them Crooken Vultures" and probably
didnt want to miss this live performance! -Michael


SageTV DVR:
- Add as a Manual Recording (clickable link)
- Add series as a Favorite (clickable link)
--------------------------------------------------------------------------------------
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***

Last edited by mkanet; 02-05-2010 at 07:00 PM.
Reply With Quote
  #2428  
Old 02-10-2010, 09:07 AM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
HD Extenders on the web

Hi all

I've got 3 hd 200s but only two of them show up in the web interface. They're all on. Any reason?

Also, is there any way to name them or are they stuck being named by their mac addresses?

Thanks
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network
Reply With Quote
  #2429  
Old 02-10-2010, 09:12 AM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by ericscottf View Post
Also, is there any way to name them or are they stuck being named by their mac addresses?
Have a look at C:\Program Files\SageTV\SageTV\webserver\extenders.properties
Reply With Quote
  #2430  
Old 02-10-2010, 09:22 AM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
Nice, so that's how i'll name them -- any reason you can think of as to why i'm only seeing two out of three of them?

(i didn't mention that all three are on and working in every other way..)
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network
Reply With Quote
  #2431  
Old 02-11-2010, 11:09 AM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Limit Access to IP Addresses

Is there a way to limit access to the SageTV webserver by ip address?

I was checking my log files and found several attemps at getting through. I will only be using SageTV server from specific ip addresses, so I would like to limit access to the SageTV webserver from a list of IPs.

Last edited by joe123; 02-11-2010 at 11:17 AM.
Reply With Quote
  #2432  
Old 02-11-2010, 11:18 AM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
What ip are you hosting it from?
One Q&D fix would be to put it on a unique port, like 43521.
I was getting 1000s of SSH breakin attempts per day on port 22 on my box, so i just moved ssh to something higher, and haven't had a single attempt since.

depending on your router, you could even leave the webserver listening on the default port and just have your router forward the unique external port to the default internal port on the pc.... Just be sure to block the original default.

Your other option would be to set up a tunneling/proxy setup so you have to first tunnel into your network and then get to sage through that.
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network
Reply With Quote
  #2433  
Old 02-11-2010, 11:31 AM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by ericscottf View Post
What ip are you hosting it from?
One Q&D fix would be to put it on a unique port, like 43521.
I was getting 1000s of SSH breakin attempts per day on port 22 on my box, so i just moved ssh to something higher, and haven't had a single attempt since.

depending on your router, you could even leave the webserver listening on the default port and just have your router forward the unique external port to the default internal port on the pc.... Just be sure to block the original default.
Thanks. I could change the port, but now adays scanning is done automatically and all ports are scanned. So changing it would help, but not prevent.

I was hoping for something simple ( in Linux is easy to setup a host.allow for such things ).

I have NOD32 with firewall, so if there is no other choice in the webserver to do this, i will go with NOD32 to only let certain IP's in.
Reply With Quote
  #2434  
Old 02-11-2010, 11:36 AM
ericscottf's Avatar
ericscottf ericscottf is offline
Sage Aficionado
 
Join Date: Oct 2009
Location: ny
Posts: 357
I don't think that people are scanning every IP aggressively. Perhaps businesses or other high profile targets, but not household connections. What's more, with a random port chosen, the protocol is unknown (though further investigation could determine what it is), so it doesn't seem worthwhile to bother.

Like i said, i haven't had a single attempt at an ssh breakin since i moved ports.

I should probably mention that my idea was a Q&D idea, and there's almost certainly a way to restrict based on IPs solely because this is all based on the java webserver, which, while not the most commonly used server, certainly has that feature. I know my RAID card can [dis]allow based on IP, and it uses a java webserver.
__________________
Sage Server(7): Win7SP1 32bit Quad core 2.6ghz 4gb ram (~3.2ish)
1TB RAID 10 Promise TX4310, 1TB external USB
2x HD PVR (1.05.301 whql working flawlessly) <-Verizon FIOS HD QIP7100 2 cable box controlled by USB-UIRT 2 zones
1x HDHR (dual tuner) <- Verizon wire
3x HD200 wired latest beta fw
Gig-E wired network

Last edited by ericscottf; 02-11-2010 at 11:39 AM.
Reply With Quote
  #2435  
Old 02-11-2010, 12:33 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by ericscottf View Post
I don't think that people are scanning every IP aggressively.
A quick note about the above line: Trust me on this: There are programs that scan a single port on a single ip and they then move unto the next ip, doing millions of IPs at a time. A db is kept of what is open/closed.

The instrusive program is doing millions of port scans per hour, but to the single indiviual, it looks like a single port scan. With time (months), all ports are scanned.
Reply With Quote
  #2436  
Old 02-11-2010, 02:44 PM
Swagger200 Swagger200 is offline
Sage Advanced User
 
Join Date: Sep 2007
Posts: 81
Quote:
Originally Posted by joe123 View Post
Is there a way to limit access to the SageTV webserver by ip address?

I was checking my log files and found several attemps at getting through. I will only be using SageTV server from specific ip addresses, so I would like to limit access to the SageTV webserver from a list of IPs.

I have implemented this source IP restriction, but I did it using my router configuration, not Sage. Works well - Shields Up sees nothing.
__________________
[SIZE="1"][I]Server 1: i5-2500k, Win10 Pro, Cisco 4642HD -> Hauppauge HD-PVR
Server 2: Thinkpad W530, Win10 Pro, Cisco 9865HD -> Hauppauge HD-PVR
Server 3: Thinkpad W530, Win10 Pro, Cisco 4642HD -> Hauppauge HD-PVR
Clients: (3x) SageTV HD-200, (1x) SageTV HD-300, SageTV Client on several PC's, SageTV Android on FireSticks and Nvidia Shield Pro/SIZE]
Reply With Quote
  #2437  
Old 02-11-2010, 04:31 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I agree with Swagger - this should be done in your router config where you should be able to only access to certain IP addresses.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #2438  
Old 02-13-2010, 01:47 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by ericscottf View Post
Hi all

I've got 3 hd 200s but only two of them show up in the web interface. They're all on. Any reason?

Also, is there any way to name them or are they stuck being named by their mac addresses?

Thanks
Have they all been connected to your SageTV server? If an HD200 is in the standalone media player mode it won't show up in the web server.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #2439  
Old 02-13-2010, 01:52 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I uploaded v 2.26 snapshot 48. 'Record' and 'Cancel Record' commands can now be applied to multiple airings at a time. The thought of scheduling Olympics recordings one by one was enough to motivate me to get it done
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #2440  
Old 02-14-2010, 02:00 AM
banmj's Avatar
banmj banmj is offline
Sage Advanced User
 
Join Date: Jun 2005
Posts: 112
extenders

My MVP's and HD100 are no longer showing up on the webpage, I am using the jetty version, and extender.properies hav been setup a few years now. This worked a few weeks ago, and no changes have been made to the system.
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Can't get Web-based User Interface to install SSBrian SageTV Customizations 3 11-04-2008 08:12 PM
Web User interface link for the metadata file. zzmystique SageTV Customizations 0 06-21-2008 02:26 AM
Idea to enhance the Web User Interface: Messaging jbarr SageTV Customizations 3 05-14-2007 03:59 PM
Linkplayer, Linktheater with SageTV Web User Interface fyodor SageTV Customizations 0 10-08-2006 06:03 PM


All times are GMT -6. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.