Shivaram Lingamneni
525b2c52b1
fix hostserv help string
před 5 roky
Shivaram Lingamneni
f58c873f84
fix RPL_INVITING response to match modern ircdocs
před 5 roky
Shivaram Lingamneni
b6b4d365bc
fix #313
před 5 roky
Shivaram Lingamneni
92eca4d795
add more test cases
před 5 roky
Shivaram Lingamneni
40e63dbbe8
fix #306
Fix spurious bidi rule violations in casefolding channel names
by stripping the # before starting the casefolding.
před 5 roky
Shivaram Lingamneni
48f9b5e4fa
implement NS PASSWD for password changes
před 5 roky
Shivaram Lingamneni
c8cf0befc6
fixes to irc/socket.go
* fix a race condition: a call to `Write` does not spawn a writer goroutine
if the trylock is held, so `BlockingWrite` must check for fresh data after
releasing the trylock
* streamline some close/finalize logic
před 5 roky
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
před 5 roky
Sean Enck
c20afab7c2
prevents default create/open of buntdb, requires user to call initdb
před 5 roky
Daniel Oaks
55503961cb
Release v0.12.0
před 5 roky
Shivaram Lingamneni
10d4f77638
fix PROXY protocol support for IPv6
1. Handle PROXY lines with IPv6 addresses starting with ::
(similar to WEBIRC in issue #211 )
2. Strip v6 mapping from v4 addresses when handling proxied IPs.
před 5 roky
Shivaram Lingamneni
0e5842b33a
fix #211
před 5 roky
Shivaram Lingamneni
c3d197f4ff
make unix domain socket permissions configurable
před 5 roky
Shivaram Lingamneni
86836905b3
re-add nil receiver for ModeSet.HasMode
před 5 roky
Shivaram Lingamneni
ac08ce0f20
move ChannelOperator check into hasPrivs helper
před 5 roky
Shivaram Lingamneni
a18283e2de
fix a crash when SAMODE'ing in a channel you're not joined to
před 5 roky
Shivaram Lingamneni
1fb9bd7208
Fix a bug in 330 RPL_WHOISACCOUNT
According to https://defs.ircdocs.horse/defs/numerics.html , 330 RPL_WHOISACCOUNT
takes 4 parameters: `<client> <nick> <authname> :<info>`. We were omitting
the second parameter (the target nick).
Also refactor locking.
před 5 roky
Shivaram Lingamneni
a2c2419084
remove stackimpact
před 5 roky
Shivaram Lingamneni
6eda236eab
remove allow-multiple-per-connection
před 5 roky
Shivaram Lingamneni
b45b863fc4
unregister capab was renamed to accreg, but i missed this occurrence
před 5 roky
Shivaram Lingamneni
a4546c418b
fix miscounting in LUSERS
před 5 roky
Shivaram Lingamneni
7cd5b8473c
fix a bug in CS UNREGISTER
před 5 roky
Shivaram Lingamneni
578ca2fdf6
add support for service command aliases
před 5 roky
Shivaram Lingamneni
3c12fb6254
fix #283 (remove unnecessary log.Fatal)
The server should never crash during rehash, even if the config is invalid.
před 5 roky
Shivaram Lingamneni
eb5f2c1db9
fix webirc password handling
před 5 roky
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
před 5 roky
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/
před 6 roky
Shivaram Lingamneni
7154f14781
move handling of RecoverFromErrors into LoadConfig
před 6 roky
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
před 6 roky
Shivaram Lingamneni
318da22448
simplify CAS logic a bit
před 6 roky
Shivaram Lingamneni
1e513a717c
expand bitset tests
před 6 roky
Shivaram Lingamneni
a1bbe0c7f2
review fix
před 6 roky
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
před 6 roky
Shivaram Lingamneni
cdbb369a9c
add benchmarks for caps.Set
před 6 roky
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
před 6 roky
Shivaram Lingamneni
c3b66b5236
add a verification code to CS UNREGISTER
před 6 roky
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
před 6 roky
Daniel Oaks
45b8d9e6fa
Update snomask to work with HOPM
před 6 roky
Shivaram Lingamneni
495705f538
implement SAJOIN, allow channel founders to join unconditionally
před 6 roky
Shivaram Lingamneni
d3815fbe61
review fixes and updates
před 6 roky
Shivaram Lingamneni
7122fb180c
add a test
před 6 roky
Shivaram Lingamneni
1016f86f70
implement CHANSERV AMODE
před 6 roky
Shivaram Lingamneni
f408d0f37b
review fix: add nil receivers to other read-only ModeSet methods
před 6 roky
Shivaram Lingamneni
0751f52f37
fix #268
před 6 roky
Daniel Oaks
f142bf065d
services: Explicitly show when commands have been disabled in the HELP output
před 6 roky
Shivaram Lingamneni
510f4320d0
fix formatting issue
před 6 roky
Shivaram Lingamneni
f6373f7a4d
fix #262
před 6 roky
Shivaram Lingamneni
be588076e9
optimize IsLoggingRawIO
před 6 roky
Shivaram Lingamneni
3150f4e23b
reduce copying of output lines
před 6 roky
Shivaram Lingamneni
ebfef1e848
add Semaphore and ServerSemaphores
před 6 roky