Chris Smith
34a9a37b82
Fix usernames being used in place of hostnames.
Closes #355
5 years ago
Shivaram Lingamneni
20b8ba8cae
don't send the client its own on-join MODE line
Fixes #353 .
5 years ago
Shivaram Lingamneni
eff2571096
limit the number of channels a client can join
5 years ago
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 years ago
Shivaram Lingamneni
73f36fba08
NS REGISTER needs a login throttle check as well
5 years ago
Shivaram Lingamneni
775ead700f
prevent nick reservation land-grabs
5 years ago
Shivaram Lingamneni
7608e0c76c
fix #121
5 years ago
Daniel Oaks
457b7eaf11
Review fixes
5 years ago
Daniel Oaks
8ecf96d447
Set uninteresting username if user's using a special nick
5 years ago
Shivaram Lingamneni
a9f9f725b1
review fixes
5 years ago
Shivaram Lingamneni
36612f6e2d
review fixes
5 years ago
Shivaram Lingamneni
bf1d758de9
simplify username logic
5 years ago
Shivaram Lingamneni
e094c2a9c5
add tests for masking in limiter/throttler
5 years ago
Shivaram Lingamneni
eb8f0e50df
fix masking bug
IP.Mask() returns a new IP value, rather than modifying its target in place
5 years ago
Shivaram Lingamneni
1c23af8767
add sasl-only config option
5 years ago
Shivaram Lingamneni
463de94610
allow history queries against PRIVMSG of other clients, if the accounts match
5 years ago
Shivaram Lingamneni
51fcedc5a1
review fix
5 years ago
Shivaram Lingamneni
f6b3008f8f
add CHATHISTORY and HISTORY implementations
5 years ago
Daniel Oaks
2ce203a6d8
Setup v0.13.0-unreleased devel ver (I forgot to do this~)
5 years ago
Daniel Oaks
e8309aee79
Avoiding a crash when getting a short ident is a good thing
5 years ago
Daniel Oaks
151002e232
Up identlen default to 20
5 years ago
Daniel Oaks
7eef390756
Handle translations a little better
5 years ago
Daniel Oaks
46f8ef9ed3
Be less strict with our language file loading, and handle multiple credits better
5 years ago
Daniel Oaks
cfbb4361dc
Restrict ident length similar to other servers
5 years ago
Daniel Oaks
8cd5db1194
Restrict idents as other servers do
5 years ago
Shivaram Lingamneni
c34d9e0b72
more lenient casefolding for skeletons
5 years ago
Shivaram Lingamneni
cbe0f79f73
unify "startup", "rehash", and "shutdown" log categories as "server"
5 years ago
Shivaram Lingamneni
f48af3ee44
correctly support disabling caps with CAP REQ, fixes #337
5 years ago
Shivaram Lingamneni
35948d2e5b
refactor some conditions for clarity
5 years ago
Shivaram Lingamneni
18c0c9da45
use our fork of mtibben/confusables for now
5 years ago
Shivaram Lingamneni
b9b2553a2f
use the TR39 skeleton algorithm to prevent confusables (#178)
5 years ago
Shivaram Lingamneni
8438afcc5c
fix: usernames from ident don't get a ~
5 years ago
Shivaram Lingamneni
4bbba5b478
fix the issue for AllNickmasks as well
5 years ago
Shivaram Lingamneni
a2a9788f39
fix spurious bidi violations when casefolding the nickmask of an RTL nick
5 years ago
Shivaram Lingamneni
96737ea6d7
fix a memory leak
Even after the timer fired, we were retaining a pointer to it;
clean those up too along with the other cleanup tasks.
5 years ago
Shivaram Lingamneni
854d85a474
add schema change for [dk]line refactor
5 years ago
Shivaram Lingamneni
6bdc6af186
refactor [dk]lines, implement #144
5 years ago
Shivaram Lingamneni
f154ea9583
add an error message for schema changes
5 years ago
Daniel Oaks
63fde2d62a
Re-enable MaxLine
5 years ago
Shivaram Lingamneni
0475fe882c
fix ns register validation bug
5 years ago
Shivaram Lingamneni
d6494957a4
forbid logging in twice via nickserv
5 years ago
Shivaram Lingamneni
598d9a025b
review fix: add maxParams for service commands
5 years ago
Shivaram Lingamneni
4caa362f18
fix histserv nick reservation
5 years ago
Shivaram Lingamneni
a52d167278
additional defensive check in EnforcementStatus
5 years ago
Shivaram Lingamneni
efc0ce3b81
fix an edge case in configurable nickname reservation
5 years ago
Shivaram Lingamneni
b80df0885f
refactor services code
5 years ago
Shivaram Lingamneni
501bb1e5c5
replay JOIN/PART/QUIT/KICK as PRIVMSG from HistServ
see https://github.com/ircv3/ircv3-specifications/issues/293
5 years ago
Shivaram Lingamneni
f20abf414f
don't log an error logline for an incorrect SASL password
5 years ago
Shivaram Lingamneni
2ee89b15b3
per-user settings for nickname enforcement
5 years ago
Shivaram Lingamneni
d0ded906d4
fix a fairly bad bug where nicks could get out of sync
during nick change, removeInternal(client) was being called even before checking
whether the new nick was in use or reserved. Reproduction steps:
1. Log in a client 'alice'
2. Log in a client 'bob'
3. bob issues /nick alice, which fails (correctly) with:
:oragono.test 433 bob alice :Nickname is already in use
4. alice issues /msg bob hi, which fails (incorrectly) with:
:oragono.test 401 alice bob :No such nick
5 years ago