Questions tagged [transparentproxy]

A transparent proxy is a service that makes a request on behalf of a client, without changing the request itself, and passes the resulting response unaltered back to the client.

A transparent proxy is a service that makes a request on behalf of a client, without changing the request itself, and passes the resulting response unaltered back to the client. According to RFC 2616 the request can be altered solely for what is required for proxy authentication and identification.

This tag should be used if it is important to the question that the request should be unaltered, or cannot be altered.

Related tag:

70 questions
17
votes
2 answers

How to set up proxy in .htaccess

The Apache documentation states that RewriteRule and the should be put in the server configuration, but they can be put in htaccess because of shared hosting situations. I am in such a situation. I am trying to set up a transparent proxy: …
Paul Draper
  • 78,542
  • 46
  • 206
  • 285
13
votes
3 answers

HTTPWebRequest.GetResponse() failing with authenticated requests through a transparent proxy

We're using the HTTPWebRequest objects to make HTTP requests to our application and we're having a problem when the request requires authentication and there is a transparent proxy (Squid 3.1.10). string url =…
Deanna
  • 23,876
  • 7
  • 71
  • 156
13
votes
2 answers

How to use iptables in linux to forward http and https traffic to a transparent proxy

I have a Ubuntu linux system acting as a gateway system with two interfaces on it. One interface is for the local network and one interface is for the internet. I am able to route traffic through it with no problem at all. I use two iptables rules…
ajt
  • 1,341
  • 3
  • 13
  • 30
12
votes
3 answers

Queueing method calls - any idea how?

I write a heavily asynchronseous application. I am looking for a way to queue method calls, similar to what BeginInvoke / EndInvoke does.... but on my OWN queue. The reaqson is that I am having my own optimized message queueing system using a…
TomTom
  • 61,059
  • 10
  • 88
  • 148
10
votes
6 answers

Tor Web Crawler

Ok, here's what I need. I have a PHP based web crawler. It is accessible here: http://rz7ocnxxu7ka6ncv.onion/ Now, my problem is that my spider that actually crawls pages needs to do so on a SOCKS port 9050. The thing is, I have to tunnel its…
user1203301
  • 101
  • 1
  • 1
  • 3
9
votes
3 answers

How can clients using my web service bypass their ISP's transparent proxy cache to ensure their requests reach my server?

I've written a RESTful web service which is consumed only by devices, never browsers. The devices access the internet via the owner's existing household router and communicate with the web service by sending HTTP requests through the router as…
CFL_Jeff
  • 2,589
  • 3
  • 31
  • 49
7
votes
1 answer

WinDivert: redirect to proxy listening on loopback interface only

trying to implement transparent proxy same way as in this post, but I have a "proxy" listening only on loopback interface. Once I set DstAddr to loopback, 2nd packet of TCP handshake never received ... iphdr->DstAddr =…
mbg033
  • 501
  • 5
  • 18
6
votes
3 answers

tinyproxy unable to forward Connect methods

I'm trying to set up a transparent proxy for all types of frames (HTTP, HTTPS), I'm using tinyproxy to do so. I've already set up my router to redirect (using NAT) all incoming and outgoing frames to tinyproxy (which is listening on port 8888). I…
Hansen Qian
  • 61
  • 1
  • 1
  • 4
5
votes
3 answers

TPROXY compatibility with Docker

I'm trying to understand how TPROXY works in an effort to build a transparent proxy for Docker containers. After lots of research I managed to create a network namespace, inject an veth interface into it and add TPROXY rules. The following script…
vincent163
  • 384
  • 2
  • 13
4
votes
3 answers

How to create a WCF web service within an ASP.NET application that can return instances of an interface as a transparent proxy

My use-case: I already have a working ASP.NET application I would like to implement a new Web Service as part of that application I am supposed to use a WCF service (*.svc), not an ASP.NET web service (*.asmx) The service needs to have one…
Timwi
  • 65,159
  • 33
  • 165
  • 230
4
votes
1 answer

iptables TPROXY gets hit but doesn't redirect to port

I'm running Debian 8 with iptables. I have the following rule: iptables -t mangle -A PREROUTING -p tcp --dport 5000 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 4000 I simply want to redirect all traffic going with destination port 5000 to port…
Alfred Balle
  • 1,135
  • 4
  • 16
  • 32
4
votes
1 answer

What are the correct iptables rules to use a tor proxy as network gateway?

Given one host (router) with the following netfilter rule in order to redirect incoming TCP packets to it's tor proxy service: -A PREROUTING -p tcp --syn -j REDIRECT --to-ports 9040 Also given second host (client) configured to use the tor router…
user569825
  • 2,369
  • 1
  • 25
  • 45
4
votes
0 answers

How to get the value of the property of a transparent proxy via reflection?

My code receives transparent proxy instead of original instance. While this var type = obj.GetType(); yields the type of original class, the following code throws TargetException: Object does not match target type var value =…
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
4
votes
1 answer

How to get the RealProxy when I know only the transparent proxy

I have a transparent proxy, for instance one generated by WCF: ChannelFactory channelFactory = new ChannelFactory( new NetNamedPipeBinding(), …
Gael Fraiteur
  • 6,759
  • 2
  • 24
  • 31
4
votes
0 answers

Transparent proxy on Mac OS X Lion with Fusion

I have a MacOS X (Lion) with VMWare Fusion installed. In Fusion I have two guests: a Linux and a MS Windows XP. The two guests networking is configured to use NAT thru vmnet8 interface. Both boxes access to the internet just fine by default. My…
Macdonald
  • 49
  • 2
1
2 3 4 5