<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">10/07/2020 21:50 - TUNA Mirror Team wrote:
<div style="border:none; border-left:solid blue 1.5pt; padding:0cm 0cm 0cm 4.0pt" type="cite">Hi, all<br />
<br />
On our servers, the following UAs are blocked and similar repeated requests<br />
against large iso files can be rejected:<br />
<br />
map $http_user_agent $isbadbrowser {<br />
default 0;<br />
"~*Mozilla/5\.0 \(Linux; Android\)" 1;<br />
"~*Chrome/49\.0\.2623\.87" 1;<br />
"~*Firefox/3.6.3" 1;<br />
}<br />
<br />
According to our experience of operating largest mirror site in China, such<br />
User-Agent list is able to protect against most of those traffic, IP blocking is<br />
not needed and the list didn't require an update for several years.</div>
<br />
Great to know. I have just implemented it with your suggestion. I will monitor the traffic for 2-3 days and see if it works.<br />
<br />
thanks<br />
epe<br />
<br />
</body></html>