<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>nmap on The Official Wireshark Blog</title>
    <link>https://blog.wireshark.org/tags/nmap/</link>
    <description>Recent content in nmap on The Official Wireshark Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 25 Nov 2009 05:02:17 +0000</lastBuildDate><atom:link href="https://blog.wireshark.org/tags/nmap/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Wish List: Decent SVG Network Elements</title>
      <link>https://blog.wireshark.org/2009/11/wish-list-decent-svg-network-elements/</link>
      <pubDate>Wed, 25 Nov 2009 05:02:17 +0000</pubDate>
      
      <guid>https://blog.wireshark.org/2009/11/wish-list-decent-svg-network-elements/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://nmap.org/&#34;&gt;Nmap 5&lt;/a&gt; has a really cool feature: you can scan a network and dump its map to SVG. &lt;a href=&#34;http://inkscape.org/&#34;&gt;Inkscape&lt;/a&gt; is turning out to be a really nice vector drawing program.&lt;/p&gt;
&lt;p&gt;A &lt;em&gt;really&lt;/em&gt; useful workflow would be to combine the two:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Map your network using Nmap.&lt;/li&gt;
&lt;li&gt;Tweak that map to your liking using Inkscape.&lt;/li&gt;
&lt;li&gt;Have a cool map.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Unfortunately this is a harsh, cruel world we live in. The workflow we currently have is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Map your network using Nmap.&lt;/li&gt;
&lt;li&gt;Load the map Inkscape.&lt;/li&gt;
&lt;li&gt;Search the interwebs for decent SVG network elements until you have to explain the foul language and crying to your wife.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This is something Visio is famous for (network art, not the foul language and crying). Search for “visio stencils” and you’ll be bombarded with all sorts of network shapes, from &lt;a href=&#34;http://www.cisco.com/web/about/ac50/ac47/2.html&#34;&gt;major equipment manufacturers&lt;/a&gt; to &lt;a href=&#34;http://www.visguy.com/2008/08/11/crayon-network-shapes/&#34;&gt;ones that look like crayon art&lt;/a&gt;. Where are all the cool SVG network elements? &lt;a href=&#34;http://quantum-bits.org/?p=48&#34;&gt;Quantum Bits&lt;/a&gt; made a nice start, but we need a lot more than that.&lt;/p&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments &lt;a href=&#34;#comments&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h2&gt;&lt;h3 id=&#34;comment-by-shannon-on-2009-12-02-100928-0000&#34;&gt;Comment by shannon on 2009-12-02 10:09:28 +0000 &lt;a href=&#34;#comment-by-shannon-on-2009-12-02-100928-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;this is some good info. thanks, by the way is there some wireshark software for the palm pre?&lt;/p&gt;
&lt;h3 id=&#34;comment-by-kirby-files-on-2009-12-23-130631-0000&#34;&gt;Comment by Kirby Files on 2009-12-23 13:06:31 +0000 &lt;a href=&#34;#comment-by-kirby-files-on-2009-12-23-130631-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Just a note: the OpenClipArt site (which can be accessed via the Inkscape “Import from Open Clipart Library” menu) has some (mostly rudimentary) SVG artwork. Try searching for “network”, “router”, or “server”.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Debugging SSL Servers Over IPv6</title>
      <link>https://blog.wireshark.org/2009/10/debugging-ssl-servers-over-ipv6/</link>
      <pubDate>Fri, 16 Oct 2009 21:00:50 +0000</pubDate>
      
      <guid>https://blog.wireshark.org/2009/10/debugging-ssl-servers-over-ipv6/</guid>
      <description>&lt;p&gt;An old-school method of debugging TCP-based services is to use telnet:&lt;/p&gt;
&lt;pre&gt;$ &lt;span style=&#34;color: #333333;&#34;&gt;telnet www.wireshark.org 80&lt;/span&gt;
Trying 67.228.110.120...
Connected to www.wireshark.org.
Escape character is &#39;^]&#39;.
&lt;span style=&#34;color: #008000;&#34;&gt;HEAD / HTTP/1.0
Host: www.wireshark.org&lt;/span&gt;

&lt;span style=&#34;color: #000080;&#34;&gt;HTTP/1.1 200 OK
Date: Fri, 16 Oct 2009 19:31:47 GMT
Server: Apache
Accept-Ranges: bytes
Cache-Control: max-age=3600
Vary: Accept-Encoding
X-Slogan: Be good. You never know who&#39;s running Wireshark nearby.
Content-Length: 9628
Connection: close
Content-Type: text/html&lt;/span&gt;

