Code Monkey home page Code Monkey logo

dnslogin's Introduction

DnsLogin

Secure authentication for offline-mode Bukkit servers

When the server is in online-mode, it functions like normal. DnsLogin only enables the verification module when the server is in offline mode. Users can only log in if they connect to the correct address. When online the user can generate an authentication key, which is added to the start of the address they connect to. Using DNS-wildcard, these still point to your server.

Note DNS traffic is not encrypted unless using services like OpenDNS DnsCrypt. It shouldn't matter much unless you are specifically targeted and on an insecure connection (like open WiFi).

Example:

Assuming a fictional server play.example.org. Server is in online mode:

  1. User connects like normal
  2. User executes /dnslogin auth self. An authentication key tjptbhfoycdhcuy0 is generated.
  3. DnsLogin tells the user to connect to tjptbhfoycdhcuy0.play.example.org

Server is in offline mode:

  1. User connects to tjptbhfoycdhcuy0.play.example.org
  2. Plugin verifies that a user with this name has key tjptbhfoycdhcuy0
  3. User gets access like normal.

In case in step 2. the key does not match the address the user connected with, the user is presented with Player not whitelisted. and disconnected.

dnslogin's People

Contributors

dykam avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dnslogin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.