Perl or Python Reverse TCP Proxy

Completed Posted Mar 27, 2015 Paid on delivery
Completed Paid on delivery

I have no preference if it's done in perl or python as long as it's done in one of those 2 languages. Deliverables are the following:

1) Application will read /etc/[url removed, login to view] configuration file on load to determine what ips (or hosts) to forward from and to, as well as other configuration details.

Example:

<proxy>

1.1.1.1 80 2.2.2.1 80

1.1.1.2 443 2.2.2.2 443

1.1.1.3 80 [url removed, login to view] 80

</proxy>

<ippool>

1.1.1.1

1.1.1.2

1.1.1.3

1.1.1.4

</ippool>

<auth>/home/user/[url removed, login to view]</auth> or <auth>[url removed, login to view]</auth>

2) Application will bind to the source port on the left and of the configuration file and wait for connections

3) When a connection is established to a port the application listens on the server will automatically forward this connection to the appropriate destination with a source address randomly selected from the <ippool>

4) Application must support some sort of authentication method capable of querying a remote source file or website. The application will give the connecting ip address to the authentication API and receive a success / failure response. If successful, the ip address should be cached to be "authorized" for a configurable amount of time.

5) Application must be multi-threaded and able to scale to 10s, 100s or possibly 1000s of connections on moderate hardware from different sources to different destinations while also handling authentication

Perl Python

Project ID: #7385472

About the project

5 proposals Remote project Active Mar 29, 2015

Awarded to:

johndonglong

Hey i already have a solution for this but i need some feedback from you. I also need some more in-depth information on what else you want.

$35 USD in 3 days
(2 Reviews)
0.9
amalrosh13

I am a python programmer with network admin experience. I can write the reverse tcp proxy for you in python as per your specification. I have an almost complete python script for it which uses the gevent python netw More

$180 USD in 2 days
(2 Reviews)
3.3

5 freelancers are bidding on average $138 for this job

anuyadav1

A proposal has not yet been provided

$200 USD in 3 days
(47 Reviews)
5.6
nelsonkingsley

hello! i allready did a similar project in perl for one of my customers. btw. this one only listens on one port. theres one thing which i dont understand, you wrote: forward this connection to the appropriate More

$111 USD in 1 day
(1 Review)
0.6
atariq

I have experience in using networking, remote procedure calling, and packet parsing libraries in Python.

$166 USD in 5 days
(0 Reviews)
0.0