Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? ncat <IPv4 addr> <port> and reply is ICMPv4 Type 3 Code 13, wrong error message "Ncat: No route to host.". * What outcome did you expect instead? Correct message, like "Connection to <IPv4 addr> <Port> administratively prohibited". https://datatracker.ietf.org/doc/html/rfc1812#section-5.2.7.1 *** End of the template - remove these template lines ***
Sorry for the delay, but this sounds like expected behavior. Ncat is generally using the socket API rather than raw packets and so the host receives the ICMP response and translates that into a more generic error code that Ncat sees. You can use our Nping tool if you need raw packet sending and sniffing instead.