Within few hours of launching my website (http://www.winstondigital.com) on a droplet, my Nginx access log is filled with access requests like this:
**184.108.40.206 - - [22/Feb/2016:11:22:13 -0500] “GET http://zc.qq.com/cgi-bin/chs/numreg/init? HTTP/1.0” 404 1564 “-” “-” **
First question is: how the domain “zc.qq.com” is mapping to my public IP address? When I ping “zc.qq.com”, it gives an IP address that is registered in China. It appears that many others on the internet are getting spammed by these kind of attack.
Second question is: How can I stop these requests at the firewall, before it hits my application server (Rails). It seems harmless as all these requests are returned with a “404 Not found” error code. Still it is filling up my log files and creating unnecessary traffic.
Anyone else is seeing this problem?
Thanks for your help in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!