Monday, April 11, 2016

[snippets] How to teach Windows update the lesson it deserves

There are a myriad ways to do proper traffic shaping.

But some times all you need is some pure, traditional brutality to put Windows Update where it belongs:

for i in "13.104.0.0/14" "13.64.0.0/11" "13.96.0.0/13" ; do
    iptables -A custom_forward_chain -s $i -m statistic --mode random --probability 0.05 -j DROP
done

No comments: