Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have squid running on my home gateway, but when I try to listen to streaming radio, it doesn't work.
Using mplayer with a proxy shows this:
Code:
/home/fukawi2 $ mplayer http://media.on.net/radio/143.m3u
MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://media.on.net/radio/143.m3u.
Resolving proxy.fukawi2.pvt for AF_INET...
Connecting to server proxy.fukawi2.pvt[192.168.31.1]: 3128...
Cache size set to 320 KBytes
Playing http://radio1.internode.on.net:8000/143.
Resolving proxy.fukawi2.pvt for AF_INET...
Connecting to server proxy.fukawi2.pvt[192.168.31.1]: 3128...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
If I unset the proxy and open a firewall hole, it works fine:
Code:
/home/fukawi2 $ http_proxy='' mplayer http://media.on.net/radio/143.m3u
MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://media.on.net/radio/143.m3u.
Invalid proxy setting... Trying without proxy.
Resolving media.on.net for AF_INET...
Connecting to server media.on.net[203.26.94.250]: 80...
Cache size set to 320 KBytes
Playing http://radio1.internode.on.net:8000/143.
Invalid proxy setting... Trying without proxy.
Resolving radio1.internode.on.net for AF_INET...
Connecting to server radio1.internode.on.net[192.231.203.146]: 8000...
Name : You are listening to NovaNation
Genre : connect . discover . explore . dance
Website: http://www.novanation.com.au
Public : yes
Bitrate: 48kbit/s
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle='Duck Sauce - Anyway';StreamUrl='SongID=3826|SongTitle=Anyway|SongArtist=Duck Sauce|CartComplete=False|AlbumArt=407.jpg|SongHook=3826.mp3|Version=|MixedBy=|AdvertiserName=|AdComplete=';
AAC file format detected.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
versionA not supported
versionA not supported
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 6.3 (06.2) of 0.0 (unknown) 0.7% 56%
My firewall and proxy are on the same machine, so only OUTPUT could be blocking it. I tried setting the OUTPUT Policy to ACCEPT and flushing all rules but same result.
Quote:
tank ~ # iptables -P OUTPUT ACCEPT
tank ~ # iptables -F OUTPUT
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.