]> jfr.im git - solanum.git/log
solanum.git
8 years agoMerge branch 'master' into release/4
William Pitcock [Mon, 20 Jun 2016 02:49:52 +0000 (21:49 -0500)] 
Merge branch 'master' into release/4

8 years agolibrb: remove one more VMS detritius
William Pitcock [Mon, 20 Jun 2016 02:47:59 +0000 (21:47 -0500)] 
librb: remove one more VMS detritius

8 years agolibrb: we have no plans to support VMS
William Pitcock [Mon, 20 Jun 2016 02:47:23 +0000 (21:47 -0500)] 
librb: we have no plans to support VMS

8 years agoMerge branch 'master' into release/4
William Pitcock [Sat, 18 Jun 2016 06:06:52 +0000 (01:06 -0500)] 
Merge branch 'master' into release/4

8 years agoircd: relocate_paths() back on windows only now
William Pitcock [Sat, 18 Jun 2016 06:05:38 +0000 (01:05 -0500)] 
ircd: relocate_paths() back on windows only now

8 years agom_modules: use new module api
William Pitcock [Sat, 18 Jun 2016 05:59:15 +0000 (00:59 -0500)] 
m_modules: use new module api

8 years agoconf_parser: warning fixes
William Pitcock [Sat, 18 Jun 2016 05:52:54 +0000 (00:52 -0500)] 
conf_parser: warning fixes

8 years agomodules: serious cleanups
William Pitcock [Sat, 18 Jun 2016 05:52:16 +0000 (00:52 -0500)] 
modules: serious cleanups

8 years agomodules: cleanups
William Pitcock [Sat, 18 Jun 2016 05:38:40 +0000 (00:38 -0500)] 
modules: cleanups

8 years agoircd: fix compile of relocate_paths()
William Pitcock [Sat, 18 Jun 2016 05:22:02 +0000 (00:22 -0500)] 
ircd: fix compile of relocate_paths()

8 years agoircd: make relocate_paths() available always
William Pitcock [Sat, 18 Jun 2016 05:21:39 +0000 (00:21 -0500)] 
ircd: make relocate_paths() available always

8 years agoircd: call relocate_paths() in all cases
William Pitcock [Sat, 18 Jun 2016 05:20:59 +0000 (00:20 -0500)] 
ircd: call relocate_paths() in all cases

8 years agomessages: fix format string warning reported by latest clang
William Pitcock [Sat, 18 Jun 2016 04:39:19 +0000 (23:39 -0500)] 
messages: fix format string warning reported by latest clang

8 years agoircd: print runtime path configuration
William Pitcock [Sat, 18 Jun 2016 04:36:47 +0000 (23:36 -0500)] 
ircd: print runtime path configuration

8 years agolibrb: dictionaries which use integer keys may use 0 legitimately
William Pitcock [Sat, 18 Jun 2016 04:29:11 +0000 (23:29 -0500)] 
librb: dictionaries which use integer keys may use 0 legitimately

