RIPE-NCC / ripe-atlas-probe-measurements

RIPE Atlas probe measurement source code
Other
41 stars 18 forks source link

add ntp request size option #6

Closed ddrown closed 2 years ago

ddrown commented 2 years ago

Some providers are now filtering ntp traffic on size in response to ddos attacks. This provides a way to test those filters in order to make decisions about NTPv5 and NTS protocol design.

PhilipHomburg commented 2 years ago

One comment, is it possible to avoid using a code point from the experimental range? In my opinion it is not nice to use those code point for production traffic. Maybe there is some existing field that can be send safely?

Otherwise it looks good.

ddrown commented 2 years ago

Switched to autokey's no-op request from RFC5906

how popular servers respond:

michel-stam commented 2 years ago

Hi Daniel,

I've pulled in your change for the next release. I've made 2 small changes, one being a cast to prevent a compiler warning, the other to use #defines to indicate the message type rather than hardcoded values.

Regards,

Michel

michel-stam commented 2 years ago

Did a quick test:

Michel