So I've read a number of white papers from Juniper containing some DOS prevention strategies. I'm not looking to prevent any one in particular, but rather just ensure the network is as best protected as possible.
But I'm not inclined to copy+paste configs I've found online without fully knowing the implications.
I've got a EX4200 sat on the internet with a number of public subnets, all in their own VLANs with RVIs each.
This is one example I've found ...
term tcp-dos-protect-1 {
from {
protocol tcp;
tcp-flags "syn&!ack";
}
then policer tcp-dos-policer;
}
term tcp-dos-protect-2 {
from {
protocol tcp;
tcp-flags "fin|rst";
}
then policer tcp-dos-policer;
}
...
policer tcp-dos-policer {
filter-specific;
if-exceeding {
bandwidth-limit 500k;
burst-size-limit 15k;
}
then discard;
}
Now, would this particular rule affect genuine traffic? Under heavy network conditions - would it just start dropping genuine traffic, or does it really only block "bad" traffic ?