Giter Club home page Giter Club logo

snisrv's Introduction

snisvr

Tool for testing SNI extensions with wolfSSL and the sniffer.

snisvr assumes that CyaSSL is installed in /usr/local. It uses the certificates and keys found in ../cyassl/certs.

Run it from the command line and it listens on port 11111. It will send one blob of HTML back to the client depending on the server name provided in the Client Hello. The command is simply ./snisvr.

In another window run the CyaSSL example client. The -S option is used to set the SNI. The snisvr tool exects this to be either svrA, svrB, or not used.

$ ./examples/client/client -g -S svrA

The server webpage should indicate itself as either Server A, Server B, or generic, depending on the SNI.

The SSL sniffer should be run from its directory, sslSniffer/sslSnifferTest. When run without command line options, it will first ask for the interface to use, select lo0. Next, enter port 11111. Last enter the alternate SNI to use. In this test use either svrA or svrB.

When SNI enabled, the sniffer by default will load the default key onto the SSL_CTX, and will add on the same key associated to the provided name to be used if the name is detected in the SNI.

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.