Giter VIP home page Giter VIP logo

rozworld-net's Introduction

RozWorld-Net

Networking subsystems for RozWorld client and server.

Building

Download the project file, and make sure the reference to Oddmatics-IO library works and that it is the correct version, then just build as normal.

rozworld-net's People

Contributors

rozniak avatar

Stargazers

John Kilpatrick avatar

Watchers

James Cloos avatar  avatar  avatar

rozworld-net's Issues

General cleanup

The netcode could really do with a cleanup in general, perhaps need to lay out what it actually does in an abstract manner, and refactor from there.

Potentially use TCP for logging in/signing up

This needs to be reviewed and implemented if it is worthwhile, main purpose is for encryption with TLS or some funky stuff like that so that I can faf with the password handling to make it more secure.

TODO: Add some token-based communication enhancements for security reasons

None of the netcode right now works against preventing spoof attacks on clients (sending UDP packets as someone else).

Right now this can exploit signing up using someone else's IP and that sort of thing - will need to sort some token-based exchange to tackle this.

Sign-ups and logins are to be done in a TCP-three-way-handshake sort of deal, in that the client will alert the server first that they want to create a sign-up, the server sends the token to use back (and stores it in memory), the client will then send the sign-up packet, which will also include the token, hashed&salted with the time (similar to how login packets are salted) to somewhat escape replay attacks as well (although this is still not perfect.

Will work on this in the coming days, hopefully whilst building up a GDI-based RozWorld client also to test correctly.

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.