Coder Social home page Coder Social logo

inspircdtests's Introduction

WARNING: Scripts may make changes to the root configuration directory and should
be run in a testing environment such as a VM where you can easily recover from
errors -- run at your own risk!

Various scripts used to help me test InspIRCd.

afr: Test the "Admin, Friend, Referred" PKI.

ssl_crl: Test that Certificate Revocation Lists (CRLs) are implemented
	correctly.

ssl_log: Test that logging for OpenSSL connections and connection attempts is
	being performed.

ssl_rehash: Test server rehashing functionality with regards to client
	certificate validation.

ssl_strongcert: Test that strong peer (client) certificate validation is
	implemented correctly; this feature allows the server to use a
	whitelist of key types and minimum sizes and another whitelist for
	certificate signature algorithms.


Below are some notes on manual testing that can be done for various USE flags:
argon2:
/etc/inspircd/modules.conf
<module name="argon2">
<module name="password_hash">
/etc/inspircd/opers.conf
    <oper name="test"
        host="*"
        hash="argon2id"
        password="$argon2id$v=19$m=131072,t=3,p=1$rRJjAyPyZFqYRhAPpFkvrQ$uDUl42/8aLCUPTrQWgJaj5/Ir6frOF6JcxH9RuAAKzY" # Password is 'password'.
        type="NetAdmin">
rc-service inspircd restart
/oper test password

/etc/inspircd/modules.conf
<module name="regex_pcre2">
<module name="filter">
<filteropts engine="pcre" notifyuser="yes" warnonselfmsg="no">
<keyword pattern="^.*test.*$" reason="Testing!" action="block" flags="p">
rc-service inspircd restart
/join #chat
test

inspircdtests's People

Contributors

clinew avatar

Stargazers

 avatar

Watchers

 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.