Shivaram Lingamneni
a5f04495a1
fix #389
5 년 전
Shivaram Lingamneni
d147708158
allow SAREGISTER even when normal registration is fully disabled
5 년 전
Shivaram Lingamneni
754934b429
unregister should boot clients if sasl is required
5 년 전
Shivaram Lingamneni
7786043275
make the land-grab check case-insensitive
5 년 전
Shivaram Lingamneni
6d690b0e36
add loglines for account registration, login, and unregistration
5 년 전
Shivaram Lingamneni
e4c9351254
fix: set the existing channels unregistered
5 년 전
Shivaram Lingamneni
ff7bbc4a9c
track channel registrations per account
* limit the total number of registrations per account
* when an account is unregistered, unregister all its channels
5 년 전
Shivaram Lingamneni
775ead700f
prevent nick reservation land-grabs
5 년 전
Shivaram Lingamneni
1c23af8767
add sasl-only config option
5 년 전
Shivaram Lingamneni
35948d2e5b
refactor some conditions for clarity
5 년 전
Shivaram Lingamneni
b9b2553a2f
use the TR39 skeleton algorithm to prevent confusables (#178)
5 년 전
Shivaram Lingamneni
a52d167278
additional defensive check in EnforcementStatus
5 년 전
Shivaram Lingamneni
f20abf414f
don't log an error logline for an incorrect SASL password
5 년 전
Shivaram Lingamneni
2ee89b15b3
per-user settings for nickname enforcement
5 년 전
Shivaram Lingamneni
c2b2559ab4
avoid some uses of Sprintf for loglines
5 년 전
Shivaram Lingamneni
48f9b5e4fa
implement NS PASSWD for password changes
5 년 전
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
5 년 전
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
6 년 전
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
cc9941cb07
review fixes, bug fixes
6 년 전
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
6 년 전
Daniel Oaks
a95c77bb86
Remove old command line that's no longer valid
6 년 전
Shivaram Lingamneni
fd34c78d6b
add sadrop command
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 년 전
Shivaram Lingamneni
a5897baa2b
clean up redundant error handling
6 년 전
Shivaram Lingamneni
878f9ca94c
fix: store the uncasefolded account name correctly
6 년 전
Shivaram Lingamneni
89ae261739
implement mailto callbacks
6 년 전
Shivaram Lingamneni
988cb22692
changes to nick reservation
* Clients are now renamed, not disconnected, on reservation timeout
* Nick reservation config is now its own subsection
6 년 전
Shivaram Lingamneni
73391f11a6
replace ACC UNREGISTER with nickserv unregister
6 년 전
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
6 년 전
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
6 년 전
Daniel Oaks
2419f69879
Move all errors into errors.go
6 년 전
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
6 년 전
Daniel Oaks
275227a461
Make like every client-facing string translatable
6 년 전
Daniel Oaks
9bfdc4fdfb
Move caps to their own package to prevent conflicts
6 년 전
Daniel Oaks
cd8b4877b6
accounts: Check for account logins correctly, fixes registration. Also fix a typo, thanks squigz!
6 년 전
Daniel Oaks
c48d869f4d
Allow multiple account registrations for testing
6 년 전
Daniel Oaks
c0fbc7908d
sasl: Always send a 906 in response to AUTHENTICATE *
7 년 전
Daniel Oaks
c9ed749538
Rename deps
7 년 전
Daniel Oaks
a8fa131244
Move to new repo
7 년 전
Daniel Oaks
53190ef131
Send a whole lot more snomasks
7 년 전
Daniel Oaks
22216d4d60
Fix lots of nits
7 년 전
Daniel Oaks
317a804644
Fix dates at top of source files
7 년 전
Daniel Oaks
b33b217fab
Add very initial ChanServ and NickServ virtual clients
As well, add channel registration and re-applying founder privs on the first client joining the channel. I'm going to re-architect our modes system to better acocunt for this sort of change.
7 년 전
Daniel Oaks
3d597a4fb3
accounts: Login to accounts properly
Avoids letting clients login to two accounts at once
7 년 전
Daniel Oaks
3058161f62
config: Fix accounts registration/authentication
7 년 전
Daniel Oaks
658d1656fa
accounts: Only allow verified accounts to SASL auth
7 년 전
Daniel Oaks
1cc217a9ae
sasl: Follow PLAIN spec more closely
7 년 전