No error when logging into non existent zone

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
preecep
Posts: 49
Joined: 01 Aug 2007, 10:28

No error when logging into non existent zone

Post by preecep »

Where does smartfox produce an error when logging in using a non existent zone?? SF 1.6.2
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It doesn't.
A simple hacking attempt is establishing a connection and trying thousands of zone names, producing tons of useless logging data.

If your application runs correctly there's no possibility for such error to happen at runtime.
Lapo
--
gotoAndPlay()
...addicted to flash games
preecep
Posts: 49
Joined: 01 Aug 2007, 10:28

Post by preecep »

I was referring to client side? And the reason to know the error is so that you do not spend an hour checking everything else (including restarting machines) because you assume a login error would be created if there was a login failure!
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Sorry but same thing applies.
If the server had to respond to every wrong zone login attempt an hacker could easily steal resources and bandwidth with continuous requests.

I know ... a typo can generate frustrating debug sessions, but it happens everywhere. A map that returns null for a certain key when you expected an object, an xml node that generates parsing error instead of returning a value etc...

We'll try to underline this better in the docs.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply