Код: Выделить всё
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
написал я штук 8 relay а как их теперь добавить в проигрыватель, по одной добавлять?
Код: Выделить всё
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
Код: Выделить всё
#radio
icecast_enable="YES"
icecast_config="/usr/local/etc/icecast/icecast.xml"
Код: Выделить всё
mkdir /usr/local/etc/icecast/
Код: Выделить всё
ln -s /usr/local/share/icecast /usr/local/etc/icecast/
Код: Выделить всё
mkdir /usr/local/share/icecast/log
chown nobody:nobody /usr/local/share/icecast/log
ln -s /usr/local/share/icecast /var/log/
Код: Выделить всё
<icecast>
<limits>
<clients>10</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>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>artem</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>aaa11123</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>aa111234</admin-password>
</authentication>
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>localhost</hostname>
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8002</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
<bind-address>10.0.0.1</bind-address>
<!--<shoutcast-mount>/stream</shoutcast-mount> -->
</listen-socket>
..............
<relay>
<server>83.169.61.45</server>
<port>4060</port>
<mount>/</mount>
<local-mount>/dance1.mp3</local-mount>
<stream-description>http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=1280786</stream-description>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
<relay>
<server>216.218.147.60</server>
<port>2928</port>
<mount>/</mount>
<local-mount>/queute1.mp3</local-mount>
<on-demand>1</on-demand>
<!--<relay-shoutcast-metadata>1</relay-shoutcast-metadata>-->
</relay>
<relay>
<server>85.25.120.73</server>
<port>7500</port>
<mount>/</mount>
<local-mount>/dark_dance1.mp3</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
<fileserve>1</fileserve>
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/local/share/icecast</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/log</logdir>
<webroot>/web</webroot>
<adminroot>/admin</adminroot>
<pidfile>/var/run/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<logarchive>1</logarchive>
</logging>
<security>
<chroot>1</chroot>
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
</security>
</icecast>
Код: Выделить всё
chmod 400 /usr/local/etc/icecast/icecast.xml
Код: Выделить всё
${fwcmd} add 50100 deny tcp from me 8002 to not 192.168.200.2,192.168.200.3 via ${iif}
Код: Выделить всё
Could not parse XSLT file
Коллеги спешу сообщить )InventoR писал(а):У кого-то получилось запустить icecast2 через прокси с авторизацией???
Код: Выделить всё
http 192.168.203.18 8080
Код: Выделить всё
proxychains /usr/local/bin/icecast -b -c /usr/local/etc/icecast.xml
Код: Выделить всё
#EXTM3U
#EXTINF:-1, (Hit FM - www.hitfm.ua)
http://online-hitfm.tavrmedia.ua/HitFM
#EXTINF:-1, (Hit FM - www.hitfm.ua)
http://online-hitfm.tavrmedia.ua:8000/HitFM
#EXTINF:-1, (Hit FM - www.hitfm.ua)
http://online-hitfm.tavrmedia.ua:7000/HitFM
Код: Выделить всё
<relay>
<------><server> 195.95.206.214</server>
<port>8000</port>
<mount>/HitFM</mount>
<local-mount>/luxfm</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>..
Код: Выделить всё
INFO slave/open_relay_connection connecting to 195.95.206.214:8000
[2013-04-02 07:35:07] WARN slave/open_relay_connection Failed to connect to 195.95.206.214:8000
[2013-04-02 07:35:07] DBUG source/source_clear_source clearing source "/luxfm"
Скиньте, пожалуйста, список рабочих станций.192.168.0.103 - - [29/Mar/2014:13:37:40 +1100] "GET /nrj.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 11
192.168.0.103 - - [29/Mar/2014:13:37:41 +1100] "GET /evro-plus.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 1
192.168.0.103 - - [29/Mar/2014:13:37:52 +1100] "GET /love.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 11
192.168.0.103 - - [29/Mar/2014:13:37:53 +1100] "GET /lux.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 1
192.168.0.103 - - [29/Mar/2014:13:38:04 +1100] "GET /metal.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 11
192.168.0.103 - - [29/Mar/2014:13:38:05 +1100] "GET /mixfm.mp3 HTTP/1.0" 404 82 "-" "WinampMPEG/5.63, Ultravox/2.1" 1