8 years agoinvite: do not send duplicate invite messages (closes #194)
William Pitcock [Fri, 17 Jun 2016 01:20:50 +0000 (20:20 -0500)] 
invite: do not send duplicate invite messages (closes #194)

8 years agoinvite: do not send duplicate invite messages (closes #194)
William Pitcock [Fri, 17 Jun 2016 01:20:50 +0000 (20:20 -0500)] 
invite: do not send duplicate invite messages (closes #194)

8 years agombedtls backend: indicate reason for TLS session termination
Aaron Jones [Sun, 12 Jun 2016 11:33:06 +0000 (11:33 +0000)] 
mbedtls backend: indicate reason for TLS session termination

[ci skip]

8 years agombedtls backend: indicate reason for TLS session termination
Aaron Jones [Sun, 12 Jun 2016 11:33:06 +0000 (11:33 +0000)] 
mbedtls backend: indicate reason for TLS session termination

[ci skip]

8 years agoCREDITS: charybdis official channel will now be on irc.charybdis.io.
William Pitcock [Sun, 5 Jun 2016 04:53:21 +0000 (23:53 -0500)] 
CREDITS: charybdis official channel will now be on irc.charybdis.io.

8 years agoCREDITS: charybdis official channel will now be on irc.charybdis.io.
William Pitcock [Sun, 5 Jun 2016 04:53:21 +0000 (23:53 -0500)] 
CREDITS: charybdis official channel will now be on irc.charybdis.io.

8 years agoCREDITS: adjust to reflect present situation
William Pitcock [Sun, 5 Jun 2016 04:47:47 +0000 (23:47 -0500)] 
CREDITS: adjust to reflect present situation

8 years agoCREDITS: adjust to reflect present situation
William Pitcock [Sun, 5 Jun 2016 04:47:47 +0000 (23:47 -0500)] 
CREDITS: adjust to reflect present situation

8 years agoFix regression introduced by commit 2f361bfc
Aaron Jones [Wed, 1 Jun 2016 21:04:45 +0000 (21:04 +0000)] 
Fix regression introduced by commit 2f361bfc

8 years agoFix regression introduced by commit 1863a0f8
Aaron Jones [Wed, 1 Jun 2016 21:03:46 +0000 (21:03 +0000)] 
Fix regression introduced by commit 1863a0f8

8 years agoPreliminary code tidying complete.
Aaron Jones [Wed, 1 Jun 2016 20:55:32 +0000 (20:55 +0000)] 
Preliminary code tidying complete.

These issues (commits 47a66e15 through 906fd91f inclusive) were
identified with the Clang compiler. Please raise concerns about
them on the issue tracker or in the support channel.

8 years agotools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length as...
Aaron Jones [Wed, 1 Jun 2016 20:41:03 +0000 (20:41 +0000)] 
tools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length as indicated by the function that filled it

8 years agotools/mkpasswd: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:38:54 +0000 (20:38 +0000)] 
tools/mkpasswd: functions that call exit(3) should be marked noreturn

8 years agobandb/bandb: functions that call exit(3) should be marked noreturn, avoid sign overfl...
Aaron Jones [Wed, 1 Jun 2016 20:37:51 +0000 (20:37 +0000)] 
bandb/bandb: functions that call exit(3) should be marked noreturn, avoid sign overflow in integer function argument

8 years agobandb/bantool: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:34:51 +0000 (20:34 +0000)] 
bandb/bantool: a function that calls exit(3) should be marked noreturn

8 years agoauthd/res: make function used only within this unit static, remove unused macros
Aaron Jones [Wed, 1 Jun 2016 20:32:12 +0000 (20:32 +0000)] 
authd/res: make function used only within this unit static, remove unused macros

8 years agoauthd/provider: remove shadowed double variable decl
Aaron Jones [Wed, 1 Jun 2016 20:29:35 +0000 (20:29 +0000)] 
authd/provider: remove shadowed double variable decl

8 years agoauthd/authd: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:27:19 +0000 (20:27 +0000)] 
authd/authd: a function that calls exit(3) should be marked noreturn

8 years agowsockd: various fixes
Aaron Jones [Wed, 1 Jun 2016 20:23:13 +0000 (20:23 +0000)] 
wsockd: various fixes

* Use correct sign for comparing data lengths
* Don't return a void statement in a void function
* Remove unused functions and macros

8 years agossld: remove unused macros, avoid sign overflow in integer function argument
Aaron Jones [Wed, 1 Jun 2016 20:17:09 +0000 (20:17 +0000)] 
ssld: remove unused macros, avoid sign overflow in integer function argument

8 years agowsproc: compile out dead code
Aaron Jones [Wed, 1 Jun 2016 20:15:07 +0000 (20:15 +0000)] 
wsproc: compile out dead code

Investigation is required to determine if this function should
actually be used

8 years agorestart: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:14:09 +0000 (20:14 +0000)] 
restart: functions that call exit(3) should be marked noreturn

