mhddos_proxy icon indicating copy to clipboard operation
mhddos_proxy copied to clipboard

Proper instrumentation to better understand performance of the attack

Open 0xffiber opened this issue 2 years ago • 0 comments

As of now the functionality of TargetStats is quite limited.

Ideally we want to know much more. For example:

  • histogram for connection lifetime (better with per-stage markers, like TCP SYN, TLS handshake, SOCKS5 CONNECT, etc)
  • histogram for number of packets sent within a single connection lifetime (to understand if increasing/decreasing RPC makes a difference)
  • performance per proxy (when in use) not only per target
  • min/max/avg/histograms for all measurements
  • more

From architecture perspective, there's no need to implement own instrumentation stack. Existing libraries could be utilize, e.g. Prometheus client library without external emitters.

0xffiber avatar May 10 '22 14:05 0xffiber