limit connection per time
Posted: 01 Jan 2015, 13:56
hi,
i was able to limit concurrent connection per IP.
but this might cause problem and effect good traffic.
the problem i am facing is, when a client is requesting a page through GET, it's served from the cache, there is no PHP code involved. so i don't care even if i am even brute forced with this method.
but if the same page is requested with POST (regardless good or bad traffic), it's always served fresh. so when bad traffic comes, it max the CPU.
what i am looking for is to limit concurrent POST connections per IP,
is this possible ?
thank you.
i was able to limit concurrent connection per IP.
but this might cause problem and effect good traffic.
the problem i am facing is, when a client is requesting a page through GET, it's served from the cache, there is no PHP code involved. so i don't care even if i am even brute forced with this method.
but if the same page is requested with POST (regardless good or bad traffic), it's always served fresh. so when bad traffic comes, it max the CPU.
what i am looking for is to limit concurrent POST connections per IP,
is this possible ?
thank you.