8 years agoircd_signal: a function that tailcalls a noreturn function should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:11:46 +0000 (20:11 +0000)] 
ircd_signal: a function that tailcalls a noreturn function should be marked noreturn

8 years agoircd: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:05:56 +0000 (20:05 +0000)] 
ircd: functions that call exit(3) should be marked noreturn

8 years agogetopt: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:03:52 +0000 (20:03 +0000)] 
getopt: a function that calls exit(3) should be marked noreturn

8 years agodns: make function used only within this unit static
Aaron Jones [Wed, 1 Jun 2016 20:02:57 +0000 (20:02 +0000)] 
dns: make function used only within this unit static

8 years agoclass: remove unused macros
Aaron Jones [Wed, 1 Jun 2016 20:01:51 +0000 (20:01 +0000)] 
class: remove unused macros

8 years agochmode: remove unreachable break statement
Aaron Jones [Wed, 1 Jun 2016 20:00:48 +0000 (20:00 +0000)] 
chmode: remove unreachable break statement

8 years agochmode: silence harmless uninitialised variable warning
Aaron Jones [Wed, 1 Jun 2016 20:00:11 +0000 (20:00 +0000)] 
chmode: silence harmless uninitialised variable warning

8 years agochannel: silence harmless uninitialised variable warning
Aaron Jones [Wed, 1 Jun 2016 19:58:53 +0000 (19:58 +0000)] 
channel: silence harmless uninitialised variable warning

8 years agobandbi: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 19:56:47 +0000 (19:56 +0000)] 
bandbi: a function that calls exit(3) should be marked noreturn

8 years agoauthproc: don't shadow variable decls, avoid reserved name
Aaron Jones [Wed, 1 Jun 2016 19:55:35 +0000 (19:55 +0000)] 
authproc: don't shadow variable decls, avoid reserved name

8 years agolibrb: silence some fairly harmless compiler warnings
Aaron Jones [Wed, 1 Jun 2016 19:50:09 +0000 (19:50 +0000)] 
librb: silence some fairly harmless compiler warnings

These include warnings about "break" statements that will never be
executed (because they are after "return" statements), unused macros
(lost to code refactoring or never even used in the first place),
functions that call abort() or loop indefinitely but aren't marked with
the "noreturn" attribute, and use of variables possibly uninitialised
(a false positive).

8 years agoPreliminary code tidying complete.
Aaron Jones [Wed, 1 Jun 2016 20:46:43 +0000 (20:46 +0000)] 
Preliminary code tidying complete.

These issues (commits 92706fd5 through 707bc7cd inclusive) were
identified with the Clang compiler. Please raise concerns about
them on the issue tracker or in the support channel.

8 years agotools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length as...
Aaron Jones [Wed, 1 Jun 2016 20:41:03 +0000 (20:41 +0000)] 
tools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length as indicated by the function that filled it

8 years agotools/mkpasswd: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:38:54 +0000 (20:38 +0000)] 
tools/mkpasswd: functions that call exit(3) should be marked noreturn

8 years agobandb/bandb: functions that call exit(3) should be marked noreturn, avoid sign overfl...
Aaron Jones [Wed, 1 Jun 2016 20:37:51 +0000 (20:37 +0000)] 
bandb/bandb: functions that call exit(3) should be marked noreturn, avoid sign overflow in integer function argument

8 years agobandb/bantool: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:34:51 +0000 (20:34 +0000)] 
bandb/bantool: a function that calls exit(3) should be marked noreturn

8 years agoauthd/res: make function used only within this unit static, remove unused macros
Aaron Jones [Wed, 1 Jun 2016 20:32:12 +0000 (20:32 +0000)] 
authd/res: make function used only within this unit static, remove unused macros

