two sockets but same admin page

Thomas Jensen <[email protected]> Sun, 26 Nov 2023 09:53:31 +0100
Newsgroups gmane.comp.audio.icecast.general
Message-ID <[email protected]>
I have two sockets in icecast, so I have two admin pages:

https://radio.horsens-garage.rocks:8443/admin/
http://radio.horsens-garage.rocks:8000/admin/

but they both show the same...? 

And I have some strange entries. Is it because I have set it up wrong?

listenurl: http://radio.horsens-garage.rocks:8443/stream (http and
8443?)

server_url: http://radio.horsens-garage.rocks:8000/ (same url on both)



=======================================================================
ezstream.xml
=======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<ezstream>
  <servers>
    <server>
      <name>stream_https</name>
      <protocol>HTTPS</protocol>
      <port>8443</port>
      <hostname>radio.horsens-garage.rocks</hostname>
      <password>altEllerint1</password> 
      <tls>required</tls>
     
<tls_cipher_suite>HIGH:!RSA:!SHA:!DH:!aNULL:!eNULL:!TLSv1</tls_cipher_s
uite>

      <!--
        Directory to use for server certificate verification in "hash
format".
        See openssl(1)/verify(1) for details.

        One of the <ca_dir /> or <ca_file /> settings must be enabled
for
        certificate verification to succeed.
        -->
      <!-- <ca_dir>/etc/ssl/certs</ca_dir> -->
      <!--
        CA bundle for both server certificate verification and building
the
        client certificate chain.

        One of the <ca_dir /> or <ca_file /> settings must be enabled
for
        certificate verification to succeed.
        -->
      <!-- <ca_file>/etc/ssl/certs/ca-certificates.crt</ca_file> -->

        <client_cert>/etc/icecast2/bundle.pem</client_cert>
    </server>
    
    <server>
      <name>stream_http</name>
      <protocol>HTTP</protocol>
      <port>8000</port>
      <hostname>radio.horsens-garage.rocks</hostname>
      <password>altEllerint1</password>
    </server>
  </servers>

  <streams>
    <stream>
      <mountpoint>/stream</mountpoint>
      <server>stream_https</server>
      <format>mp3</format>
      <stream_name>Horsens Garage Radio</stream_name>
      <stream_url>https://radio.horsens-garage.rocks:8443/</stream_url>
      <stream_genre>Rock</stream_genre>
      <stream_description>Recordings from our practice
room</stream_description>
      <stream_quality>5</stream_quality>
      <stream_bitrate>128000</stream_bitrate>
      <stream_samplerate>44100</stream_samplerate>
      <stream_channels>2</stream_channels>
      <public>1</public>
    </stream>

    <stream>
      <mountpoint>/stream</mountpoint>
      <format>mp3</format>
      <server>stream_http</server>
      <stream_name>Horsens Garage Radio</stream_name>
      <stream_url>http://radio.horsens-garage.rocks:8000/</stream_url>
      <stream_genre>Rock</stream_genre>
      <stream_description>Recordings from our practice
room</stream_description>
      <stream_quality>5</stream_quality>
      <public>1</public>
    </stream>
  </streams>

  <intakes>
    <intake>
      <type>playlist</type>
      <filename>/home/thomas/ezstream/playlist.mp3.txt</filename>
      <shuffle>1</shuffle>
      <stream_once>0</stream_once>
    </intake>
  </intakes>

[...]

</ezstream>

=======================================================================
icecast.xml:
=======================================================================
<icecast>
  <location>Denmark</location>
  <admin>[email protected]</admin>

 <limits>
    <clients>100</clients>
    <sources>2</sources>
    <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>altEllerint1</source-password>
    <relay-password>altEllerint1</relay-password>
    <admin-user>xxx</admin-user>
    <admin-password>xxx</admin-password>
  </authentication>

  <directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://icecast-yp.internet-radio.com</yp-url>
  </directory>
  <directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
  </directory>

  <hostname>radio.horsens-garage.rocks</hostname>

  <listen-socket>
    <port>8443</port>
    <ssl>1</ssl>
  </listen-socket>
    
  <listen-socket>
    <port>8000</port>
  </listen-socket>

  <http-headers>
    <header name="Access-Control-Allow-Origin" value="*" />
    <header name="icy-index-metadata" value="1" />
    <header name="icy-logo"
value="https://horsens-garage.rocks/band.jpg" />
    <header name="icy-country-code" value="DK" />
    <header name="icy-country-subdivision-code" value="DK-82" />
    <header name="icy-language-codes" value="da" />
    <header name="icy-main-stream-url"
value="https://radio.horsens-garage.rocks:8443/stream" />
    <header name="icy-geo-lat-long" value="55.8665265,9.8283181" />
  </http-headers>

  <fileserve>1</fileserve>

  <paths>
    <basedir>/usr/share/icecast2</basedir>
    <logdir>/var/log/icecast2</logdir>
    <webroot>/usr/share/icecast2/web</webroot>
    <adminroot>/usr/share/icecast2/admin</adminroot>
    <alias source="/" destination="/status.xsl"/>
    <ssl-certificate>/etc/icecast2/bundle.pem</ssl-certificate>
  </paths>

  <logging>
    <accesslog>access.log</accesslog>
    <errorlog>error.log</errorlog>
    <loglevel>1</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    <logsize>10000</logsize> <!-- Max size of a logfile -->
  </logging>

  <security>
    <chroot>0</chroot>
    <!--
      <changeowner>
        <user>nobody</user>
        <group>nogroup</group>
      </changeowner>
    -->
  </security>
</icecast>
=======================================================================

_______________________________________________
Icecast mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast
(unnamed) (image/png, 152.5 KB) - not displayed
(unnamed) (image/png, 152 KB) - not displayed