proxy

Hibernate proxy serialization and receive on client side.

I lack understanding of how does the generated proxy class object (CGLib enhanced POJO) is transferred to the remote client and still retains its ability to generate Lazy Init. Exceptions. Does that mean that there is some kind of contract that all the transferred objects of some kind of class (a proxy) will be reinstantiated as proxies...

Python proxy an application

Does anyone know of a library that enables you to run an application inside some kind of sandbox, with virtual mouse and keyboard support. The use case would be to create some kind of visual test runner, that would replay all actions taken during recording and play them back. So far I found autopy, but the fact that it controls the re...

creating WCF client proxy dynamically

I need to be able to call and arbitrary web service. The user will supply the URI / endpoint information at configuration time, and I need to be able to handle calling that service. As a result, I don't have service contract at compile-time ...

can I see all SQL statements sent over an ODBC connection?

I'm working with a third-party application that uses ODBC to connect to, and alter, a database. During certain failure modes, the end-results are not what I expect. To understand it better, I'd like some way of inspecting all the statements sent to the database. Is there a way to do this with ODBC? I know with JDBC I could use http://ww...

Need help with a PHP proxy script

I’m currently working on a small web app that allows people to search for music album covers. However, I’m having a problem getting my PHP proxy to work. Right now I’m using a simple PHP proxy script to grab the HTML from Google’s image result page, and parse it to find the first image result (I can’t use the image search API because it ...

Multiple connections in a single SSH SOCKS 5 Proxy

Hey guys, My fist question here on Stackoverflow: What should I need to do so that the SSH SOCKS 5 Proxy (SSH2) will allow multiple connections? What I have noticed, is that when I load a page in Firefox (already configured to use the SOCKS 5 proxy), it loads everything one by one. It can be perceived by bare eyes, and I also confirm t...

Detect proxy settings of non-default web browser - C#

There are similar questions out here that describe how to get the default proxy settings of the user, but what happens if let's say the user's default browser is IE, but they are using Firefox? I need to grab their current Firefox settings. Is there a way to get at these settings? It is safe to assume that I am able to detect what br...

Proxy Issues with Javascript Cross Domain RSS Feed Parsing

This is my Javascript function which grabs an rss feed via the proxy script and then spits out the 5 latest rss items from the feed along with a link to my stylesheet: function getWidget (feed,limit) { if (window.XMLHttpRequest) { xhttp=new XMLHttpRequest() } else { xhttp=new ActiveXObject("Microsoft.XMLHTTP") ...

Help with HTTP Intercepting Proxy in Ruby?

I have the beginnings of an HTTP Intercepting Proxy written in Ruby: require 'socket' # Get sockets from stdlib server = TCPServer.open(8080) # Socket to listen on port 8080 loop { # Servers run forever Thread.start(server.accept) do |client| puts "** Got connection!" @output = "" ...

Is it possible to handle proxies at socket level?

Hi, I'm doing some networking programming for Windows right now envolving the HTTP protocol. Is it possible to handle prosies at socket level? And SSL proxies? If not, does Windows provide something at a higher level to handle them? I wouldn't like to use a third party library, but if there's no other way to go I would reconsider it. A...

Proxy Session Hijack

Our application starts by scraping a web page using WatiN (like Selenium or WatiR) on a server somewhere. Scraping concludes, and I want a real user in another location to take over the session that WatiN started. Because of security on the web site we are accessing, I probably need to have a proxy that holds the html and cookies for res...

Help with squid proxy on VPS

I've spent the past 2 days attempt an install of squid caching proxy on my hostgator vps. I've gotten all the way up to the point where I turn the squid service on and always end up with the same issue "ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied" in the squid log. Here is the log from squid itself: 2010/04/20 16:12:5...

connecting to firewalled MS-SQL server that requires Windows Authentication via proxy?

So I need to connect to a mssql server via Windows Authentication from a Unix server. Here are the obstacles: The db admin created a service account but made it Windows-Auth only, meaning I can't pass the username and password directly to the server to connect. The admin also added my host's server to the firewall so that it would only...

W2k8 RC1: Windows Media Servers (WMS) as proxy

I will have one streaming-server (W2k8, unknown streaming protocol [rtsp, mss, http]) and half dozen streaming-servers as proxies to save bandwidth. I have read the documentation and installed the modules, but I am unsure how I have to configure the proxy's according to http://technet.microsoft.com/de-de/library/ee126142(en-us,WS.10).as...

.Net System.Net.HttpWebRequest & Authentication Cookies

I would like to know if the following is possible: As part of the PageLoad of an ASP.Net page request: Use HttpWebRequest (POST) to make a request to a forms authentication webpage of a different web application Examine the response to see if the authentication succeeded (identifiable if an authentication cookie has been set) If it fa...

Sending POST variables through a PHP proxy for AJAX?

I've decided that using a PHP proxy for AJAX calls for a project is the best way to go - but I have a question regarding passing POST data through the proxy. As in - how to do it. Should I need to create a single variable in the javascript using alternate characters, then have the PHP proxy parse and modify the variable to reassemble...

Custom tool warning: An item with the same key has already been added.

I added a Service Reference for a WCF project; I had over a hundred endpoints in my ServiceHost web.config, and all my development was going slowly, so I decided to trim it down for now. I also decided to change the namespace while I was at it, so I just deleted the service reference. The delete failed with an out of memory exception, s...

How to Send Headers Through PHP Proxy?

Okay, so I have an issue with an AJAX request. I currently have this URL: http://www.google.com/images?hl=en&safe=off&gbv=2&tbs=isch%3A1&sa=1&q=cars+imagesize%3A500x500&aq=f&aqi=&aql=&oq=&gs_rfai=&start=0 I then pass it to my proxy script by modifying the string to this: proxy.php?url=http:/...

How to create a web proxy?

I want to create web proxy . I googled it and even found some tutorial but those were in PHP. If somebody is having tutorial of web proxy creation in java then please post it here Or simply let me know what approach should i follow to create web proxy. [ i will be using Tomcat { if that matters for your answer } ] Thanks Edit i guess ...

JDBC connections: How to specify the port for data-transfer?

I wanto to run my JDBC-connection (either Oracle or MSSQL) through a proxy-server. Reason for this is to have additional controls of the traffic, especially for developing. I know, I could specify the proxy, which runs on my machine, and the port in the connection-string. But the specified connection-settings are only taken as some kind...