Solved

Proxy requests redirection

Posted on 2000-03-12
4
310 Views
Last Modified: 2012-06-27

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
Comment
Question by:pankajgupta
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:feenix
ID: 2609860
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
 

Author Comment

by:pankajgupta
ID: 2609905
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
 
LVL 4

Accepted Solution

by:
feenix earned 200 total points
ID: 2610159
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
 

Author Comment

by:pankajgupta
ID: 2614995
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question