From 81d687a5afcd713415704b0c5ca7e681de818388 Mon Sep 17 00:00:00 2001 From: philoctetes409bc Date: Tue, 1 Dec 2020 23:18:34 -0500 Subject: [PATCH] add user auth for tor dmz --- config/anope/chanserv.conf | 31 ---------------------------- config/hybrid/.#tor-dmz.classes.conf | 1 + config/hybrid/tor-dmz.auth.conf | 5 +++++ config/hybrid/tor-dmz.exempt.conf | 4 ++-- 4 files changed, 8 insertions(+), 33 deletions(-) create mode 120000 config/hybrid/.#tor-dmz.classes.conf diff --git a/config/anope/chanserv.conf b/config/anope/chanserv.conf index cf8d6f2..778ca85 100644 --- a/config/anope/chanserv.conf +++ b/config/anope/chanserv.conf @@ -533,37 +533,6 @@ command { command = "chanserv/set/private"; } -module -{ - name = "cs_log"; - - #default - { - command = "chanserv/modes" - method = "MESSAGE @" - } - - #default - { - service = "ChanServ" - command = "ACCESS" - method = "MESSAGE @" - } - - #default - { - command = "chanserv/xop" - method = "MESSAGE @" - } - - #default - { - service = "ChanServ" - command = "FLAGS" - method = "MESSAGE @" - } -} - command { service = "ChanServ"; name = "LOG"; diff --git a/config/hybrid/.#tor-dmz.classes.conf b/config/hybrid/.#tor-dmz.classes.conf new file mode 120000 index 0000000..8ba3772 --- /dev/null +++ b/config/hybrid/.#tor-dmz.classes.conf @@ -0,0 +1 @@ +toor@linux-u55l.26602:1606810927 \ No newline at end of file diff --git a/config/hybrid/tor-dmz.auth.conf b/config/hybrid/tor-dmz.auth.conf index 9e56fef..ac68f03 100644 --- a/config/hybrid/tor-dmz.auth.conf +++ b/config/hybrid/tor-dmz.auth.conf @@ -3,3 +3,8 @@ */ .include + +auth { + user = "*@*"; + class = "tor_dmz_users"; +}; diff --git a/config/hybrid/tor-dmz.exempt.conf b/config/hybrid/tor-dmz.exempt.conf index ef0aaa0..b3373f4 100644 --- a/config/hybrid/tor-dmz.exempt.conf +++ b/config/hybrid/tor-dmz.exempt.conf @@ -5,7 +5,7 @@ .include exempt { - ip = "100.64.65.0/29"; - ip = "100.64.64.8/29"; + ip = "100.64.65.2"; + ip = "100.64.65.10"; };