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

Configs updated for hidden service usage

This commit is contained in:
Dionysus 2023-10-01 00:10:32 -04:00
parent c25c8762aa
commit 13d9e78292
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
2 changed files with 48 additions and 30 deletions

View File

@ -1,11 +1,13 @@
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/badwords.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/badwords.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/except.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/except.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/ircd.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/ircd.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/modules.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/modules.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/opers.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/opers.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/snomasks.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/snomasks.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/spamfilter.conf"; include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/spamfilter.conf";
me { name "example.supernets.org"; info "SuperNETS IRC Network"; sid XXX; } me { name "example.supernets.org"; info "SuperNETS IRC Network"; sid XXX; }
listen { listen {
ip *; ip *;
port 6697; port 6697;
@ -23,4 +25,16 @@ listen {
certificate "tls/irc.crt"; certificate "tls/irc.crt";
key "tls/irc.key"; key "tls/irc.key";
} }
} }
listen {
file "/etc/tor/unrealircd/tor_ircd.socket";
mode 0777;
spoof-ip 127.0.0.2;
}
listen {
file "/etc/tor/unrealircd/tor_tls_ircd.socket";
mode 0777;
spoof-ip 127.0.0.2;
options { tls; }
}

View File

@ -33,12 +33,6 @@ allow { mask { 127.0.0.2; } class tor; maxperip 100; globa
listen { ip *; port 66606669; options { clientsonly; } } listen { ip *; port 66606669; options { clientsonly; } }
listen { ip *; port 7000; options { clientsonly; } } listen { ip *; port 7000; options { clientsonly; } }
listen { ip *; port REDACTED; options { serversonly; tls; } } listen { ip *; port REDACTED; options { serversonly; tls; } }
#listen {
# file "/etc/tor/unrealircd/tor_ircd.socket";
# mode 0777;
# spoof-ip 127.0.0.2;
# options { tls; }
#}
#require authentication { #require authentication {
# mask { *@127.0.0.2; } # mask { *@127.0.0.2; }
@ -235,25 +229,15 @@ set {
manual-ban-target ip; manual-ban-target ip;
hide-idle-time { policy always; } hide-idle-time { policy always; }
whois-details { whois-details {
bot { everyone none; self full; oper full; } bot { everyone none; self full; oper full; }
channels { everyone none; self full; oper full; } channels { everyone none; self full; oper full; }
oper { everyone none; self full; oper full; } oper { everyone none; self full; oper full; }
reputation { everyone full; self full; oper full; } reputation { everyone full; self full; oper full; }
server { everyone none; self full; oper full; } server { everyone none; self full; oper full; }
swhois { everyone full; self full; oper full; } swhois { everyone full; self full; oper full; }
} }
} }
set known-users {
auto-join "#superbowl";
}
set unknown-users {
auto-join "#blackhole";
static-quit "EMO-QUIT";
static-part "EMO-PART";
}
hideserver { hideserver {
disable-map yes; disable-map yes;
disable-links yes; disable-links yes;
@ -265,3 +249,23 @@ security-group known-users {
identified yes; identified yes;
reputation-score 10000; reputation-score 10000;
} }
security-group tor {
ip 127.0.0.2;
}
set known-users {
auto-join "#superbowl";
}
set unknown-users {
auto-join "#blackhole";
static-quit "EMO-QUIT";
static-part "EMO-PART";
}
set tor {
auto-join "#tor";
static-quit "EMO-QUIT";
static-part "EMO-PART";
}