Connection closed by foreign host.&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;It’s like giving your web server a big ol’ hug.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Most telnet clients do something very clever here. If you connect to a port other than 23 (or whatever &lt;em&gt;getservbyname&lt;/em&gt; returns when you feed it “telnet”) they will disable telnet protocol negotiation and switch to line mode. This gives you a raw, line-based connection which is just the thing you need to interact with an HTTP, POP, IMAP, FTP, or NNTP server.&lt;/p&gt;
&lt;p&gt;Adding SSL and IPv6 to the mix complicates things. I’m in the process of making Wireshark’s public-facing services available over IPv6. It would be helpful to be able to test connectivity to each service before adding its corresponding AAAA record. Standard telnet clients support 6, but not SSL. OpenSSL’s &lt;em&gt;s_client&lt;/em&gt; command speaks SSL, but not over IPv6 (not on my systems, at least):&lt;/p&gt;
&lt;pre&gt;$ &lt;span style=&#34;color: #333333;&#34;&gt;openssl s_client -connect &#39;[2607:f0d0:2001:e:1::123]:443&#39;&lt;/span&gt;
&lt;span style=&#34;color: #800000;&#34;&gt;getservbyname failure for f0d0:2001:e:1::123]:443&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;$ &lt;span style=&#34;color: #333333;&#34;&gt;openssl s_client -connect ipv6.wireshark.org:443&lt;/span&gt;
&lt;span style=&#34;color: #800000;&#34;&gt;gethostbyname failure
connect:errno=110&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Luckily Fyodor released Nmap 5 a while back. Nmap 5 includes &lt;em&gt;ncat&lt;/em&gt;, which lets you connect over SSL+IPv6. It is now my new favorite service-poking utility.&lt;/p&gt;
&lt;pre&gt;$ &lt;span style=&#34;color: #333333;&#34;&gt;ncat -6 --ssl -v 2607:f0d0:2001:e:1::123 443&lt;/span&gt;
Ncat version 5.00 ( http://nmap.org/ncat )
SSL connection to 2607:f0d0:2001:e:1::123:443. bugs.wireshark.org
SHA-1 fingerprint: F6BA 2EE9 DEEF 74D3 B4B0 86D7 F5DB 6237 FF7F 896A
&lt;span style=&#34;color: #800000;&#34;&gt;&lt;span style=&#34;color: #008000;&#34;&gt;HEAD /bugzilla/ HTTP/1.0
Host: bugs.wireshark.org&lt;/span&gt;
&lt;/span&gt;
&lt;span style=&#34;color: #000080;&#34;&gt;HTTP/1.1 200 OK
Date: Fri, 16 Oct 2009 20:26:23 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;On many Linux distributions you can also use &lt;em&gt;telnet-ssl&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;telnet-ssl -z ssl 2607:f0d0:2001:e:1::123 443&lt;/pre&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments &lt;a href=&#34;#comments&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h2&gt;&lt;h3 id=&#34;comment-by-martijn-pepping-on-2009-10-19-084032-0000&#34;&gt;Comment by Martijn Pepping on 2009-10-19 08:40:32 +0000 &lt;a href=&#34;#comment-by-martijn-pepping-on-2009-10-19-084032-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Instead of the telnet-ssl command the openssl command can be used, which is more likely to be available on a system.&lt;/p&gt;
&lt;p&gt;For example, the openssl command can be used as:&lt;br&gt;
$ openssl s_client -connect hostname:443&lt;/p&gt;
&lt;p&gt;In which ‘443’ represents the tcp-portnumber the SSL-service is listening on.&lt;/p&gt;
&lt;h3 id=&#34;comment-by-gerald-combs-on-2009-10-19-084249-0000&#34;&gt;Comment by Gerald Combs on 2009-10-19 08:42:49 +0000 &lt;a href=&#34;#comment-by-gerald-combs-on-2009-10-19-084249-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Does ‘openssl s_client -connect’ support IPv6 on your system? It doesn’t on any of mine. See the red error text in the post.&lt;/p&gt;
&lt;h3 id=&#34;comment-by-ssl-star-on-2009-11-04-082342-0000&#34;&gt;Comment by SSL Star on 2009-11-04 08:23:42 +0000 &lt;a href=&#34;#comment-by-ssl-star-on-2009-11-04-082342-0000&#34; class=&#34;anchor&#34;&gt;🔗&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Great advice. I dont know how many times I have to tell people the very same things. Glad I’m not the only one.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
