Servers drops new connections from IP

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Hint
Posts: 5
Joined: Mon Feb 21, 2011 4:47 pm

Servers drops new connections from IP

Post 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...
Hint
Posts: 5
Joined: Mon Feb 21, 2011 4:47 pm

Re: Servers drops new connections from IP

Post by Hint »

Is there any AntiDOS function in L2JServer, that can drop new connections from specific IP?
blacksea
Posts: 458
Joined: Fri Oct 05, 2007 1:29 am

Re: Servers drops new connections from IP

Post 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
Hint
Posts: 5
Joined: Mon Feb 21, 2011 4:47 pm

Re: Servers drops new connections from IP

Post by Hint »

Proxy works only with Game Server. Client directly connects to AuthD (without proxy).
Hint
Posts: 5
Joined: Mon Feb 21, 2011 4:47 pm

Re: Servers drops new connections from IP

Post 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?
Hint
Posts: 5
Joined: Mon Feb 21, 2011 4:47 pm

Re: Servers drops new connections from IP

Post by Hint »

It's stupid to ban localhost :) Author should exclude 127.0.0.1 in check method.
Post Reply