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 година
Daniel Oaks
dcb15d619d
manual: Update date!
пре 6 година
Daniel Oaks
a00cb3f8cd
manual: Add basic Commands section that just points to integrated help
пре 6 година
Daniel Oaks
ada1d0a091
readme: Update ns reg instructions
пре 6 година
Daniel Oaks
ab6cd599b2
Fix name of ISUPPORT token (REGCOMMANDS -> ACCCOMMANDS)
пре 6 година
Daniel Oaks
d39cc5f5fe
docs: Update manual with new CS/NS commands
пре 6 година
Daniel Oaks
5cbd4d1de2
Force help entries for every ChanServ command as well
пре 6 година
Daniel Oaks
1c636aaec6
nickserv.go: Fix comment
пре 6 година
Daniel Oaks
6fb4284e32
Refactor chanserv.go to match nickserv.go, unify the two
пре 6 година
Daniel Oaks
9af74d367a
nickserv.go: Move comment to right place
пре 6 година
Daniel Oaks
e0b0ccd7dc
updatetranslations script now grabs nickserv help entries
пре 6 година
Daniel Oaks
7b8c4e7e91
Refactor nickserv.go to better support NS HELP and translations
пре 6 година
Daniel Oaks
a39c46d470
Fix registered-only modes in docs (it's +R, not +r)
пре 6 година
Daniel Oaks
0e4e074d43
Update changelog
пре 6 година
Daniel Oaks
73bb43ef2e
Tweak the default fakelag cooldown juuuust a touch
пре 6 година
Daniel Oaks
46c98c2cf5
Fix CHANSERV OP
пре 6 година
Daniel Oaks
a67dfe37ca
Add CHANSERV OP (thanks benharri for making the request!)
пре 6 година
Daniel Oaks
470965674c
Changelog updated
пре 6 година
Daniel Oaks
5ce56bfb4f
Add colour charts to the default MOTD, including 16-98 extended colours
пре 6 година
Shivaram Lingamneni
f83b31a413
Merge pull request #223 from mordyovits/patch-1
README.md: self-signed, not unsigned
пре 6 година
Mordy Ovits
5a367b8c6c
README.md: self-signed, not unsigned
пре 6 година
Shivaram Lingamneni
7cfa75a59e
Merge pull request #218 from slingamn/socketwriter.1
refactor irc.Socket
пре 6 година
Shivaram Lingamneni
65f2e95d2b
Merge pull request #222 from slingamn/fakelag.3
implement fakelag (#189 )
пре 6 година
Shivaram Lingamneni
36018174b0
default fakelag to off, add explicit cooldown config
пре 6 година
Daniel Oaks
237931cd00
Merge pull request #220 from slingamn/issue217.1
partial fix for #217
пре 6 година
Daniel Oaks
abb1825ee8
Merge pull request #219 from slingamn/travis.1
try to fix travis by pinning a goreleaser release
пре 6 година
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
пре 6 година
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 година
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 година
Shivaram Lingamneni
d1f5c59eef
fix #190
пре 6 година
Shivaram Lingamneni
8fd1446627
tweak: clean up Socket.Close()
пре 6 година
Shivaram Lingamneni
d324418df4
try to fix travis by pinning a goreleaser release
пре 6 година
Shivaram Lingamneni
0a432c9d99
do an actual nonblocking send instead of the len() trick
пре 6 година
Shivaram Lingamneni
fa5d4be718
refactor irc.Socket
пре 6 година
Daniel Oaks
e3e714059c
Merge pull request #215 from slingamn/issue214
fix #214
пре 6 година
Shivaram Lingamneni
f5f6b95662
fix #214
пре 6 година
Shivaram Lingamneni
b0f262bc0c
Merge pull request #206 from slingamn/ghost.2
nickserv: implement GHOST, GROUP, DROP, and INFO
пре 6 година
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 година
Shivaram Lingamneni
fd34c78d6b
add sadrop command
пре 6 година
Shivaram Lingamneni
c6124f9d8a
Merge pull request #210 from slingamn/pprof.2
add an option to expose a pprof http endpoint
пре 6 година
Shivaram Lingamneni
288203152a
comment out the pprof setting in the example config
пре 6 година
Shivaram Lingamneni
211ed6af99
add an option to expose a pprof http endpoint
пре 6 година
Shivaram Lingamneni
679f25491c
can't reserve a nick that's the name of an unverified account
пре 6 година
Shivaram Lingamneni
47b9fe50be
can't register an account with the same name as a registered nick
пре 6 година
Shivaram Lingamneni
a022befffe
nickserv: implement GHOST, GROUP, DROP, and INFO
пре 6 година
Daniel Oaks
b211fd35da
Merge pull request #205 from slingamn/issue204
fix #204
пре 6 година
Shivaram Lingamneni
ef99bc48d1
fix #204
Empty channels were only cleaned up on PART, not QUIT.
пре 6 година
Daniel Oaks
898fb41485
Merge pull request #203 from slingamn/rereg
two nickname reservation fixes
пре 6 година
Shivaram Lingamneni
757566ca45
turn down default verify timeout
пре 6 година
Shivaram Lingamneni
945dec9964
ensure the nick timeout mechanism is cleaned up on client quit
пре 6 година