Compare commits

..

2 Commits

Author SHA1 Message Date
2c9f4aeb5b fix permissions for operserv fantasy commands 2024-11-08 07:04:43 +00:00
f636021b9d add readme 2024-11-07 19:20:49 -05:00
2 changed files with 50 additions and 28 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
- Copy `config.env.example` to `config.env` and `include.default.conf` to `include.conf` and edit both
- `chown -R 999 custom` and `docker-compose up -d`

View File

@ -19,7 +19,7 @@ options
timeoutcheck = 3s timeoutcheck = 3s
servicealias = yes servicealias = yes
hidestatso = no hidestatso = no
retrywait = 60s retrywait = 8s
hideprivilegedcommands = yes hideprivilegedcommands = yes
hideregisteredcommands = yes hideregisteredcommands = yes
didyoumeandifference = 4 didyoumeandifference = 4
@ -103,6 +103,18 @@ module { name = "enc_posix" }
module { name = "help" } module { name = "help" }
module module
{
name = "dns"
nameserver = "/etc/resolv.conf"
timeout = 5
ip = "127.0.0.1"
port = 5353
admin = "no-reply@supernets.org"
nameservers = "ns1.supernets.org ns2.supernets.org"
refresh = 3600
}
#module
{ {
name = "dnsbl" name = "dnsbl"
check_on_connect = no check_on_connect = no
@ -178,8 +190,8 @@ module { name = "rewrite" }
command command
{ {
service = "CHANSERV"; service = "CHANSERV";
name = "CLEAR"; name = "CLEAR";
command = "rewrite" command = "rewrite"
rewrite = true rewrite = true
rewrite_source = "CLEAR $ USERS" rewrite_source = "CLEAR $ USERS"
rewrite_target = "KICK $1 *" rewrite_target = "KICK $1 *"
@ -274,7 +286,6 @@ command { service = "BOTSERV"; name = "KICK UNDERLINES"; command = "botserv/kick
command { service = "BOTSERV"; name = "SET DONTKICKOPS"; command = "botserv/set/dontkickops"; } command { service = "BOTSERV"; name = "SET DONTKICKOPS"; command = "botserv/set/dontkickops"; }
command { service = "BOTSERV"; name = "SET DONTKICKVOICES"; command = "botserv/set/dontkickvoices"; } command { service = "BOTSERV"; name = "SET DONTKICKVOICES"; command = "botserv/set/dontkickvoices"; }
module { name = "bs_set" } module { name = "bs_set" }
command { service = "BOTSERV"; name = "SET"; command = "botserv/set"; } command { service = "BOTSERV"; name = "SET"; command = "botserv/set"; }
command { service = "BOTSERV"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; } command { service = "BOTSERV"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; }
@ -888,7 +899,7 @@ module
} }
command { service = "OPERSERV"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; } command { service = "OPERSERV"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; }
fantasy { name = "SEEN"; command = "operserv/seen"; prepend_channel = false; } fantasy { name = "SEEN"; command = "operserv/seen"; prepend_channel = false; permission = "operserv/seen"; }
module module
{ {
@ -978,7 +989,7 @@ command { service = "GLOBAL"; name = "HELP"; command = "generic/help"; }
module { name = "gl_global" } module { name = "gl_global" }
command { service = "GLOBAL"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; } command { service = "GLOBAL"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; }
fantasy { name = "GLOBAL"; command = "global/global"; prepend_channel = false; } fantasy { name = "GLOBAL"; command = "global/global"; prepend_channel = false; permission = "global/global"; }
module module
{ {
@ -1102,6 +1113,8 @@ command { service = "MEMOSERV"; name = "RSEND"; command = "memoserv/rsend"; }
module { name = "ms_send" } module { name = "ms_send" }
command { service = "MEMOSERV"; name = "SEND"; command = "memoserv/send"; } command { service = "MEMOSERV"; name = "SEND"; command = "memoserv/send"; }
fantasy { name = "NOTE"; command = "memoserv/send"; prepend_channel = true; }
module { name = "ms_sendall" } module { name = "ms_sendall" }
command { service = "MEMOSERV"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; } command { service = "MEMOSERV"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
@ -1128,7 +1141,7 @@ module
forceemail = no forceemail = no
confirmemailchanges = no confirmemailchanges = no
unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ HELP REGISTER" unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ HELP REGISTER"
defaults = "killprotect ns_private hide_email hide_mask memo_signon memo_receive autoop" defaults = "ns_private hide_email hide_mask memo_signon memo_receive autoop"
regdelay = 8m regdelay = 8m
expire = 32y expire = 32y
secureadmins = yes secureadmins = yes
@ -1136,7 +1149,7 @@ module
hidenetsplitquit = no hidenetsplitquit = no
killquick = 20s killquick = 20s
kill = 60s kill = 60s
restrictopernicks = no restrictopernicks = yes
enforceruser = "OPERSERV" enforceruser = "OPERSERV"
enforcerhost = "services/_" enforcerhost = "services/_"
releasetimeout = 1m releasetimeout = 1m
@ -1348,7 +1361,7 @@ command { service = "OPERSERV"; name = "HELP"; command = "generic/help"; }
module { name = "os_akill" } module { name = "os_akill" }
command { service = "OPERSERV"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; } command { service = "OPERSERV"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; }
fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; } fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; permission = "operserv/akill"; }
module { name = "os_chankill" } module { name = "os_chankill" }
command { service = "OPERSERV"; name = "CHANKILL"; command = "operserv/chankill"; permission = "operserv/chankill"; } command { service = "OPERSERV"; name = "CHANKILL"; command = "operserv/chankill"; permission = "operserv/chankill"; }
@ -1372,7 +1385,7 @@ module
} }
command { service = "OPERSERV"; name = "DEFCON"; command = "operserv/defcon"; permission = "operserv/defcon"; } command { service = "OPERSERV"; name = "DEFCON"; command = "operserv/defcon"; permission = "operserv/defcon"; }
fantasy { name = "DEFCON"; command = "operserv/defcon"; prepend_channel = false; } fantasy { name = "DEFCON"; command = "operserv/defcon"; prepend_channel = false; permission = "operserv/defcon"; }
module module
{ {
@ -1401,13 +1414,14 @@ command { service = "OPERSERV"; name = "INFO"; command = "operserv/info"; permis
module { name = "os_jupe" } module { name = "os_jupe" }
command { service = "OPERSERV"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; } command { service = "OPERSERV"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; }
fantasy { name = "JUPE"; command = "operserv/jupe"; prepend_channel = false; } fantasy { name = "JUPE"; command = "operserv/jupe"; prepend_channel = false; permission = "operserv/jupe"; }
module { name = "os_kick" } module { name = "os_kick" }
command { service = "OPERSERV"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; } command { service = "OPERSERV"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; }
module { name = "os_kill" } module { name = "os_kill" }
command { service = "OPERSERV"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; } command { service = "OPERSERV"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; }
fantasy { name = "KILL"; command = "operserv/kill"; prepend_channel = false; permission = "operserv/kill"; }
module { name = "os_list" } module { name = "os_list" }
command { service = "OPERSERV"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; } command { service = "OPERSERV"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; }
@ -1424,13 +1438,13 @@ module
} }
command { service = "OPERSERV"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; } command { service = "OPERSERV"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; }
fantasy { name = "LOGSEARCH"; command = "operserv/LOGSEARCH"; prepend_channel = false; } fantasy { name = "LOGSEARCH"; command = "operserv/LOGSEARCH"; prepend_channel = false; permission = "operserv/logsearch"; }
module { name = "os_mode" } module { name = "os_mode" }
command { service = "OPERSERV"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; } command { service = "OPERSERV"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; }
command { service = "OPERSERV"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; } command { service = "OPERSERV"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; }
fantasy { name = "MODESET"; command = "operserv/mode"; prepend_channel = false; } fantasy { name = "MODESET"; command = "operserv/mode"; prepend_channel = false; permission = "operserv/mode"; }
module { name = "os_modinfo" } module { name = "os_modinfo" }
@ -1452,21 +1466,23 @@ module
} }
command { service = "OPERSERV"; name = "LOGONNEWS"; command = "operserv/logonnews"; permission = "operserv/news"; } command { service = "OPERSERV"; name = "LOGONNEWS"; command = "operserv/logonnews"; permission = "operserv/news"; }
fantasy { name = "LOGONNEWS"; command = "operserv/logonnews"; prepend_channel = false; } fantasy { name = "LOGONNEWS"; command = "operserv/logonnews"; prepend_channel = false; permission = "operserv/logonnews"; }
command { service = "OPERSERV"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; } command { service = "OPERSERV"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; }
fantasy { name = "OPERNEWS"; command = "operserv/opernews"; prepend_channel = false; } fantasy { name = "OPERNEWS"; command = "operserv/opernews"; prepend_channel = false; permission = "operserv/opernews"; }
command { service = "OPERSERV"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; } command { service = "OPERSERV"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; }
fantasy { name = "RANDOMNEWS"; command = "operserv/randomnews"; prepend_channel = false; } fantasy { name = "RANDOMNEWS"; command = "operserv/randomnews"; prepend_channel = false; permission = "operserv/randomnews"; }
module { name = "os_noop" } # module { name = "os_noop" }
command { service = "OPERSERV"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; } # command { service = "OPERSERV"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; }
fantasy { name = "NOOP"; command = "operserv/noop"; prepend_channel = false; } # fantasy { name = "NOOP"; command = "operserv/noop"; prepend_channel = false; }
module { name = "os_oper" } module { name = "os_oper" }
command { service = "OPERSERV"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; } command { service = "OPERSERV"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; }
fantasy { name = "OPER"; command = "operserv/oper"; prepend_channel = false; permission = "operserv/oper"; }
module { name = "os_reload" } module { name = "os_reload" }
command { service = "OPERSERV"; name = "RELOAD"; command = "operserv/reload"; permission = "operserv/reload"; } command { service = "OPERSERV"; name = "RELOAD"; command = "operserv/reload"; permission = "operserv/reload"; }
fantasy { name = "RELOAD"; command = "operserv/reload"; prepend_channel = false; permission = "operserv/reload"; }
module module
{ {
@ -1483,9 +1499,9 @@ module
} }
command { service = "OPERSERV"; name = "EXCEPTION"; command = "operserv/exception"; permission = "operserv/exception"; } command { service = "OPERSERV"; name = "EXCEPTION"; command = "operserv/exception"; permission = "operserv/exception"; }
fantasy { name = "EXCEPTION"; command = "operserv/exception"; prepend_channel = false; } fantasy { name = "EXCEPTION"; command = "operserv/exception"; prepend_channel = false; permission = "operserv/exception"; }
command { service = "OPERSERV"; name = "SESSION"; command = "operserv/session"; permission = "operserv/session"; } command { service = "OPERSERV"; name = "SESSION"; command = "operserv/session"; permission = "operserv/session"; }
fantasy { name = "SESSION"; command = "operserv/session"; prepend_channel = false; } fantasy { name = "SESSION"; command = "operserv/session"; prepend_channel = false; permission = "operserv/session"; }
module module
{ {
@ -1494,32 +1510,36 @@ module
} }
command { service = "OPERSERV"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; } command { service = "OPERSERV"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }
fantasy { name = "SET"; command = "operserv/set"; prepend_channel = false; } fantasy { name = "SET"; command = "operserv/set"; prepend_channel = false; permission = "operserv/set"; }
module { name = "os_shutdown" } module { name = "os_shutdown" }
command { service = "OPERSERV"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; } command { service = "OPERSERV"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; }
fantasy { name = "QUIT"; command = "operserv/quit"; prepend_channel = false; permission = "operserv/quit"; }
command { service = "OPERSERV"; name = "RESTART"; command = "operserv/restart"; permission = "operserv/restart"; } command { service = "OPERSERV"; name = "RESTART"; command = "operserv/restart"; permission = "operserv/restart"; }
fantasy { name = "RESTART"; command = "operserv/restart"; prepend_channel = false; permission = "operserv/restart"; }
command { service = "OPERSERV"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; } command { service = "OPERSERV"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; }
fantasy { name = "SHUTDOWN"; command = "operserv/shutdown"; prepend_channel = false; permission = "operserv/shutdown"; }
module { name = "os_stats" } module { name = "os_stats" }
command { service = "OPERSERV"; name = "STATS"; command = "operserv/stats"; permission = "operserv/stats"; } command { service = "OPERSERV"; name = "STATS"; command = "operserv/stats"; permission = "operserv/stats"; }
fantasy { name = "AKILL"; command = "operserv/akill"; prepend_channel = false; } fantasy { name = "STATS"; command = "operserv/stats"; prepend_channel = false; permission = "operserv/stats"; }
module { name = "os_svs" } module { name = "os_svs" }
command { service = "OPERSERV"; name = "SVSNICK"; command = "operserv/svsnick"; permission = "operserv/svs"; } command { service = "OPERSERV"; name = "SVSNICK"; command = "operserv/svsnick"; permission = "operserv/svs"; }
fantasy { name = "SVSNICK"; command = "operserv/svsnick"; prepend_channel = false; } fantasy { name = "SVSNICK"; command = "operserv/svsnick"; prepend_channel = false; permission = "operserv/svs"; }
command { service = "OPERSERV"; name = "SVSJOIN"; command = "operserv/svsjoin"; permission = "operserv/svs"; } command { service = "OPERSERV"; name = "SVSJOIN"; command = "operserv/svsjoin"; permission = "operserv/svs"; }
fantasy { name = "SVSJOIN"; command = "operserv/svsjoin"; prepend_channel = false; } fantasy { name = "SVSJOIN"; command = "operserv/svsjoin"; prepend_channel = false; permission = "operserv/svs"; }
command { service = "OPERSERV"; name = "SVSPART"; command = "operserv/svspart"; permission = "operserv/svs"; } command { service = "OPERSERV"; name = "SVSPART"; command = "operserv/svspart"; permission = "operserv/svs"; }
fantasy { name = "SVSPART"; command = "operserv/svspart"; prepend_channel = false; } fantasy { name = "SVSPART"; command = "operserv/svspart"; prepend_channel = false; permission = "operserv/svs"; }
module { name = "os_sxline" } module { name = "os_sxline" }
command { service = "OPERSERV"; name = "SNLINE"; command = "operserv/snline"; permission = "operserv/snline"; } command { service = "OPERSERV"; name = "SNLINE"; command = "operserv/snline"; permission = "operserv/snline"; }
fantasy { name = "SNLINE"; command = "operserv/snline"; prepend_channel = false; } fantasy { name = "SNLINE"; command = "operserv/snline"; prepend_channel = false; permission = "operserv/snline"; }
command { service = "OPERSERV"; name = "SQLINE"; command = "operserv/sqline"; permission = "operserv/sqline"; } command { service = "OPERSERV"; name = "SQLINE"; command = "operserv/sqline"; permission = "operserv/sqline"; }
fantasy { name = "SQLINE"; command = "operserv/sqline"; prepend_channel = false; } fantasy { name = "SQLINE"; command = "operserv/sqline"; prepend_channel = false; permission = "operserv/sqline"; }
module { name = "os_update" } module { name = "os_update" }
command { service = "OPERSERV"; name = "UPDATE"; command = "operserv/update"; permission = "operserv/update"; } command { service = "OPERSERV"; name = "UPDATE"; command = "operserv/update"; permission = "operserv/update"; }
fantasy { name = "UPDATE"; command = "operserv/update"; prepend_channel = false; permission = "operserv/update"; }