how to block unknown clients in indy (Delphi)
问题 I have a public server(configured with indy 10) . some unknown clients are sending thousands of no content messages that it change the server's cpu usage to 50% . i have no firewall on my server , so i tried to block the unknown clients with this codes : This is a function that works with a Timer : var i, j: integer; begin IX2 := IX2 + 1; SetLength(ClientIPs, IX2); ClientIPs[IX2 - 1] := StrIP; j := 0; for i := low(ClientIPs) to high(ClientIPs) do begin Application.ProcessMessages; if