A connection allow or block/ban module based on multiple criteria.
Blocking happens in a more module-friendly way so the re-check of connect classes can match to a resolved hostname or ident (with m_conn_matchident).
Connect classes can block on:
no CAP request
no secondary CTCP reply
no VERSION reply
The server can block (and ban) on:
a wildcard string match to the VERSION reply
mismatching dual VERSION replies
The server can also ban on:
separate or joined configurations of missing (CAP, secondary CTCP, VERSION)
Testing
Only lightly tested so far, I need to update some test scripts and re-run through the use cases.
Opening the PR for more eyes and review.
Thanks to @Cronus89 for the initial idea/request and feedback throughout and @Robby- for feedback and naming the module.
A connection allow or block/ban module based on multiple criteria. Blocking happens in a more module-friendly way so the re-check of connect classes can match to a resolved hostname or ident (with m_conn_matchident).
Connect classes can block on:
The server can block (and ban) on:
The server can also ban on:
Testing
Only lightly tested so far, I need to update some test scripts and re-run through the use cases.
Opening the PR for more eyes and review.
Thanks to @Cronus89 for the initial idea/request and feedback throughout and @Robby- for feedback and naming the module.