Kapalı

I want to set up a datacap system per user for a server I am running a proxy on.

I want to set up a datacap system for a server I am running a proxy on.

I'm not interested in throttling bandwidth.

I just want to limit port to x GB per month

Users will be blocked if they:

data cap has been hit but the monthly time is still left we can stop total traffic via deleting the user

monthly time has been completed but the user has not hit the data cap we will delete the user

The server is a Debian 8 machine. Just a regular box.

Clients connect to it via squid. The server is a proxy server.

The server accepts connections on port 33128 to 33218

Each port is bound to a squid user account.

User Bandwith is tracked via Sarg and updated every Minute via cron job

I want to stop accepting connections on a per port basis once a data limit and or monthly time is reached.

PS: When I say port, I mean port number (33128-33228)

The solution i need made:

parse squid logs for the traffic used per user;

create firewall rules on the ports the client arrive, and accounting for the traffic used (probably easier). see Traffic stats per network port . Just be aware that a server reboot resets the iptable stats, so it would be wiser to save them to an SQL database. (on a controlled reboot maybe iptables saves the traffic stats, however you can have a crash or power failure).

Part 2 of this task which will be to integrate the datacap into e-commerce like woocommerce so users can purchase more data, which would reactivate the squid account and remove the block.

Thank you.

Beceriler: Linux, PHP, Kabuk Betiği, Sistem Yöneticisi, Ubuntu

Daha fazlasını gör: set linux vpn server vps, set mms streaming server, set video stream server, datacap web services, datacap wtm uri, set simple linux server tasks, want set file hosting site, set stream video server, set video streaming server, alfresco server running slow, set linux vpn server, set permissions user drupal, set ssl shared server cpanel, set vlc streaming server, set debian etch server, set bulk email server, sql server running total update order, set vlc media server, want set news website, ubuntu set small office server

İşveren Hakkında:
( 6 değerlendirme ) las vegas, United States

Proje NO: #17662080

Bu iş için 15 freelancer ortalamada $443 teklif veriyor

tangramua

Greetings, I`m ready to set up a datacap system per user for a server you`re running a proxy on. As for me, I'm a professional system admin with 10+ years of experience. My main specialization is LAMP stack of techn Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(32 Değerlendirme)
6.3
humrobo

Hi, Hope you doing well sir i go through your message in given below i make sure you that i can help you to set up a data cap system per user for a server I am running a proxy on. as well better for you well i Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(28 Değerlendirme)
5.6
AdhamSoft

11 Years working here with a rate of 5/5 [login to view URL] This link is a system for Multi Vendor That link is a sample of what I did before 11 Years working here with Daha Fazla

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(41 Değerlendirme)
5.7
bluecoded

Dear friend, We read through the job details We very much look forward to the opportunity to work with you and to make this occasion a momentous one. Can we have a discussion now ? Sample web development w Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)
5.1
businesstogether

Hi, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 8+ years in web design & development with good experience in following skills ... Daha Fazla

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(5 Değerlendirme)
4.4
Savstac

hello sir thanks for placing requirement in freelancer. i will configure your datacap system.I have 5+ years of experience in managing complex linux architectures and managing cloud infrastructures. I have worked on m Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(19 Değerlendirme)
4.4
mayankinnovative

Dear Client, We are expertise in php, core php, CMS, HTML5, CSS3, bootstrap, WordPress, OpenCart, Magento, PSD to HTML, Angular JS, Node JS photoshop, OPencart, Codeignitor, Laravel and many other technologies. We have Daha Fazla

in %bids___i_period_sub_35% gün içinde600%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(76 Değerlendirme)
4.4
LinuxGun

I'm interested in your project. Please send me a message so that we can discuss more. Come online, I have some questions to ask you Thanks, Karim https://www.freelancer.com/u/LinuxGun [login to view URL] Daha Fazla

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(5 Değerlendirme)
3.3
ilushawebdev

I have experience with similar project based on squid. Available to start immediately and complete as soon as possible. Please contact to discuss details if you are interested. Best Regards, Ilya

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
3.0
shopshoppy

can do this

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(11 Değerlendirme)
4.4
sanjibmukherjee3

"Hi !! Nice to E-meet you We are experts in creating native iOS/Android apps and games. we have strong knowledge of MVC, Clean Swift, programming languages (Objective C, Swift, Java), standard iOS frameworks (UIKit, Ma Daha Fazla

in %bids___i_period_sub_35% gün içinde333%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
barizasoftware

Bariza Software Solutions provides your tailor-made website for your business. Basically, we design custom flexible and user-friendly websites as per clients demand. We have more than 10 years’ experience in web develo Daha Fazla

in %bids___i_period_sub_35% gün içinde388%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
malkit001

Dear Client, As per your RFP, I have reviewed your project requirements in relating to " I want to set up a data cap system per user for a server I am running a proxy on." I would like to share that I am a senior W Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
HorizonTeacher

nothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingn Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
neer4jiitdelhi

Hi , I have been the only developer of world's second largest proxy seller [login to view URL] Now i am running my own residential proxy company [login to view URL] I am also core developer at VLC media pla Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0