Answer the question
In order to leave comments, you need to log in
Squid to block sites to increase traffic is it real?
Need a script to block sites to increase certain traffic per day and place them in a specific file for sorting (temporary blocking when the site increases traffic) is this realistic to implement?
Answer the question
In order to leave comments, you need to log in
Can. The idea is: we count traffic to some resources, we count through access.log. And by the crown we check if some sites have reached the limit. You can use Screen Squid and take data from its database.
Is quite real. At my last job, I did this "on the knee" from awk for parsing squid logs and a web interface in php, which showed users the rest of the day's traffic and their status (full access, speed limited or blocked).
Some of the notes are preserved here in this article .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question