Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
enron456153165dRun the ip through cloudflare. They have ddos protection
sbiewald3469165dDo you control the router? No? Than you cannot.
If you don't care about bandwith, but CPU usage indirectly resulting from the traffic, optimize the protocol (e.g. authenticated sequence numbers in each packets, and no answer on unauthenticated packets, never answer with more data than received).
linuxxx153610165dReverse nginx proxy with rate limiting maybe? No clue how to set that up on windows, though.
netikras22192165dCareful with whitelists.. Many ISPs outside yout homeland do rotate IPs quite often. And people tend to use services not only at home but also at work and at friends'.
This problem is two-fold.
1. if your user gets a new IP he will most likely won't be in the list. So no access. Bad for business.
2. If user gets his IP rotated, jis previous IP might be assigned to someone who might consider ddos'ing you. And that IP is in your whitelist, sooo...
Also, a bonus note: whitelisted IPs could refer to generic VPNs, proxies or so, meaning masses of other computers will have the same external IP. Who's to say some of them will not fall victims to a botnet?
All I'm saying.. careful with whitelists