Re: Polipo and Shoutcast Streams

Fabian Keil <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Horia Corcalciuc <[email protected]> wrote:

> > > Is there a configuration to make polipo switch to tunnel mode for
> > > Shoutcast streams?  
> > 
> > No, sorry for that.
> > 
> >                                         Juliusz

> I've found it effective to use polipo with privoxy. If you do have
> the possibility to set-up privoxy, you can bypass stream urls by
> using the forward directive:
> 
> forward .[a-z][a-z][a-z]:80 .

> Please note, the last dot is important. This will work for stream
> servers on port 80, just substitute the 80 for other stream ports.

How did you test this?

Port 80 is the standard port for HTTP and three-letter
top-level domains are used for non-streaming content,
too.

To reliably bypass Polipo for Shoutcast streams you'd have to either
know the URL ahead of time, so you can make a forwarding exception,
or find a way to detect such requests by looking at the request headers.

> AFAIK privoxy won't do regexp on ports.

No regular expressions, but it supports port lists which
apparently isn't properly documented. I don't see how
they would be useful for Shoutcast exceptions, though.

Fabian

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAk057eQACgkQBYqIVf93VJ02FQCeINkSzWLMsVgL+nCB2K8ANLGh
uTQAn1pUV0Y1amlH3ZmhI4tZM2qDyQAG
=KZ1y
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.