<p><a href="http://www.wireshark.org">Wireshark</a> is a real good GUI packet capture and analysis tool.  I have a portable version on a thumbdrive that I occasionally use to diagnose problems on AIX servers.</p>
<p>First, capture the data with iptrace.  Refer to the iptrace man page for options.  For example, to capture rsh (port 514) from hosta and write it to /tmp run:</p>
<pre><code>startsrc -s iptrace -a "-s hosta -p 514 /tmp/hosta.out"</code></pre>
<p>After your done capturing your data, run:</p>
<pre><code>stopsrc –s iptrace</code></pre>
<p>Then download the output file to your desktop and open the resulting file with Wireshark.  Wireshark will automatically determine that the file is from AIX iptrace.</p>
{"id":557,"date":"2010-09-14T13:02:11","date_gmt":"2010-09-14T17:02:11","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=557"},"modified":"2010-09-14T13:02:11","modified_gmt":"2010-09-14T17:02:11","slug":"network-sniffing-with-wireshark","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2010\/09\/14\/network-sniffing-with-wireshark\/","title":{"rendered":"AIX Network Sniffing With Wireshark"},"content":{"rendered":"<p><a href=\"http:\/\/www.wireshark.org\">Wireshark<\/a> is a real good GUI packet capture and analysis tool.  I have a portable version on a thumbdrive that I occasionally use to diagnose problems on AIX servers.<\/p>\n<p>First, capture the data with iptrace.  Refer to the iptrace man page for options.  For example, to capture rsh (port 514) from hosta and write it to \/tmp run:<\/p>\n<pre><code>startsrc -s iptrace -a \"-s hosta -p 514 \/tmp\/hosta.out\"<\/code><\/pre>\n<p>After your done capturing your data, run:<\/p>\n<pre><code>stopsrc \u2013s iptrace<\/code><\/pre>\n<p>Then download the output file to your desktop and open the resulting file with Wireshark.  Wireshark will automatically determine that the file is from AIX iptrace.<\/p>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-557","post","type-post","status-publish","format-standard","hentry","category-aix-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=557"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/557\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}