[xiph-commits] r9790 - icecast/trunk/icecast/conf

oddsock at svn.xiph.org oddsock at svn.xiph.org
Sat Aug 20 11:45:05 PDT 2005


Author: oddsock
Date: 2005-08-20 11:45:04 -0700 (Sat, 20 Aug 2005)
New Revision: 9790

Added:
   icecast/trunk/icecast/conf/icecast_urlauth.xml.in
Modified:
   icecast/trunk/icecast/conf/Makefile.am
Log:
new example config for URL auth


Modified: icecast/trunk/icecast/conf/Makefile.am
===================================================================
--- icecast/trunk/icecast/conf/Makefile.am	2005-08-20 18:42:15 UTC (rev 9789)
+++ icecast/trunk/icecast/conf/Makefile.am	2005-08-20 18:45:04 UTC (rev 9790)
@@ -2,11 +2,11 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-EXTRA_DIST = icecast.xml.in icecast_minimal.xml.in icecast_shoutcast_compat.xml.in
-DISTCLEANFILES = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist
+EXTRA_DIST = icecast.xml.in icecast_minimal.xml.in icecast_shoutcast_compat.xml.in icecast_urlauth.xml.in
+DISTCLEANFILES = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist icecast_urlauth.xml.dist
 
 docdir = $(datadir)/$(PACKAGE)/doc
-doc_DATA = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist
+doc_DATA = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist icecast_urlauth.xml.dist
 
 install-data-hook:
 	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
@@ -26,6 +26,9 @@
 icecast_shoutcast_compat.xml.dist: $(srcdir)/icecast_shoutcast_compat.xml.in
 	$(edit) $(srcdir)/icecast_shoutcast_compat.xml.in > icecast_shoutcast_compat.xml.dist
 
+icecast_urlauth.xml.dist: $(srcdir)/icecast_urlauth.xml.in
+	$(edit) $(srcdir)/icecast_urlauth.xml.in > icecast_urlauth.xml.dist
+
 debug:
 	$(MAKE) all CFLAGS="@DEBUG@"
 

Added: icecast/trunk/icecast/conf/icecast_urlauth.xml.in
===================================================================
--- icecast/trunk/icecast/conf/icecast_urlauth.xml.in	2005-08-20 18:42:15 UTC (rev 9789)
+++ icecast/trunk/icecast/conf/icecast_urlauth.xml.in	2005-08-20 18:45:04 UTC (rev 9790)
@@ -0,0 +1,49 @@
+<icecast>
+    <!-- This is a simple example of using the url authenticator. -->
+    <limits>
+        <clients>100</clients>
+        <sources>2</sources>
+        <threadpool>5</threadpool>
+        <queue-size>524288</queue-size>
+        <client-timeout>30</client-timeout>
+        <header-timeout>15</header-timeout>
+        <source-timeout>10</source-timeout>
+        <burst-on-connect>1</burst-on-connect>
+        <burst-size>65535</burst-size>
+    </limits>
+    <authentication>
+        <source-password>hackme</source-password>
+        <relay-password>hackme</relay-password>
+        <admin-user>admin</admin-user>
+        <admin-password>hackme</admin-password>
+    </authentication>
+    <hostname>localhost</hostname>
+    <listen-socket>
+        <port>8000</port>
+    </listen-socket>
+    <mount>
+        <mount-name>/auth_example.ogg</mount-name>
+        <authentication type="url">
+            <option name="mount_add"       value="http://myauthserver.net/action.php"/>
+            <option name="mount_remove"    value="http://myauthserver.net/action.php"/>
+            <option name="listener_add"    value="http://myauthserver.net/action.php"/>
+            <option name="listener_remove" value="http://myauthserver.net/action.php"/>
+        </authentication>
+    </mount>
+    <fileserve>1</fileserve>
+    <paths>
+        <basedir>@pkgdatadir@</basedir>
+        <logdir>@localstatedir@/log/@PACKAGE@</logdir>
+        <webroot>@pkgdatadir@/web</webroot>
+        <adminroot>@pkgdatadir@/admin</adminroot>
+        <alias source="/" dest="/status.xsl"/>
+    </paths>
+    <logging>
+        <accesslog>access.log</accesslog>
+        <errorlog>error.log</errorlog>
+      	<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
+    </logging>
+    <security>
+        <chroot>0</chroot>
+    </security>
+</icecast>



More information about the commits mailing list