Compare commits

...

2 Commits

Author SHA1 Message Date
Dionysus 13d9e78292
Configs updated for hidden service usage 2023-10-01 00:10:32 -04:00
Dionysus c25c8762aa
Fixed tor 127.0.0.2 exemption 2023-09-30 22:34:36 -04:00
3 changed files with 59 additions and 41 deletions

View File

@ -9,23 +9,23 @@ except ban {
# Tor Hidden Service
except ban {
mask { ip 127.0.0.2; }
type { blacklist; connect-flood; maxperip; handshake-data-flood; }
type { all; }
}
# Local
except ban {
mask {
ip { 127.0.0.1; ::1; }
ip { 198.251.80.56; } # blackhole
ip { 149.202.251.251; } # blackflag
ip { 54.36.102.218; } # contra
ip { 45.61.188.116; } # darpa
ip { 51.89.151.158; } # gator
ip { 198.98.52.138; } # nutty
ip { 45.153.48.83; } # scram
ip { 107.174.158.185; } # shrimp
ip { 65.75.209.67; } # war
ip { 139.144.202.79; } # wildwest
ip { 198.251.80.56; }
ip { 149.202.251.251; }
ip { 54.36.102.218; }
ip { 45.61.188.116; }
ip { 51.89.151.158; }
ip { 198.98.52.138; }
ip { 45.153.48.83; }
ip { 107.174.158.185; }
ip { 65.75.209.67; }
ip { 139.144.202.79; }
}
type { all; }
}

View File

@ -1,11 +1,13 @@
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/badwords.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/except.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/ircd.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/modules.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/opers.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/snomasks.conf";
include "https://USERNAME:PASSWORD@HOSTNAME:PORT/spamfilter.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/badwords.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/except.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/ircd.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/modules.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/opers.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/snomasks.conf";
include "https://USERNAME:PASSWORD@hub.supernets.org:PORT/spamfilter.conf";
me { name "example.supernets.org"; info "SuperNETS IRC Network"; sid XXX; }
listen {
ip *;
port 6697;
@ -23,4 +25,16 @@ listen {
certificate "tls/irc.crt";
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 7000; options { clientsonly; } }
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 {
# mask { *@127.0.0.2; }
@ -235,25 +229,15 @@ set {
manual-ban-target ip;
hide-idle-time { policy always; }
whois-details {
bot { everyone none; self full; oper full; }
channels { everyone none; self full; oper full; }
oper { everyone none; self full; oper full; }
reputation { everyone full; self full; oper full; }
server { everyone none; self full; oper full; }
swhois { everyone full; self full; oper full; }
bot { everyone none; self full; oper full; }
channels { everyone none; self full; oper full; }
oper { everyone none; self full; oper full; }
reputation { everyone full; self full; oper full; }
server { everyone none; 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 {
disable-map yes;
disable-links yes;
@ -265,3 +249,23 @@ security-group known-users {
identified yes;
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";
}