solanum-ircd / solanum

An IRCd for unified networks
https://solanum.chat/
GNU General Public License v2.0
216 stars 53 forks source link

Snote when a remote server appears to be pinging out #409

Closed examknow closed 1 year ago

examknow commented 1 year ago

Fire off a snote when a remote server has failed to provide a ping response after a certain threshold of time before it pings out. This would allow opers and any automated tooling to be aware of a laggy server that may be having issues before it splits off the network.

See also UnrealIRCD implementation.

dwfreed commented 1 year ago

oftc-hybrid does this too, and it is handy. Place to implement it would be here: https://github.com/solanum-ircd/solanum/blob/fe83a335267c6226c2f4429035638f60e9e80b08/ircd/client.c#L370