orf / gping

Ping, but with a graph
MIT License
10.67k stars 311 forks source link

Choose a more sensible default interval on OpenBSD. #392

Open vext01 opened 10 months ago

vext01 commented 10 months ago
$ gping google.com
there was an error running ping: exit status: 1
Stderr: ping: only root may use an interval smaller than one second

Perhaps set the default interval to 1 for OpenBSD then?

Thanks

ehaupt commented 5 months ago

Related: https://github.com/orf/gping/issues/236

orf commented 5 days ago

Just a very late follow up: I posted about this on the freebsd hackers list: https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=232859+0+archive/2024/freebsd-hackers/20240325.freebsd-hackers

The minimum of 1 second is a very stupid legacy default and I feel quite annoyed by it. I guess I’ll begrudgingly add this, it not too happy about it