Shivaram Lingamneni
3ff586e821
don't read globalCasemappingSetting in generateISupport
The isupport is always a pure function of the Config object,
not of Server or any globals.
4 years ago
Shivaram Lingamneni
90b428b416
fix #745
4 years ago
Shivaram Lingamneni
2db14c91b9
review fixes
4 years ago
Shivaram Lingamneni
05cb80507f
fix #741
4 years ago
Shivaram Lingamneni
11ca86028c
fix #741
4 years ago
Shivaram Lingamneni
6838d19acc
don't check the real IP for bans on proxy-before-TLS
In the k8s PROXY-before-TLS setting, we don't know all the IPs
of the load balancers, so we can't whitelist them, so they're at
risk of being d-lined.
4 years ago
Shivaram Lingamneni
2110f3dad7
fix #705
4 years ago
Shivaram Lingamneni
eb630b7657
Revert "never set the certfp lookup key before verification"
This reverts commit a120cc2443 .
4 years ago
Shivaram Lingamneni
a120cc2443
never set the certfp lookup key before verification
4 years ago
Shivaram Lingamneni
1b35c6887f
fix #733
4 years ago
Shivaram Lingamneni
d67d77bee7
fix #731
4 years ago
Shivaram Lingamneni
bc0712b19b
fix #727
4 years ago
Shivaram Lingamneni
bd822853bc
fix some translation warnings
4 years ago
Shivaram Lingamneni
f920d3b79f
fix #530, #721
4 years ago
Shivaram Lingamneni
47ac8e984f
remove unnecessary helper
4 years ago
Shivaram Lingamneni
8c1db7a2f5
better UX for cancelling channel transfers
4 years ago
Shivaram Lingamneni
33c8b2177e
fix a bug
In the previous commit, the client would receive a failure message but would
actually remain logged in after an authzid/authcid mismatch. This was a
correctness rather than a security issue, but now it's fixed so that the client
never logs in in the first place.
4 years ago
Shivaram Lingamneni
c8ccf94936
fix #716
4 years ago
Shivaram Lingamneni
9b5d6bf746
fix #713
4 years ago
Shivaram Lingamneni
1487980fe0
Fix #710
4 years ago
Shivaram Lingamneni
cd3ff3922e
fill in more authzid/authcid details
4 years ago
Pavel Djundik
6831b0ffdc
Fix `authcid` variable name
4 years ago
Shivaram Lingamneni
358c4b7d81
implement draft/multiline
4 years ago
Shivaram Lingamneni
4391b1ba5a
restrict ASCII mode to printable characters only
4 years ago
Shivaram Lingamneni
781bb6b051
more systematic bad-character check in permissive mode
4 years ago
Shivaram Lingamneni
2d4dbeba1c
disallow some bad characters in foldPermissive
4 years ago
Shivaram Lingamneni
76a8768d05
make rehash-enable logic a little more uniform
4 years ago
Shivaram Lingamneni
bd6c2117e8
fix analogous issue for history
History couldn't be enabled by rehash if autoresize-window was nonzero.
4 years ago
Shivaram Lingamneni
26ca016c66
fix the analogous issue for vhosts
4 years ago
Shivaram Lingamneni
25c4eb2996
fix #702
4 years ago
Shivaram Lingamneni
0df25e0e30
remove redundant error check
4 years ago
Shivaram Lingamneni
01488bfe2e
slightly more defensive implementation of /OPER check
4 years ago
Shivaram Lingamneni
78da024b24
improve an error message
4 years ago
Shivaram Lingamneni
0c33c3399f
fix #347
4 years ago
Shivaram Lingamneni
b717402b5e
implement review feedback
1. If both fingerprint and hash are specified, require both instead of either
2. Implement auto-oper on connect
4 years ago
Shivaram Lingamneni
6033d9f569
tweaks for consistency
4 years ago
Shivaram Lingamneni
6740222ecb
fix #616
4 years ago
Shivaram Lingamneni
e143aaa83f
fix #696
4 years ago
Shivaram Lingamneni
f9b5224ae0
have realSkeleton use cases.Fold as well
4 years ago
Shivaram Lingamneni
91d6888b7e
fix #693
4 years ago
Shivaram Lingamneni
ab444a3980
remove unnecessary uses of Casefold
4 years ago
Shivaram Lingamneni
f1e2bbc0e4
more permissive hostname validation
In particular, allow hostnames without periods (like on a LAN).
This shouldn't be a client compability concern since we allow
vhosts without periods.
4 years ago
Shivaram Lingamneni
4b37b5dd3e
tweak to avoid a potential data race
4 years ago
Shivaram Lingamneni
b468baa959
allow NS SESSIONS targeting yourself
4 years ago
Shivaram Lingamneni
3480f124cd
fix #688
4 years ago
Shivaram Lingamneni
c5a81d59ff
fix #581
4 years ago
Shivaram Lingamneni
07865b8f63
chanserv enhancements and miscellaneous fixes
* Fix #684
* Fix #683
* Add `CHANSERV CLEAR`
* Allow mode changes from channel founders even when they aren't joined
* Operators with the chanreg capability are exempt from max-channels-per-account
* Small fixes and cleanup
4 years ago
Shivaram Lingamneni
438d1f0488
fix bad ERR_WASNOSUCHNICK responses
4 years ago
Shivaram Lingamneni
bcc58be8af
remove some redundant casefolds
4 years ago
Shivaram Lingamneni
08f351060e
fix #682
4 years ago