Coder Social home page Coder Social logo

jsse-dtls-server's Introduction

jsse-dtls-server

A rough DTLS echo server used for testing the JSSE implementation of DTLS. Support for DTLS was added in Java 9, though that support is limited to the SSLEngine, which is now DTLS-capable. The program was used to test JSSE as part of the state fuzzing work published in USENIX 20. As we extended the program for clients, we moved development to a new repository.

One could say SSLEngine implements the core state machine or brain of the (D)TLS implementation. It is left to the user to connect this brain to the application by:

  • sending network data generated by the brain to the corresponding peer;
  • receiving and supplying network data to the brain, particularly when the brain is expecting this data;
  • running any tasks the brain issues;
  • sending/receiving application data, with the brain used for encrypting it into/decrypting it from network data.

For an in-depth description, I refer you to Oracle's SSLEngine page.

run.sh is added for convenience to compile and run the program on a POSIX system. For Windows, just run the commands as they are in the script file replacing $@ with arguments.

The SSLEngine architecture is truly fascinating and something I want to more deeply explore at some point. That is NOT the purpose of this project however, this is just meant to be a dirty server implementation that just works.

I refer you to sslengine.example for a nicely coded example of a TLS client/server implemented using SSLEngine. A nice project would be extending that also for DTLS.

jsse-dtls-server's People

Contributors

paulfiterau avatar pfg666 avatar

Stargazers

 avatar Robert Merget avatar

Watchers

James Cloos avatar  avatar

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.