How would that protect you if the attacker fakes their origin? Spoofing that kind of thing is trivial.