From 7e88679a3a222e386457d309dd61ccd436661e1b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Nov 2024 13:14:21 +0000 Subject: [PATCH] updates to fix services --- Dockerfile | 4 +++- anope.conf | 42 +++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index 819cf23..d486e40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,9 @@ RUN git clone https://github.com/anope/anope.git WORKDIR /tmp/anope -RUN git checkout 2.1 +#RUN git checkout 2.1 + +#RUN git reset --hard 240f8b9e505af4888039769f5ce5a2388bdf228e WORKDIR /tmp/anope/modules diff --git a/anope.conf b/anope.conf index a5b2cc2..ce754e9 100644 --- a/anope.conf +++ b/anope.conf @@ -211,8 +211,8 @@ module service { nick = "BOTSERV" - user = "_" - host = "services/_" + user = "BS" + host = "services/SuperNETs" gecos = "Bot Service" channels = "@#services" alias = "BS" @@ -361,8 +361,8 @@ fantasy { name = "VOP"; command = "chanserv/xop"; } service { nick = "CHANSERV" - user = "_" - host = "services/_" + user = "CS" + host = "services/SuperNETs" gecos = "Channel Registration Service" channels = "@#services" } @@ -971,7 +971,7 @@ service { nick = "GLOBAL" user = "_" - host = "services/_" + host = "services/SuperNETs" gecos = "Global Noticer" channels = "@#services" } @@ -1005,8 +1005,8 @@ command { service = "GLOBAL"; name = "SERVER"; command = "global/server"; permis service { nick = "HOSTSERV" - user = "_" - host = "services/_" + user = "HS" + host = "services/SuperNETs" gecos = "vHost Service" channels = "@#services" } @@ -1061,8 +1061,8 @@ command { service = "HOSTSERV"; name = "SETALL"; command = "hostserv/setall"; pe service { nick = "MEMOSERV" - user = "_" - host = "services/_" + user = "MS" + host = "services/SuperNETs" gecos = "Memo Service" channels = "@#services" } @@ -1128,8 +1128,8 @@ command { service = "MEMOSERV"; name = "STAFF"; command = "memoserv/staff"; perm service { nick = "NICKSERV" - user = "_" - host = "services/_" + user = "NS" + host = "services/SuperNETs" gecos = "Nickname Registration Service" channels = "@#services" } @@ -1140,7 +1140,7 @@ module client = "NICKSERV" forceemail = 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" regdelay = 8m expire = 32y @@ -1151,7 +1151,7 @@ module kill = 60s restrictopernicks = yes enforceruser = "OPERSERV" - enforcerhost = "services/_" + enforcerhost = "services/SuperNETs" releasetimeout = 1m guestnickprefix = "`" nonicknameownership = no @@ -1335,8 +1335,8 @@ module service { nick = "OPERSERV" - user = "_" - host = "services/_" + user = "OS" + host = "services/SuperNETs" gecos = "Operator Service" channels = "@#services" } @@ -1374,8 +1374,8 @@ module level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions nonewmemos" level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly nonewmemos" level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients nonewmemos" - sessionlimit = 1024 - akillexpire = 8m + sessionlimit = 2 + akillexpire = 4m chanmodes = "+R" globalondefcon = yes globalondefconmore = yes @@ -1509,13 +1509,13 @@ fantasy { name = "RELOAD"; command = "operserv/reload"; prepend_channel = false module { name = "os_session" - defaultsessionlimit = 5 - maxsessionlimit = 100 + defaultsessionlimit = 8 + maxsessionlimit = 1024 exceptionexpiry = 1d sessionlimitexceeded = "The session limit for your IP %IP% has been exceeded." sessionlimitdetailsloc = "Contact admin about session limits." - maxsessionkill = 15 - sessionautokillexpiry = 30m + maxsessionkill = 0 + sessionautokillexpiry = 4m session_ipv4_cidr = 32 session_ipv6_cidr = 128 }