User disconnected fire 2 times continuously

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

lieunguyenhoa
Posts: 3
Joined: 04 Apr 2018, 07:48

User disconnected fire 2 times continuously

Postby lieunguyenhoa » 04 Apr 2018, 07:54

Hi all,
I'm using SFS in my Game. But when i check log a player has intent hack my game. This log so weird, User disconnected fire 2 times continuously.
04 Apr 2018 | 02:07:35,099 | INFO | Thread-21 | v2.api.SFSApi | | User disconnected: { Zone: GameBai }, ( User Name: traluan27, Id: 27330, Priv: 0, Sess: 123.31.12.178:42698 ) , SessionLen: 30712, Type: JavaScript
04 Apr 2018 | 02:07:38,261 | INFO | Thread-21 | v2.api.SFSApi | | User disconnected: { Zone: GameBai }, ( User Name: traluan27, Id: 27330, Priv: 0, Sess: 123.31.12.178:42698 ) , SessionLen: 33874, Type: JavaScript

Please help me check this issue.
I attach this user log.
Attachments
smartfox.log.2018-04-04-02.zip
(12.16 KiB) Downloaded 370 times
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: User disconnected fire 2 times continuously

Postby Lapo » 04 Apr 2018, 08:07

Hi,
I am not sure what is going on exactly. It looks like this traluan27 user is connecting and disconnecting every few seconds.
I think you should probably banish him, so he stops doing whatever he's doing :)

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
lieunguyenhoa
Posts: 3
Joined: 04 Apr 2018, 07:48

Re: User disconnected fire 2 times continuously

Postby lieunguyenhoa » 04 Apr 2018, 08:11

Hi,
traluan27 continue to create new accounts to hack my Game. Is this a bug of SFS, i'm using SFS version 2.12.5.
Sorry my english
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: User disconnected fire 2 times continuously

Postby Lapo » 04 Apr 2018, 08:52

No problem for the english :)

As you know SFS2X allows any user to connect and login by default. If you want to limit access to registered users you will need to add a bit of login code on the server side to validate registered users.

Are you doing this?

Also you mentioned that the user is creating new accounts. Does your registration procedure support banning specific IP addresses or emails? That's usually a first step to avoid easy creation of multiple accounts.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
lieunguyenhoa
Posts: 3
Joined: 04 Apr 2018, 07:48

Re: User disconnected fire 2 times continuously

Postby lieunguyenhoa » 04 Apr 2018, 08:59

Hi
My mean is why the function User disconnected fire 2 times continuously. Same session and id and i don't know why
04 Apr 2018 | 02:07:35,099 | INFO | Thread-21 | v2.api.SFSApi | | User disconnected: { Zone: GameBai }, ( User Name: traluan27, Id: 27330, Priv: 0, Sess: 123.31.12.178:42698 ) , SessionLen: 30712, Type: JavaScript
04 Apr 2018 | 02:07:38,261 | INFO | Thread-21 | v2.api.SFSApi | | User disconnected: { Zone: GameBai }, ( User Name: traluan27, Id: 27330, Priv: 0, Sess: 123.31.12.178:42698 ) , SessionLen: 33874, Type: JavaScript
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: User disconnected fire 2 times continuously

Postby Lapo » 04 Apr 2018, 10:17

Yeah it looks strange but it's difficult to say.
Connections can have strange behaviors especially when someone is connecting and disconnecting continuously.

I think the most important aspect is getting rid of this malicious user.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 39 guests