Skip to content

Commit 46f20f5

Browse files
committed
Merge remote-tracking branch 'origin/refs/pull/63/head'
2 parents fe84610 + 32ab0a6 commit 46f20f5

File tree

1 file changed

+50
-8
lines changed

1 file changed

+50
-8
lines changed

ircd/files/ircd.yaml

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,14 @@ server:
127127
# already up and running is problematic).
128128
casemapping: "precis"
129129

130+
# enforce-utf8 controls whether the server allows non-UTF8 bytes in messages
131+
# (as in traditional IRC) or preemptively discards non-UTF8 messages (since
132+
# they cannot be relayed to websocket clients).
133+
enforce-utf8: true
134+
130135
# whether to look up user hostnames with reverse DNS
131136
# (to suppress this for privacy purposes, use the ip-cloaking options below)
132-
lookup-hostnames: true
137+
lookup-hostnames: false
133138
# whether to confirm hostname lookups using "forward-confirmed reverse DNS", i.e., for
134139
# any hostname returned from reverse DNS, resolve it back to an IP address and reject it
135140
# unless it matches the connecting IP
@@ -197,7 +202,7 @@ server:
197202

198203
# maximum length of clients' sendQ in bytes
199204
# this should be big enough to hold bursts of channel/direct messages
200-
max-sendq: 16k
205+
max-sendq: 96k
201206

202207
# compatibility with legacy clients
203208
compatibility:
@@ -268,7 +273,7 @@ server:
268273
enabled-for-always-on: true
269274

270275
# fake TLD at the end of the hostname, e.g., pwbs2ui4377257x8.oragono
271-
netname: "hashbang.sh"
276+
netname: "irc"
272277

273278
# the cloaked hostname is derived only from the CIDR (most significant bits
274279
# of the IP address), up to a configurable number of bits. this is the
@@ -463,6 +468,14 @@ channels:
463468
# how many channels can each account register?
464469
max-channels-per-account: 15
465470

471+
# as a crude countermeasure against spambots, anonymous connections younger
472+
# than this value will get an empty response to /LIST (a time period of 0 disables)
473+
list-delay: 0s
474+
475+
# INVITE to an invite-only channel expires after this amount of time
476+
# (0 or omit for no expiration):
477+
invite-expiration: 24h
478+
466479
# operator classes
467480
oper-classes:
468481
# local operator
@@ -472,10 +485,11 @@ oper-classes:
472485

473486
# capability names
474487
capabilities:
475-
- "oper:local_kill"
476-
- "oper:local_ban"
477-
- "oper:local_unban"
488+
- "local_kill"
489+
- "local_ban"
490+
- "local_unban"
478491
- "nofakelag"
492+
- "relaymsg"
479493

480494
# network operator
481495
"network-oper":
@@ -501,13 +515,15 @@ oper-classes:
501515

502516
# capability names
503517
capabilities:
504-
- "oper:rehash"
505-
- "oper:die"
518+
- "rehash"
519+
- "die"
506520
- "accreg"
507521
- "sajoin"
508522
- "samode"
509523
- "vhosts"
510524
- "chanreg"
525+
- "history"
526+
- "defcon"
511527

512528
# ircd operators
513529
opers:
@@ -798,6 +814,32 @@ history:
798814
# you can control how they are stored here (same options as above)
799815
direct-messages: "opt-out"
800816

817+
# options to control how messages are stored and deleted:
818+
retention:
819+
# allow users to delete their own messages from history?
820+
allow-individual-delete: false
821+
822+
# if persistent history is enabled, create additional index tables,
823+
# allowing deletion of JSON export of an account's messages. this
824+
# may be needed for compliance with data privacy regulations.
825+
enable-account-indexing: false
826+
827+
# options to control storage of TAGMSG
828+
tagmsg-storage:
829+
# by default, should TAGMSG be stored?
830+
default: false
831+
832+
# if `default` is false, store TAGMSG containing any of these tags:
833+
whitelist:
834+
- "+draft/react"
835+
- "react"
836+
837+
# if `default` is true, don't store TAGMSG containing any of these tags:
838+
#blacklist:
839+
# - "+draft/typing"
840+
# - "typing"
841+
842+
801843
# whether to allow customization of the config at runtime using environment variables,
802844
# e.g., ORAGONO__SERVER__MAX_SENDQ=128k. see the manual for more details.
803845
allow-environment-overrides: true

0 commit comments

Comments
 (0)