Unfortunately most technology that offers this sort of protection is very expensive enterprise type stuff. Load balancers, firewalls, IDS/IPS all that sort of stuff. I can elaborate if you want, but I figure you're looking for a cheap solution.
If you are being DDoS'd the easiest way to repel the attacker is to blacklist the IPs they are using to bring down your connection.