Questions tagged [proxy]

A device or program that stands between two or more interconnected programs or devices. Use [dynamic-proxy] for the Java class, [proxy-pattern] for the design pattern, [es6-proxy] for the JavaScript Proxy object.

A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection or a web page available from a different server, and the proxy server evaluates the request as a way to simplify and control its complexity.


Purpose

Many users worry about what kind of information can be traced back to them. An Internet proxy server can be used as an intermediary so that the sites never directly connect to the host network. Some websites block certain Internet users by geography, so using a Web proxy located in the Web host's country will allow foreign users to use the website.


References

19642 questions
6
votes
1 answer

Doctrine returns proxy object when joining table with nullable relations

I am trying to retrieve entities from one class joined with another class. Not all entities actually have joined entities. It's kinda like the following statement: SELECT a, b FROM A a LEFT JOIN B b ON a.id = b.aid GROUP BY a.id; or in…
van
  • 380
  • 3
  • 10
6
votes
1 answer

How can I get the invocation handler for a Java proxy?

Given: Object innerProxy = ... Object proxy = java.lang.reflect.Proxy. newProxyInstance(Thread.currentThread().getContextClassLoader(), new Class[]{type}, …
ripper234
  • 222,824
  • 274
  • 634
  • 905
6
votes
2 answers

how to create a new method with signature of another

How can I copy the signature of a method from one class, and create a "proxy method" with same signature in another ?. I am writing a RPC library in python. The server supports remote calls to a server-side class (C). When the client connects to the…
dk7
  • 323
  • 3
  • 14
6
votes
2 answers

Nginx Reverse Proxy Following Redirects

I would like Nginx to return actual files instead of response with Location: redirect header. I use Nginx as a reverse proxy cache: cdn.mydomain.com receives a request and contacts api.mydomain.com/files/ to fetch image files from there, but…
Vad
  • 4,052
  • 3
  • 29
  • 34
6
votes
0 answers

Prevent Java DNS resolution

Question: how can I force Java not to resolve some hostnames to IP addresses. In my application, I am using Socks proxy to make connections to external sites. Our socks proxy server is configured in such a way that it can only accept URL's…
6
votes
3 answers

What is the prefered or accepted method for testing proxy settings?

I have a lot of trouble with the internet connectivity in the program I am working on and it all seems to spawn from some issue with the proxy settings. Most of the issues at this point are fixed, but the issue I am having now is that my method of…
Mike Webb
  • 8,855
  • 18
  • 78
  • 111
6
votes
3 answers

Apache rewrite request using a different forward proxy

I would like to forward a request in Apache, based on a request header, to a different forward proxy. I think the best would be to use mod_rewrite, but it can use only a reverse proxy defined in the same apache configuration. I also checked the…
Alin
  • 1,176
  • 1
  • 12
  • 15
6
votes
5 answers

Set up Http Proxy in Android Studio

I have read multiple similar questions and the documentation but I have not been able to solve my issue of getting by the corporate firewall my machine sits behind. The error I am getting is 'Failed to refresh Gradle project' Unknown host…
OhWhen
  • 91
  • 1
  • 2
  • 5
6
votes
0 answers

Getting Bower to like proxy firewalls

We have a corporate proxy (NTLM) that wants username, password, as well as user-agent strings. OK, I have the strangest method that works.I would really like a global bowerrc so that I don't have to do all of this. All I want is some clue as to why…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
6
votes
1 answer

Pass Proxy Auth Using Python Selenium for Chrome

I am trying to scrape using proxy from proxymesh.com I am currently using the following code, It opens Chrome and creates a javascript alert to input username and password. I am currently doing is manually everytime I run a new instance of the…
Md. Mohsin
  • 1,822
  • 3
  • 19
  • 34
6
votes
3 answers

Volley behind a proxy server

I am new to Volley Networking Library (of Android). I have observed that the Request function takes URL as the parameter instead of server name and port. Is there any way for making Volley request to go through a Proxy Server of my choice if I…
user3683906
  • 61
  • 1
  • 3
6
votes
1 answer

Java processes using proxy server, hosing up everything

I am doing some web sevices work on Java 5 on a mac (10.6.2).... Ever since IT made us start using a proxy server, life has gotten a lot harder. Java appears to be pulling in the system proxy server settings, but not the exclude list. This means…
phil swenson
  • 8,564
  • 20
  • 74
  • 99
6
votes
2 answers

Spy-JS in WebStorm not capturing

I'm using WebStorm 8 with Spy-js integration (more http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/) When I run SpyJS from IDE Run configuration, I cannot get it to capture requests When I access URL via Local Proxy mode,…
6
votes
2 answers

Why Fiddler adds connection:close on CONNECT response?

I noted that fiddler sends "connection:close" header when the client sends a CONNECT request to initiate secure connection along with the "200 connection established" message. CONNECT request to a forward HTTP proxy over an SSL connection? As…
Jehonathan Thomas
  • 2,110
  • 1
  • 28
  • 34
6
votes
2 answers

Configuring Nginx reverse proxy for webmin

I already have a working https site running. My config below is working fine for webmin. Except that when I login the web address rewrites the port no 10000 next to it, therefore getting error server not found. can anyone help me to correct this…
Tapash
  • 357
  • 1
  • 3
  • 15
1 2 3
99
100