Solved

Proxy requests redirection

Posted on 2000-03-12
4
309 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
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 …

776 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