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.
Bu iş için 15 freelancer ortalamada $443 teklif veriyor
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
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
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
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
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
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
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
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
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
"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
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
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
nothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingnothingn Daha Fazla
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