proxy

WCF client proxy exception - "Type cannot be added to list of known types"

Guys, I am having problems creating WCF client proxy for service code like in this example: // data classes [KnownType(typeof(ClassA))] [KnownType(typeof(ClassB))] public abstract class BaseClass : Dictionary<string, ITest> { } public class ClassA : BaseClass { } public class ClassB : BaseClass { } public interface ITest { } // se...

When I run code to post blog i get error: Proxy Authentication required

i am writing code in vb to post blog to wordpress. here is the code Imports CookComputing.XmlRpc Public Structure blogInfo Public title As String Public description As String End Structure Public Class Form1 Public Interface IgetCatList <CookComputing.XmlRpc.XmlRpcMethod("metaWeblog.newPost")> _ Function...

Hide my real ip address when i'm surfing a php page

Hi , This php function return the real ip address of clients : function getRealIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet { $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy { $ip=$_SERVER['HTTP_X...

Creating proxy between application queries and Internet

Is it possible (for example with C++, but it does not really matter) to create a bridge/proxy application to get the data requested by another application? To be more detailed, I'm talking about a Adobe Air based game. (I want to create a report with stats based on the data acquired, but that is not actually part of this question.) Rath...

IIS Proxy for a Windows Service hosted WCF Service

I have a Windows Service that is exposing a WCF service thru a net.tcp channel. Now I want this service to be exposed thru IIS, without being hosted in it. By doing that I will be able to maintain the state in the Windows Service, and I will benefit of the underlying IIS authentication and security. Is it possible to do that just by u...

Why ProxySettings doesn't work in EmbeddedWB ? (Delphi)

This is my code : EmbeddedWB1.ProxySettings.Address:='119.112.222.146'; EmbeddedWB1.ProxySettings.Port:=9415; EmbeddedWB1.ProxySettings.AutoLoadProxy:=true; EmbeddedWB1.RefreshProxy; EmbeddedWB1.Navigate('www.whatismyipaddress.com'); But when i navigated the site , my ip address did NOT change ! whereas , when i set that proxy settin...

How to get git to work through a proxy and IntelliJ Idea?

Hi All: Where to I configure the proxy settings for GIT in IntelliJ Idea? I've gotten the proxy settings working for the plugins, but I just can't find it for GIT; and the help files only mention subversion. Any help is appreciated. ...

Wrap ActiveX to Intercept Calls (ActiveX Proxy wrapper)

Hi all, I have a deeply ingrained ActiveX control in our system which I would like to learn about / fix! I am thinking about wrapping this MFC dll with a transparent proxy class that will intercept the member etc. HOW can this be approached in MFC. Thanks! ...

SSL error when trying to connect to internet in Android emulator

I am running into a problem simply trying to connect to the internet from the Android emulator. I am behind a proxy server and am using the -http-proxy tag when I start the emulator. When I try to connect to the internet in any fashion, it fails. When I open up the internet browser I get the following exception: Unknown error 1 durin...

Handle error 404 on nginx+apache

Hi, I have apache + nginx as proxy,in nginx.conf I have: server { listen 94.23.xx.xx:80 default; server_name proxy ; # "_" is for handle all hosts that are not described by server_name charset off; access_log off; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_ad...

Guidlines and best practices to make a proxy-friendly site

This is a question to proxy and plugin developers. The usual mindset when it comes to specific sites is "They make changes which breaks our plugin; we change the logic to make it work again". But, what if the other side worries about this too? If we want to compile a set of guidelines and best practices for site development for a proxy...

jetty via apache mod_proxy

Using an Apache virtualhost and mod_proxy I want to access a java application (myapp) available in a jetty instance on port 8080. With ProxyPass / localhost:8080/ on my apache virtualhost configuration I can access the application running in jetty with www.mydomain.com/myapp but I want the application to be accessed from www.mydomain.co...

Orbited proxy not closing proxied connection

I'm having trouble getting orbited to kill the connection it's proxying. I'm using it to run IRC through a web browser. When the user disconnects, I would expect the IRC server to show the "remote host closed the connection" message, but instead I get ping timeout. So the code in proxy.py (in connectionLost) isn't killing the connecti...

Setting up a proxy for java webstart applications

We've decided to use webstart for deploying some of our applications. The problem is, another company will be using our application for quite a number of different employees. Is there any way to have another server be a proxy for our webstart so that they don't need to download the application from our servers more than once? Of course, ...

ApplicationContext.getBean(Class clazz) doesn't go well with proxies

I have a bean definition in Spring and it's proxy counterpart which is meant to be used everywhere: <bean name="my.Bean" class="org.springframework.aop.framework.ProxyFactoryBean" scope="prototype"> <property name="proxyInterfaces" value="my.Interface"/> <property name="target" ref="my.BeanTarget"/> <property name="interceptorName...

How to use reflection to unit-test an internal (Friend in VB) class within an assembly, when the InternalsVisibleToAttribute is not an option?

I have a solution with two projects within: Company.Project.vbproj Company.Project.Tests.vbproj Within the Company.Project.vbproj assembly, I have a class FriendClass.vb which scope is Friend (internal in C#). Now I wish to test this FriendClass.vb from within the Company.Project.Tests.vbproj assembly. I know about the InternalsVisib...

Is it possible in PHP like Java's socksProxyHost?

Is there any option in PHP to set a socks proxy for incoming and outgoing traffic. TIA ...

How to add custom html to the beginning of the proxy output?

Hi, I have a proxy server, but i want to add ads to the beginning of the output like many proxy providers do, but i don't know how to do that? is there an easy way like making a pac file or something like that? Note: The proxy is really normal, and can be accessed with an ip and port. Thanks ...

How to make a proxy using a php script?

Hi, Let's say i got a vps hosting with a dedicated ip, can i make a curl php script that receives a url, fetch it, and output it, and make all this as a proxy server, so i can put my vps ip in the proxy settings of the browser. Is there any way to do that? Note: Please don't suggest me a web based proxy like glype. Thanks ...

Array of proxies on a linux machine

Hi, I would like to setup a system which I could change the ip any time I want. The Idea I have is to have a list of proxies, which by pressing a button or something similar will switch to a different proxy server. any suggestions of how to do it( I believe there is already a software for that somewhere) I use ubuntu 10.04 (linux). ...