You can get outlawed by attacking a player that was not ready for a duel. When you are outlawed other players can attack you without being outlawed themselves or they can even let a ranger help attack you. You can recognise outlaws by the skull near the name of the outlaw.