Connect command not entirely blocked
It is possible to by-pass it by sending carriage return byte. Like this: ;connect**CR**ip:port
I think there might be even more special chars like that what can bypass this 'block'.
@leon291 See #5
These guys huh. "\n" and "\r" are going to be put on the not allowed list too.
I haven't tested other bytes, but there is a possibility that it could be by-passed by using some other crazy char.
Other values won't be tokenized properly and shouldn't turn into a valid connect command. That said, I am surprised that \n or \r worked either...
@johndrinkwater suggested trying U+00A0 and it actually worked too. You should take another look, @alfred-valve.
Boo. Okay, next release blocks some more variants but I need a bigger hammer it appears.
Unsure how you’re parsing the strings, but unicode has character categories which should help to minimise the problem.
Okay, next release should stop this, we will disallow chars < 32 or > 127 which were breaking our parser code.
What about this command AMXX VIRUS ?
http://www.youtube.com/watch?v=bb3ealDSZ1c
@lolzap If you can provide source code for this, then we can figure out what it does.
] amx_clientcmd Player "echo "test"" test ] amx_clientcmd Player "echo "test тест"" Server tried to send invalid command:"echo "test тест" "
You are blocked all UTF chars from there. Please change the way you are doing that.
@LevShisterov +1 And BTW connect is still not completely blocked:
CLIENT_COMMAND(plrEdict, "reconnect;connect 127.1.1.1:27015\n");
Connecting to 192.168.1.5:27016... Connection accepted by 192.168.1.5:27016 Connecting to 127.1.1.1:27015...

any news when this will be fixed and isn't there a way to purge them from the server browser ? ... they already filled the masterserver with fake/redirect servers again
i know they are showing with 0/0 players but a better solution would be to not get them at all in the browser :cactus:
is there any work around we can use to allow for PUG mods to work with a .need command? we want to broadcast a message on our servers if theres players needed to get a 10 person PUG going. with the broadcast across servers (like in esea) people are able to type .join in chat and it will direct them to PUG server. but it keeps saying "Server tried to send invalid command:" is there a different way of doing this?
it's not blocked by the way , somebody already found a way to get arround this :smile: and he's not using "new line"
Connecting to 5.231.20.77:29004...
Connection accepted by 5.231.20.77:29004
Netchan_Clear() : reliable length not 0, reliable_sequence: 5, incoming_reliable_acknowledged: 1
Connecting to 188.241.87.133:27015...
Connection accepted by 188.241.87.133:27015
* Privilegii acordate
BUILD 5447 SERVER (0 CRC)
Server # 11
Serverinfo packet received.
Clearing memory
Remote host: Cs7.SstarCS.Com
Spooling demo header.
"sv_cheats" changed to "0"
Verifying and downloading resources...
Using WAD File: halflife.wad
Using WAD File: cstrike.wad
Using WAD File: prodigy.wad
Texture load: 430.0ms
Setting up renderer...
SKY: duskrt, duskbk, dusklf, duskft, duskup, duskdn, done
CL_SignonReply: 1
120.0 megabyte data cache
CL_SignonReply: 2
RuS!*#1-oko connected
It would be useful @alexinno if you shared how people are getting around it ;) How are you able to connect to a 5447 server?
that was sent to me , i don't know specifics ... all i know is that they added some junk arround the connect command in xRedirect amxx plugin , this is what i found ...
client_cmd( id, ";reconnect;connect x.x.x.x:27015");
here http://forum.xhlds.com/viewtopic.php?f=6&t=1733&p=7950#p7947
Guys, please stop reporting this bug until feature that allow xRedirect is released.
xRedirect is here since a long long time... :/