One way to deploy a DoS attack is by querying paths (routes) that take a lot more effort to parse than to sample, such as very long ones. A straightforward countermeasure is to check the path length for sanity before proceeding to unpack the path value. With PR #15 in place it should be easy to simulate this attack and demonstrate its effectiveness. Look at the high_rate_attack for an example.
One way to deploy a DoS attack is by querying paths (routes) that take a lot more effort to parse than to sample, such as very long ones. A straightforward countermeasure is to check the path length for sanity before proceeding to unpack the path value. With PR #15 in place it should be easy to simulate this attack and demonstrate its effectiveness. Look at the
high_rate_attackfor an example.