Re:Watchy: a distributed system monitoring solution
by cbsmith on Saturday July 12, 2014 @08:02PM
(#8026158)
TCP's spoof protections are fairly limited and weak. If you are worried about being spoofed, address it at layer-7. I wouldn't let spoofing concerns drive my choice of layer-3 protocol.
[ Parent
| on HN ]
Re:Watchy: a distributed system monitoring solution
by mobiplayer on Sunday July 13, 2014 @10:22AM
(#8027391)
I personally hope you chose IP as a layer-3 protocol.
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.
Re:Watchy: a distributed system monitoring solution
by cbsmith on Sunday July 13, 2014 @11:30AM
(#8027596)
> I personally hope you chose IP as a layer-3 protocol.
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.
Re:Watchy: a distributed system monitoring solution
by gingerlime on Sunday July 13, 2014 @06:30AM
(#8027056)
Spoofing a TCP source address is still pretty hard compared to UDP. And security should always be applied in layers, so if your risk profile is such, then relying on source IP protection alone might not be enough.