Welcome! Log In Create A New Profile

Advanced

Re: Protection against massiv requests from single server / ip

Alexander Kunz
February 01, 2010 11:40AM
Hello Jim,

thanks for your help. I am right that HttpLimitReq and HttpLimitZone is a per user limit? Every client (ip) get this limit and not all client together?

Is $binary_remote_addr the right value if my nginx is behind haproxy? Or must i use something like X-Real-IP, i am not sure how i can debug what $binary_remote_addr includes behind haproxy, perhaps it is the haproxy ip and not the clients ip address?

Kind regards



-------- Original-Nachricht --------
> Datum: Sun, 31 Jan 2010 02:46:32 -0500
> Von: Jim Ohlstein <jim@ohlste.in>
> An: nginx@nginx.org
> Betreff: Re: Protection against massiv requests from single server / ip

> On 1/31/10 2:36 AM, adk1601@gmx.de wrote:
> > Hello Nginx community,
> >
> > what is the best way protecting my nginx webserver against massiv
> request from single server/ips? I made some tests with openload and see one
> server with openload can fill the whole 100Mbit connection to my server.
> >
>
> http://wiki.nginx.org/NginxHttpLimitReqModule
>
> http://wiki.nginx.org/NginxHttpLimitZoneModule
>
> These should do the trick for you.
>
>
> --
> Jim Ohlstein
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx

--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Protection against massiv requests from single server / ip

Anonymous User January 31, 2010 02:40AM

Re: Protection against massiv requests from single server / ip

Jim Ohlstein January 31, 2010 02:50AM

Re: Protection against massiv requests from single server / ip

Alexander Kunz February 01, 2010 11:40AM

Re: Protection against massiv requests from single server / ip

W-Mark Kubacki January 31, 2010 07:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready