Daniel Oaks
e1aa3e0f4a
Merge pull request #305 from slingamn/passwd.1
...
implement NS PASSWD for password changes
2018-12-07 10:43:10 +10:00
Daniel Oaks
a0c1fa1843
Merge pull request #308 from slingamn/bidirule
...
fix #306
2018-12-07 10:40:00 +10:00
Shivaram Lingamneni
92eca4d795
add more test cases
2018-12-06 06:46:11 -05:00
Shivaram Lingamneni
40e63dbbe8
fix #306
...
Fix spurious bidi rule violations in casefolding channel names
by stripping the # before starting the casefolding.
2018-12-05 22:39:01 -05:00
Shivaram Lingamneni
48f9b5e4fa
implement NS PASSWD for password changes
2018-11-28 18:25:15 -05:00
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
2018-11-28 00:24:44 -05:00
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
2018-11-26 05:23:27 -05:00
Shivaram Lingamneni
70364f5f67
Merge pull request #303 from enckse/master
...
prevents default create/open of buntdb, requires user to call initdb
2018-11-19 14:23:03 -05:00
Sean Enck
c20afab7c2
prevents default create/open of buntdb, requires user to call initdb
2018-11-19 14:10:12 -05:00
Daniel Oaks
55503961cb
Release v0.12.0
2018-10-15 12:18:23 +10:00
Daniel Oaks
e365103fb5
Add missing key to changelog
2018-10-15 12:05:22 +10:00
Daniel Oaks
2b10b73bbc
Update changelog
2018-10-15 12:03:38 +10:00
Daniel Oaks
8e027fb58f
vendor: Updated submodules
2018-10-15 11:51:55 +10:00
Daniel Oaks
a7e88f51fe
Merge pull request #294 from slingamn/proxy_ipv6.1
...
fix PROXY protocol support for IPv6
2018-10-15 11:43:16 +10:00
Shivaram Lingamneni
8de6da14c0
Merge pull request #295 from vilmibm/patch-1
...
Correct NS REGISTER example
2018-09-05 23:46:10 -04:00
Nate Smith
aab44155a2
Correct NS REGISTER example
2018-09-05 11:01:47 -07:00
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.
2018-09-03 00:38:32 -04:00
Shivaram Lingamneni
f0491c2254
Merge pull request #293 from slingamn/perms
...
configurable file mode for unix socket listeners
2018-08-29 14:51:25 -04:00
Shivaram Lingamneni
72599ba01f
review fix
2018-08-28 21:11:58 -04:00
Shivaram Lingamneni
0362269215
upgrade travis to golang 1.11
2018-08-28 19:28:49 -04:00
Shivaram Lingamneni
0e5842b33a
fix #211
2018-08-28 19:28:49 -04:00
Shivaram Lingamneni
c3d197f4ff
make unix domain socket permissions configurable
2018-08-28 19:28:49 -04:00
Shivaram Lingamneni
831969f1f0
Merge pull request #292 from slingamn/nilreceivers
...
re-add nil receiver for ModeSet.HasMode
2018-08-27 23:56:28 -04:00
Shivaram Lingamneni
c72a84e49f
Merge pull request #284 from slingamn/passhashing.1
...
new password hashing technique
2018-08-27 23:55:54 -04:00
Shivaram Lingamneni
86836905b3
re-add nil receiver for ModeSet.HasMode
2018-08-23 10:30:28 -04:00
Daniel Oaks
1fd63672f3
Merge pull request #290 from slingamn/rpl330.1
...
Fix a bug in 330 RPL_WHOISACCOUNT
2018-08-20 16:48:38 +10:00
Daniel Oaks
508c3269a0
Merge pull request #291 from slingamn/samode_crash
...
fix a crash when SAMODE'ing in a channel you're not joined to
2018-08-20 16:48:05 +10:00
Shivaram Lingamneni
ac08ce0f20
move ChannelOperator check into hasPrivs helper
2018-08-17 16:22:32 -04:00
Shivaram Lingamneni
a18283e2de
fix a crash when SAMODE'ing in a channel you're not joined to
2018-08-17 12:44:49 -04:00
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.
2018-08-17 11:45:32 -04:00
Shivaram Lingamneni
7ebd35f5a0
update Gopkg.lock to include sha3
2018-08-15 13:07:28 -04:00
Shivaram Lingamneni
cbc2b07d35
Merge remote-tracking branch 'origin/master' into passhashing.2
2018-08-15 13:02:05 -04:00
Daniel Oaks
4ecdea0647
Merge pull request #289 from slingamn/allow_multiple
...
Miscellaneous cleanup
2018-08-15 22:21:34 +10:00
Shivaram Lingamneni
ea30e58244
bump vendor to remove stackimpact
2018-08-15 08:12:24 -04:00
Shivaram Lingamneni
a2c2419084
remove stackimpact
2018-08-14 23:26:43 -04:00
Shivaram Lingamneni
6eda236eab
remove allow-multiple-per-connection
2018-08-14 22:50:20 -04:00
Shivaram Lingamneni
b45b863fc4
unregister capab was renamed to accreg, but i missed this occurrence
2018-08-14 22:48:06 -04:00
Daniel Oaks
5cb7c9ae7b
Merge pull request #287 from slingamn/lusers
...
fix miscounting in LUSERS
2018-08-09 10:35:38 +10:00
Shivaram Lingamneni
a4546c418b
fix miscounting in LUSERS
2018-08-08 17:56:12 -04:00
Daniel Oaks
2a7af89694
Merge pull request #285 from slingamn/fatal.1
...
assorted fixes
2018-08-07 01:50:57 +10:00
Shivaram Lingamneni
7cd5b8473c
fix a bug in CS UNREGISTER
2018-08-06 10:08:58 -04:00
Shivaram Lingamneni
578ca2fdf6
add support for service command aliases
2018-08-06 10:08:58 -04:00
Shivaram Lingamneni
3c12fb6254
fix #283 (remove unnecessary log.Fatal)
...
The server should never crash during rehash, even if the config is invalid.
2018-08-06 10:08:58 -04:00
Shivaram Lingamneni
eb5f2c1db9
fix webirc password handling
2018-08-06 04:55:39 -04:00
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
2018-08-06 02:26:21 -04:00
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/
2018-08-05 22:51:15 -04:00
Daniel Oaks
a72de2f4d2
Update changelog
2018-08-05 03:25:42 +10:00
Daniel Oaks
d52dfb8df5
Merge pull request #279 from slingamn/cleanup.1
...
refactor rehash to rely more on server.config
2018-07-24 14:50:24 +10:00
Shivaram Lingamneni
7154f14781
move handling of RecoverFromErrors into LoadConfig
2018-07-16 04:08:24 -04:00
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
2018-07-16 03:46:40 -04:00