proxy

Checking for proxy connection

What do i need to send to a proxy server (http or socks) that will tell me if it is connected to the host i specified it to connect to. ...

turn off the proxy c#

this is the code to turn on the proxy: Public struct Struct_INTERNET_PROXY_INFO { public int dwAccessType; public IntPtr proxy; public IntPtr proxyBypass; }; [DllImport("wininet.dll", SetLastError = true)] private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLeng...

Java 1.4.2 - Single http proxy connection

I need to create a single http proxy connection and i don't want to use java common environment variables such as http.proxyHost and http.proxyPort (should i care about modifying them?). There is an ibm jre, so i can't use sun.net.www.protocol.http.HttpURLConnection out of the box. Is it a normal practice to store http.proxy* variables...

Java proxy connection

Im creating several proxy sockets and binding them to another server. Can i create more than 1 instance of the proxy socket? For example having 4 Sockets using the same proxy? ...

How to bypass proxy using apache (without using curl) ?

I want to get the content of some site across the proxy using php. Instead of using curl , i want to do proxy authentications at Apacle level. So that there is no need to change the existing code. Anyidea please ... ...

IE 7 with Webforms and Proxy Server

I have started having problems with our asp.net webform applications running behind a proxy since the user base have upgraded to IE7. Some postbacks seem to drop out and at times it is difficult to make controls on a page raise an event. It appears to be intermittant and I have been told there are issues around using IE7 behind a proxy w...

HTTP Error 400. The request has an invalid header name. When using jQuery Ajax to ASP.NET MVC via proxy

I am getting this error message: Bad Request - Invalid Header HTTP Error 400. The request has an invalid header name. When using local proxy for testing. The only difference I noticed in Request Headers in Firebug is: Connection keep-alive is changed to Proxy-Connection keep-alive Is this Ajax security related? How can...

PHP function to connect to pingomatic using cURL

Hi I'm creating a PHP fucntion to connect to pingomatic using CURL but the response is always. Array ( [EXE] => XML-RPC server accepts POST requests only. ) here is my sample code... function curl_getpage2($url,$data, $referer = null, $agent = null, $header = null, $timeout = 20, $proxy = null, $proxy_username = null, $proxy_password...

Library? C or Python - Socks5 proxy a non-socks aware application.

I need to write an application that will use an open socks5 proxy and tunnel data through it; eg. Photoshop does not support connections via a proxy, I want to create an app that will take all connections from photoshop and run them through the socks5 proxy. Any help would be great, thanks :) ...

DDOS Proxy Provider

Hi, I would like to know if anyone has experience with good DDOS Proxy Providers, where it is posible to switch only the NS of the domain and to prevent the attack. Please post any provider, that you have used and you recommend and maybe the price range, because I am collecting now some sorces to find the best one for me. I have found so...

Get object represented by a proxy using java reflections

Lets say i have a Proxy to an object, can I somehow get access to the object via reflection or other technique ? ...

Using RestTemplate, how to send the request to a proxy first so I can use my junits with JMeter?

I have a web service running on my dev box implemented using Spring-MVC 3.0. I have various JUnits that test against that service using RestTemplate. What I would like to do is have JMeter pick up those JUnits REST requests when I run them. However, to do that, I need to have Spring's RestTemplate send them to the proxy that I'm running ...

HTTP requests from app disappearing between sender's network/proxy and our web host

I don't have very much information to work with here, yet. Our app sends an HTTP query to our server, and in all the cases we've used until now it has worked fine. But for one client, whose network goes through a proxy, their logs indicate that the request goes out successfully, but no reply ever returns, and our web server shows nothi...

Time of Day Lockout By User Proxy Server Router

I currently have the Astaro Security Gateway ISO loaded on a beige box and it does what I want: Blocks direct access to the Internet making it's proxy server (with authentication) the only path to the Internet. Then, each user is subject to a different set of rules, for instance don't allow user "A" to connect after 11pm on a school nig...

Usefulness of java dynamic proxies vs regular proxies

I need some advice to which scenarios a dynamic proxy would prove more useful than a regular proxy. I've put alot of effort into learning how to use dynamic proxies effectively. In this question, set aside that frameworks like AspectJ can perform basically everything we try to achieve with dynamic proxies, or that e.g., CGLIB can be us...

how to use the windows login credentials for proxy authentication using C#

Is it possbile to use the windows login credential for proxy authentication using C#. I have a facebook application, which calls the facebook methods. During every facebook call, it gives an error "407: proxy authentication required" The following code will allow the user to set the proxy :- WebProxy oWebProxy = new System.Net.WebProx...

C# WebRequest returning 401

There is a web file within my intranet that my computer is authorized to read and write. I can open up IE or Firefox and view the file by typing int the url address. I need to write a C# desktop app that reads/writes to that file. Even though my computer has access, all my attempts so far result in 401, unauthorized access errors. The pr...

Nginx proxy_pass is ignored if static file exists

I'm trying to get nginx to always proxy certain requests, even if a static file exists. I have the proxying working fine, except nginx seems to insist on serving a static version of the file even if a proxy directive has been declared. So in the config below, if a file named "/siteroot/static/members/page.html" existed, it would be (in...

Non-PHP Proxy Possible? Or script hidable?

The place i am trying to bypass blocks all php proxy scripts automatically. I need a proxy that doesn't use php, if that is possible? Or at least a way to disguise the script? ...

How to do I use a web proxy with Perl's WWW::Mechanize?

I'm trying to use WWW::Mechanize with a proxy server, but seems like I cant get it to work. Since Mechanize is a subclass of LWP::UserAgent, I've been reading about the proxy thing over link text I have a list of proxies, for example: 74.87.151.157:8000 69.171.152.25:3128 190.253.82.253:8080 189.11.196.221:3128 41.234.205.201:808...