Daniel Oaks
bf04dc24f9
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 år sedan
Daniel Oaks
dcb15d619d
manual: Update date!
6 år sedan
Daniel Oaks
a00cb3f8cd
manual: Add basic Commands section that just points to integrated help
6 år sedan
Daniel Oaks
ada1d0a091
readme: Update ns reg instructions
6 år sedan
Daniel Oaks
ab6cd599b2
Fix name of ISUPPORT token (REGCOMMANDS -> ACCCOMMANDS)
6 år sedan
Daniel Oaks
d39cc5f5fe
docs: Update manual with new CS/NS commands
6 år sedan
Daniel Oaks
5cbd4d1de2
Force help entries for every ChanServ command as well
6 år sedan
Daniel Oaks
1c636aaec6
nickserv.go: Fix comment
6 år sedan
Daniel Oaks
6fb4284e32
Refactor chanserv.go to match nickserv.go, unify the two
6 år sedan
Daniel Oaks
9af74d367a
nickserv.go: Move comment to right place
6 år sedan
Daniel Oaks
e0b0ccd7dc
updatetranslations script now grabs nickserv help entries
6 år sedan
Daniel Oaks
7b8c4e7e91
Refactor nickserv.go to better support NS HELP and translations
6 år sedan
Daniel Oaks
a39c46d470
Fix registered-only modes in docs (it's +R, not +r)
6 år sedan
Daniel Oaks
0e4e074d43
Update changelog
6 år sedan
Daniel Oaks
73bb43ef2e
Tweak the default fakelag cooldown juuuust a touch
6 år sedan
Daniel Oaks
46c98c2cf5
Fix CHANSERV OP
6 år sedan
Daniel Oaks
a67dfe37ca
Add CHANSERV OP (thanks benharri for making the request!)
6 år sedan
Daniel Oaks
470965674c
Changelog updated
6 år sedan
Daniel Oaks
5ce56bfb4f
Add colour charts to the default MOTD, including 16-98 extended colours
6 år sedan
Shivaram Lingamneni
f83b31a413
Merge pull request #223 from mordyovits/patch-1
README.md: self-signed, not unsigned
6 år sedan
Mordy Ovits
5a367b8c6c
README.md: self-signed, not unsigned
6 år sedan
Shivaram Lingamneni
7cfa75a59e
Merge pull request #218 from slingamn/socketwriter.1
refactor irc.Socket
6 år sedan
Shivaram Lingamneni
65f2e95d2b
Merge pull request #222 from slingamn/fakelag.3
implement fakelag (#189 )
6 år sedan
Shivaram Lingamneni
36018174b0
default fakelag to off, add explicit cooldown config
6 år sedan
Daniel Oaks
237931cd00
Merge pull request #220 from slingamn/issue217.1
partial fix for #217
6 år sedan
Daniel Oaks
abb1825ee8
Merge pull request #219 from slingamn/travis.1
try to fix travis by pinning a goreleaser release
6 år sedan
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
6 år sedan
Shivaram Lingamneni
a8b952da77
store maxSendQBytes in a uint32 to avoid alignment problems
The sync.atomic documentation says:
"On both ARM and x86-32, it is the caller's responsibility to arrange
for 64-bit alignment of 64-bit words accessed atomically."
6 år sedan
Shivaram Lingamneni
2885b37768
partial fix for #217
See discussion on issue; this might not be a complete fix but it's
definitely better than the current behavior.
6 år sedan
Shivaram Lingamneni
d1f5c59eef
fix #190
6 år sedan
Shivaram Lingamneni
8fd1446627
tweak: clean up Socket.Close()
6 år sedan
Shivaram Lingamneni
d324418df4
try to fix travis by pinning a goreleaser release
6 år sedan
Shivaram Lingamneni
0a432c9d99
do an actual nonblocking send instead of the len() trick
6 år sedan
Shivaram Lingamneni
fa5d4be718
refactor irc.Socket
6 år sedan
Daniel Oaks
e3e714059c
Merge pull request #215 from slingamn/issue214
fix #214
6 år sedan
Shivaram Lingamneni
f5f6b95662
fix #214
6 år sedan
Shivaram Lingamneni
b0f262bc0c
Merge pull request #206 from slingamn/ghost.2
nickserv: implement GHOST, GROUP, DROP, and INFO
6 år sedan
Shivaram Lingamneni
b8f37e4e6c
fix bad interaction between nickTimer.Stop() and accounts.Logout()
Sequence of events:
1. client.nickTimer.Stop()
2. client.server.accounts.Logout(client)
3. accounts sees that client is no longer logged in, does client.nickTimer.Touch()
4. 30 seconds later, RandomlyRename resurrects the zombie client
6 år sedan
Shivaram Lingamneni
fd34c78d6b
add sadrop command
6 år sedan
Shivaram Lingamneni
c6124f9d8a
Merge pull request #210 from slingamn/pprof.2
add an option to expose a pprof http endpoint
6 år sedan
Shivaram Lingamneni
288203152a
comment out the pprof setting in the example config
6 år sedan
Shivaram Lingamneni
211ed6af99
add an option to expose a pprof http endpoint
6 år sedan
Shivaram Lingamneni
679f25491c
can't reserve a nick that's the name of an unverified account
6 år sedan
Shivaram Lingamneni
47b9fe50be
can't register an account with the same name as a registered nick
6 år sedan
Shivaram Lingamneni
a022befffe
nickserv: implement GHOST, GROUP, DROP, and INFO
6 år sedan
Daniel Oaks
b211fd35da
Merge pull request #205 from slingamn/issue204
fix #204
6 år sedan
Shivaram Lingamneni
ef99bc48d1
fix #204
Empty channels were only cleaned up on PART, not QUIT.
6 år sedan
Daniel Oaks
898fb41485
Merge pull request #203 from slingamn/rereg
two nickname reservation fixes
6 år sedan
Shivaram Lingamneni
757566ca45
turn down default verify timeout
6 år sedan
Shivaram Lingamneni
945dec9964
ensure the nick timeout mechanism is cleaned up on client quit
6 år sedan