Shivaram Lingamneni
12947644e2
remove SCRAM-SHA-256 from advertised SASL mechanisms
Advertising SCRAM-SHA-256 breaks irccloud, which doesn't fall back to PLAIN
if it sees SCRAM advertised but SCRAM then fails (as is the case for any
account password hashed on Ergo 2.7 or lower).
Leave a config option for irctest to enable it in the controller.
hace 2 años
Valentin Lorentz
f6f25039b7
Advertise support for multiple KICK targets
This is already implemented, but TARGMAX=KICK:1 says it isn't.
Instead, let's advertise that indefinitely many targets are allowed.
Refs:
* https://defs.ircdocs.horse/defs/isupport.html#targmax
* https://github.com/ircdocs/modern-irc/pull/112
hace 2 años
Shivaram Lingamneni
e1401934df
implement SCRAM-SHA-256
hace 2 años
Shivaram Lingamneni
59bddd066f
update draft/register -> draft/account-registration
Fixes #1740
hace 3 años
Shivaram Lingamneni
0751f31b9e
fix #1722
Validate operator vhosts against the configured (or default)
vhosts.valid-regexp
hace 3 años
Shivaram Lingamneni
b68696eb9b
fix #1714
Fix a panic if the operator class title is empty
hace 3 años
Shivaram Lingamneni
4910aefa37
use ergochat/irc-go instead of goshuirc/irc-go
hace 3 años
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
hace 3 años
Shivaram Lingamneni
7c5a8f2013
make MaxLineLen configurable
hace 3 años
Shivaram Lingamneni
ba21987d03
remove draft/resume-0.5
hace 3 años
Shivaram Lingamneni
2d31a16647
propagate require-sasl into tor-listeners.require-sasl
hace 3 años
Shivaram Lingamneni
97ba1c3d63
fix #1634:
1. Fix auth bypass in the default configuration with the addition of
server.password (the REGISTER command was allowed before connection
registration, allowing unauthenticated users to REGISTER and then
take advantage of skip-server-password)
2. Caution operators against the use of require-sasl without disabling
user-initiated account registration. (Such a configuration is still valid
in the case of a public server that requires everyone to register.)
hace 3 años
Shivaram Lingamneni
5eed48c077
fix #1622
Allow users to set max MySQL connections and connection lifetime;
set a sane default for max connections if it's not present.
hace 3 años
Shivaram Lingamneni
517b776b62
don't call (*Config).prepareListeners twice
hace 3 años
Shivaram Lingamneni
1a5d079670
fix #1611
Allow setting the minimum TLS version
hace 3 años
Shivaram Lingamneni
8dd12b0693
publish the FORWARD 005 token
hace 3 años
Shivaram Lingamneni
aecb28a616
support SNI
hace 3 años
Shivaram Lingamneni
f9c1a00b91
populate (tls.Certificate).Leaf
hace 3 años
Shivaram Lingamneni
03185ea4a9
deprecate message truncation
Implements #1577 , but the issue should remain open until we clean up
the debugging loglines.
hace 3 años
Shivaram Lingamneni
29666107ab
fix #1559
Improve debuggability of some config deserialization errors
hace 3 años
Shivaram Lingamneni
9e25a3027a
fix #1549
If history is disabled, disable the history CAPs
hace 3 años
Shivaram Lingamneni
430b40fc2f
upgrade go to 1.16
Fixes #1510
hace 3 años
Shivaram Lingamneni
4a48e52518
fix #1490
Track channel join times, use them to optionally enforce history access
restrictions
hace 3 años
Shivaram Lingamneni
64bc363cf1
fix #1443
Improve auditability of sensitive operator actions
hace 3 años
Shivaram Lingamneni
e195854851
fix #1442
strip local_ from oper capab names, also consolidate unban into ban
hace 3 años
Shivaram Lingamneni
db81b15acb
initial work on #1483
Add the new utf8-only cap, disallow non-utf8 when websockets are enabled
hace 3 años
Shivaram Lingamneni
48166b5b4b
Implement expiration for always-on clients
Fixes #810
hace 3 años
Shivaram Lingamneni
45471138d2
update nick reservation docs
hace 3 años
Shivaram Lingamneni
7bdbb01238
fix #1428
Tor listeners should never see an STS cap.
Add an undocumented 'hide-sts' key for listeners that hides the STS cap.
This can be used if the listener is secured at layer 3 or 4 (VPNs,
E2E mixnets). It will be necessary to add the relevant IPs to `secure-nets`.
hace 3 años
Shivaram Lingamneni
3ee6fd1f6c
allow overriding services hostname
Fixes #1407
hace 3 años
Shivaram Lingamneni
3062f97c2b
fix #1389
Support PROXY protocol v2, including ahead of plaintext connections
hace 3 años
Shivaram Lingamneni
42d246b557
improve security properties of INVITE
See #1171 .
hace 3 años
Shivaram Lingamneni
203fc580f4
fix #1049
hace 3 años
Shivaram Lingamneni
cf5a426f90
fix #1346
hace 3 años
Shivaram Lingamneni
bd40b46639
fix #307
hace 3 años
Shivaram Lingamneni
a30e369225
add +u and +U to CHANMODES token
hace 3 años
Shivaram Lingamneni
76e3d67b66
replace suppress-ident with coerce-ident
hace 3 años
Shivaram Lingamneni
a37a91694c
fix #1337
hace 3 años
Shivaram Lingamneni
4ee97ddb43
USERHOST needs to respect hidden operators as well
hace 3 años
Shivaram Lingamneni
78b2f61707
fix #1194
hace 3 años
Shivaram Lingamneni
9ed789f67c
fix #1075
hace 3 años
Alex Jaspersen
504659abb5
Add +M (only registered/voice can speak) chanmode.
Add chanmode preventing speech to error message.
Fixes #1182 .
hace 3 años
Shivaram Lingamneni
6a0d11d449
make roleplay.enabled default to false when unset
See #1240 .
hace 3 años
Shivaram Lingamneni
1a98a37a75
scripting API for IP bans
See discussion on #68 .
hace 3 años
Shivaram Lingamneni
af056f26a9
fixes and refactoring
hace 3 años
Shivaram Lingamneni
307adba8bd
fix #1213
hace 3 años
Shivaram Lingamneni
20fcbe5147
remove stray references to timeout enforcement
These should have been removed in #1027 .
hace 3 años
Shivaram Lingamneni
6628a3d1c6
fix #1244
hace 3 años
Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
hace 3 años
Shivaram Lingamneni
9000383f88
Move config errors to call sites
Since allocating them is rare.
hace 3 años