ntwatch+ banner

ntwatch+

3 devlogs
14h 19m 10s

a go cli that combines nettop and wireshark!

lola

recent sockets thing added, and fixed a stalling bug, then it returned, fixed it again and then it returned. a lot of debugging so unfortunately not much updates

Attachment
0
lola

a lot improved! it has basic functionality now of what i want it to do. the packets are still coming in raw, so not sorted by packet packet and more like socket but still cool looking!

0
lola

the beginning of redoing ntwatch! originally, ntwatch was made for the athena initative as purely a macos socket overview. in this version, it will show only sockets that have associated packets coming from the en0 (wifi) interface, with statistics about both the sockets and packets. sort of like a combination of nettop and wireshark! so far, i haven’t done any ui - only restructuring a lot of code, getting rid of a lot of stuff, adding a clean bubbletea command flow with tea.cmds, and extremely basic packet to process matching functionality. the socket table is created at the beginning of runtime and at every tick, and there’s a goroutine that listens for packets - when a packet is recieved, another goroutine checks if there’s an associated socket, and if there isn’t, it refrshes the socket table and attempts to match again. obviously there’s a huge bug here, as a lot of packets will never have matching sockets (stale packets), but it’s a good start. yay!

0