netwatcherio / netwatcher-agent

simple network monitoring reimagined
GNU Affero General Public License v3.0
6 stars 1 forks source link

New Revisions (Agent + Panel) #4

Closed sagostin closed 11 months ago

sagostin commented 1 year ago

This is just a general todo list that will need to be broken into different sections, but at-least it's a better start. I'll need to actually work on this if I want it to get finished... Fuck.

bradenn commented 1 year ago

Its quite trivial to create and aggregate standard ICMP pings. You can use Go's built in golang.org/x/net/icmp package for creating and parsing requests. You can see an example or sending and receiving multiple pings asynchronously here: https://github.com/bradenn/udap/blob/33a6c7ccf72d8cec9f30459bf5f66353959757f0/modules/vyos/vyos.go#L140C43-L140C43