Irule ile Connection Drop
Aşağıdaki irule “/arama/sistemdekiler&sayfa” ile başlayan tüm http istekleri drop eder.
1 2 3 4 5 6 |
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/arama/sistemdekiler&sayfa" } { drop log local0. "connection dropped from [IP::client_addr]" } } |
Drop edilen isteğin client ip si ile birlikte ltm logunda görebilirsiniz.
1 2 3 4 5 |
May 21 14:57:26 f51 info tmm1[8611]: Rule /Common/drop.irule <HTTP_REQUEST>: connection dropped from 159.253.38.105 May 21 14:59:25 f51 info tmm1[8611]: Rule /Common/drop.irule <HTTP_REQUEST>: connection dropped from 159.253.38.105 May 21 14:59:25 f51 info tmm3[8611]: Rule /Common/drop.irule <HTTP_REQUEST>: connection dropped from 159.253.38.105 May 21 15:01:25 f51 info tmm3[8611]: Rule /Common/drop.irule <HTTP_REQUEST>: connection dropped from 159.253.38.105 May 21 15:01:26 f51 info tmm1[8611]: Rule /Common/drop.irule <HTTP_REQUEST>: connection dropped from 159.253.38.105 |