Re: squid as a socks server

From: Markus Moeller <huaraz_at_moeller.plus.com>
Date: Tue, 12 Mar 2013 20:05:09 -0000

What is wrong with the dante socks server ? Why the effort with squid
supporting socks ?

Markus

"James Harper" <james.harper_at_bendigoit.com.au> wrote in message
news:6035A0D088A63A46850C3988ED045A4B3878A331_at_BITCOM1.int.sbss.com.au...
>
> Having a look at this page http://wiki.squid-cache.org/Features/Socks I
> can't
> tell for sure if this project is talking about a socks server, socks
> client, or both.
> I think it's both but the two functions are different enough they should
> probably be separate projects...
>
> I like the idea of squid as a socks server because it already has all the
> authentication and logging infrastructure, even though it probably can't
> actually cache anything via socks.
>
> The problem I'm trying to solve is what to do with all the protocols that
> I want
> to police that aren't http/https, and what to do with applications that
> don't
> know how to authenticate to proxies but could authenticate to a socks
> server
> via a socks client.
>
> Is anyone working on this?
>

OK so not a lot of interest?

Suppose I wanted to implement this... it's been over a decade since I last
looked at the squid code in any detail but looking around now I think I
would need to do something like:

. add socks_port configuration option to cf.data.pre
. add code to parsePortCfg to detect socks_port params
. tune parsePortSpecification to validate options

At this stage I think socks is quite similar to CONNECT for the outgoing
port case (bind and udp are completely different obviously), so I'm assuming
that reusing the existing code around PortCfg is a good start.

Any tips on where to go next would be appreciated.

Thanks

James
Received on Tue Mar 12 2013 - 20:05:35 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 13 2013 - 12:00:14 MDT