From: Fabian K. <fk...@fa...> - 2012-07-20 18:20:30
|
auto15963931 <aut...@hu...> wrote: > Fabian Keil: > > auto15963931 <aut...@hu...> wrote: > > > >> Fabian Keil: > >>> auto15963931 <aut...@hu...> wrote: > >> Since privoxy is an http proxy and it is now > >> listening on port 8080, socat should then transmit the http data to it > >> on port 8080, which is its default setting for an http proxy, then > >> privoxy would transmit the data to the socks proxy for tor and from > >> there on to the remote server. But this does not work. When I run the > >> program, it connects directly to the remote server instead of through > >> socat. This is my problem. > > > > So you need an intercepting proxy? > > Maybe so, yes. > > > > Privoxy has an option to accept intercepted HTTP requests: > > http://config.privoxy.org/user-manual/config.html#ACCEPT-INTERCEPTED-REQUESTS > > Okay, I looked at this entry in the manual, and it may prove useful. > But, first, as you also noted, I need to intercept the http request, > somehow. > > > > The interception itself is the responsibility of the operating system's > > packet filter (pf, ipfw, iptables, etc.) which may be a problem on some > > operating systems. > > So, the question is, how do I accomplish this in a 64-bit Win7 system? No idea. > Just to be as clear as possible, I only want to intercept the port 80 > http data created by one program, and I only need it to happen when I am > actually running this program, which is not all that often. If you have > any ideas about how this can be done using only the OS itself, that > would be ideal and I would be delighted to hear them. Alternatively, if > you know of a third-party program that would let me do this, with > minimal amount of fuss, I would like to hear them as well. > > Someone suggested to me that I consider using a proxy program called > Squid. I looked at the program briefly already just to get an overview > of it. It appears to be an excellent program capable of doing what I > need, but my first impression of it was that it may be overkill, but I > an not yet sure. I'm reasonable sure that Squid doesn't intercept the packets itself either. > > > > Privoxy currently can't deal with intercepted HTTPS traffic > > due to the lack of SSL-MITM support. > > If I can get just HTTP traffic to work, I can make do sufficiently. > > > > You could also look into torsocks. I never used it myself, > > and by-design it only works for a certain subset of programs, > > but it's probably worth checking out. > > I will take a look at torsocks too. Thanks. I suspect it might not work on Windows. Fabian |