updates to fix services

This commit is contained in:
root 2024-11-18 13:14:21 +00:00
parent af3ba1af7f
commit 7e88679a3a
2 changed files with 24 additions and 22 deletions

View File

@ -18,7 +18,9 @@ RUN git clone https://github.com/anope/anope.git
WORKDIR /tmp/anope WORKDIR /tmp/anope
RUN git checkout 2.1 #RUN git checkout 2.1
#RUN git reset --hard 240f8b9e505af4888039769f5ce5a2388bdf228e
WORKDIR /tmp/anope/modules WORKDIR /tmp/anope/modules

View File

@ -211,8 +211,8 @@ module
service service
{ {
nick = "BOTSERV" nick = "BOTSERV"
user = "_" user = "BS"
host = "services/_" host = "services/SuperNETs"
gecos = "Bot Service" gecos = "Bot Service"
channels = "@#services" channels = "@#services"
alias = "BS" alias = "BS"
@ -361,8 +361,8 @@ fantasy { name = "VOP"; command = "chanserv/xop"; }
service service
{ {
nick = "CHANSERV" nick = "CHANSERV"
user = "_" user = "CS"
host = "services/_" host = "services/SuperNETs"
gecos = "Channel Registration Service" gecos = "Channel Registration Service"
channels = "@#services" channels = "@#services"
} }
@ -971,7 +971,7 @@ service
{ {
nick = "GLOBAL" nick = "GLOBAL"
user = "_" user = "_"
host = "services/_" host = "services/SuperNETs"
gecos = "Global Noticer" gecos = "Global Noticer"
channels = "@#services" channels = "@#services"
} }
@ -1005,8 +1005,8 @@ command { service = "GLOBAL"; name = "SERVER"; command = "global/server"; permis
service service
{ {
nick = "HOSTSERV" nick = "HOSTSERV"
user = "_" user = "HS"
host = "services/_" host = "services/SuperNETs"
gecos = "vHost Service" gecos = "vHost Service"
channels = "@#services" channels = "@#services"
} }
@ -1061,8 +1061,8 @@ command { service = "HOSTSERV"; name = "SETALL"; command = "hostserv/setall"; pe
service service
{ {
nick = "MEMOSERV" nick = "MEMOSERV"
user = "_" user = "MS"
host = "services/_" host = "services/SuperNETs"
gecos = "Memo Service" gecos = "Memo Service"
channels = "@#services" channels = "@#services"
} }
@ -1128,8 +1128,8 @@ command { service = "MEMOSERV"; name = "STAFF"; command = "memoserv/staff"; perm
service service
{ {
nick = "NICKSERV" nick = "NICKSERV"
user = "_" user = "NS"
host = "services/_" host = "services/SuperNETs"
gecos = "Nickname Registration Service" gecos = "Nickname Registration Service"
channels = "@#services" channels = "@#services"
} }
@ -1140,7 +1140,7 @@ module
client = "NICKSERV" client = "NICKSERV"
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: /NS HELP REGISTER"
defaults = "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
@ -1151,7 +1151,7 @@ module
kill = 60s kill = 60s
restrictopernicks = yes restrictopernicks = yes
enforceruser = "OPERSERV" enforceruser = "OPERSERV"
enforcerhost = "services/_" enforcerhost = "services/SuperNETs"
releasetimeout = 1m releasetimeout = 1m
guestnickprefix = "`" guestnickprefix = "`"
nonicknameownership = no nonicknameownership = no
@ -1335,8 +1335,8 @@ module
service service
{ {
nick = "OPERSERV" nick = "OPERSERV"
user = "_" user = "OS"
host = "services/_" host = "services/SuperNETs"
gecos = "Operator Service" gecos = "Operator Service"
channels = "@#services" channels = "@#services"
} }
@ -1374,8 +1374,8 @@ module
level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions nonewmemos" level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions nonewmemos"
level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly nonewmemos" level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly nonewmemos"
level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients nonewmemos" level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients nonewmemos"
sessionlimit = 1024 sessionlimit = 2
akillexpire = 8m akillexpire = 4m
chanmodes = "+R" chanmodes = "+R"
globalondefcon = yes globalondefcon = yes
globalondefconmore = yes globalondefconmore = yes
@ -1509,13 +1509,13 @@ fantasy { name = "RELOAD"; command = "operserv/reload"; prepend_channel = false
module module
{ {
name = "os_session" name = "os_session"
defaultsessionlimit = 5 defaultsessionlimit = 8
maxsessionlimit = 100 maxsessionlimit = 1024
exceptionexpiry = 1d exceptionexpiry = 1d
sessionlimitexceeded = "The session limit for your IP %IP% has been exceeded." sessionlimitexceeded = "The session limit for your IP %IP% has been exceeded."
sessionlimitdetailsloc = "Contact admin about session limits." sessionlimitdetailsloc = "Contact admin about session limits."
maxsessionkill = 15 maxsessionkill = 0
sessionautokillexpiry = 30m sessionautokillexpiry = 4m
session_ipv4_cidr = 32 session_ipv4_cidr = 32
session_ipv6_cidr = 128 session_ipv6_cidr = 128
} }