diff options
| author | schmirl <schmirl> | 2008-10-14 11:05:57 +0000 |
|---|---|---|
| committer | schmirl <schmirl> | 2008-10-14 11:05:57 +0000 |
| commit | 52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9 (patch) | |
| tree | f9067fb11476570eeb12c29dc3bdf27b5524c3b9 /README | |
| parent | 9258019e0f3cff4736930286bc968b74013090b9 (diff) | |
| download | vdr-plugin-streamdev-52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9.tar.gz vdr-plugin-streamdev-52b4bfcd8cf144f3fdd7f3b22f3c9ae2e58b7df9.tar.bz2 | |
- added HTTP authentication (#475)
Modified Files:
Tag: v0_4
HISTORY README streamdev-server.c server/connection.h
server/connectionHTTP.c server/connectionHTTP.h
server/server.c server/server.h
Diffstat (limited to 'README')
| -rw-r--r-- | README | 25 |
1 files changed, 20 insertions, 5 deletions
@@ -117,17 +117,20 @@ make [options, if necessary] plugins ---------------------------------- Starting with streamdev 0.4.0, all additional files are kept in a directory -called "streamdev" inside VDR's plugin config directory. This affects in -particular the file "streamdevhosts.conf". You will have to move it to its -new location: +called "streamdev" inside VDR's plugin config directory. It is the new default +location of externremux.sh and the new place where streamdev-server expects the +file "streamdevhosts.conf". You will have to move this file to its new location: mv VDRCONFDIR/plugins/streamdevhosts.conf VDRCONFDIR/plugins/streamdev/ (Directory VDRCONFDIR/plugins/streamdev already exists, as you copied the whole folder from the sources directory as suggested above, right?) -The new default location for externremux.sh is also in this directory. - +Now check the contents of streamdevhosts.conf. Does it contain a "0.0.0.0/0" +entry? If your VDR machine is connected to the Internet, this line gives +*anyone* full access to streamdev, unless you took some other measures to +prevent this (e.g. firewall). You might want to remove this line and enable +HTTP authentication instead. 3. Usage: --------- @@ -204,6 +207,18 @@ externremux script. http://hostname:3000/EXTERN;some_parameter/3 +If you want to access streamdev's HTTP server from the Internet, do *not* grant +access for anyone by allowing any IP in "streamdevhosts.conf". Instead, pass the +"-a" commandline option to streamdev-server. It takes a username and a password +as argument. Clients with an IP not accepted by "streamdevhosts.conf" will then +have to login. The VDR commandline will have to look like this: + +vdr ... -P 'streamdev-server -a vdr:secret' ... + +Note the single quotes, as otherwise "-a" will be passed to VDR and not to +streamdev-server. The login ("vdr" in the example above) doesn't have to exist +as a system account. + 3.2 Usage VDR-to-VDR server: ---------------------------- |
