proxy

Proxying Videos locally with a TCP Socket

Iv'e been really interested in adding support for video podcasts to Media Browser. I would like users to be able to navigate through the available video podcasts and stream them from the internets. That's really easy cause media player etc.. will happily play a file that lives in the cloud. The problem is that I want cache these file...

IIS token based security, ssl certificate and https, proxy

I have developed a new web service. Now, I need to deal with security issue as we are intending to make it a secure service. In order to set up SSL and https, I need to obtain and install an SSL certificate. Who is the certificate authority? Do you know how to go about with this? Are there concise articles on this? Regards. D...

Setting up an Apache Proxy with Authentication

I need to set up a proxy with authentication to verify the behavior of an application that connects to the internet. I am trying to set-up an Apache installation with forward proxy and authentication, and even though I am close to make it work, I wonder if there is maybe a better way, as the configuration is fairly esoteric. How can Ap...

Sending Messages to Squid Proxy Users.

Is it possible to send custom HTML messages to users when they first start a session through a squid proxy server? I want to be able to redirect a users first request to the "message of the Day".... then the rest of their browsing requests for the remainder of the session go without being redirected..... Detailed Steps: User o...

Proxy host C# problem...

Hello... My proxy usage : "Proxy.ashx?url=" Code: <%@ WebHandler Language="C#" Class="Proxy" %> public class Proxy : IHttpHandler { public void ProcessRequest (HttpContext context) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(context.Request["url"]); request.UserAgent = context.Request.UserAgent; request....

Modify then display page using C#

Can someone point me in the right direction for implementing proxy-like behavior with C#? I'm looking to catch HTTP requests from a site, parse, then modify the DOM and show the results. Ideally, this program would run as a proxy on the local machine, but I'm fine with implementing a custom "browser" if needed. Any suggestions? ...

Best Technology to use to set up an audio file cache

We have a client application that allows users to download full length 192Kb/s MP3 audio files. Because the files are stored externally to us as a business, we need to be able to: 1) Copy file from external location into a local Server cache 2) Copy that file to the client that requested it Obviously further requests on the same file...

Unable to make a domain redirection in Django from site.com to www.site.com

I get the following message when I browse to site.com 500 - Internal Server Error I get my 404 error message when I browse to www.site.com which indicates my site is alive. How can you make a domain redirection without .htaccess by Django from site.com to www.site.com? My urls.py from django.conf.urls.defaults import * ...

Would it be reasonable to proxy every server call to get around API restrictions (i.e. Twitter)?

I've run into a few problems with API limits(too many calls) and server timeouts(calls too fast) while coding an AIR App. I'm not very familiar with the performance of proxies, so I'm wondering if downloading a list of proxies to the app every so often and using a different proxy for every API call would be reasonably fast. I'm not even...

Reverse Proxy PHP

I want to develop software that will allow people to log in and pay a bill. The software will have to connect to a server hosted at a client (could be many clients) and retrieve some information. The issue is that I want to make it work in any scenario. Similar to the home remote control software like goto my pc. I have no gurantee o...

SSL in a C# Web Proxy; how do I determine if the request is SLL or not?

I have built a web proxy from scratch (using Socket and NetworkStream classes). I am now trying to implement SSL support for it so that it can handle HTTPS requests and responses. I have a good idea of what I need to do (using SslStream) but I don't know how to determine if the request I get from the client is SSL or not. I have search...

What's the recommended way to get winhttp.h?

Our application uses libcurl for HTTP, and we want to get access to Internet Explorer's proxy settings. An earlier Stack Overflow question recommends that we use WinHttpGetIEProxyConfigForCurrentUser and WinHttpGetProxyForUrl. Unfortunately, the winhttp.h header does not appear to be included with our copies either Visual C++ 2005 or Vi...

Best whitelist capable http proxy for Windows?

I would like to setup a http proxy on my work machine (no admin rights, WinXP) to only allow access to a whitelist of URLs. What would be the easiest solution? I prefer open-source software if possible. ...

Accessing HTTPS site through Proxy Server

I am adding code to use a proxy server to access the Internet. The code works fine when requesting a file from a normal (HTTP) location, but does not work when accessing a secure location (HTTPS). This is the code that works just fine: URL = "http://UnSecureSite.net/file.xml" Dim wr As HttpWebRequest = CType(WebRequest.Create(URL), Htt...

supporting persistent HTTP connections in my proxy server

Hi all, I am implementing a HTTP caching proxy server in C++.I am done with most part of it but i am stuck at a point. What i am doing is creating each thread with a socket to handle each time a request from browser comes. I parse the request, check for its availability in cache and if not found forward it to end www server.In both cases...

How to modify ActiveXObject JS constructor?

I need to wrap an IE ajax request to notify me when it happens. ie i need to know when open is called on this: var xhr = new ActiveXObject("Microsoft.XMLHTTP"); The only way to do that(i think) is to implement the ActiveXObject constructor to proxy open calls to the real constructor/object. Can you help me do that? also: i dont need ...

Creating a factory for which can support both real object & a NullObject

I want to create a factory which will create a smack XMPPConnection. The factory should return the real XMPPConnection or a NullObject if the connection could not be made. However smack's XMPPConnection is a concrete class. It does not implement any interfaces, so I can't use java dynamic proxy API to proxy the sucker. I could extend t...

Proxy Check in python

I have written a script in python that uses cookies and POST/GET. I also included proxy support in my script. However, when one enters a dead proxy proxy, the script crashes. Is there any way to check if a proxy is dead/alive before running the rest of my script? Furthermore, I noticed that some proxies don't handle cookies/POST headers...

WCF and moving the proxy code to a DLL. Is it possible?

Hi, it looks like I am not able to succesfully move my WCF proxy code into a separate DLL (as opposed to an EXE as I can see in all the examples I have run into). The reason I am trying to do this is that I would like my proxy code to be invoked by different clients (possibly unmanaged code), which might not know anything about WCF bu...

PHP Secure Remote Proxy Server Health

Hi, Want to be alerted when a secure remote proxy server stop working; for instance if Apache hangs for some reason. As the remote machine will still be up, will still be able to ping, though this would prove very little. Need to be able to script something that requests a path through the proxy and then returns the result. Investiga...