proxy

Flex 4 app behind proxy server w/auth fails to call webservice when launched from IE (firefox ok)

I have Flex 4 app which is deployed in internet. Just as an intro, when i'm behind our corporate proxy server, IE and firefox asks for username and password when accessing external websites. WHEN BEHIND PROXY In IE (i tested only in 8) Flex app starts fine, but it fails to invoke webservice - CallResponded result or fault event doesn...

Losing Class Custom Annotation For Proxy Classes

Hi, I am using Seam to inject beans to my controller using @In annotation. The injected class has a custom annotation, when calling injectedClass.getClass().getAnnotation(annotationClass) it returns null. When debug I found that Seam passes a proxy instance so getClass() returns InjectedClass_$$_javassist_seam_5 which doesn't have my c...

Content negotiation and HTTP headers in PHP

This is a following to my yesterday question: http://stackoverflow.com/questions/1975416/trying-to-understand-the-vary-http-header I have a .php that can be served with different MIME types. To do this I use "Vary: Accept" HTTP header (which is confirmed to be correct). But what if the same document (with the same URL) can be served in ...

Is my PHP script cache (public) friendly?

I have finalized a small PHP application that can serve many documents. These documents must be cacheable by clients and proxies. Since proxies can cache my results I must be extra careful because the documents I serve can have different MIMEs types (content negotiation based on $_SERVER['HTTP_ACCEPT']) and different languages (based in...

Longest username and password accepted for SOCKS5 authentication?

As seen here http://tools.ietf.org/html/rfc1929 , I would assume that it is either 255, or unlimited in length. What is the longest possible username and/or password you can use for authenticating a SOCKS 5 proxy? ...

Open source HTTP or HTTPS proxy

I want to log all HTTP requests made by the browser to a file, so I thought I can run a HTTP/S proxy locally and do this. However, the proxies at proxies.xhaus.com/ don't meet my needs - either no HTTPS support or no logging. Do anyone of you know of a proxy that can do both HTTPS and HTTP and allow me to log the browser traffic to a fil...

Setting up a basic web proxy in apache

Hi, I'm looking to run Apache as a proxy for web development. I'm running Mac OS X 10.5.4, which already has Apache 2.2.8 installed and running. I'd like to point my JavaScript files (which are running locally on my machine) to: http://localhost/test.php which would hit the local apache server, then have that apache instance forward...

how to reuse ie remembered proxy username password

I am writing .Net application, which should connect to a webservice through a proxy (proxy with username password). My (All) .net application automatically uses the internet explorer's proxy server settings, but not proxy username password settings. Can't i store proxy username password in internet options ? Today i used Teamviewer and ...

how to proxy a localhost only webpage through a publicly facing authenticated webpage?

I have a web application that requires user authentication. Once logged into this web application I want the users to also be able to see the content of a read only wiki that is running on the same server but is not publicly accessible, however I do not need/want to have the users of my web application to have accounts on that wiki, and...

How can a Delphi application detect the network proxy settings of a Windows PC?

I have a Delphi application that communicates with web servers on the Internet using the Indy components. Most users of the application have direct Internet connections but some are behind a proxy server of a local network. I don't want to have to ask the users to lookup their proxy server in the Internet Options / Connections / LAN Set...

Squid is GPL2, must a bundled external_acl_type application also be GPL2?

Yes, I know you're not a lawyer. But writing software these days means understanding the bazillion licenses that we use day in and day out. I'm struggling currently with Squid's GPL V2 License. Squid is a client side caching proxy server with flexible authorization capabilities. One of these authorization capabilities is to allow an ...

How do I know if image from my site is getting cached by proxy servers?

Hi all, The following is a http response header from a image on our company's website. HTTP/1.1 200 OK Content-Type: image/png Last-Modified: Thu, 03 Dec 2009 15:51:57 GMT Accept-Ranges: bytes ETag: "1e61e38a3074ca1:0" Date: Wed, 06 Jan 2010 22:06:23 GMT Content-Length: 9140 Is there anyway to know if this image is publicly cacheable...

HTTP/S proxy starting point

I would like to make an HTTP/S proxy program to filter/deny certain http traffic based on how I parse the HTTP request in C++. Is there some kind of starting point code that I can use with an open license for commercial use? For example if I wanted to do a project on searching I would start with lucene. ...

Plone with Apache Proxy

I have a plone zinstance set up through Apache Proxy on OS X Server 10.5. The server is set up with a single vhost on port 80, with Proxy & Proxypass directives to the Plone zinstance: ProxyPass / http://localhost:8080/VirtualHostBase/http/server:80/Plone/VirtualHostRoot/ ProxyPassReverse / http://localhost:8080/Virtual...

How to change Global Windows Proxy using C# .NET with `Immediate Effect`

I'm writing a winform's (C# .NET) app to change Window's Global (aka internet explorer's) proxy settings. I'm using this. RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true); registry.SetValue("ProxyEnable", 1); registry.SetValue("ProxyServer", "127.0.0.1:8080"...

IsInNet for ASP

First Post. So I am working on a project due to some drawbacks to the abilities of a standard PAC file. Basically we need to route proxy rules based on the internal subnet of the requester. Currently the IsInNet function is the option, however this is client side and has many failpoints due to it's dependency on the myIpAddress functi...

Python asyncore vs plain old C

Hi, i'm stress testing 2 different projects: one is proxsmtpd - smtp proxy written in C And the other one, smtp_proxy.py, which i developed under 1 hour, with use of asyncore and smtpd python modules. I stressed both projects under heavy load, and found out that proxsmtpd is able to hold 400 smtp sessions / sec, while my python program,...

DynamicProxy2 and Proxy Chaining

I have the need to proxy the property types of a proxy. So the case would be: I have interface IMyInterface: public interface IMyInterface { public String Name {get; set;} public Int Id {get;set;} } I can mock the interface just fine but I want to be able to mock, for instance, the Name property. I realize that String cannot ...

How do I use .Net Remoting through a web proxy?

Hi guys, An application I'm writing needs to use .Net Remoting (I'm aware that WCF is the 'new thing', but it is unfortunately not an option available to us at this time). Anyway, everything works fine if I don't try to use the application through a proxy. However, the application needs to be able to function through proxy web servers....

commandline curl POST gives zero content length

I'm using commandline curl to do a POST via a proxy but my form data is vanishing to zero content length. Any ideas what I'm doing wrong? Here's my command line (uses a public test form so others can try it): curl -v --proxy-ntlm --proxy proxyserver:proxyport --proxy-user : -d "fname=a&lname=b" http://www.snee.com/xml/crud/posttest.cgi...