Each machine gets compiled down to a single, massive ".write" rule. A machine is a set of states and a set of transitions between them. A similar language (UML statecharts) is often used in protocol design. In Firesafe we provide the Hierarchical State Machines (HSM) language. Our long term goal is to make "provably secure, deadlock free, multi-user interactions" simple. One this is complete will we be able to prove non-blocking properties and protocol invariants for arbitrary HSMs. We are currently connecting Firesafe to a theorem prover. However, while HSM will prevent silly mistakes, it still can't prevent high level protocol errors. Unfortunately, actually writing a two phase commit protocol in Firebase security rules is actually really hard and error prone, and the 2-phase commit protocol was one motivation for creating the Firesafe abstraction of Hierarchical State Machines (HSM) in Firebase. However, normal deadlock issues don't arise in this case, because Firebase is a central authority, and client's states are persisted on disconnect. Classic literature on 2 phase commits state it can become deadlocked. It is very had to enforce the semantics of a cross user transaction.įirebase can solve this with a two phase commit protocol. The reason why many games are affected by the same type of bug is that a difficult technical issue lies behind the exploit. Various variations exist, some not even requiring a friend. Now, the player and the friend have the item. In this exploit, a player gives an item to a friend, and yanks their connection to the game. A classic game exploit is the "item clone". Proper data integrity is very important, especially when users have something to gain. Unfortunately, properly configuring the security layer is extremely verbose and error prone. Turns out that abstraction has enough purchase to do some really cool things not possible in many NoSQL environments. It also provided an unorthodox security and transactions abstraction. It's the first scalable NoSQL hosted solution that didn't suck. SQL).įirebase solved one problem of the cost of providing low latency persistent data storage to mobile and desktop games. Multiplayer games are web-scale, which means the old solutions to data integrity and transactions don't work (e.g. It's a loss of direct sales, AND the free loaders also diminish the fun for everyone else. (Firesafe is not endorsed by Firebase) Motivation Firesafe compliments this amazing technology with an expressive syntax to get the most out of its security model. cross-tree transactions).įirebase is already the future of databases, offering scalable low latency database-as-a-service. Adding consistent, concurrent and fail safe protocols to Firebase is now a whole lot simpler (e.g. The Firesafe HSM language is expressive, and a super set of the Firebase security language. Thirty seconds later i pull my fleet from the mine and enter his base.After a bit of LAG his base appears with a loud boom of multiple explosions and his base is all damaged without a shot fired and then I'm kicked out to find hes bubbled.Īs Lady Lois mentioned,GLITCHES are very rare in this game indeed.Firesafe is a technology to enforce data integrity, and enable complex transactions, on Firebase.įiresafe compiles hierarchical state machines (HSM) definitions into Firebase security rules. I had a funny one yesterday.The story goes.I entered base for a sneak and peek,the base was full of life with a nice patrol at anchor in the morning sunset while it's crew sang and danced on deck,I sneaked back out. If anyone has also had this experience or know what happened I would like to know. Absolutely none of my weapons fired but his fleet was mortaring my base and I could see the mortars and ships moving normally but nothing in my base was working. I have had this to happen 1 time before and it was also a visitor to the sector. I was attacked today and when the player entered my base and got to my channel there was a flash on the screen and all of a sudden my health bars showed 1/2 power on everything in base. I was wanting to ask some pf the more experienced players in the game if there was a hack that when your base is attacked it goes to 1/2 power.
0 Comments
Leave a Reply. |