Add SASL support

This commit is contained in:
s3lph 2020-12-17 04:25:14 +01:00
parent 2635f99665
commit c3053af7fc
4 changed files with 15 additions and 2 deletions
roles
anope
defaults
templates/etc/anope
inspircd
defaults
templates/etc/inspircd

View file

@ -8,6 +8,10 @@ anope_services_memoserv_enabled: false
anope_services_nickserv_enabled: true anope_services_nickserv_enabled: true
anope_services_operserv_enabled: true anope_services_operserv_enabled: true
anope_empty_modules:
- help
- m_sasl
anope_services_host: services.localhost.localdomain anope_services_host: services.localhost.localdomain
anope_uplink_host: localhost anope_uplink_host: localhost

View file

@ -244,6 +244,10 @@ include
} }
{% endif %} {% endif %}
{% for module in anope_additional_config %}
module { name = "{{ module }}" }
{% endfor %}
{{ anope_additional_config }} {{ anope_additional_config }}

View file

@ -13,12 +13,10 @@ inspircd_modules:
- ircv3_labeledresponse - ircv3_labeledresponse
- ircv3_msgid - ircv3_msgid
- ircv3_servertime - ircv3_servertime
# - ircv3_sts
- messageflood - messageflood
- password_hash - password_hash
- pbkdf2 - pbkdf2
- sha256 - sha256
- sasl
- showfile - showfile
- sslmodes - sslmodes
- sslrehashsignal - sslrehashsignal
@ -45,6 +43,8 @@ inspircd_autoconnect: []
inspircd_links: {} inspircd_links: {}
inspircd_ulines: [] inspircd_ulines: []
inspircd_sasl_requiressl: yes
inspircd_oper_classes: inspircd_oper_classes:
Shutdown: Shutdown:
commands: [DIE, RESTART, REHASH, LOADMODULE, UNLOADMODULE, RELOADMODULE, GLOADMODULE, GUNLOADMODULE, GRELOADMODULE] commands: [DIE, RESTART, REHASH, LOADMODULE, UNLOADMODULE, RELOADMODULE, GLOADMODULE, GUNLOADMODULE, GRELOADMODULE]

View file

@ -112,6 +112,11 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if 'sasl' in inspircd_modules + inspircd_modules_additional %}
<sasl
target="{{ inspircd_sasl_target }}"
requiressl="{{ inspircd_sasl_requiressl | ternary('yes', 'no') }}">
{% endif %}
# #
# OPERS # OPERS