Page 1 of 1

Ip ban

Posted: Wed Nov 24, 2010 11:25 am
by costismaros
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4407
L2JDP Revision Number:7664

Hello !

Iam adding ip adress at banned_ip file but it doesnt work .
# Subnets can be defined like 123.45.0.0
# Comments after # are ignored
# Expiration timestamp can be added after IP for when to disable the ban
# Example:
# 192.168.0.0 1237618800000  # Bans all address starting with 192.168 and will expire on 21 Mar 2009 07:00:00 GMT
178.128.32.201 1577858400000
190.216.28.164 1577858400000
83.159.51.19 1577858400000
188.4.165.9 1577858400000


Is there something else that i have to do ?

Re: Ip ban

Posted: Wed Nov 24, 2010 3:47 pm
by costismaros
anybody who knows how to ip ban ?

Re: Ip ban

Posted: Wed Nov 24, 2010 4:38 pm
by hope
http://www.onlineconversion.com/unix_time.htm
Did you restart login after you added them

Re: Ip ban

Posted: Wed Nov 24, 2010 5:20 pm
by costismaros
yes i did . For test, banned my own ip and after restart of login server i was able to login again .
Maybe i have to change something else . Maybe ip ban is disabled from somewhere ?

Re: Ip ban

Posted: Wed Nov 24, 2010 11:21 pm
by hope
costismaros wrote:yes i did . For test, banned my own ip and after restart of login server i was able to login again .
Maybe i have to change something else . Maybe ip ban is disabled from somewhere ?
On your own pc?

Re: Ip ban

Posted: Wed Nov 24, 2010 11:59 pm
by Szponiasty
You don't have to put expiration timestamps. Try just putting ip's:

Code: Select all

 188.4.165.9... 

Re: Ip ban

Posted: Thu Nov 25, 2010 2:08 pm
by costismaros
hope wrote:
costismaros wrote:yes i did . For test, banned my own ip and after restart of login server i was able to login again .
Maybe i have to change something else . Maybe ip ban is disabled from somewhere ?
On your own pc?
server is dedicated and i tried to ip ban my personac computer.
I tried with only ip but still doesnt work.
:S

Re: Ip ban

Posted: Thu Nov 25, 2010 4:16 pm
by hope
Try without timestamp as said above restart login

Re: Ip ban

Posted: Sat Nov 27, 2010 11:11 am
by costismaros
i did it and i have the same result .


Let me explain what i m doing .
1. I see the ip of player in game.
2. Copy the same ip at banned_ip file.

Maybe i have disabled the ip_ban from somewhere

Re: Ip ban

Posted: Sat Nov 27, 2010 11:16 am
by hope
Just ban the char from in game easier

Re: Ip ban

Posted: Mon Dec 27, 2010 5:02 am
by regenx
You can't ... because if a player have dynamic IP, he will be changed automaticaly (from provider) after restart, but you can try and buy some programs from internet for banning MAC addresses, routers, proxy and IP's, all :) ^^

Anyway check your configs again ...

Re: Ip ban

Posted: Tue Jan 04, 2011 10:03 pm
by Mortheus
This problem is not resolved either ban mac address.
Here you can easily modify.

Re: Ip ban

Posted: Fri Jan 21, 2011 10:18 pm
by regenx
..or you can use like this for a while with timestamp...

75.113.0.0 - all range (and here you can add a timestamp for next 10 days or a month until that crazy player will find another server :))
75.113.34.254 - (here is his lastIp ;))

..DONE --- player banned! :)