[icecast] Transparent Proxy -Does it work ?
graemec at telstra.net
Thu May 17 02:29:21 PDT 2001
I've been trying to get the transparent proxying facility of icecast to
work so I can listen to multiple copies of stream on my local network,
while only receiving a single stream over my WAN link (Like DUH! thats
what the proxy is for ... I know, stay with me). I have mpt been been
able to get this feature to work, and it looks like there may be a bug
in the icecast server as everytime I try to connect to icecast as a
proxy it becomes really unstable and locks up whenever I try to execute
alot of commannds from the console (like sources, listeners) or
shutdown. Whenever I try to connect with winamp configured with my
icecast server as proxy - the first time the proxy ->
goes of and gets the stream eg.
-> [17/May/2001:20:02:15] Accepted encoder on mountpoint
188.8.131.52:8002/ from lsac1-0-s02.shoutcast.net. 1 sources connecte
But the stream doesn't get transferred to winamp. if I try to connect
again icecast keeps spawning more connection handler threads but I can
get no streams from it and it becomes unstable as descibed above, eg
here the output of threads after attempting 5 connections to the icecast
proxy from Winamp.
Listing threads (might take a short while)
0 Type: [ Main Thread] Started [File: main.c Line: 144] Stuck: no
1 Type: [ Admin Console Thread] Started [File: admin.c Line: 424] Stuck:
yes Started: 17/May/2001:19:41:38
2 Type: [ Calendar Thread] Started [File: main.c Line: 641] Stuck: yes
3 Type: [ UDP Handler Thread] Started [File: main.c Line: 653] Stuck:
yes Started: 17/May/2001:19:41:38
4 Type: [ Relay Connector Thread] Started [File: main.c Line: 658]
Stuck: yes Started: 17/May/2001:19:41:38
11 Type: [ Connection Handler] Started [File: main.c Line: 667] Stuck:
yes Started: 17/May/2001:20:02:11
12 Type: [ Connection Handler] Started [File: main.c Line: 667] Stuck:
yes Started: 17/May/2001:20:02:32
13 Type: [ Connection Handler] Started [File: main.c Line: 667] Stuck:
yes Started: 17/May/2001:20:02:41
14 Type: [ Connection Handler] Started [File: main.c Line: 667] Stuck:
yes Started: 17/May/2001:20:02:47
15 Type: [ Connection Handler] Started [File: main.c Line: 667] Stuck:
yes Started: 17/May/2001:20:02:50
End of threads listing (10 listed)
I have tested this on my Redhat linux (i386) 7.0 server with 2.4.x
kernel at home, and my Redhat linux 7.0 with standard 2.2.16-22 kernal
at work with the same problems.
I beleive I have setup the configuration file correctly, setting
transparent_proxy to 1 and configuring the server_name directive to a
valid DNS hostname on my home machine, and a valid static IP on my work
machine. I am using icecast 1.3.10, have tried both the rpm's, compiling
from the source distribution and compiling the latest cvs code with the
same results. I use Winamp for windows (latest 2.x ver) to test the
proxy functionality. I have tried Freeamp for linux for testing, but
can't get icecast to respond at all when using the proxy feature. I
can't find any proxy setting on xmms to use that for testing.
If anyone has got the transparent proxy feature work, I would love to
know about it, and if you could send your configuration file to me (and
maybe the plaform/setup info) at graeme at gloptum.com I would greatly
appreciate it. Otherwise any other info would be greatly appreciated.
Telstra Big Pond Direct
1800 066 594
--- >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