proxy

HTTP-GET-to-HTTP-POST proxy

Hey. I'm writing a Yahoo Pipe that requires communication with a specific web service. Unfortunately, the web service only accepts POST, and the Yahoo Pipes Web Service JSON POST module issues the POST in the wrong format. So ideally, there would be some proxy somewhere on the internet that accepts a GET, takes some parameters, and con...

I need a script/application to persist TCP connections for a PHP frontend.

Hello, I am making a PHP frontend for a backend server using a custom protocol over TCP. Due to a fairly complex handshake when establishing connections to the backend server, I would like to persist the TCP connections to the backend server. Naturally, given the inherently stateless nature of HTTP (and especially so when using mod_php u...

jmeter proxy: how to unzip traffic during / before recording

Hi, the http traffic I'm interested in to record is gzipped (the client sends zipped data to the server). The result is recorded binary traffic which cannot be easy modified. It's very difficult to modify the client in order to suppress compression. So my question: Is there an option or extension for the proxy to uncompress the client t...

Hibernate generating SQL queries when accessing associated entity's id

I have Hibernate Entities that look something like this (getters and setters left out): @Entity public class EntityA { @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "parent_id") private EntityB parent; } @Entity public class EntityB extends SuperEntity { @OneToMany(mappedBy = "parent") @Fetch(FetchMode.SUBSE...

Corporate proxy block all traffic except HTTP through a proxy server. How to use GEM or SVN, etc in Windows?

Hello, Our development team has spent countless hours setting up our individual Windows PCs to work with the corporate network. We work in a large company with tons of bureaucracy involved, which includes network access. Youtube, Twitter, Facebook, and many programming/forums websites are blocked due to faulty filtering settings, so ar...

HttpClient: how do I obtain the underlying socket from an existing connection?

I am using HttpClient 4.02 to create a connection via proxy (using the CONNECT method) to tunnel a connection to a remote server. HttpClient is very convenient for this but I am new to the API and cannot see how to get at the underlying Socket of the tunneled connection. The following code taken from: http://svn.apache.org/repos/asf/htt...

How to turn a PHP script into a proxy server?

Hi, We all know that HTTP uses port 80, what if i put my server's ip and the port 80 in the browser's proxy setting, will the browser sends the HTTP requests to my index.php which will fetch the website from server side and return response headers and body? Thanks ...

Fiddler and Windows Phone 7 emulator - redirect to proxy

I am just curious - did anyone got Fiddler to work with Windows Phone 7 emulator (RTW build)? When I try working with Fiddler, I am getting a WebException when working with HttpWebRequest insances - NotFound, to be specific. WireShark works fine. The problem I see here is that Fiddler acts as a proxy and the WP7 application I am using d...

How to open a link with different proxy IP adresses in python?

I want to click a link over and over again while different proxies are enabled to trick the host into thinking I am doing it on different IP adresses. What is the simples way to do this in python? Thanks! ...

How to Testing with proxy servers

I have some code in .NET V2.0 that is talking to an asmx service As a related issue I also have some code in the same winforms app that is doig BITS uploads We are a very small shop and quite frankly do not have any sort of proxy server setup But of course our clients will I want to test with a proxy server sitting between my home FIOS...

Altering LAN Settings from a batch file and/or C#?

I'm not sure how to describe this without an image, so attached is a quick snip from what I want to do in a batch file (Windows 7 Enterprise 32 bit) In Internet Options, under the Connections tab, there's a LAN settings button (marked in red), that opens the displayed dialog from the image. I already have the address and port I want, ...

Could aggressive proxy/cache server be causing session problems?

I have a question regarding whether incorrectly configured proxy/cache servers might be the cause of an odd problem I have seen in my web application. The application is LAMP based, and run off a single host, and the service is used from a number of different countries. Sessions are used to manage user interactions. While this appli...

google app engine as proxy for watching youtube videos?

atm proxies like http://labnol-proxy-server.appspot.com/ (made by http://www.labnol.org/internet/setup-proxy-server/12890/) can't show youtube videos because to much traffic is redirected through http://*.appspot.com domains. If someone would host his app on a TLD, would this problem be solved and one could view youtube videos with this ...

Socket/Proxy problem in java

I have a socket connecting to a proxy then to a remote server i specify. However i want multiple connections to the remove server from the proxy. So i want to create 4 sockets to the same proxy and from the 4 sockets connect to the remote server. When i do this it doesn't work, it only connects to the proxy once. Here is psuedo code: ...

Use of network proxies in a Mac OS X application

Hello, As someone new to developing for macs I was wondering if I could gather some advice on dealing with network proxies. Currently the software makes use of: NSURLRequest NSURLDownload [NSString initWithContentsOfURL:] WebKit / WebView I had a little search on google and found Apple's page on CFProxySupport although I haven't looke...

Appengine without google apps?

I was using GAE with Gapps on my domain, however it seems that ghs.google.com is unavailable in China. How can I use GAE on my domain without Gapps? Edit: A solution I'm considering is using something like a proxy. This way the firewall doesnt see google. By the way, my site is not banned because of its content, it can be acessed norma...

spring two-way rmi callback from server executing on client side

On the server-side I have a ListenerManager which fires callbacks to its Listeners. The manager is exported using a Spring RmiServiceExporter On the client-side I have a proxy to the manager created by an RmiProxyFactoryBean, and a Listener implementation registered through this proxy with the manager on the server side. So far so good...

Scan xml for links using ajax, apply links to another ajax call to scrape page and return data.

So, I've tried to look around before posting, but I can't seem to find an answer. My dilemma: I have an XML file that houses url links to various pages(all similar, diff products). By using jQuery and AJAX, I am able to pull the links from the XML file. I then want to be able to pass those links, in order, to another AJAX call that w...

ODBC hook / shim

I have an old app that I need to get functioning. Right now it uses some invalid SQL. It connects to the db using ODBC. I would just like to shim the ODBC so I could watch for the invalid SQL and replace it with some valid commands. Any ideas? MySQL proxy would fit the bill if it would fly over ODBC. http://dev.mysql.com/downloads/mys...

Can browsers connec to a proxy over SSL/TLS?

If I set up a proxy (such as Squid for example) configured with certs to listen for HTTPS are browsers able to connect to the proxy over TLS/SSL? Example of what I'm asking: Browser Proxy Server yahoo.com -> TLS -> Squid -> HTTP -> yahoo.com I've set up a proxy listening on 443, but am not having success getting...