Connection Troubleshoot - ICMP Release and Latency test for senhasegura cluster

Consideration:

  • For the proper functioning of the cluster, the response time between the senhasegura nodes must be a maximum of 30 ms;

  • To validate the communication time between your nodes, follow the steps below.

ICMP release process

1. By default, senhasegura has ICMP protocol responses blocked, to ping your terminal and test the latency, or healthcheck, first create this version in senhagura’s internal firewall with the following command:

iptables -t filter -I INPUT 7 -p icmp --icmp-type echo-request -s <IP_origin> -j ACCEPT

In <IP_origin> insert the IP of the source machine that will attempt the connection.

Latency test

2. To keep your environment always safe and reduce denial-of-service attacks, it is important that they are released only with extreme need to perform this type of connection.

Use the command below in your terminal to test latency with a specific device.

ping <Ip_destino>