Отменен

Simple Linux Proxy Controller/Forwarder

I need a Linux-based proxy controller/forwarded that will take requests from users, and use a proxy from our database to complete it.

In simple terms:

- User specifics {UserID}.[login to view URL]:{PortID} in their browser

- "[login to view URL]" selects working proxy from DB and performs the request

- "[login to view URL]" passes the response back to user's browser

============================

DB STRUCTURE

============================

TABLE: lists

- id, proxy_ip, proxy_port, working, last_added, first_checked, first_working, last_checked, last_working, last_failed, total_fail_users, total_failreqs, real_ip, city, state, country, isp, isp_type, current_threads, max_threads

TABLE: ports

- id, userID, port, currentIP ([login to view URL]), rotate_seconds, current_threads, last_changed (last proxy change timestamp), timeout (after how many seconds of waiting should it consider current proxy failure), city, state, country, isp, isp_type

TABLE: logs

- id, userID, listID, portID, first_used, last_used

============================

WORKFLOW

============================

1. User sets proxy criteria in the DB ("PortID")

> ie. PortID "1" for UserID "a698j64p" is set to country=US, city=New York, isp=Comcast, rotate_seconds=300

>> In the above, user created PortID where they only want proxies from Comcast ISP in New York, and the proxy should rotate every 5 minutes

2. User will configure HTTP(s) or Socks4/5 proxy in their browser that points to: {UserID}.[login to view URL]:{PortID}

> ie. [login to view URL]

3. If PortID for UserID has over X simultaneous threads/connections, deny it with an error (we want to limit the number of concurrent threads per port). Otherwise, continue to next step

4. "[login to view URL]" fetches PortID criteria from #1 and selects matching proxies in the DB

> ie. SELECT [login to view URL],proxy_ip,proxy_port

FROM lists

LEFT JOIN logs ON [login to view URL] = [login to view URL]

LEFT JOIN ports ON [login to view URL] = [login to view URL]

WHERE [login to view URL] LIKE "comcast" AND lists.total_fail_users < 3 AND lists.total_fail_reqs < 3 AND lists.current_threads < lists.max_threads AND ([login to view URL] IS NULL OR logs.last_used < (NOW() - INTERVAL 60 MINUTE) AND ports.userID="a698j64p" AND ports.port=1

SELECT [login to view URL],[login to view URL],[login to view URL] FROM lists

LEFT JOIN logs ON [login to view URL] = [login to view URL]

LEFT JOIN ports ON lists.port=[login to view URL]

WHERE [login to view URL] < 5 OR [login to view URL] IS NULL

WHERE:

- total_fail_users: # of users that encountered failure on the proxy

- total_fail_reqs: #of requests (across all users) that encountered failure on the proxy

- current_threads: To not overwhelm proxies, we might have to limit the number of concurrent threads connecting to it. This column will contain the current number of current threads (although I am not sure MySQL is the most optimal to use for this because of the massive amount of reads/writes required)

- last_used: When the proxy was last used by the user

5. "[login to view URL]" forwards GET/POST request (with all headers)

a) If proxy fails:

- "[login to view URL]" updates total_fail_reqs++ and total_fail_users++

- Add "last_used" for proxy with current timestamp

- Select different proxy and perform request again (user's connection should not drop)

> if no remaining proxies, output error message and continue retrying every X seconds

b) If proxy is a success, return response to user

- Reset total_fail_reqs and total_fail_users

- Add "last_used" for proxy with current timestamp

Note: I am open to suggestions on any of the above. We are looking for the highest performance possible.

Квалификация: Linux, MySQL, Nginx, PHP, Python

Показать больше simple linux samba apache mysql, simple linux server, set simple linux server tasks, tinyproxy https, linux http proxy server, tinyproxy, tinyproxy upstream, tinyproxy reverse proxy, tinyproxy allow all, tinyproxy windows, tinyproxy example, linux proxy site, simple linux system information php script, simple php proxy header, simple php proxy post, simple linux scanner, simple http proxy server application windows, simple php proxy joomla, simple linux web crawler, simple php proxy code

О работодателе:
( 7 отзыв(-а, -ов) ) Toronto, Canada

ID проекта: #18257882

Поручен:

ichthyocentaurs

