• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Proxy requests redirection


I want a proxy request redirection utility. Meaning:
I want a program which I can run on a network machine and use it as my proxy server and this program in turn just passes on my requests to our actual proxy server and bring me my files.
I need complete support for cookies and HTTP connect.

0
pankajgupta
Asked:
pankajgupta
  • 2
  • 2
1 Solution
 
feenixCommented:
One easy solution is to use redir. Redir redirects all connections to a certain port to another machine. I've used it just like you describe, although it isn't that great a solution.

The other possible solution is to install squid proxy and set its cache very low etc, so it would basically act as a relay, not as a real proxy.
0
 
pankajguptaAuthor Commented:
Please specify how to use "redir" and where will I get it ? Also, I don't want to use any full-fledged proxy server as I am more interested  ina light utiliyy that can work as a personal proxy redirect
0
 
feenixCommented:
Grab the source for example from ftp://ftp.oit.unc.edu/pub/Linux/system/network/daemons/redir-2.2.tar.gz and build it. Then you can use redir either from inetd or from commandline.

In commandline say:
redir --lport=8000 --cport=8080 --caddr=real.proxy.com &
and you're done.

I should warn you, you'll probably want to use firewalling to prevent everyone from accessing the port opened by redir.
0
 
pankajguptaAuthor Commented:
Thanks feenix!
But redir actually tries to bind the ports (which we are not allowed here).
So I got a proxy server/filter called Muffin. It is written in java. I would like to have a C version (as it might be faster) but whatever, I am able to redirect! :)
If you know about a C version for muffin please tell me.
Is there any way to circumvent the error that redir is giving? It says server : bind: permission denied
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now