orb-community / pktvisor

pktvisor is a dynamic network observability agent that smartly analyzes network traffic and generates opentelemetry metrics

Home Page:https://orb.community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netprobe TCP Test

leoparente opened this issue · comments

Netprobe TCP Test

The concept of TCP Connect tests is to validate whether connection to a specific host on a specific port is possible and how long the first two steps of the TCP three-way handshake takes to complete:

  • Measurement starts when client sends SYN packet
  • Measurement ends when client receives SYN-ACK response
  • Client completes the handshake by sending the final ACK
  • Client tears down TCP connection by sending a FIN packet

Inputs for these tests should be:
targetHost - either as an IP address or resolvable hostname
targetPort - the TCP port to connect to
frequency - how often should the test run, expressed in seconds
timeout - after how much time should the test be considered "failed" if the 3-way handshake has not completed

Metrics should be the same as PING tests

add port at target level