[Release] Ban Selected IP's

09/13/2008 23:37 Tw3ak#16
Nice but i still prefer hw firewallin there asses lol.

This will only disconnect the socket of ip banned but they can still make new connections to sockets and spam your login anyway which just eats up memory of your server.

I used something like this before and got stupid kids that still hit space enter space enter space enter ect ect spammin the crap out of the server even though it said banned,It still creates unnesessary stress to the server.

The most effective way to get rid of them is firewall them :D
09/14/2008 22:35 Bottingpunk#17
Quote:
Originally Posted by Ultimatum View Post
If i could understand wtf your talking about i may be able to help o.0
what i was saying was that i was getting errors with ThisAcc but no worries cause tw3ak has a better idea lol
Quote:
Originally Posted by Tw3ak View Post
Nice but i still prefer hw firewallin there asses lol.

This will only disconnect the socket of ip banned but they can still make new connections to sockets and spam your login anyway which just eats up memory of your server.

I used something like this before and got stupid kids that still hit space enter space enter space enter ect ect spammin the crap out of the server even though it said banned,It still creates unnesessary stress to the server.

The most effective way to get rid of them is firewall them :D
haha how would u do this + how would you figure out the person's ip
09/15/2008 08:46 Rechocto#18
It's pretty simple and most people should get it, but everyone has their blond moments, +thanks for helping prevent that :p
09/15/2008 18:27 YukiXian#19
Doesn't work, Gives me an Error
09/16/2008 03:49 Ultimatum#20
Request - Screenshot?
10/11/2008 16:44 Tw3ak#21
Quote:
Originally Posted by Bottingpunk View Post
what i was saying was that i was getting errors with ThisAcc but no worries cause tw3ak has a better idea lol

haha how would u do this + how would you figure out the person's ip
you just add this instead of ultimatums code.

Code:
if (Auth != 0)
{
    General.WriteLine("Successful login for account " + ThisAcc + " IP: " + Ip);
and it shows all the people connecting by acc and ip then i use a nice lil unix program called IPFW and just add there ip to the rules and they never even reach the box :)
01/08/2009 16:45 TruthCo#22
i get errors like struct is wrong and also no defintion for sw, but if i undo what i did that you told me to do, it works out fine <> so i need help :D
05/24/2009 21:43 superplox#23
wow nice release
05/24/2009 21:48 suboy#24
nice release
05/24/2009 22:19 PeTe Ninja#25
this is for old lotf lol :D