The Self-Defending Network