inspircd / inspircd-contrib

Third-party InspIRCd module repository.
https://www.inspircd.org
66 stars 72 forks source link

[WIP] Add m_conn_require - configurable connection control #144

Closed genius3000 closed 6 years ago

genius3000 commented 6 years ago

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.