NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 953 954 955 956 957 … 1231 Next »
Restrict Access?

 
  • 0 Vote(s) - 0 Average
Restrict Access?
Laptop765
Offline

Junior Member

Posts: 17
Threads: 5
Joined: Oct 2005
#1
2005-10-20, 08:34 PM
Hey everyone, I'm in college and GBPVR saved my life because for the first few weeks I was going crazy without being able to record TV shows for future watching. Finally got a PVR-150 to record on desktop. Anyway, I have a question and hopefully there's a solution. The school doesn't want any servers just openly running on their network because of security reasons [not to mention bandwidth.] I was wondering if it were possible to restrict the GBPVR web interface to 2 MAC addresses [my laptop hardwire and my laptop WAN] and to disallow all other access so I'm not in violation of rules [they said I could limit by MAC address.] Another option would be authentication, but I don't know if the GBPVR interface is enough, maybe something equivilant to the apache .htaccess/.htpasswd scheme. Thanks in advance for any help.
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#2
2005-10-21, 06:47 AM
Don't you have a router/firewall? That one could see to it that only your personal LAN has access.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
Laptop765
Offline

Junior Member

Posts: 17
Threads: 5
Joined: Oct 2005
#3
2005-10-21, 11:33 AM
I'm on my school's network. My GBPVR desktop is hard wired into the school's network and my laptop is chained through my desktop which has 2 NICs because I don't think they want us running 2 comps on the network. I'm not aware of any freeware firewall software which can accomplish this.
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#4
2005-10-21, 11:38 AM
Ah, I see... No, I can't think of a way to accomplish this without a hardware router/firewall...
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
Laptop765
Offline

Junior Member

Posts: 17
Threads: 5
Joined: Oct 2005
#5
2005-10-21, 11:57 AM
OK, thanks. Would you happen to know if Apache itself features this functionality (MAC restriction), because I read about the ApacheCLI thing and wouldn't mind setting that up.
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#6
2005-10-21, 12:02 PM
I don't think so, but it would be fairly straight forward to only allow binds from one or two certain ip addresses, so if you have static ip addresses that you need to access the server from this should be possible.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#7
2005-10-21, 01:47 PM
If I understand correctly, you want your laptop and only your laptop to be able to access the web interface running on your desktop, regardless of whether it's connecting hardwired to the desktop or coming in remotely via your school WAN, right? From what it sounds like, you don't want gbpvr's web interface being visible on the WAN except to your laptop. It's theoretically possible, but will take some experimenting on your part.

You may be able to pull this off using ssh tunneling and a firewall. Basically you configure your firewall to block access to gbpvr's webserver from the school wan, but allow access from your local network (the nic you plug your laptop into) and the localhost (the server itself). Connecting hardwired is easy then, since the firewall allows the local network access. Connecting from the WAN, you set your firewall to open the secure shell port, and configure your ssh daemon to forward traffic to the local gbpvr port, after authentication. Since the forwarding is done by a local process, the firewall doesn't block it and your traffic to and from the server is encrypted.

Sounds easy, right? Smile I've not configured ssh tunneling myself, but I know people do it. Here's a link to configuring it for VNC access, which probably isn't much different. http://www.shebeen.com/vnc_ssh/ There are a number of free ssh windows servers and clients that support ssh tunneling (I like the PuTTY client, myself), and you'll find other resources for how to configure ssh tunnelling if you simply google for it.

On Linux you could do this with a software firewall and a port knocker, but unfortunately I can't find an implementation of a knocker daemon that runs on Windows. Lots of Linux implementations, and some Windows port knocker clients, but no Windows servers that I can find.

If you do work something out, post back and let us know what you do.

Good luck,
Tim
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#8
2005-10-21, 01:58 PM
That would probably work. However, that makes you open up an ssh server on the gbpvr machine, still possibly violating the school policy, if it is indeed "no servers allowed". But that would also make icq and other stuff illegal, I guess.

What you would do on the client would be this

ssh -L {portnumberyouwanttouse}:localhost:{portnumberofgbpvrwebserver}{usernameongbpvrserver}@{gbpvrserver}

Then, in your webclient you enter:
http://localhost:portnumberyouwanttouse/gbpvr/bla/bla (I don't remember the url to the gbpvr server, but hopefully you understand)

Now, for the problem on how to configure an ssh server on your windows machine, I don't know =) Maybe someone else (I only open tunnels from my windows client, I've never set up an ssh server)
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#9
2005-10-21, 01:59 PM
Hm... the :p is supposed to be ': p' (but without the space and without the quotes)
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#10
2005-10-21, 02:25 PM
stefan Wrote:That would probably work. However, that makes you open up an ssh server on the gbpvr machine, still possibly violating the school policy, if it is indeed "no servers allowed".

Of course Stefan is correct, but should be able to configure ssh's prompt when you connect to something that isn't revealing, so instead of an ssh banner and "user:" prompt, you might not echo anything, or just a few spaces. That way if the school used a port scanner to find open servers, it wouldn't find anything it recognized. You could also configure it to use a non-standard port, making it less likely for your school to find it. It's unlikely they scan all net connections for all possible ports because it takes way too long since there are 64k ports. Instead they probably just scan for known, standard ports. They probably wouldn't even find gbpvr's port since it's uncommon, but if they did it returns enough info to make it clear you've got a server up. You should be able to configure sshd to be real quiet until you're authenticated.
« 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
  PVRX2 unhandled exception - cannot access menu functions linfor 4 2,407 2010-07-31, 03:52 AM
Last Post: sub
  i am trying to access my media pc on the network mpooley 5 2,222 2010-04-24, 07:48 PM
Last Post: Snooze
  Can't access the TV guide Lecoq 4 1,884 2010-02-27, 09:14 PM
Last Post: Lecoq
  web access coppelltx 3 1,651 2010-01-04, 04:39 AM
Last Post: coppelltx
  Unexpected error sending frame: System.ObjectDisposedException: Cannot access a dispo agh! 0 1,151 2009-12-22, 05:50 PM
Last Post: agh!
  problem when I try to access "Recordings" from PVRX2 lancedefrance 2 1,422 2009-07-27, 01:11 AM
Last Post: jezz2020
  Access Control Issue? ToughRowToHoe 1 1,589 2009-05-03, 10:43 PM
Last Post: ToughRowToHoe
  Unable to Access drive on Networked PC JohnD 6 2,572 2009-03-18, 03:18 PM
Last Post: JohnD
  Can't access all the music in a directory joegah 0 895 2009-02-13, 09:57 PM
Last Post: joegah
  How to access EWA through a Windows Home Server beyonder74 4 1,878 2009-01-28, 10:32 PM
Last Post: bigbus01

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

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

Linear Mode
Threaded Mode