Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block incomming HTTP request to our Nginx + uWSGI #20

Open
humitos opened this issue Oct 26, 2015 · 0 comments
Open

Block incomming HTTP request to our Nginx + uWSGI #20

humitos opened this issue Oct 26, 2015 · 0 comments

Comments

@humitos
Copy link
Owner

humitos commented Oct 26, 2015

I'm getting a lot of this kind of requests:

Oct 26 17:34:23 raspberrypi uwsgi[412]: [pid: 412|app: 0|req: 2695/2695] 192.168.10.57 () {52 vars in 1077 bytes} [Mon Oct 26 17:34:23 2015] POST /p/s?lang=es&country=PE&pkname=mobi.wifi.toolbox&version=115&channel=gp&os=android&apiver=0.3 => generated 233 bytes in 112 msecs (HTTP/1.1 404) 2 headers in 72 bytes (1 switches on core 0)
Oct 26 17:34:23 raspberrypi uwsgi[412]: [pid: 412|app: 0|req: 2696/2696] 192.168.10.57 () {52 vars in 1071 bytes} [Mon Oct 26 17:34:23 2015] POST /i/g?lang=es&country=PE&pkname=mobi.wifi.toolbox&version=115&channel=gp&os=android&apiver=0.3 => generated 233 bytes in 87 msecs (HTTP/1.1 404) 2 headers in 72 bytes (1 switches on core 0)

It seems to be a Smartphone trying something. We need to block all of these because they are generated in bulk. Be careful to not block "portal.redlibre" or "/generate_204" requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant