4
mirror of git://git.acid.vegas/unrealircd.git synced 2024-11-18 05:56:41 +00:00
unrealircd/doc/conf/unrealircd.remote.conf

254 lines
7.3 KiB
Plaintext
Raw Normal View History

2020-04-20 19:14:09 +00:00
admin { ""; }
alias botserv { type services; }
alias bs { target botserv; type services; }
alias chanserv { type services; }
alias cs { target chanserv; type services; }
alias hostserv { type services; }
alias hs { target hostserv; type services; }
alias nickserv { type services; }
alias ns { target nickserv; type services; }
alias operserv { type services; }
alias os { target operserv; type services; }
class clients { pingfreq 120; maxclients 100; sendq 1M; options { nofakelag; } }
class servers { pingfreq 120; maxclients 10; sendq 1M; connfreq 30; }
2022-01-15 05:16:34 +00:00
allow { mask *; class clients; maxperip 2; global-maxperip 2; }
allow { mask 127.0.0.1; class clients; maxperip 10; global-maxperip 10; }
2020-04-20 19:14:09 +00:00
listen { ip *; port 6667; options { clientsonly; } }
listen { ip *; port 6697; options { clientsonly; tls; } }
listen { ip *; port REDACTED; options { serversonly; tls; } }
2021-06-19 15:52:51 +00:00
deny channel { channel "#dev"; reason "This channel has moved to #superbowl"; redirect "#superbowl"; }
deny channel { channel "#help"; reason "This channel has moved to #superbowl"; redirect "#superbowl"; }
2022-01-15 05:16:34 +00:00
deny channel { channel "#mensa"; reason "This channel has been closed"; redirect "#superbowl"; }
deny channel { channel "#pumpcoin"; reason "This channel has moved to #exchange"; redirect "#exchange"; }
2021-06-19 15:52:51 +00:00
2020-04-20 19:14:09 +00:00
link irc.supernets.org {
incoming { mask REDACTED; }
outgoing {
bind-ip *;
hostname REDACTED;
port REDACTED;
options { tls; autoconnect; }
}
password "REDACTED" { spkifp; }
class servers;
}
2022-01-15 05:16:34 +00:00
log {
source { error; fatal; warn; }
2022-04-03 15:09:29 +00:00
destination { file "ircd.log" { maxsize 5M; } }
2022-01-15 05:16:34 +00:00
}
2022-04-03 15:09:29 +00:00
#log {
# source { all; }
# destination { channel "#REDACTED" }
#}
2020-04-20 19:14:09 +00:00
tld { mask *@*; motd remote.motd; rules remote.motd; options { remote; } }
ulines { services.supernets.org; }
blacklist dronebl {
dns {
name dnsbl.dronebl.org;
type record;
reply { 3; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; }
}
action gzline;
2020-05-29 18:18:36 +00:00
ban-time 30d;
2020-04-20 19:14:09 +00:00
reason "8,4 E N T E R T H E V O I D ";
}
blacklist efnetrbl {
dns {
name rbl.efnetrbl.org;
type record;
reply { 1; 4; 5; }
}
action gzline;
2020-05-29 18:18:36 +00:00
ban-time 30d;
2020-04-20 19:14:09 +00:00
reason "8,4 E N T E R T H E V O I D ";
}
blacklist torbl {
dns {
name torexit.dan.me.uk;
type record;
reply { 100; }
}
action gzline;
2020-05-29 18:18:36 +00:00
ban-time 30d;
2020-04-20 19:14:09 +00:00
reason "8,4 E N T E R T H E V O I D ";
}
set {
2021-06-20 14:00:58 +00:00
kline-address "enterthevoid@supernets.org";
gline-address "enterthevoid@supernets.org";
2021-01-16 00:15:07 +00:00
modes-on-connect "+iIpTx";
modes-on-oper "+Hq";
2022-04-03 15:09:29 +00:00
snomask-on-oper "+o";
2021-02-13 19:42:01 +00:00
modes-on-join "+ns";
2020-04-20 19:14:09 +00:00
level-on-join "op";
2020-05-29 18:18:36 +00:00
restrict-usermodes "ips";
2021-01-16 00:15:07 +00:00
restrict-channelmodes "nLpPs";
2020-04-20 19:14:09 +00:00
restrict-commands {
2022-01-15 05:16:34 +00:00
channel-message { connect-delay 60; exempt-identified yes; exempt-reputation-score 100; }
channel-notice { connect-delay 60; exempt-identified yes; exempt-reputation-score 100; }
invite { connect-delay 300; exempt-identified yes; exempt-reputation-score 100; }
join { connect-delay 15; exempt-identified yes; exempt-reputation-score 100; }
list { connect-delay 30; exempt-identified yes; exempt-reputation-score 100; }
private-message { connect-delay 300; exempt-identified yes; exempt-reputation-score 100; }
private-notice { connect-delay 300; exempt-identified yes; exempt-reputation-score 100; }
2020-04-20 19:14:09 +00:00
}
2022-01-15 05:16:34 +00:00
auto-join "#superbowl";
2020-04-20 19:14:09 +00:00
static-quit "EMO-QUIT";
static-part "EMO-PART";
nick-length 20;
maxchannelsperuser 10;
channel-command-prefix "`!@$.";
options { hide-ulines; flat-map; identd-check; }
network-name "SuperNETs";
default-server "irc.supernets.org";
services-server "services.supernets.org";
sasl-server "services.supernets.org";
2021-06-20 14:00:58 +00:00
help-channel "#superbowl";
2020-04-20 19:14:09 +00:00
cloak-method ip;
cloak-keys {
"REDACTED";
"REDACTED";
"REDACTED";
}
2022-04-03 15:09:29 +00:00
cloak-prefix "SUPER";
2020-04-20 19:14:09 +00:00
plaintext-policy {
user warn;
oper deny;
server deny;
2022-01-15 05:16:34 +00:00
user-message "4WARNING: You are not on a secure TLS connection";
oper-message "Network operators must be on a secure TLS connection";
2020-04-20 19:14:09 +00:00
}
outdated-tls-policy {
user warn;
oper deny;
server deny;
2022-04-03 15:09:29 +00:00
user-message "4WARNING: You are using an outdated TLS protocol or cipher";
oper-message "Network operators must be using an up-to-date TLS protocol & cipher";
2020-04-20 19:14:09 +00:00
}
anti-flood {
2021-06-19 15:52:51 +00:00
everyone {
connect-flood 3:300;
handshake-data-flood {
amount 4k;
ban-action gzline;
ban-time 1h;
}
2022-01-15 05:16:34 +00:00
#target-flood {
# channel-notice 15:5;
# channel-privmsg 45:5;
# channel-tagmsg 15:5;
# private-notice 10:5;
# private-privmsg 30:5;
# private-tagmsg 10:5;
#}
2021-06-19 15:52:51 +00:00
}
known-users {
away-flood 3:300;
invite-flood 3:300;
join-flood 3:300;
knock-flood 3:300;
nick-flood 3:300;
max-concurrent-conversations {
users 5;
new-user-every 60s;
}
2022-01-15 05:16:34 +00:00
lag-penalty 10; # update?
lag-penalty-bytes 0;
2020-05-29 02:06:50 +00:00
}
2021-06-19 15:52:51 +00:00
unknown-users {
away-flood 3:300;
invite-flood 3:300;
join-flood 3:300;
knock-flood 3:300;
nick-flood 3:300;
max-concurrent-conversations {
users 3;
new-user-every 60s;
}
2022-01-15 05:16:34 +00:00
lag-penalty 1000;
lag-penalty-bytes 90;
}
2020-04-20 19:14:09 +00:00
}
2020-05-29 02:06:50 +00:00
default-bantime 30d;
modef-default-unsettime 5;
2020-04-20 19:14:09 +00:00
spamfilter {
ban-time 1d;
ban-reason "8,4 E N T E R T H E V O I D ";
except "#anythinggoes";
}
2021-01-16 00:15:07 +00:00
max-targets-per-command { kick 1; part 1; privmsg 1; }
2020-04-20 19:14:09 +00:00
hide-ban-reason yes;
reject-message {
gline "8,4 E N T E R T H E V O I D ";
kline "8,4 E N T E R T H E V O I D ";
password-mismatch "8,4 E N T E R T H E V O I D ";
server-full "8,4 E N T E R T H E V O I D ";
too-many-connections "8,4 E N T E R T H E V O I D ";
unauthorized "8,4 E N T E R T H E V O I D ";
}
antimixedutf8 {
2021-06-19 15:52:51 +00:00
score 8;
2020-04-20 19:14:09 +00:00
ban-action block;
ban-reason "8,4 E N T E R T H E V O I D ";
}
connthrottle {
2022-04-03 15:09:29 +00:00
known-users { minimum-reputation-score 100; sasl-bypass yes; }
new-users { local-throttle 20:60; global-throttle 30:60; }
disabled-when { reputation-gathering 1w; start-delay 3m; }
reason "8,4 E N T E R T H E V O I D ";
2020-04-20 19:14:09 +00:00
}
history {
channel {
2022-01-15 05:16:34 +00:00
playback-on-join { lines 1000; time 1d; }
2021-06-19 15:52:51 +00:00
max-storage-per-channel {
2022-01-15 05:16:34 +00:00
registered { lines 1000; time 1d; }
unregistered { lines 100; time 1h; }
2021-06-19 15:52:51 +00:00
}
2020-04-20 19:14:09 +00:00
}
}
2022-01-15 05:16:34 +00:00
hide-idle-time { policy always; }
whois-details {
2022-04-03 15:09:29 +00:00
account { everyone full; }
2022-01-15 05:16:34 +00:00
away { everyone full; }
2022-04-03 15:09:29 +00:00
basic { everyone full; }
bot { everyone full; }
certfp { everyone full; }
channels { everyone none; self full; oper full; }
geo { everyone none; }
idle { everyone none; }
modes { everyone none; self full; oper full; }
2022-01-15 05:16:34 +00:00
oper { everyone limited; self full; oper full; }
2022-04-03 15:09:29 +00:00
realhost { everyone none; self full; oper full; }
registered-nick { everyone full; }
reputation { everyone full; }
2022-01-15 05:16:34 +00:00
secure { everyone limited; self full; oper full; }
2022-04-03 15:09:29 +00:00
server { everyone full; }
2022-01-15 05:16:34 +00:00
services { everyone full; }
2022-04-03 15:09:29 +00:00
shunned { everyone none; self none; oper full; }
2022-01-15 05:16:34 +00:00
swhois { everyone full; }
}
2020-04-20 19:14:09 +00:00
}
hideserver {
disable-map yes;
disable-links yes;
2022-01-15 05:16:34 +00:00
map-deny-message "8,4 E N T E R T H E V O I D ";
links-deny-message "8,4 E N T E R T H E V O I D ";
2021-06-19 15:52:51 +00:00
}
security-group known-users {
identified yes;
2022-04-03 15:09:29 +00:00
reputation-score 100;
2020-04-20 19:14:09 +00:00
}