proxy

Proxy examples using org.apache.mina.proxy?

Does anyone know of any examples, ideally HTTP proxy, using the org.apache.mina.proxy package? ...

ASP.NET ScriptService JavaScript alias

Hi, This is more a cosmetic issue, rather than an actual "problem". I've got a solution in which I am converting a lot of PageMethods into WebService calls instead. Some of the PageMethods created a page overhead of several hundred kilobytes, so I thought I'd extract them into their own WebServices, thus reducing the page overhead and e...

webhttpbinding and WCF proxy disposal?

Should I bother with disposing (using close() and abort() on exception) the WCF proxy generated using ClientBase when I am using WebHttpBinding? Since its POX/ REST over http, I am wondering if there is any harm in leaving the proxy alone after the service call!? ...

nginx conf does not use my defined location rules

When users come to / they should be served a static index.html file. When they come to /foobar the request should be sent to the backend server. However, this is not the case, with the following: pid logs/nginx.pid; worker_processes 2; events { worker_connections 1024; } http { include mime.types; de...

SvcUtil.exe creating its own class name for service contract implementation class - WCF

Hello I've written a WCF service and hosted in IIS 6.0. When i try to create the proxy using the following command svcutil.exe /language:cs /out:MyProxy.cs /config:app.config /a http://serviceurl it is creating its own class name in MyProxy.cs. Why is that? I was trying to step in to the service for debugging and i was not able to ...

WPF Image : How to download Sourceimage with Proxy Server?

In my WPF Application I need to download some images from the internet. It's very easy I just set the URL as Source of the image control and that's all. But it's not working anymore when I run my application behind a proxy server! For a HttpWebRequest I can set a proxy server but it seems it is not possible for an Image control. Do I h...

Unable to make web request through proxy server

My sharepoint webpart is throwing an error when calling HttpWebRequest.GetRequestStream when the request is made through a proxy server. The error is "unable to connect to the remote server." The client's machine (where this is failing) is set to use a specific proxy server (Use proxy server for your LAN) on IE settings. Do I need to ...

C# Pinging particular ports and proxy credentials

Heya guys I have 2 questions for you. Im creating an Application for Chat that relies on Jabber, witch is my server is port 5222 for the server side of things. Port Ping How can I ping a server via Port 5222 and check to see if its open and responding. Something like Ping.Once(Settings.Defualt.ChatServerDomain,Settings.Defualt.Chat...

How to hook up a mock proxy server?

My sharepoint webpart is throwing an error on my client's environment when calling HttpWebRequest.GetRequestStream (and he's using a proxy server). The error is "unable to connect to the remote server." What's the best way to reproduce this scenario (hooking up a mock proxy) on my end so that my requests go out through the proxy server...

ISA Proxy Server can't pass MSDN websites

I can get here, but no one at work using our proxy can seem to get to MSDN. Our Network Administrator has no clue. He said if I could figure it out, he'd fix it. He thinks it is because the ISA Server is too old to understand Microsoft's newer HTML technology. ...

How to add banners and ads on squid

hey guys are you aware of anchorfree vpn?, i have used them before, however i am running my cybercafe on squid, and i want to advertise using squid, i would like to know how to add a banner at the top of every page randomly just like anchorfree thank you. ...

PHProxy hanging on response.

I've been working on a PHProxy server for some time (you can see my recent posts) and I'm at a point where I have everything working except this problem. do { $data = @fread($_socket, 8192); $_response_body .= $data; } while (isset($data{0})); unset($data); My proxy server logs into a server running IIS without the user's i...

Why doesn't this Proxy server (written in python using asyncore) work?

This proxy server connects to another proxy server which is connected to the internet . The problem with this is that authentication etc works fine but the Server receives only the header from the remote server and not the HTML.How to fix this? please help USER='someUsername' PASS='somePassword' import asyncore import asynchat import ...

WCF: why do I have to set [field]specified manually to send value to server?

I generated WCF proxy that has integer [fieldName] in message contract request class. I tried to send value to server but value always came 0 until I manually set [fieldNameSpecified] to true. Is there something wrong with proxy generation or WCF was designed this way? What are the reasons behind [Specified] fields especially if strin...

Why aren't all packets sent to the client?

I'm writing a simple proxy (more a packet logger) for an online game in C#. All the packets get received by the proxy but some aren't sent to the client (not sure about the server). For example: Client->Server: Login Packet - My proxy receives the packet, displays it and sends it to the server. Server->Client: Connected! Packet - My pr...

Web site exhibits JavaScript error on iPad / iPhone under 3G but not under WiFi

Connecting to http://www.manage-us.com on an iPad under 3G [used to] result in a JavaScript error which can be seen if the developer console has been enabled. If the same page is accessed using the same iPad under a WiFi connection no error is displayed. [The error has now gone because I applied the fix below!]. Why is this? I've trie...

What is the best paid proxy service for google search ranking tool?

Hi all I'm struggling to find a good and reliable paid proxy service to run a script that reports on organic search results for a set of keywords. Does anyone have any recommendations? We'll be analyzing 60 keywords against 30 urls per day and our setup is LAMP based using Curl for the script. Any advice would be welcome. Thanks Jon...

Sync a local SQLite DB with a server SQLite DB

Is it possible, and if so how can I effectively sync a local database with a global one such that when an action is taken on the local version it is also made on the global database. Simply using version control to subvert the global is unacceptable because there could be several local copies of the database according to the number of p...

nginx - How to extract the domain name out of the full uri ?

Hi folks, i have a nginx server running on ipv6 native. I want to set up a "proxy" to ipv4 with it. server { listen [::]:80; location / { proxy_pass http://www.mydomain.com proxy_set_header X-Real-IP $remote_addr; } } The Idea is to set up a AAAA record "ipv6.mydomain.com", and nginx should chan...

How to set up a squid Proxy with basic username and password authentication?

squid proxy currently I use ip in acl I want to use username and password to do this thanks ...