Hello! Thank you for the good description! 1. Type of target proxy. In your schemas I don't see the proxy type. You have proxy_ip and proxy_port, but what protocol to use for establish connection? The same o Больше

$500 USD за 15 дней(-я)
(2 отзывов(-а))
3.1

16 фрилансеров(-а) в среднем готовы выполнить эту работу за $539

mingxiao2008

Hello, dear How are you? I have read your project description and am ready for discussing with you about project. I have experienced in developing Linux, MySQL, Nginx, PHP, Python for 5 years. I will work very har Больше

$500 USD за 10 дней(-я)
(94 отзывов(-а))
8.0
tangramua

Good day Our team is able to develop a Linux-based proxy controller/forwarder. We have a lot of experience with proxy creation, rorating proxies, residential proxies, etc. Here are some our proxy projects: ht Больше

$555 USD за 10 дней(-я)
(52 отзывов(-а))
6.6
seemasit

Hello, We are working all over the latest technology, we have a good designer available. I am ready for you always looking for hearing from you please contact me. so we discuss and understand your requirements. we h Больше

$555 USD за 10 дней(-я)
(58 отзывов(-а))
6.8
KGeorgy

Hello, I am pleasure with your job for Simple Linux Proxy Controller/Forwarder. Thank you for the job posting. It’s a pleasure to meet you. I’d really like to work with you on this one if possible! I do have a coup Больше

$555 USD за 10 дней(-я)
(37 отзывов(-а))
5.9
lightingdavid

Hello. I have good skills in Linux, MySQL, Nginx, PHP, Python. I'm interest to your project. I hope to work with this project. Contact me please. Thank you.

$500 USD за 3 дней(-я)
(66 отзывов(-а))
5.8
bdrudra

"Python Expert" Hello there, Hope you are doing great. We are a small but excellent team of Phython developers. We having expertise in every domain of Phython like custom Phython development, Payment gateway int Больше

$600 USD за 10 дней(-я)
(21 отзывов(-а))
5.2
MaryumAkhter1

Hi i am linux administrator and having sound knowledge of ssh / putty / terminal to access files & directories inside linux vps. I will go through and let you know to use putty to access linux server. I am having 7+ Больше

$332 USD за 10 дней(-я)
(11 отзывов(-а))
4.4
rp07364

Hi, I have 4+ year exp. in Codeigniter, Wordpress, PHP, HTML, HTML 5, CSS, CSS3, Jquery, Angular Angular2 , Node js , Prototype & JavaScript. I work towards providing reliable, relevant and robust IT solutions at mo Больше

$555 USD за 10 дней(-я)
(6 отзывов(-а))
4.1
$555 USD за 10 дней(-я)
(4 отзывов(-а))
4.1
HanderMcbewkson

I have a website that provides a superproxy to users on a subscription basis. It's at datadrip.io. I could set this up quite easily and quite quickly.

$750 USD за 10 дней(-я)
(2 отзывов(-а))
4.1
naishodayo

Hi,dear! I am quite interested in your project - 'Simple Linux Proxy Controller/Forwarder'. :) I am a skillful software developer who has rich experience in this field. If you contact me, you and I will be happy. Thank Больше

$555 USD за 3 дней(-я)
(1 отзыв)
3.4
ashutoshkumar28

Hi, I have 10+ year exp. in Codeigniter, Hi i am linux administrator and having sound knowledge of ssh / putty / terminal to access files & directories inside linux vps. Wordpress, PHP, HTML, HTML 5, CSS, CSS3, Jqu Больше

$500 USD за 15 дней(-я)
(5 отзывов(-а))
3.3
chevyinasia

Hi there. This project seems straightforward enough. Thanks for the detail. Do you want a UI for this or do you basically just want the business logic implemented so you can wrap it with your own service? For curr Больше

$499 USD за 10 дней(-я)
(5 отзывов(-а))
3.1
Nelson112

Hello, I would like to say your in good hands this is the things I do all day every day. I can help you from the ground up. Take a moment and look at my profile once you get a chance and I would be more than willi Больше

$555 USD за 7 дней(-я)
(6 отзывов(-а))
2.8
dev020

Hi dear, I have 6+years of rich experience with several complex and easy projects alone or with a team, I liked your project details and already done and completed successfully with UK clients offsite. Please share m Больше

$555 USD за 10 дней(-я)
(0 отзывов(-а))
0.0