in the beginning, it was lots of research about packets in gopacket, then research on what sockets even are. I then transitioned to trying to figure out macos's libproc, which is completely undocumented, then learned cgo, then built a small example bubbletea program that shows a lot less of what all the written code is capable of. it's essentially supposed to be a nettop/netstat + wireshark tui in bubbletea, showing external sockets and whichever packets they're sending, and the two are matched based on ip, connection type, and source/destination port. right now it only shows open sockets and connections, but i have high hopes!!
in the beginning, it was lots of research about packets in gopacket, then research on what sockets even are. I then transitioned to trying to figure out macos's libproc, which is completely undocumented, then learned cgo, then built a small example bubbletea program that shows a lot less of what all the written code is capable of. it's essentially supposed to be a nettop/netstat + wireshark tui in bubbletea, showing external sockets and whichever packets they're sending, and the two are matched based on ip, connection type, and source/destination port. right now it only shows open sockets and connections, but i have high hopes!!