8 years agoauthd/provider: remove shadowed double variable decl
Aaron Jones [Wed, 1 Jun 2016 20:29:35 +0000 (20:29 +0000)] 
authd/provider: remove shadowed double variable decl

8 years agoauthd/authd: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:27:19 +0000 (20:27 +0000)] 
authd/authd: a function that calls exit(3) should be marked noreturn

8 years agowsockd: various fixes
Aaron Jones [Wed, 1 Jun 2016 20:23:13 +0000 (20:23 +0000)] 
wsockd: various fixes

* Use correct sign for comparing data lengths
* Don't return a void statement in a void function
* Remove unused functions and macros

8 years agossld: remove unused macros, avoid sign overflow in integer function argument
Aaron Jones [Wed, 1 Jun 2016 20:17:09 +0000 (20:17 +0000)] 
ssld: remove unused macros, avoid sign overflow in integer function argument

8 years agowsproc: compile out dead code
Aaron Jones [Wed, 1 Jun 2016 20:15:07 +0000 (20:15 +0000)] 
wsproc: compile out dead code

Investigation is required to determine if this function should
actually be used

8 years agorestart: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:14:09 +0000 (20:14 +0000)] 
restart: functions that call exit(3) should be marked noreturn

8 years agoircd_signal: a function that tailcalls a noreturn function should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:11:46 +0000 (20:11 +0000)] 
ircd_signal: a function that tailcalls a noreturn function should be marked noreturn

8 years agoircd: functions that call exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:05:56 +0000 (20:05 +0000)] 
ircd: functions that call exit(3) should be marked noreturn

8 years agogetopt: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 20:03:52 +0000 (20:03 +0000)] 
getopt: a function that calls exit(3) should be marked noreturn

8 years agodns: make function used only within this unit static
Aaron Jones [Wed, 1 Jun 2016 20:02:57 +0000 (20:02 +0000)] 
dns: make function used only within this unit static

8 years agoclass: remove unused macros
Aaron Jones [Wed, 1 Jun 2016 20:01:51 +0000 (20:01 +0000)] 
class: remove unused macros

8 years agochmode: remove unreachable break statement
Aaron Jones [Wed, 1 Jun 2016 20:00:48 +0000 (20:00 +0000)] 
chmode: remove unreachable break statement

8 years agochmode: silence harmless uninitialised variable warning
Aaron Jones [Wed, 1 Jun 2016 20:00:11 +0000 (20:00 +0000)] 
chmode: silence harmless uninitialised variable warning

8 years agochannel: silence harmless uninitialised variable warning
Aaron Jones [Wed, 1 Jun 2016 19:58:53 +0000 (19:58 +0000)] 
channel: silence harmless uninitialised variable warning

8 years agobandbi: a function that calls exit(3) should be marked noreturn
Aaron Jones [Wed, 1 Jun 2016 19:56:47 +0000 (19:56 +0000)] 
bandbi: a function that calls exit(3) should be marked noreturn

8 years agoauthproc: don't shadow variable decls, avoid reserved name
Aaron Jones [Wed, 1 Jun 2016 19:55:35 +0000 (19:55 +0000)] 
authproc: don't shadow variable decls, avoid reserved name

8 years agolibrb: silence some fairly harmless compiler warnings
Aaron Jones [Wed, 1 Jun 2016 19:50:09 +0000 (19:50 +0000)] 
librb: silence some fairly harmless compiler warnings

These include warnings about "break" statements that will never be
executed (because they are after "return" statements), unused macros
(lost to code refactoring or never even used in the first place),
functions that call abort() or loop indefinitely but aren't marked with
the "noreturn" attribute, and use of variables possibly uninitialised
(a false positive).

8 years agoopenssl: use snprintf(3) instead of rb_snprintf()
Aaron Jones [Wed, 1 Jun 2016 18:04:23 +0000 (18:04 +0000)] 
openssl: use snprintf(3) instead of rb_snprintf()

