Currently socketstat plugin returns the following, as copied from docs:
Tags
- state (string) (for tcp, dccp and sctp protocols)
- proto
- local_addr
- local_port
- remote_addr
- remote_port
Fields
- bytes_acked (integer, bytes)
- bytes_received (integer, bytes)
- segs_out (integer, count)
- segs_in (integer, count)
- data_segs_out (integer, count)
- data_segs_in (integer, count)
TODO:
an extra field possibly named count that stores the number of occurences for each tag combination:
(proto, local_addr, local_port, remote_addr, remote_port).
Use Case:
One can use this info during DDoS attacks, to see whether many hits are coming from specific addresses, or if it's fully distributed.