B
B
Bobur Bakhritdinov2016-01-19 07:51:48
linux
Bobur Bakhritdinov, 2016-01-19 07:51:48

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

3 answer(s)
N
Nikita Parfenovich, 2016-02-09
@nagibat0r

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.

I
Ilya Akulenko, 2016-01-28
@cytomich

You can try SAMS
sams.perm.ru/new

F
foboss, 2016-04-21
@foboss

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 question

Ask a Question

731 491 924 answers to any question