ansible/roles/inspircd/templates/inspircd/inspircd.conf.j2

214 lines
5.1 KiB
Django/Jinja

{{ ansible_header | comment }}
<pid file="/var/run/inspircd/inspircd.pid">
<log
method="file"
type="* -USERINPUT -USEROUTPUT"
level="default"
target="/var/log/inspircd.log"
>
<server name="irc.crans.org"
description="Crans IRC server"
network="Crans"
sid="3AX">
<admin name="Pierre-Elliott Bécue"
nick="PEB"
email="root@crans.org">
<bind address="185.230.79.11" port="6667" type="clients">
<bind address="185.230.79.11" port="6697" type="clients" ssl="openssl">
<bind address="2a0c:700:2::ff:fe01:2902" port="6667" type="clients">
<bind address="2a0c:700:2::ff:fe01:2902" port="6697" type="clients" ssl="openssl">
<bind address="172.16.10.129" port="6667" type="clients">
<bind address="127.0.0.1" port="6668" type="servers">
<sslprofile
name="openssl"
provider="openssl"
certfile="/etc/inspircd/fullchain.pem"
keyfile="/etc/inspircd/privkey.pem"
hash="sha1"
>
<include file="/etc/inspircd/power.conf">
<include file="/etc/inspircd/links.conf">
<connect name="zamok-ipv4"
allow="185.230.79.1/32"
timeout="60"
threshold="1"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="zamok-ipv6"
allow="2a0c:700:2:0:ec4:7aff:fe59:a1ad/128"
timeout="60"
threshold="1"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="irc-ipv4"
allow="185.230.79.11/32"
timeout="60"
threshold="1"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="irc-ipv6"
allow="2a0c:700:2::ff:fe01:2902/128"
timeout="60"
threshold="10"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="gitlab-ipv4"
allow="185.230.79.14/32"
timeout="60"
threshold="10"
commandrate="10000"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="gitlab-ipv6"
allow="2a0c:700:2::ff:fe01:502/128"
timeout="60"
threshold="10"
commandrate="10000"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000">
<connect name="monitoring-ipv4"
allow="172.16.10.121/32"
timeout="60"
threshold="10"
commandrate="10000"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000"
modes="+x"
useident="no">
<connect name="monitoring-ipv6"
allow="fd00::10:ff:fe01:2110/128"
timeout="60"
threshold="10"
commandrate="10000"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000"
modes="+x"
useident="no">
<connect name="default"
allow="*"
timeout="60"
threshold="1"
pingfreq="120"
sendq="262144"
recvq="8192"
maxchans="70"
localmax="1000"
globalmax="1000"
modes="+x"
useident="no">
<include file="/etc/inspircd/opers.conf">
<files motd="/etc/inspircd/inspircd.motd"
rules="/etc/inspircd/inspircd.rules">
<include file="/etc/inspircd/modules.conf">
<channels users="30"
opers="1000">
<dns server="172.16.10.101" timeout="5">
<options prefixquit="Quit: "
noservices="no"
qaprefixes="no"
deprotectself="no"
deprotectothers="no"
flatlinks="no"
hideulines="no"
syntaxhints="yes"
cyclehosts="yes"
ircumsgprefix="no"
announcets="yes"
disablehmac="no"
hostintopic="yes"
quietbursts="yes"
pingwarning="15"
exemptchanops="">
<security hidewhois=""
announceinvites="dynamic"
userstats="Pu"
customversion=""
hidesplits="no"
hidebans="no"
operspywhois="no"
hidemodes="eI"
maxtargets="20">
<performance nouserdns="no"
maxwho="128"
softlimit="1024"
somaxconn="128"
netbuffersize="10240">
<whowas groupsize="10"
maxgroups="100000"
maxkeep="3d">
<limits maxnick="42"
maxchan="32"
maxmodes="20"
maxtopic="307"
maxkick="255"
maxaway="255"
maxident="25">
<timesync enable="no" master="no">
<badnick nick="ChanServ" reason="Reserved For Services">
<badnick nick="NickServ" reason="Reserved For Services">
<badnick nick="OperServ" reason="Reserved For Services">
<badnick nick="MemoServ" reason="Reserved For Services">
<badnick nick="Global" reason="Reserved For Services">
<badnick nick="HostServ" reason="Reserved For Services">