<div dir="ltr"><div class="gmail_extra">traceroute -T uses TCP to send a SYN.  It doesn&#39;t exit with a non-zero, but the output indicates success/failure -- I get a &quot;!X&quot; in the output.  Hmm, that may only come out if the far end has a firewall that silently drops packets destined for inaccessible ports-- according to the man page, receiving a &quot;reset&quot; is considered a success (I guess since you were able to reach the target host).</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 5:03 PM, Rick Hornsby <span dir="ltr">&lt;<a href="mailto:richardjhornsby@gmail.com" target="_blank">richardjhornsby@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote type="cite"><div><div dir="ltr">but is &quot;traceroute -T -p 80 some host&quot; roughly equivalent?</div></div></blockquote><div><br></div></span><div>Good thought but it does not appear so.  That command is successful regardless of which port I try, including ones known not to be listening.  It should fail with connection refused or at least exit non-zero. I&#39;m not really sure what the port flag is doing - sending some kind of an ICMP echo message to that port?</div><span class=""><div></div></span></blockquote></div><br><br></div></div>