summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-10-14 11:05:46 +0000
committerschmirl <schmirl>2008-10-14 11:05:46 +0000
commit86c82c138122a9ed282a6496c8e20ceceda3ef16 (patch)
treeab406c1d655af306a5e8460fe5f31af28775b713 /README
parent992444cb67e700619293d3642f95f40b18d1b62e (diff)
downloadvdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.gz
vdr-plugin-streamdev-86c82c138122a9ed282a6496c8e20ceceda3ef16.tar.bz2
- added HTTP authentication (#475)
Modified Files: 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--README24
1 files changed, 20 insertions, 4 deletions
diff --git a/README b/README
index c113891..b49821d 100644
--- a/README
+++ b/README
@@ -118,16 +118,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:
@@ -205,6 +209,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:
----------------------------