You might want to decide between TCP and UDP for layer-4, though, but as gingerlime pointed out it is stupidly easy to successfully spoof UDP comms, there's not even need to have a MITM situation. Same goes for ICMP.
ROTFL! Whoopsie. ;-)
> You might want to decide between TCP and UDP for layer-4, though, but as gingerlime pointed out it is stupidly easy to successfully spoof UDP comms, there's not even need to have a MITM situation. Same goes for ICMP.
Yes, but TCP's protections are quite weak. If you are really concerned about spoofing, you are much better off handling that with cryptographic solutions.
I just highlighted one potential attack vector that I didn't see being addressed explicitly, and which might have implications.
If the tool explicitly provided message authentication for the UDP datagrams, I would probably not have made the same comment. I think the security fundamentals were missing, let alone more advanced layers of protection.
It's much easier to spoof a UDP packet from an arbitrary source-IP address than it is with TCP.
It gives a fairly easy opportunity for attackers to fake all your service metrics, make it look like everything is Up/Down etc...