Proposal for mitigating DoS attacks