Live data from Hacker News

Gosniff: A TUI-Based Tcpdump

github.com

1–10 of 22 posts

Re: Gosniff: A TUI-Based Tcpdump

#3
post #2

I like how each packet is broken out into layers. Would be helpful for learning about new protocols on the wire.

This, for what it's worth, is a side-effect of using gopacket, which is a deceptively powerful library. You essentially have a big chunk of `tcpdump`'s encoding available to you any time you're working with packet buffers in Go, because of that library; for instance, to debug our BPF-based UDP stuff, there's an interface that shuttles packet snapshots over perf buffers and about 30 lines of Go code to read and decode those buffers. I was surprised at how much I got "for free" just by importing gopacket.

It's great, more people should do cool stuff with it.

Re: Gosniff: A TUI-Based Tcpdump

#8
Hey everyone, I'm the original author of this library. This is actually my first software project ever-- I'm a full-time officer in the military who was just messing around. It's extremely flattering to see this shared so publicly, but I feel the need to pre-emptively apologize to readers. This is just a hobby project for now, but I would appreciate feedback.

Re: Gosniff: A TUI-Based Tcpdump

#9

Hey everyone, I'm the original author of this library. This is actually my first software project ever-- I'm a full-time officer in the military who was just messing around. It's extremely flattering to see this shared so publicly, but I feel the need to pre-emptively apologize to readers. This is just a hobby project for now, but I would appreciate feedback.

Well done. At first glance the UI looks well organized. Will give a test drive. Thanks for putting your work out there!
Post reply on HN