Prev Previous Post   Next Post Next
Old 12th May 2010, 06:12   #1
gigicontra
Junior Member
 
Join Date: May 2010
Posts: 1
Winamp behind corporate proxy

Hi,

I can't listen to online radio stations because my proxy has a weird setup
There is a PAC file to wich the browser connects to access the internet
the PAC file looks like this:


// --------------------------------------------------- // NPC proxy.pac with LB
over IP v.1.0 // xxxxx, proxy@xxxxxx.com, xxxx, xxxx //
--------------------------------------------------- // Function Header Block
function FindProxyForURL(url,host) { // to see debug messages in javascript
console set this to true var DEBUG=false; // Proxy bypass if ( url.substring(0,
11) == "http://127." || url.substring(0, 12) == "https://127." ||
url.substring(0, 16) == "http://localhost" || url.substring(0, 17) ==
"https://localhost" || shExpMatch(host, "*.xxx.xxxx.net") ||
shExpMatch(host, "*.xxxx.xxxx.com")) { return "DIRECT"; } // Proxy
bypass for local networks if ( isPlainHostName(host) || isInNet(host,
"11.11.11.0", "255.255.255.0") || isInNet(host, "11.11.11.0", "255.255.255.0")
|| isInNet(host, "11.11.11.0", "255.255.255.0") || isInNet(host, "11.11.11.0",
"255.255.255.0") || isInNet(host, "11.11.11.0", "255.255.255.0") ||
isInNet(host, "11.11.11.0", "255.255.255.0") || isInNet(host, "11.11.11.0",
"255.255.255.0") || isInNet(host, "11.11.11.0", "255.255.255.0")) { return
"DIRECT"; } // Proxy for xxx/xxx located clients var ip =
myIpAddress(); var modulo = ip.split('.')[3] % 2; if (modulo == 0) { if (DEBUG)
{ alert ("Proxy xxxxx"); } return "PROXY 11.11.11.11:3128; PROXY
11.11.11.11:3128"; } else { if (DEBUG) { alert ("Proxy xxxxx"); }
return "PROXY 11.11.11.11:3128; PROXY 11.11.11.11:3128"; } // ** Viel Spass,
Ihr Proxy-Team ** }
----------------------------

I replaced the ip addresses with 11 to preserve anonymity

Is there a way to access let's say the following shoutcast address: http://80.86.106.35:80/ ?
gigicontra is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Tags
access, corporate, pac, proxy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump