[0.14.7] [Martin] Unable to kick players with exploitish crafted name

This subforum contains all the issues which we already resolved.
JY-
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Sep 18, 2016 5:26 pm
Contact:

[0.14.7] [Martin] Unable to kick players with exploitish crafted name

Post by JY- »

If a griefer join with a name beginning with many spaces at the beginning or in the middle, overly long, or other hard to type characters, it's nearly impossible to kick him.

Furthermore, in the specific case I saw, the console chat only displayed "." as character name in kill message when character name was many spaces, then a dot.

Possible solutions :
* More strict checking on names (alphanumeric + a few chars, no more than one consecutive space, size limit)
* kick/ban/admin GUI not requiring to type the exact, case sensitive name.

Then the usual suggestions :
* Ability to ban by IP
* votekick/report buttons
* Use of wildcards to kick/ban
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.7] Unable to kick players with exploitish crafted name

Post by Rseding91 »

Do you have user authentication disabled on your server? In order to connect to an authenticated game players have to have their username set to their login name which can't have the characters you're describing.
If you want to get ahold of me I'm almost always on Discord.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.7] Unable to kick players with exploitish crafted name

Post by kovarex »

Rseding91 wrote:Do you have user authentication disabled on your server? In order to connect to an authenticated game players have to have their username set to their login name which can't have the characters you're describing.
Yes, but we should deifnitely limit the character in the username, spaces shouldn't be allowed for sure.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.7] Unable to kick players with exploitish crafted name

Post by Rseding91 »

kovarex wrote:
Rseding91 wrote:Do you have user authentication disabled on your server? In order to connect to an authenticated game players have to have their username set to their login name which can't have the characters you're describing.
Yes, but we should deifnitely limit the character in the username, spaces shouldn't be allowed for sure.
Right :) Just trying to establish cause first.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [0.14.7] Unable to kick players with exploitish crafted name

Post by Adil »

Why don't just add the ability to ban by player_index? (And list it with some command somewhere)
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
JY-
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Sep 18, 2016 5:26 pm
Contact:

Re: [0.14.7] [Martin] Unable to kick players with exploitish crafted name

Post by JY- »

The server I saw probably did not have auth on. Might consider making auth on by default when creating new MP public game too
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.14.7] [Martin] Unable to kick players with exploitish crafted name

Post by HanziQ »

Usernames should be now limited to numbers, letters and -_. characters
Post Reply

Return to “Resolved Problems and Bugs”