Daniel Oaks
6260869068
Upgrade password hashing.
Previously, we generated and prepended a long salt before generating
password hashes. This resulted in the hash verification cutting off long
before it should do. This form of salting is also not necessary with
bcrypt as it's provided by the password hashing and verification
functions themselves, so totally rip it out.
This commit also adds the functionality for the server to automagically
upgrade users to use the new hashing system, which means better
security and more assurance that people can't bruteforce passwords.
No need to apply a database upgrade to do this, whoo! \o/
пре 6 година
Shivaram Lingamneni
7154f14781
move handling of RecoverFromErrors into LoadConfig
пре 6 година
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
пре 6 година
Shivaram Lingamneni
318da22448
simplify CAS logic a bit
пре 6 година
Shivaram Lingamneni
1e513a717c
expand bitset tests
пре 6 година
Shivaram Lingamneni
a1bbe0c7f2
review fix
пре 6 година
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
пре 6 година
Shivaram Lingamneni
cdbb369a9c
add benchmarks for caps.Set
пре 6 година
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
пре 6 година
Shivaram Lingamneni
c3b66b5236
add a verification code to CS UNREGISTER
пре 6 година
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
пре 6 година
Daniel Oaks
45b8d9e6fa
Update snomask to work with HOPM
пре 6 година
Shivaram Lingamneni
495705f538
implement SAJOIN, allow channel founders to join unconditionally
пре 6 година
Shivaram Lingamneni
d3815fbe61
review fixes and updates
пре 6 година
Shivaram Lingamneni
7122fb180c
add a test
пре 6 година
Shivaram Lingamneni
1016f86f70
implement CHANSERV AMODE
пре 6 година
Shivaram Lingamneni
f408d0f37b
review fix: add nil receivers to other read-only ModeSet methods
пре 6 година
Shivaram Lingamneni
0751f52f37
fix #268
пре 6 година
Daniel Oaks
f142bf065d
services: Explicitly show when commands have been disabled in the HELP output
пре 6 година
Shivaram Lingamneni
510f4320d0
fix formatting issue
пре 6 година
Shivaram Lingamneni
f6373f7a4d
fix #262
пре 6 година
Shivaram Lingamneni
be588076e9
optimize IsLoggingRawIO
пре 6 година
Shivaram Lingamneni
3150f4e23b
reduce copying of output lines
пре 6 година
Shivaram Lingamneni
ebfef1e848
add Semaphore and ServerSemaphores
пре 6 година
Shivaram Lingamneni
6533893863
optimized implementation of Channel.Names()
пре 6 година
Shivaram Lingamneni
ef35c587fc
remove redundant friends computation
пре 6 година
Shivaram Lingamneni
b97ae00fe3
refactor channel join and part
пре 6 година
Shivaram Lingamneni
abbbd2c899
review fix
пре 6 година
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
пре 6 година
Shivaram Lingamneni
43b90f2a85
have travis enforce gofmt, #253
пре 6 година
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
пре 6 година
moocow
744ad2ce0b
Stats for LUSERS logic now seperated, fixed params in LUSERS
пре 6 година
Shivaram Lingamneni
393070b7d9
fix #249
пре 6 година
Shivaram Lingamneni
3db71415c9
review fixes
пре 6 година
moortens
0b3abb5bde
Fixed LUSERS count not subtracting invisible users
пре 6 година
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
пре 6 година
Daniel Oaks
40d6cd02da
Fix whois channel handling
пре 6 година
Shivaram Lingamneni
69fd3ac324
implement database auto-upgrades (#243)
пре 6 година
Shivaram Lingamneni
f6d2dade4e
fix fakelag double-rate issue
Basically, fakelag was counting the time imposed by its own sleeps as though
the user had themselves paused for that amount of time. Therefore, if a user
sent a large number of consecutive commands, every other command would pause
for the expected throttle interval, but the subsequent command would be
processed instantly (you'd get two back-to-back commands). This resulted in
throttled users being able to send at double the expected rate.
пре 6 година
Daniel Oaks
5811226760
Only allow valid snomasks to be set
пре 6 година
Shivaram Lingamneni
f54561171e
try to reduce redundant goroutines
пре 6 година
Daniel Oaks
22f9df388d
Fix trailing hack
пре 6 година
Daniel Oaks
dd6aacee61
Setup v0.12.0-unreleased devel ver
пре 6 година
Daniel Oaks
31e5db9c1e
Release v0.11.0
пре 6 година
Shivaram Lingamneni
4778e7bcc7
fixes
* Placate `go vet`
* Reorder the `send` loop, clarify things a little
пре 6 година
Shivaram Lingamneni
b2f798cf03
eliminate dedicated RunSocketWriter goroutine
пре 6 година
Daniel Oaks
27c575e191
Um... name monitor subcommands handler properly
пре 6 година
Daniel Oaks
df17b77266
Back to -unreleased
пре 6 година
Daniel Oaks
26fcb2ebbc
Release v0.11.0-beta
пре 6 година
Shivaram Lingamneni
363b120cc5
fix #227
пре 6 година