Page 1 of 1
How to ban Client's IP?
Posted: Sat Dec 05, 2009 2:52 pm
by Lee
Hi ,
Well you probably already know for the DragonHunter's lame flooder which sends some wrong packets and the GS prints some massive hex shits and finally it crashes.
I kinda made a fix ,but still... it uses client.closeNow() ,so it doesn't work so good..
Im looking for how to ban the IP of the client (since the program does it OOG) ,so it won't flood again.
Searched the eclipse (client.CTRL+SPACE) ,but nothing showed for block or ban. Can I know if this exists or if it can be done?
Thank you.
Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 11:01 am
by janiii
you can ban IP in login server. dont forget to restart the login server after editing the banned_ip.cfg
Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 3:00 pm
by iamcypher
or you can ban it by login`s telnet, without any restarts.
Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 6:07 pm
by ZaKaX
Banning an IP is most of the time useless... everyone has dynamic IP.
Banning all accounts relied to an IP is way better. I love it!
UPDATE `accounts` SET `accessLevel` = '-100' WHERE `lastIp` = '133.713.371.337'
Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 7:30 pm
by qwerty13
Im use firewall for ip blocks.

Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 9:33 pm
by Copyleft
ZaKaX wrote:Banning an IP is most of the time useless... everyone has dynamic IP.
Banning all accounts relied to an IP is way better. I love it!
UPDATE `accounts` SET `accessLevel` = '-100' WHERE `lastIp` = '133.713.371.337'
it would rock if you'd have like 10 last IPs registered
you would probably eradicate that player from your server then...
Re: How to ban Client's IP?
Posted: Sun Dec 06, 2009 9:42 pm
by janiii
Copyleft wrote:ZaKaX wrote:Banning an IP is most of the time useless... everyone has dynamic IP.
Banning all accounts relied to an IP is way better. I love it!
UPDATE `accounts` SET `accessLevel` = '-100' WHERE `lastIp` = '133.713.371.337'
it would rock if you'd have like 10 last IPs registered
you would probably eradicate that player from your server then...
check the log files in login/log/game .
Re: How to ban Client's IP?
Posted: Mon Dec 07, 2009 2:02 pm
by _DS_
Epilogue will have new accounting log on the gameserver, with addresses, accounts, characters.
Re: How to ban Client's IP?
Posted: Mon Dec 07, 2009 2:30 pm
by qwerty13
Cool!

Re: How to ban Client's IP?
Posted: Sun Dec 13, 2009 1:37 am
by Lee
Nah this wasn't what i was asking for..
You see, this packet is sent from a VB exe (out of game), so they don't even need to log or use an account.
Thats my point.. it uses no account, so its impossible to ban it?
Re: How to ban Client's IP?
Posted: Sun Dec 13, 2009 7:26 am
by Aikimaniac
Lee wrote:Nah this wasn't what i was asking for..
You see, this packet is sent from a VB exe (out of game), so they don't even need to log or use an account.
Thats my point.. it uses no account, so its impossible to ban it?
BAN IP range on firewall

Re: How to ban Client's IP?
Posted: Sun Dec 13, 2009 8:53 am
by mr.karrde
Copyleft wrote:
it would rock if you'd have like 10 last IPs registered
you would probably eradicate that player from your server then...
Aikimaniac wrote:
BAN IP range on firewall

But don't forget (with dynamic IP's) this way your are banning not only one bad guy, you are banning others/all using the same Internet service provider!
Re: How to ban Client's IP?
Posted: Sun Dec 13, 2009 11:10 am
by Lee
Yeah i know about the firewall, but when im not checking the GS it will lag the shit out of the server.. So I need it to ban from sending packets or whatever.. I guess its not possible (well in L2J everything is possible, but everything with its time ^^).