proxy

a proxy server that edits the returned Web pages

When a request is sent to a Web site, I'd like to edit some code to the returned page and the edited page is loaded to the browser. For example, when I send a request to statckoverflow.com, I'd like to change all the letter to upper case in the returned Web page, and then the edited page is loaded to my browser. (It's just an example to ...

Encryption filter on Sun One 6.1 web server not detecting requests

Hi all, I have a Sun One 6.1 web server that proxies requests to a WebLogic app server, and I have created an encryption filter in Java that encrypts the request parameters before it is forwarded to the app server. The filter is packaged in a WAR file and deployed to the web server root (/). My intention is to pick up all requests, lo...

Problematically pass a url to an anonymous proxy like http://www.trycatchme.com

hi, I'm using .net httpwebrequest &/or webclient class How can i Problematically pass a url to an anonymous proxy like http://www.trycatchme.com and get back a result <form method="post" action="/index.php"> <input id="address_bar" type="text" name="q" value="http://www." onfocus="this.select()" /> <input id="surf_button" type=...

NHibernate mapping domain "extension properties"?

Hi, I would like to "extend" my domain classes without having to add data to the domain classes themselves. Concider I have the following class: public class Person { public virtual int Id { get; private set; } public virtual string Name { get; set; } } And I have the following table in the database: tblPersons---------------...

best proxy debugger

what is the best proxy debugger for windows or debian? ...

Python - How can I fetch emails via POP or IMAP through a proxy?

Neither poplib or imaplib seem to offer proxy support and I couldn't find much info about it despite my google-fu attempts. I'm using python to fetch emails from various imap/pop enabled servers and need to be able to do it through proxies. Ideally, I'd like to be able to do it in python directly but using a wrapper (external program/s...

Mina - HTTP Proxy – what is AbstractHttpLogicHandler for?

I am currently working on building a simple HTTP proxy using Apache Mina, in particular org.apache.mina.proxy, and I have a few questions about how to use some of the components. How do I extract the future address from an incoming HTTP request? I can see how to create a ProxyConnection given a URL, but I can't see how to extract thi...

Handling large pac files in C# HTTPWebRequest

I currently have a C# application which makes frequent web requests that have to potentially go through proxy authentication. In this situation, a large PAC file (200kb+) is used to automatically configure the proxy and is stored on a remote server. When initializing the HttpWebRequest I have been setting the default proxy by using 'Web...

How to preserve the Content-Type header of a Tomcat HTTP response sent through an AJP connector to Apache using mod_proxy

I'm having a problem with an incorrect HTTP Response Content-Type header while accessing an Axis2 web service hosted in Tomcat behind Apache through an AJP/1.3 connector. I can access the web service without problems in the browser through its RESTful interface and I can see the results but somehow Apache is changing the response Conten...

how to obtain JSF app username from stateless session bean

Hello, in our app we use JSF & EJB 3.0 (EclipseLink 2.0). We need to use Oracle proxy authorization for every connection in our stateless session beans. For this we need to obtain DB username to connect throught proxy. DB username is constructed from JSF authenticated username by a rule. Here is an article on topic http://blogs.oracle.c...

Default proxy credentials with native c++

In .NET you have the handy System.Net.CredentialCache.DefaultCredentials to set all your needed proxy data to the default values of the system. How can i do something similar in native C++? I need the proxy address, username and password. Our project uses MFC and cURL ...

Configuring Grails to use own DataSource implementation or to proxy the standard DataSource

In an application I want to use my own implementation of javax.sql.DataSource that extends the standard org.apache.commons.dbcp.BasicDataSource used by Grails and adds the functionality to set the client identifier based on the currently logged in user at the Grails application. What is the best way to change the underlying javax.sql.Da...

Best practice for using WCF Service in client side

There is two way to create WCF proxy in client side 1. Generating proxy by adding Service Reference 2. By using ChannelFactory.CreateChannel method like this ChannelFactory<IMyContract> factory = new ChannelFactory<IMyContract>(); IMyContract proxy1 = factory.CreateChannel(); proxy1.MyMethod(); Which is best approach to get proxy? ...

Programmatically Set Proxy Address, Port, User, Password throught Windows Registry

I'm writing a small C# application that will use Internet Explorer to interact with a couple a websites, with help from WatiN. However, it will also require from time to time to use a proxy. I've came across Programmatically Set Browser Proxy Settings in C#, but this only enables me to enter a proxy address, and I also need to enter a ...

possible to make tunneling using linux webhosting with cpanel

hi, I'm having a Linux Webhosting account with cpanel & whm.. i also see something ssh on cpanel.. i have heard about tunneling to make proxy. my friend is having VPS server and is able to make tunneling using ssh via 443port. i need to know if there is some possibility to make proxy browsing using my webhosting account.. i google...

Using HTTP proxies as SOCKS in java

Is there any way to use an HTTP proxy as a SOCKS proxy? i want to use it as a socket to connect with an endpoint and send packets of information ...

Django user proxy models fast access

I have proxy model for user: class MyUser(User): class Meta: proxy = True How can i get it in templates without pass from view? can i get it only from request.user instance? I am using template context processor for this: def m_processor(request): from main.models import MyUser mu = MyUser.objects.get(id = reques...

How does a proxy(like squid) knows if the connection is using http?

I'm thinking of make my own protocol tunneling with http. So, in some cases we have user and password for proxies like squid. 1-How does it know is really http going on?? does it checks the contents of the TCP connection on port 80?? 2-If so then I really need to use http. If dont I can use any TCP connection on port 80? ...

flash.net.URLRequest ignore browser proxy settings?

Hi guys, Played a bit with http://demo.swfupload.org/ Sniffed the queries, to my dismay, swfupload ignores the Chrome/Firefox's proxy settings and communicate with server directly. Is this a bug or flash.net.URLRequest just ignore proxy settings? Could this potentially leak my IP online even I am behind a proxy? ...

Java proxies connection to postgres

Could someone help me or suggest a solution? I want to connect from a computer that has firewall to other where the postgres server run. The problem is that computer (client) has a firewall and I have not access to configure it, or open ports, ping does not respond. The computer (server) where PostgreSQL has open ports but I can not conn...