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 gadus atpakaļ
Shivaram Lingamneni
c8ccf94936
fix #716
4 gadus atpakaļ
Shivaram Lingamneni
9b5d6bf746
fix #713
4 gadus atpakaļ
Shivaram Lingamneni
1487980fe0
Fix #710
4 gadus atpakaļ
Shivaram Lingamneni
cd3ff3922e
fill in more authzid/authcid details
4 gadus atpakaļ
Pavel Djundik
6831b0ffdc
Fix `authcid` variable name
4 gadus atpakaļ
Shivaram Lingamneni
76a8768d05
make rehash-enable logic a little more uniform
4 gadus atpakaļ
Shivaram Lingamneni
bd6c2117e8
fix analogous issue for history
History couldn't be enabled by rehash if autoresize-window was nonzero.
4 gadus atpakaļ
Shivaram Lingamneni
26ca016c66
fix the analogous issue for vhosts
4 gadus atpakaļ
Shivaram Lingamneni
25c4eb2996
fix #702
4 gadus atpakaļ
Shivaram Lingamneni
01488bfe2e
slightly more defensive implementation of /OPER check
4 gadus atpakaļ
Shivaram Lingamneni
78da024b24
improve an error message
4 gadus atpakaļ
Shivaram Lingamneni
0c33c3399f
fix #347
4 gadus atpakaļ
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 gadus atpakaļ
Shivaram Lingamneni
6033d9f569
tweaks for consistency
4 gadus atpakaļ
Shivaram Lingamneni
6740222ecb
fix #616
4 gadus atpakaļ
Shivaram Lingamneni
e143aaa83f
fix #696
4 gadus atpakaļ
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 gadus atpakaļ
Shivaram Lingamneni
4b37b5dd3e
tweak to avoid a potential data race
4 gadus atpakaļ
Shivaram Lingamneni
b468baa959
allow NS SESSIONS targeting yourself
4 gadus atpakaļ
Shivaram Lingamneni
3480f124cd
fix #688
4 gadus atpakaļ
Shivaram Lingamneni
c5a81d59ff
fix #581
4 gadus atpakaļ
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 gadus atpakaļ
Shivaram Lingamneni
438d1f0488
fix bad ERR_WASNOSUCHNICK responses
4 gadus atpakaļ
Shivaram Lingamneni
bcc58be8af
remove some redundant casefolds
4 gadus atpakaļ
Shivaram Lingamneni
08f351060e
fix #682
4 gadus atpakaļ
Shivaram Lingamneni
0880f20f4b
fix analogous invalid parameters for ERR_NOSUCHNICK
4 gadus atpakaļ
Shivaram Lingamneni
aa8579b6e8
Assorted fixes
* Fix #679 (borked reply to `JOIN #chan,\r\n`)
* Replace invalid error parameters with *'s in various places
* Fix PART with no message sending an empty trailing parameter to the channel
* Fix some error responses not getting labeled
4 gadus atpakaļ
Shivaram Lingamneni
2d456c2106
review feedback: rename a key
4 gadus atpakaļ
Shivaram Lingamneni
7432ef07a7
rename some variables for clarity
4 gadus atpakaļ
Shivaram Lingamneni
50783d5276
fix #561, take 2
4 gadus atpakaļ
Shivaram Lingamneni
42db1778ac
unexport rawLimiterConfig
4 gadus atpakaļ
Shivaram Lingamneni
babd8b1da9
fix #671
4 gadus atpakaļ
Shivaram Lingamneni
4050b6571a
fix #646
Includes a partially backwards-incompatible config change
4 gadus atpakaļ
Shivaram Lingamneni
149c9b45e8
bump version
4 gadus atpakaļ
Shivaram Lingamneni
d1ed5e4cbf
bump version and changelog
4 gadus atpakaļ
Shivaram Lingamneni
ae9aecbbb0
increase max cap line length
Workaround for #661 : this makes the `CAP LS 302` line from the default config
fit on a single line, as long as the server name is at most 35 characters.
4 gadus atpakaļ
Shivaram Lingamneni
a75d26a46b
refactor cap line splitting
4 gadus atpakaļ
Shivaram Lingamneni
507740464a
bump version
4 gadus atpakaļ
Shivaram Lingamneni
b6cdb51f00
fix #652
4 gadus atpakaļ
Shivaram Lingamneni
baa71ba2be
remove unnecessary special-casing for ASCII
4 gadus atpakaļ
Shivaram Lingamneni
82c5041225
fix #649
4 gadus atpakaļ
Shivaram Lingamneni
332f0d8d91
fix #644
4 gadus atpakaļ
Shivaram Lingamneni
24c103da5a
fix #642
4 gadus atpakaļ
Shivaram Lingamneni
40df122c73
remove unused getters
4 gadus atpakaļ
Shivaram Lingamneni
45476079a1
make semaphores O(1) in storage
4 gadus atpakaļ
Shivaram Lingamneni
06b1e7b603
fix #632
4 gadus atpakaļ
Shivaram Lingamneni
c1acf3ea43
move ISUPPORT regeneration to the end of config loading
4 gadus atpakaļ
Shivaram Lingamneni
1ce716582a
make CHANTYPES a constant
4 gadus atpakaļ
Shivaram Lingamneni
584f2261a8
fix #625
4 gadus atpakaļ