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 година