A cost-based framework for analysis of denial of service in networks | Synapse