<p>I'm looking for a tool that would be able to take in a network stream/pcap to create a network topology based on information provided by either of those sources. The topology doesn't need to be advanced visually just something to show connections between 2 seperate hosts or network devices.</p>
<hr/>**评论:**<br/><br/>TheSquickening: <pre><p>You should be able to write your own tool using <a href="https://godoc.org/github.com/google/gopacket" rel="nofollow">gopacket</a>. It has a subpackage <a href="https://godoc.org/github.com/google/gopacket/pcap" rel="nofollow">pcap</a> that can read packets from the wire, or from a pcap file.</p></pre>hell_0n_wheel: <pre><blockquote>
<p>The topology doesn't need to be advanced visually just something to show connections between 2 seperate hosts or network devices.</p>
</blockquote>
<p>You'll get a table of connections between hosts if you run your pcap through Wireshark. Heck, you'll even get a list of conversations between hosts, all kinds of stats...</p></pre>sheetsxd: <pre><p>I appreciate the comment, but the reason I posted this here and not in another subreddit was because I'm looking specifically for something in Go.</p></pre>therealfakemoot: <pre><p>Like <a href="/u/TheSquickening" rel="nofollow">/u/TheSquickening</a> suggested, it would probably be best to leverage pcap data. Otherwise you're going to end up re-implementing a lot of shit <em>from</em> pcap.</p>
<p>There is no dishonour in using an existing tool when it's highly specialized. A carpenter may want to create his own saws and hammers to perfect fit his grip; a arc welding probably isn't going to create his arc welding equipment from raw materials he's ripped from the earth.</p></pre>Hexodam: <pre><p>You mean like traceroute?</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传