How to ban Client's IP?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 102
- Joined: Wed Sep 02, 2009 11:10 pm
How to ban Client's IP?
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.
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.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: How to ban Client's IP?
you can ban IP in login server. dont forget to restart the login server after editing the banned_ip.cfg
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 57
- Joined: Thu Oct 22, 2009 3:13 pm
Re: How to ban Client's IP?
or you can ban it by login`s telnet, without any restarts.
- ZaKaX
- Posts: 357
- Joined: Thu Nov 22, 2007 6:28 am
- Location: Somewhere in Asia.
Re: How to ban Client's IP?
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'
Banning all accounts relied to an IP is way better. I love it!
UPDATE `accounts` SET `accessLevel` = '-100' WHERE `lastIp` = '133.713.371.337'
¿ Que dice los cojones de la nina ?
- qwerty13
- Posts: 640
- Joined: Mon Feb 02, 2009 9:57 am
- Location: Europe
- Contact:
Re: How to ban Client's IP?
Im use firewall for ip blocks. 

- Copyleft
- Posts: 253
- Joined: Fri Feb 01, 2008 9:39 pm
Re: How to ban Client's IP?
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...
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: How to ban Client's IP?
check the log files in login/log/game .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...
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: How to ban Client's IP?
Epilogue will have new accounting log on the gameserver, with addresses, accounts, characters.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- qwerty13
- Posts: 640
- Joined: Mon Feb 02, 2009 9:57 am
- Location: Europe
- Contact:
-
- Posts: 102
- Joined: Wed Sep 02, 2009 11:10 pm
Re: How to ban Client's IP?
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?
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?
- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Re: How to ban Client's IP?
BAN IP range on firewallLee 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?

-
- Posts: 19
- Joined: Sun Mar 01, 2009 10:45 am
- Contact:
Re: How to ban Client's IP?
Copyleft wrote: it would rock if you'd have like 10 last IPs registered
you would probably eradicate that player from your server then...
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!Aikimaniac wrote: BAN IP range on firewall
-
- Posts: 102
- Joined: Wed Sep 02, 2009 11:10 pm
Re: How to ban Client's IP?
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 ^^).