Open ilanni2460 opened 2 years ago
I don't understand what you mean by TCP protocol in relation to MTR, I checked the mentioned exporter and its not doing anything different. The main difference is that it relies on the externally installed MTR tool, but network_exporter directly implements it in Go without any need of external tools.
@syepes Sorry for not describing it clearly, I mean the mtr mode of network_exporter, can it support the tcp protocol and the specified port like the mtr command line tool.
Because we have a scenario where the use of ping is prohibited, but the telnet port can be used. Now I want to test it through mtr. If the port is blocked, which hop route is the problem.
@syepes Sorry for not describing it clearly, I mean the mtr mode of network_exporter, can it support the tcp protocol and the specified port like the mtr command line tool.
Because we have a scenario where the use of ping is prohibited, but the telnet port can be used. Now I want to test it through mtr. If the port is blocked, which hop route is the problem.
I have encountered the same problem. Do you have a solution?
We need this too. Our network treats ICMP and TCP differently. Especially sometimes packets are routed base on hash(src_ip,src_port,dst_ip,dst_port), however this does not hold for ICMP.
MTR --tcp feature will be very helpful for debugging network issues.
@syepes it would be nice to have MTR running TCP probes, as described in the issue here. Thanks.
Currently, I don't have sufficient time to extensively explore the TCP implementation. Although I have attempted to do so before, I have found it to be quite complex.
Of course any PR's are welcome :-)
a great exporter!! its really helpfull! Thanks a lots.
hi @syepes :
The new mtr currently supports the TCP protocol, and also supports the specified TCP port. I don't know if network_exporter can support the latest functions of mtr.
This can be referred to, mtr-exporter https://github.com/mgumz/mtr-exporter