<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I have a patch on icecast-2.2.0 svn version which was written
specifically to support SimpleCast users to retrieve the stats for
their mountpoint and only that mountpoint. This is based on per
mount-point username password. Using HTTP authentication the client can
retrieve only <a class="moz-txt-link-freetext" href="http://hostname/admin/stats.xml">http://hostname/admin/stats.xml</a> given the correct
username/password. This will only return the stats for that specific
mount point in XML format. In this case the XSL can be used safely
outside the admin dir referencing the admin/stats.xml using the HTTP
authentication.<br>
<br>
I'm on holiday currently, but I'll post the patch as soon as I get a
chance to do so.<br>
<br>
Cheers,<br>
KJ<br>
<br>
Karl Heyes wrote:
<blockquote cite="mid1108491799.25233.61.camel@bogus.hackers.club"
 type="cite">
  <pre wrap="">On Tue, 2005-02-15 at 14:28, Mohamed Eldesoky wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Regardless of the xsl files.
Can't we communicate with the icecast server directly to retrieve the
information ??



On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <a class="moz-txt-link-rfc2396E" href="mailto:agentgrn@dcne.net"><agentgrn@dcne.net></a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">lluis wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">i need to access the info of the files

/admin/stats.xsl
/admin/listmounts.xsl
/admin/listclients.xsl

        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I wanted to let other people monitor the connection stats and such of
the stream without giving out the PW.  I run a cron job on a remote
machine that gets the stats file every minute (the stats prog we use
needs the stats.xml file) with the admin UN/PW, and everyone then gets
the stats from my remote box without needing the admin PW or having
access to the admin functions.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
Any of the stats in stats.xsl can be listed via xsl in webroot (eg
status.xsl) provided they are not marked as hidden (<hidden>1</hidden>).

The information about specific listeners (like IP addressess) are not in
the stats so are created specifically for the xsl, so those cannot be
done without password access.

karl.


_______________________________________________
Icecast mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Icecast@xiph.org">Icecast@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a>

  </pre>
</blockquote>
<br>
</body>
</html>