Network Attack Blocker

A few days ago i tested my pc against dos attacks.I dos'ed myself from another pc and bitdefender didn't show anything.If the attack was from someone else and it would be stronger........ .

So i think a network attack blocker feature would be good to stop any kind of attack that comes from the network.