SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Client Support

Reply
 
Thread Tools Display Modes
Old 26/12/2018, 07:57 AM   #11
iorp
Big Clucker
 
iorp's Avatar
 
Join Date: Sep 2018
Location: India
Posts: 52
Reputation: 1
Default Re: "You Are Banned From This Server" SA:MP Bug

sometime server banned the IP automatically for frequently connections attempt
__________________
Indian Ocean Roleplay

iorp is offline   Reply With Quote
Old 26/12/2018, 01:18 PM   #12
J0sh...
High-roller
 
J0sh...'s Avatar
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,385
Reputation: 448
Default Re: "You Are Banned From This Server" SA:MP Bug

This happens because (sometimes) when you're in this re connection state, your character reports damage/death so your client attempts to send the damage data to the server whilst connecting, the server thinks this is a possible attack so it rejects your join request.
__________________
🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔
Yes I know my name has 3 dots.
Thanks for noticing, it was meant to signify a pause in the personal message asking to be named J0sh but they got included.
J0sh... is online now   Reply With Quote
Old 20/01/2019, 05:29 AM   #13
Osma2Thomas
Little Clucker
 
Join Date: Dec 2018
Location: New york
Posts: 1
Reputation: 0
Default Re: "You Are Banned From This Server" SA:MP Bug

Quote:
Originally Posted by DarkMythHunter View Post
Meh, you can just quit sa-mp and rejoin if not, just restart the router/network.
What is the router under $100??
Osma2Thomas is offline   Reply With Quote
Old 20/01/2019, 06:58 AM   #14
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,809
Reputation: 3244
Default Re: "You Are Banned From This Server" SA:MP Bug

Quote:
Originally Posted by Osma2Thomas View Post
What is the router under $100??
How is that relevant?
Y_Less is offline   Reply With Quote
Old 20/01/2019, 07:11 AM   #15
DarkMythHunter
Big Clucker
 
DarkMythHunter's Avatar
 
Join Date: May 2017
Location: Philippines
Posts: 142
Reputation: 24
Default Re: "You Are Banned From This Server" SA:MP Bug

Quote:
Originally Posted by Osma2Thomas View Post
What is the router under $100??

That don't make any sense at all.
__________________


DarkMythHunter is offline   Reply With Quote
Old 20/01/2019, 07:39 AM   #16
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,809
Reputation: 3244
Default Re: "You Are Banned From This Server" SA:MP Bug

Also, to slightly clarify what J0sh… said. When you reset you are spawned somewhere, but the ground hasn’t always loaded, and you aren’t frozen. Thus you fall, hit the ground, and either loose some health or die. The client thus detects this and sends the server a death notification/RPC (i.e. tries to call OnPlayerDeath). However, because you aren’t actually connected to the server, this is the only time when the connection that should be closed is used when it shouldn’t be, and the server sees a packet from a client it no longer knows about (because your reconnection attempt hasn’t completed yet). Thus, the server just thinks this is an attempted attack - sending unexpected packets, and bans the IP for a short period of time to prevent abuse. Thus, when your reconnection attempt does move further along, you’ve already been banned.

A few of us on Discord eventually figured out the cause be watching packets. I noticed that random OnPlayerDeath packets were being set by unconnected clients. Then someone else pointed out that if you listened carefully on the reconnection screen you could hear CJ screaming and then a crunch. So since raknet is open-source we took a look in there and found that unexpected packets lead to an IP ban an a very low level in the network stack. Fixing this on the server would require a very low-level modification to raknet to ignore OnPlayerDeath packets (which could lead to abuse if hackers knew which single packet type was ignored, but it only happens once so it can be very rate limited). Even Pawn.RakNet wouldn’t help since that only sees packets not initially filtered out. Fixing it on the client would be much simpler - freeze the player so there are no unexpected deaths.
Y_Less is offline   Reply With Quote
Old 28/01/2019, 12:20 AM   #17
MisterRobot
Little Clucker
 
MisterRobot's Avatar
 
Join Date: Jan 2019
Posts: 5
Reputation: 4
Default Re: "You Are Banned From This Server" SA:MP Bug

Known bug. Keep reloading. Eventually it will work.
__________________
ARGONATH RPG
10+ years strong community // over 100k+ accounts // 500+ groups // Unlimited potential and growth
JOIN TODAY: 145.239.183.130:7777
MisterRobot is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"You are banned from this server" help. Lannister Client Support 2 18/01/2014 08:40 PM
Bug: "You are banned from this server." [NWA]Hannes Bug Reports 12 04/06/2012 12:49 PM
"You are banned from this server" cozza123456 Help Archive 4 17/03/2010 09:51 PM
For all who have "your banned from this server" bug: Striks Client Support 1 23/08/2009 10:44 AM
"you're banned from this server" - Reasonable problem Holst Client Support 16 17/03/2009 03:26 PM


All times are GMT. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.