Page 1 of 1

Servers drops new connections from IP

Posted: Mon Feb 21, 2011 5:01 pm
by Hint
I am working on a new protection for game server. Protection based on proxy-server, that encrypts all packets and do many other things. Sheme:
Client <-> Proxy <-> GameServer
All connections for game server have the same IP (127.0.0.1 or another).
All works fine... but suddenly GS begins to drop all new connections from proxy-ip (connections accepted, but closed after first incoming byte).
There are no messages in L2J console.
It looks like AntiDDOS function, but I can't find something like that in configs or in sources.

Maybe reason not in L2J, but in Windows Server? But there are no external firewalls or limitations...

Re: Servers drops new connections from IP

Posted: Mon Feb 21, 2011 6:14 pm
by Hint
Is there any AntiDOS function in L2JServer, that can drop new connections from specific IP?

Re: Servers drops new connections from IP

Posted: Mon Feb 21, 2011 6:20 pm
by blacksea
im not very sure but try to check if 127.0.0.1 its not blocked by LS

like Banning '127.0.0.1' for 600 seconds due to 10 invalid user name attempts since you have same ips for all.. its possible

Re: Servers drops new connections from IP

Posted: Mon Feb 21, 2011 6:26 pm
by Hint
Proxy works only with Game Server. Client directly connects to AuthD (without proxy).

Re: Servers drops new connections from IP

Posted: Thu Feb 24, 2011 5:48 pm
by Hint
It looks like IPv4Filter:
http://svn.l2jserver.com/trunk/L2J_Serv ... ilter.java
Is there any options in configs to disable this filter? Or this filter is hardcoded?

Re: Servers drops new connections from IP

Posted: Thu Feb 24, 2011 5:51 pm
by Hint
It's stupid to ban localhost :) Author should exclude 127.0.0.1 in check method.