8 years agoopenssl: use snprintf(3) instead of rb_snprintf()
Aaron Jones [Wed, 1 Jun 2016 18:04:23 +0000 (18:04 +0000)] 
openssl: use snprintf(3) instead of rb_snprintf()

8 years agoopenssl: More LibreSSL compatibility
Aaron Jones [Wed, 1 Jun 2016 17:54:43 +0000 (17:54 +0000)] 
openssl: More LibreSSL compatibility

LibreSSL does not have the new version macros & functions that OpenSSL
1.1.0 implements. This causes a compile-time failure against LibreSSL.

Further, the runtime function for returning the library version returns
the wrong number (the hardcoded constant number SSLEAY_VERSION_NUMBER
aka OPENSSL_VERSION_NUMBER, instead of LIBRESSL_VERSION_NUMBER).

Add more ifdef soup to remedy the situation.

8 years agoopenssl: More LibreSSL compatibility
Aaron Jones [Wed, 1 Jun 2016 17:54:43 +0000 (17:54 +0000)] 
openssl: More LibreSSL compatibility

LibreSSL does not have the new version macros & functions that OpenSSL
1.1.0 implements. This causes a compile-time failure against LibreSSL.

Further, the runtime function for returning the library version returns
the wrong number (the hardcoded constant number SSLEAY_VERSION_NUMBER
aka OPENSSL_VERSION_NUMBER, instead of LIBRESSL_VERSION_NUMBER).

Add more ifdef soup to remedy the situation.

8 years agoopenssl: change how we load DH parameters
Aaron Jones [Wed, 25 May 2016 21:46:34 +0000 (21:46 +0000)] 
openssl: change how we load DH parameters

The code already assumes the presence of fopen(3) and errno, and, by
extension, fclose(3) and strerror(3), so just use those instead of the
BIO wrappers.

Additionally, don't fail to initialise if the DH file does exist but
parsing it fails, as per the pre-existing comment about them being
optional.

8 years agoopenssl: change how we load DH parameters
Aaron Jones [Wed, 25 May 2016 21:46:34 +0000 (21:46 +0000)] 
openssl: change how we load DH parameters

The code already assumes the presence of fopen(3) and errno, and, by
extension, fclose(3) and strerror(3), so just use those instead of the
BIO wrappers.

Additionally, don't fail to initialise if the DH file does exist but
parsing it fails, as per the pre-existing comment about them being
optional.

8 years agostrcpy: mass-migrate to strlcpy where appropriate
Aaron Jones [Sun, 15 May 2016 03:57:16 +0000 (03:57 +0000)] 
strcpy: mass-migrate to strlcpy where appropriate

8 years agostrcpy: mass-migrate to strlcpy where appropriate
Aaron Jones [Sun, 15 May 2016 03:57:16 +0000 (03:57 +0000)] 
strcpy: mass-migrate to strlcpy where appropriate

8 years agoappveyor: correct version
Aaron Jones [Sun, 15 May 2016 01:14:08 +0000 (01:14 +0000)] 
appveyor: correct version

[ci skip]

8 years agoappveyor: correct version
Aaron Jones [Sun, 15 May 2016 01:13:50 +0000 (01:13 +0000)] 
appveyor: correct version

[ci skip]

8 years agoircd_lexer: fix another crash with the same cause
Aaron Jones [Sun, 15 May 2016 00:57:16 +0000 (00:57 +0000)] 
ircd_lexer: fix another crash with the same cause

8 years agoircd_lexer: fix another crash with the same cause
Aaron Jones [Sun, 15 May 2016 00:57:16 +0000 (00:57 +0000)] 
ircd_lexer: fix another crash with the same cause

8 years agoircd_lexer: fix crash with very large config option strings
Aaron Jones [Sun, 15 May 2016 00:00:23 +0000 (00:00 +0000)] 
ircd_lexer: fix crash with very large config option strings

