[icecast] Streaming info in HTML
Brett Johnson
brett at blzj.com
Fri Oct 25 12:36:46 UTC 2002
It sounds like you have turned on either tcp wrappers or the built in ACL.
If you are using ice cast 1.3.12 (and maybe earlier versions), look at the
last section in the icecast.conf file. It should be labeled Acess Control
Lists. This talks about the two methods of allowing/denying access to the
icecast server.
My guess would be, if you didn't explicity setup your tcp wrappers (tcpd)
using your /etc/hosts.allow and /etc/hosts.deny, then you probably changed
a directive in the ACL section of your icecast.conf.
As an example, using the icecast.conf ACL, I set my default acl policy to
deny everything. I find it easier to lock down the system, and unlock
things when needed.
acl_policy 0 #deny all connections by default
Then, of course, I do want people to be able to listen to my server,
(otherwise, why bother)
allow client * #this allows anyone to connect as a listening client
Now, the rest of the serverices I only want to be accessed from a machine
in my domain. (This includes, client [already covered by previous
statement], source [so only my machines can provide a stream to the
server], and of course admin [so only machines in my domain can connect to
the admin site])
allow all *.mydomain.net
In this configuration, I did find a bug this morning. I jumped on the
icecast server, pulled up mozilla, and tried to access
http://localhost:port/admin. BOOM! 403, Access Denied! The server is
doing as it is told. localhost is not in my domain. Now, if I user
icecast.mydomain.net:port/admin, from the same machine, I can get it =).
So, in my case, I need to update my acl, and add
allow all localhost
This will correct my problems. I would assume you issue is something similar.
brett
<p><p>> Hi,
> Once upon a time, I can access the admin information such as client
> connected, streaming title/artist, etc, from web browser by browsing:
> http://servername:port/admin
>
> I used to had this just worked when I installed icecast and ices on the
> same machine.
> I then switch machines and have icecast in machine A, ices in machine B,
> connecting to icecast using mountpoint <mount> to machine A.
>
> Now I can't figure out how to have those information through the web
> again. When I browse:
> http://machineA:port/admin
> I got "403 FORBIDDEN You don't have access to this entity (stream or
> file)"
>
> How do I get this to work? Is this information available on the machine
> that running icecast (the streamer server) or the one that running ices
> (the streamer client) ? if yes, where?
>
> I looked through icecast.conf and still can't figure this out. In
> general, is the information such as song title and artist available in
> the machine that is running icecast, and where.
>
> The problem is that some mp3 client incapable of displaying streamed
> infor such as song title, and I'd like to find a way to make that
> available.
>
> Thanks in advance for any help.
> Reuben D. B.
>
> --
> -------------------------------------------------
> /"\ ASCII Ribbon Campaign against HTML
> \ / email and proprietary format
> X attachments.
> / \
> -------------------------------------------------
> Have you been used by Microsoft today?
> Choose your life. Choose freedom.
> Choose LINUX.
> -------------------------------------------------
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
> 'icecast-request at xiph.org' containing only the word 'unsubscribe' in the
> body. No subject is needed. Unsubscribe messages sent to the list will
> be ignored/filtered.
<p><p>Random Thought:
--------------
Laetrile is the pits
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list