4
mirror of git://git.acid.vegas/unrealircd.git synced 2024-12-25 15:56:38 +00:00

Added certbot support

This commit is contained in:
Dionysus 2023-05-27 01:03:48 -04:00
parent 5bef6ef7a6
commit 973e4061c0
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
4 changed files with 103 additions and 104 deletions

View File

@ -1,3 +1,9 @@
# SuperNETs Links / Foenum
except ban {
mask *@127.0.0.1;
type { kline; gline; zline; gzline; shun; blacklist; }
}
# IRCCloud
except ban {
mask *@5.254.36.56/29;
@ -5,6 +11,7 @@ except ban {
mask *@2a03:5180:f::/62;
mask *@2a03:5180:f:4::/63;
mask *@2a03:5180:f:6::/64;
type { kline; gline; zline; gzline; shun; blacklist; }
}
# KiwiIRC
@ -13,6 +20,7 @@ except ban {
mask *@107.161.19.109;
mask *@109.169.31.4;
mask *@109.169.31.13; # KiwiIRC Verify Bot (out.kiwiirc.com)
type { kline; gline; zline; gzline; shun; blacklist; }
}
# Mibbit
@ -23,8 +31,12 @@ except ban {
mask *@109.169.29.95; # ircip4.mibbit.com
mask *@97.107.138.109; # bot.search.mibbit.com
mask *@2600:3c03::f03c:91ff:fe96:c1fa; # bot.search.mibbit.com
type { kline; gline; zline; gzline; shun; blacklist; }
}
# Other
except ban { mask *@85.25.10.40; } # anaconda.netsplit.de
except ban { mask *@149.56.47.33; } # stats-grabber.ircdocs.horse
# Scanners
except ban {
mask *@85.25.10.40; # anaconda.netsplit.de
mask *@149.56.47.33; # stats-grabber.ircdocs.horse
type { kline; gline; zline; gzline; shun; blacklist; }
}

View File

@ -6,3 +6,12 @@ include "https://USERNAME:PASSWORD@HOSTNAME:PORT/opers.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/snomasks.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/spamfilter.conf";
me { name "example.supernets.org"; info "SuperNETS IRC Network"; sid XXX; }
listen {
ip *;
port 6697;
options { clientsonly; tls; }
tls-options {
certificate "/etc/letsencrypt/live/irc.supernets.org/fullchain.pem";
key "/etc/letsencrypt/live/irc.supernets.org/privkey.pem";
}
}

View File

@ -26,10 +26,8 @@ allow { mask *; class clients; maxperip 2; global-maxperip 2; }
allow { mask 127.0.0.1; class clients; maxperip 10; global-maxperip 10; }
listen { ip *; port 6667; options { clientsonly; } }
listen { ip *; port 6697; options { clientsonly; tls; } }
listen { ip *; port REDACTED; options { serversonly; tls; } }
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"; }
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"; }

View File

@ -34,11 +34,8 @@
#define RPL_CREATED 003
#define RPL_MYINFO 004
#define RPL_ISUPPORT 005
#define RPL_REDIR 10
#define RPL_MAPUSERS 18
#define RPL_REMOTEISUPPORT 105
/*
@ -53,14 +50,11 @@
#define ERR_WASNOSUCHNICK 406
#define ERR_TOOMANYTARGETS 407
#define ERR_NOORIGIN 409
#define ERR_INVALIDCAPCMD 410
#define ERR_NORECIPIENT 411
#define ERR_NOTEXTTOSEND 412
#define ERR_TOOMANYMATCHES 416
#define ERR_INPUTTOOLONG 417
#define ERR_UNKNOWNCOMMAND 421
#define ERR_NOMOTD 422
#define ERR_NOADMININFO 423
@ -74,16 +68,12 @@
#define ERR_NCHANGETOOFAST 438
#define ERR_TARGETTOOFAST 439
#define ERR_SERVICESDOWN 440
#define ERR_USERNOTINCHANNEL 441
#define ERR_NOTONCHANNEL 442
#define ERR_USERONCHANNEL 443
#define ERR_NONICKCHANGE 447
#define ERR_FORBIDDENCHANNEL 448
#define ERR_NOTREGISTERED 451
#define ERR_NOTFORHALFOPS 460
#define ERR_NEEDMOREPARAMS 461
#define ERR_ALREADYREGISTRED 462
@ -99,32 +89,23 @@
#define ERR_NEEDREGGEDNICK 477
#define ERR_BANLISTFULL 478
#define ERR_CANNOTKNOCK 480
#define ERR_NOPRIVILEGES 481
#define ERR_CHANOPRIVSNEEDED 482
#define ERR_KILLDENY 485
#define ERR_NOTFORUSERS 487
#define ERR_SECUREONLYCHAN 489
#define ERR_NOOPERHOST 491
#define ERR_CHANOWNPRIVNEEDED 499
#define ERR_TOOMANYJOINS 500
#define ERR_UMODEUNKNOWNFLAG 501
#define ERR_USERSDONTMATCH 502
#define ERR_SILELISTFULL 511
#define ERR_TOOMANYWATCH 512
#define ERR_TOOMANYDCC 514
#define ERR_DISABLED 517
#define ERR_NOINVITE 518
#define ERR_OPERONLY 520
#define ERR_LISTSYNTAX 521
#define ERR_CANTSENDTOUSER 531
/*
* Numberic replies from server commands.
@ -349,12 +330,12 @@
#define STR_RPL_WELCOME /* 001 */ ":Welcome to the %s IRC Network %s!%s@%s <- (FAGGOT)"
//#define STR_RPL_YOURHOST /* 002 */ ":Your host is %s, running version %s"
#define STR_RPL_YOURHOST /* 002 */ ":Your host is hidden, running version UnrealIRCd-6.6.6"
#define STR_RPL_CREATED /* 003 */ ":This server was created %s"
#define STR_RPL_YOURHOST /* 002 */ ":Your host is hidden, running version DangerousIRCd-6.6.6"
//#define STR_RPL_CREATED /* 003 */ ":This server was created %s"
#define STR_RPL_CREATED /* 003 */ ":This server was created Fri Apr 1 1990 at 04:20:00 UTC"
#define STR_RPL_MYINFO /* 004 */ "%s %s %s %s"
#define STR_RPL_ISUPPORT /* 005 */ "%s :are supported by this server"
//#define STR_RPL_MAP /* 006 */ ":%s%s %s | Users: %*ld (%*.2f%%)%s"
#define STR_RPL_MAP /* 006 */ ":irc.supernets.org | Users: 1000000 (100%) [000]"
#define STR_RPL_MAP /* 006 */ ":%s%s %s | Users: %*ld (%*.2f%%)%s"
#define STR_RPL_MAPEND /* 007 */ ":End of /MAP"
#define STR_RPL_SNOMASK /* 008 */ "+%s :Server notice mask"
#define STR_RPL_REDIR /* 010 */ "%s %d :Please use this Server/Port instead"
@ -437,7 +418,6 @@
#define STR_RPL_WHOISSPECIAL /* 320 */ "%s :%s"
#define STR_RPL_LISTSTART /* 321 */ "Channel :Users Name"
#define STR_RPL_LIST /* 322 */ "%s %d :%s %s"
//#define STR_RPL_LIST /* 322 */ "%s 5000 :%s %s"
#define STR_RPL_LISTEND /* 323 */ ":End of /LIST"
#define STR_RPL_CHANNELMODEIS /* 324 */ "%s %s %s"
#define STR_RPL_CREATIONTIME /* 329 */ "%s %lld"