high level - how does one mitigate against a DDOS attack?
National solution is to stop known bad nodes at the ISP level.
1) Webserver - Set threshold and block offending IP [1]
2) TCP/DNS/SYNC/SSL/HTTP - Get DDoS-filtered IP and create GRE tunnel back to your server. You can get one for less than $10 from OVH, BuyVM or Ramnode.