proxy

Java HTTP Snooper(Proxy) Does Not Forward Server Response

I am writing somewhat of a proxy program in Java. Here's how it works: The browser will be connected to the program. Any requests by the browser will be first be printed out to standard out, then forwarded to the server. The server then returns a response, which is also printed to standard out, then forwarded back to the browser. My ...

HTTPS connections over proxy servers

Is it possible to have HTTPS connections over proxy servers? If yes, what kind of proxy server allows this? ...

does WCF's NetTCPBinding supports Socks Proxy?

I've got a client/server WCF application I want to deploy in a corporate environement. They usually don't allow direct Internet connections, so I must use their SOCKS proxy. Is it possible to use the netTcpBinding channel over a socks proxy? ...

How would you force the System.Net.Socket.Connect() method to use a socks proxy (code injection vs external custom proxy)

I'm using WCF's netTcpBinding, which connects directly to an endpoint and doesn't seems to know anything about socks proxies. I need to use a proxy because most of my clients won't allow direct outbound connections, and enforce the use of socks proxies at all times. My first idea was to configure the .net framework to do that, so I ed...

Simple Http proxy using Sockets: Questions

Hello, I'm trying to learn how sockets works in C#. My idea was to program a simple http proxy: Here's my code: using System; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Text.RegularExpressions; using System.Threading; class Program { static void Main(string[] args) { Th...

How can I handle proxy servers with LWP::Simple?

How can I add proxy support to this script? use LWP::Simple; $url = "http://stackoverflow.com"; $word = "how to ask"; $content = get $url; if($content =~ m/$word/) { print "Found $word"; } ...

iphone - Programmatically set (System-wide) proxy settings?

I am new to iPhone development, so I'm sorry if this is a stupid question. I am developing an application whose purpose will be to route all iPhone activity through my company's proxy. Is there a way to programmatically set system-wide proxy settings in the iPhone (which will also take effect on the 3G connection)? I know there is a w...

avoiding man-in-the-middle attacks when using proxies.

I have a web application which passes an authentication key to web services for security. to avoid Man In The Middle attacks, the IP address of every request is checked against the IP address from the initial authentication request. However, when accessed from a machine that uses a proxy server, the IP address is not necessarily the sa...

mod_rewrite question

I would like to serve /foo and /foo/ locally, but proxy requests for /foo/* to a remote server. However, the following rule matches all of the above. What am I doing wrong? RewriteRule ^/foo/(.+)$ http://remote.host/$1 [P,L] ...

How can I use the system.net section of my app.config in a partial trust environment?

I've a WCF application deployed using clickonce. It connects to my server using https, and everything works fine I use the default proxy when needed thanks to the following code: <configSections> <sectionGroup name="system.net" type="System.Net.Configuration.NetSectionGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyTok...

Adding proxy support to existing application...?

Hi all! I'm wondering if it's possible (and how) to build a tool to add support for proxy connection to an existing application. Let me explain. Take the CodePlex Client (cpc.exe), it's a command line utility used to connect to CodePlex TFS. I'm behind a proxy and not being able to use it. I'd like to write an application, let's say "P...

Easiest way to fetch SSL page via a proxy in Java

Hi folks! I would like to fetch a SSL page in Java. The problem is, that I have to authenticate against a http proxy. So I want a simple way to fetch this page. I tried the Apache Commons httpclient, but it's too much overhead for my problem. I tried this piece of code, but it does not contain an authentication action: import java.io...

Using ProxyPass for pages but not images

As a result of horrible, horrible errors, we've changed how we connect Apache to Tomcat. We were using mod_jk: JkMount /path ajp13 Now we're using mod_proxy_ajp: ProxyPass /path ajp://localhost:8009/path ProxyPassReverse /path ajp://localhost:8009/path However, there's a feature that JkMount offered but ProxyPass doesn't: the abili...

how to write p%20roxy program in java

hi friends! In our workspace we have internet connection based on our IP address. they have gateway(p%20roxy) that accepts connection only from the specified range for eg., 15.8.18.1 to 151.8.18.20. i had an idea to route my packets from the my system to the some system that had IP in that specified range, that machine creates new pac...

Hibernate: Difference between session.get and session.load

From the API, I could see it has something to do with proxy. But I couldn't find a lot of information on proxy and do not understand the difference between calling session.get and session.load. Could someone please explain or direct me to a reference page? Thank you!! ...

How to connect to SQL Server through proxy server

Is it possible to connect to SQL Server server through proxy (http) using SQLSERVER oledb provider? How can I specify proxy address and port in connection string if it's possible? What nonstandard methods to bypass proxy you'd recommend if it's not possible? ...

Zombie http.proxyHost settings for JVM on OSX

I recently changed network and removed all my HTTP proxy settings from the System Preferences / Networking panel on OSX (Leopard). However, now whenever I use Eclipse the Java HTTP proxy system properties seem to be 'automagically' set to use my now defunct HTTP proxy. I can find no direct reference to this proxy anywhere on my system, ...

Will python provide enough performance for a proxy?

I want to start writing a http proxy that will modify responses according to some rules/filters I will configure. However, before I start coding it, I want to make sure I'm making the right choice in going with Python. Later, this tool would have to be able to process a lot of requests, so, I would like to know I can count on it later on...

Connect with TTcpClient through a http proxy

Hi all, How can i connect to a server through a http proxy server in delphi? What about SOCKS5 proxy? Google doesn't have any suggestion! ...

Help me understand how to use ProxyPass

UPDATE: I added a revised question after playing around with it two answers below. Hi there, If you're reading this you're probably familiar with Apache's mod_proxy and its ProxyPass function. Like many others, I have the issue of having an application that I can access from outside our internal network, but that application itself acc...