News for hackers. Stuff that matters.
Re:Gosniff: A TUI-Based Tcpdump by tptacek on Sunday May 01, 2022 @07:17PM (#31229680)
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.

There are no comments on this comment yet.