3 ms·
Ask HN: Requests for Twitter.com, paypal.com, etc in my Nginx logs
Hi. I have started to see thousands of requests in my nginx logs for domains like twitter.com, paypal.com, cloudfront.net and many others. Does anyone have an idea of what they are trying to do? It's the first time I see this kind of behavior/attack. It was causing high load issues on the server because I was testing the lua extension for nginx (actually openresty) that allows requesting new LetsEncrypt certificates on the fly automatically when a request for an unknown domainis received for the first time. This is because my app will let users use custom domains. So all those requests for those domains were triggering requests for certificates from LetsEncrypt which of course resulted in rate limiting etc (429's and 400's)... I have now disabled this thing while I implement a restriction that will let the lua extension request new certificates only for whitelisted domains, otherwise falling back to a main certificate.
But yeath, I was wondering if anyone here knows what they are trying to achieve. Thanks in advance.
- deleted 8y ago[deleted]
- viraptor 8y agoThey're either scanning for open proxies and think they found one (do you return non-error for those requests?), or have actually found one (I'm not sure what your extension actually does, but can you abuse it as a relay by any chance?) Anyway, they're basically checking if you can put in a known domain as the destination and if you'll hand over the traffic to that host.
- SkyLinx 8y agoHi, thanks for your reply! The extension I'm using is https://github.com/GUI/lua-resty-auto-ssl https://github.com/GUI/lua-resty-auto-ssl. Unfortunately I didn't have any restrictions when I started to test it but I have disabled it for now.
- eb0la 8y agoEasy way to check for an open proxy: telnet to port 80, type "GET http://www.cisco.com http://www.cisco.com HTTP/1.0", and see what happens. (I use cisco.com because I used to work for a telco. Try google, amazom, or whatever suits you).