8 years agominor spring cleaning: remove/relocate duplicate/unused includes & macros
Aaron Jones [Sat, 14 May 2016 23:29:33 +0000 (23:29 +0000)] 
minor spring cleaning: remove/relocate duplicate/unused includes & macros

[ci skip]

8 years agomakerelease: fix DATECODE output
William Pitcock [Sat, 14 May 2016 22:28:49 +0000 (17:28 -0500)] 
makerelease: fix DATECODE output

8 years agoNEWS: document websocket availability
William Pitcock [Sat, 14 May 2016 22:24:56 +0000 (17:24 -0500)] 
NEWS: document websocket availability

8 years agoconfig: document websocket options
William Pitcock [Sat, 14 May 2016 22:24:20 +0000 (17:24 -0500)] 
config: document websocket options

8 years agonewconf: ensure wsock and defer_accept are default-to-disable for now, for consistenc...
William Pitcock [Sat, 14 May 2016 22:23:51 +0000 (17:23 -0500)] 
newconf: ensure wsock and defer_accept are default-to-disable for now, for consistency sake on rehashes

8 years agostarttls: Allow command usage with backends other than OpenSSL
Aaron Jones [Sat, 14 May 2016 00:26:03 +0000 (00:26 +0000)] 
starttls: Allow command usage with backends other than OpenSSL

8 years agom_alias: correctly construct string to be sent
Simon Arlott [Thu, 12 May 2016 18:44:45 +0000 (19:44 +0100)] 
m_alias: correctly construct string to be sent

8 years agobandb: sqlite3: use getpagesize() on FreeBSD
Simon Arlott [Thu, 12 May 2016 11:42:03 +0000 (12:42 +0100)] 
bandb: sqlite3: use getpagesize() on FreeBSD

8 years agowsockd: include stdinc.h so that sys/types.h is included on FreeBSD 4.8
Simon Arlott [Thu, 12 May 2016 11:39:46 +0000 (12:39 +0100)] 
wsockd: include stdinc.h so that sys/types.h is included on FreeBSD 4.8

8 years agolibrb: define UINT32_MAX for FreeBSD 4.8
Simon Arlott [Thu, 12 May 2016 11:35:06 +0000 (12:35 +0100)] 
librb: define UINT32_MAX for FreeBSD 4.8

8 years agolibrb: support rb_path_to_self on FreeBSD 4.8
Simon Arlott [Thu, 12 May 2016 11:33:20 +0000 (12:33 +0100)] 
librb: support rb_path_to_self on FreeBSD 4.8

8 years agoclient: call authd_abort_client with the client that is exiting, not the originator
Simon Arlott [Thu, 12 May 2016 09:06:31 +0000 (10:06 +0100)] 
client: call authd_abort_client with the client that is exiting, not the originator

8 years agoMerge pull request #191 from GLolol/patch-1
William Pitcock [Thu, 12 May 2016 04:46:10 +0000 (23:46 -0500)] 
Merge pull request #191 from GLolol/patch-1

doc: add extensions/chm_nonotice to example confs

8 years agodoc: add extensions/chm_nonotice to example confs
James Lu [Thu, 12 May 2016 04:39:42 +0000 (21:39 -0700)] 
doc: add extensions/chm_nonotice to example confs

8 years ago[Documentation] Increase bitlength recommendation for DH parameters
Aaron Jones [Thu, 5 May 2016 04:18:31 +0000 (04:18 +0000)] 
[Documentation] Increase bitlength recommendation for DH parameters

Also clarify the behaviour of TLS backends and the consequences for
not providing any parameters at all.

[ci skip]

8 years ago[Documentation] Reflect that ssl_private_key is now optional
Aaron Jones [Thu, 5 May 2016 04:15:46 +0000 (04:15 +0000)] 
[Documentation] Reflect that ssl_private_key is now optional

[ci skip]