Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admins can't get IP of connection & /con spam #437

Open
StevenFredette opened this issue Jan 19, 2021 · 0 comments
Open

Admins can't get IP of connection & /con spam #437

StevenFredette opened this issue Jan 19, 2021 · 0 comments

Comments

@StevenFredette
Copy link

Some attacker is using basic TCP/UDP DDoS tools or flood bot that won't make an account and exhausts the default 1000 socket limit? So I've kept my server online with a higher socket limit in the pvpgn config and my network didn't get saturated much from the attack but I noticed there is no way for a trained pvpgn admin to get the IP of the connection. They would need access to the pvpgn log file and that is outside of their scope.

  1. The /con is filled with spam. Can we maybe exclude the UNKWN from the list and make a more verbose command like /con -v to show UNKWN.

    W2BN UNKWN <- hundreds of these.
    W2BN UNKWN
    W2BN UNKWN
    W2BN Player
    W2BN Player2

If possible display the current IP of that connection and maybe the uptime for it so the admin can determine after a period of time if a stale connection or potential user logging instill.

W2BN UNKWN 127.0.0.1 2HRS <--- spam bot
W2BN UNKWN 127.0.0.1 10seconds <-- don't ban this IP may be a user currently logging in?
W2BN Player2

  1. I can't seem to find an LUA hook for the connections? I can't use the current hooks that have the IP of the connected user as i need the connection state. The issue is when there is such a raw connection on the pvpgn socket. The connection is accounted for in the pvpgn even if it does not send packets to log in, make an account, etc. My idea is to parse those IPs and use CLI to have them blocked in the firewall.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant