Inactive [SEC] xAuth v2.0.10 - Extra Authentication [1.2.5-R1.3+]

Discussion in 'Inactive/Unsupported Plugins' started by CypherX, Mar 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    CypherX

    xAuth v2.0.10 - (CraftBukkit build: [1.2.5-R1.3+])
    Download v2.0.10

    lycano is taking over the development of xAuth as I no longer have the time nor the will to continue working on it. Please see the BukkitDev page: http://dev.bukkit.org/server-mods/xauth/

    Thanks to everyone who has showed support for me and xAuth over the past 17 months. It's been 'fun'. If for any reason you need to contact me, stop by my IRC channel (irc.rizon.net #LoveDespite) or toss me a message at http://love-despite.com/forum. Until we meet again, stay gold. Bang.

    ------------------------------------------------------------------​

    xAuth is a plugin designed with a single task in mind: protect a server and its players while running in offline-mode. The basic idea of this protection is allowing players to register an account based on their player name and a supplied password. When a registered player connects to the server, that player will be prompted to authenticate his or herself by logging in. If and only if a valid password is supplied, they will regain full control of their account until their session expires.


    Features
    • Before registering/logging in, players cannot:
      • Chat, execute commands, interact with objects (levers, chests, etc.), move, or pickup items.
      • Break or place blocks
      • Receive or give damage, be targeted (followed) by hostile mobs
    • Inventory and location protection
    • In-depth setting and message configuration
    • Persistent login sessions through server restarts
    • Player name filter and password complexity configuration
    • Kick non-logged in (but registered) players after a configurable amount of time
    • Bukkit Permissions support
    • Kick or temporarily lockout the IP address of a player who fails to log in after a configurable amount of tries
    • Custom, highly secure password hashing
    • H2 and MySQL support
    • Authentication over URL (AuthURL) allows for connection to forum or website databases
    Changelog (click for full changelog)
    • Version 2.0.10
      • [Fixed] Exploit to completely bypass login system.
      • [Fixed] xAuth commands not working with Rcon
      • [Fixed] Exploiting login system to avoid fire & drowning damage.
      • [Fixed] NPE caused by player connecting & disconnecting during same server tick.
      • [Fixed] 'Table "SESSIONS" not found' error when a player uses /logout while session length is set to zero.
      • [Fixed] Exploiting location protection after dieing to return to the spot of death.
    • Version 2.0.9
      • Added several reverse single session configuration options.
      • Fixed registration.forced: false not working.
      • Updated version check and H2 download links.
    xAuth Importer
    xAuth Importer is a tool used to import accounts from previous versions of xAuth as well as other authentication plugins. Click here for more information.
     
  2. Offline

    aehoooo

  3. Offline

    CatsyLady

    well, it says

    column 'playername'

    not enchantments!?
    and password hash changed?
    it says wrong password when try to login..
     
  4. Offline

    CypherX

  5. Offline

    CatsyLady

    i did, and it was not me who made this
    it was our server tech guy

    we runned the testbuild on a clean database, but it sayed
    no tabled found, it was unable to create the tables
     
  6. Offline

    CypherX

    Well then post the error that occurred when running the test build? It also seems you didn't read the full message included with the test build. It said to report all errors on my Github issue tracker.
     
  7. Offline

    CatsyLady

    its even a shame that this is up to me posting it here

    i dunno how to make a spoiler

    Code:
    mc@GPR0043:~/importer$ java -jar xAuthImporter.jar
    Loading data from old MySQL database..
    Importing data into new MySQL database..
    Something went wrong while importing data into the MySQL database!
    java.sql.BatchUpdateException: Table 'xauth.account' doesn't exist
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStateme  nt.java:2028)
            at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:  1451)
            at com.cypherx.xauthimporter.MySQLImporter.importMySQLAccounts(MySQLImpo  rter.java:145)
            at com.cypherx.xauthimporter.MySQLImporter.main(MySQLImporter.java:29)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'xau  th.account' doesn't exist
            at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC  onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja  va:2127)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java  :2427)
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStateme  nt.java:1980)
            ... 3 more
    mc@GPR0043:~/importer$ java -jar xAuthImporter.jar
    Loading data from old MySQL database..
    Importing data into new MySQL database..
    Something went wrong while importing data into the MySQL database!
    java.sql.BatchUpdateException: Unknown column 'playername' in 'field list'
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStateme  nt.java:2028)
            at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:  1451)
            at com.cypherx.xauthimporter.MySQLImporter.importMySQLAccounts(MySQLImpo  rter.java:145)
            at com.cypherx.xauthimporter.MySQLImporter.main(MySQLImporter.java:29)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown co  lumn 'playername' in 'field list'
            at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC  onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja  va:2127)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java  :2427)
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStateme  nt.java:1980)
            ... 3 more
    mc@GPR0043:~/importer$ java -jar xAuthImporter.jar
    Loading data from old MySQL database..
    Importing data into new MySQL database..
    Something went wrong while importing data into the MySQL database!
    java.sql.BatchUpdateException: Unknown column 'playername' in 'field list'
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2028)
            at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1451)
            at com.cypherx.xauthimporter.MySQLImporter.importMySQLAccounts(MySQLImporter.java:145)
            at com.cypherx.xauthimporter.MySQLImporter.main(MySQLImporter.java:29)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'playername' in 'field list'
            at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2427)
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1980)
            ... 3 more
    mc@GPR0043:~/importer$ java -jar xAuthImporter.jar
    Loading data from old MySQL database..
    Importing data into new MySQL database..
    Something went wrong while importing data into the MySQL database!
    java.sql.BatchUpdateException: Unknown column 'playername' in 'field list'
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2028)
            at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1451)
            at com.cypherx.xauthimporter.MySQLImporter.importMySQLAccounts(MySQLImporter.java:145)
            at com.cypherx.xauthimporter.MySQLImporter.main(MySQLImporter.java:29)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'playername' in 'field list'
            at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Sourc
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegatin    tructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.    2127)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.ja    27)
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedState    java:1980)
            ... 3 more
    mc@GPR0043:~/importer$ cd ..
    mc@GPR0043:~$ screen -r
    Remove dead screens with 'screen -wipe'.
    [detached from 22523.pts-0.GPR0043]
    mc@GPR0043:~$ cd importer
    mc@GPR0043:~/importer$ java -jar xAuthImporter.jar
    Loading data from old MySQL database..
    Importing data into new MySQL database..
    Something went wrong while importing data into the MySQL database!
    java.sql.BatchUpdateException: Unknown column 'playername' in 'field list'
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedState    ment.java:2028)
            at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.jav    a:1451)
            at com.cypherx.xauthimporter.MySQLImporter.importMySQLAccounts(MySQLIm    porter.java:145)
            at com.cypherx.xauthimporter.MySQLImporter.main(MySQLImporter.java:29)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown      column 'playername' in 'field list'
            at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Sourc    e)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegatin    gConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.    java:2127)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.ja    va:2427)
            at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedState    ment.java:1980)
            ... 3 more
    mc@GPR0043:~/importer$ cd ..
    
     
  8. Offline

    CypherX

    Start over and follow the upgrade instructions. Numerous people have reported that it works perfectly.
     
  9. Offline

    CatsyLady

    they dint even used the russian guy shit modification?

    i tend to start with a new, blank databse, where everyone has to register new
    since we even started with a new world ...
     
  10. Offline

    CypherX

    I tested it myself with the version you're using and it works fine.
     
  11. Offline

    CatsyLady

    and what we made wrong?

    probably our tech guy will answer here ...

    i give up for now
     
  12. Offline

    CypherX

    What am I, a psychic? How the hell should I know what you did wrong.
     
  13. Offline

    CatsyLady

    i dunno, im only a girl what try to run a server
    i said him ti answer here... hopefully he will
     
  14. Offline

    sharkale

    I test the plugin and work very well (some minor bugs, hopefully fixed soon)

    Thank you very much for the "re"development and the hard work on this.

    ;)
     
  15. Offline

    CatsyLady

    it works now
    my tech guy figured it out

    so, forget everything i said

    *edit

    that should be default to get rid of illegal names:

    Code:
    filter:
      min-length: 2
      allowed: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_-
      disallowed: '*'
      blank-name: true
    
     
  16. Offline

    aehoooo

    Cypher, can you add a way to import the enchant table of the crazy russian fix?
     
  17. Offline

    Reconal

    I sent you a pm about your test build of xauth for 1.2.3 and i am waiting for a responce from you.
    Thanks, Reconal
     
  18. Offline

    mcwoy1995

    Send me te xAuth 2.0 build :D please! ^^
     
  19. Offline

    Hydrosis

    Just converted over 27k accounts from H2 to MySQL, and the plugin is running better than before. The name verification works flawlessly (I left the fields blank and it's only letting A-Z,0-9, and blocks against blank names). I've only tested it with me and someone else, but i've tested it out and it looks to be working just fine :)
    The only suggestion I can make is maybe adding some color to the commands when you do /xauth
     
  20. Offline

    CypherX

    There's no way to control the colors of the list that appears when you do /xauth (as far as I know), it reads from the plugin.yml file.
     
  21. Offline

    Amsek

    I have a question. Now I have a server with version 1.1 and on it xAuth of the version 2.0b4.3 is established. Certainly, it is necessary to pass already on 1.2.3 and consequently there is a question: whether it is necessary me to do converting of my H2 of base as it is written here: http://forums.bukkit.org/threads/se...ne-mode-authentication-xxxx-xxxx.8712/page-48
    Or I can establish this version at once: http://dl.dropbox.com/u/40068360/xAuth_newevents.jar
    without mistakes? I have a little got confused, I ask to help me... Forgive for bad English.
     
  22. Offline

    skiba

    great job man thx [cookedmeat]
     
  23. Offline

    jojolite

    Please!
    CypherX Can you give the test build?
     
  24. Offline

    TheKashmirR

    Cypher, can you give the test build please ?
     
  25. Offline

    FunCraft

    Any chance that I cold import the account from Rakamak that are stored in a file and the passwords aren't encoded?
     
  26. Offline

    Hydrosis

    I mean something like how iConomy shows colors for commands when you do "/money ?"
     
  27. Offline

    CypherX

    You would have to add the extra table manually as it says, but don't bother. My new version is being released Friday.

    I'll be adding more plugins to the import tool sometime soon, so until then, no.
     
  28. Offline

    LW80866

    Will the new release support 1.2.3?
     
  29. Offline

    The Wizard

    No, he will make it for 1.7 beta...
    [​IMG]
     
  30. Offline

    CatsyLady

    There is some strange shit happens on login,
    only affects my name,
    nobody else has this error:

    [​IMG]


    i tried unregister/register new change the password ... nothing helps
    it says internal error, than i logout, login again and it says sesseion restore,
    but my inventory is empty, and i got kicked after 300 seconds (for need login too long),
    then i login again and all is fine (until the next login)

    here is the log

    Show Spoiler

    2012-03-11 23:48:26 [INFO] [xAuth] CatsyLady has registered
    2012-03-11 23:48:38 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'login' in plugin xAuth v2.0-dev
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:906)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:866)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:849)
    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:117)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 127, bounds are 1 to 3
    at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:299)
    at com.cypherx.xauth.PlayerDataHandler.buildItemStack(PlayerDataHandler.java:124)
    at com.cypherx.xauth.PlayerDataHandler.restoreData(PlayerDataHandler.java:151)
    at com.cypherx.xauth.PlayerManager.unprotect(PlayerManager.java:172)
    at com.cypherx.xauth.commands.LoginCommand.onCommand(LoginCommand.java:44)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 14 more
    2012-03-11 23:48:39 [INFO] <[Memb]theoss4ever> LOL
    2012-03-11 23:48:45 [INFO] CatsyLady lost connection: disconnect.quitting
    2012-03-11 23:48:45 [INFO] Connection reset
    2012-03-11 23:48:45 [SEVERE] Could not pass event PlayerQuitEvent to xAuth
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:181)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:784)
    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:101)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 127, bounds are 1 to 3
    at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:299)
    at com.cypherx.xauth.PlayerDataHandler.buildItemStack(PlayerDataHandler.java:124)
    at com.cypherx.xauth.PlayerDataHandler.restoreData(PlayerDataHandler.java:151)
    at com.cypherx.xauth.PlayerManager.unprotect(PlayerManager.java:172)
    at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerQuit(xAuthPlayerListener.java:83)
    at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 12 more
    2012-03-11 23:48:50 [INFO] CatsyLady [/84.191.123.68:36992] logged in with entity id 1649875 at ([world] 0.0, 64.0, 0.0)



    ***edit

    someone said it conflicts with Tim the enchanter plugin:
    http://forums.bukkit.org/threads/fun-tim-the-enchanter-v2-0-enchant-your-items-1-0-1-r1-1-1.46310/

    is that possible?
    i have it installed
     
  31. Offline

    CypherX

Thread Status:
Not open for further replies.

Share This Page