]> jfr.im git - solanum.git/log
solanum.git
8 years agoblacklist: this didn't get committed somehow
Elizabeth Myers [Wed, 30 Mar 2016 04:33:13 +0000 (23:33 -0500)] 
blacklist: this didn't get committed somehow

8 years agoblacklist: compile fixes
Elizabeth Myers [Wed, 30 Mar 2016 04:29:58 +0000 (23:29 -0500)] 
blacklist: compile fixes

8 years agoblacklist: add notices that we're performing checks.
Elizabeth Myers [Wed, 30 Mar 2016 04:22:13 +0000 (23:22 -0500)] 
blacklist: add notices that we're performing checks.

8 years agoUpdate news
Elizabeth Myers [Tue, 29 Mar 2016 18:38:42 +0000 (13:38 -0500)] 
Update news

8 years agobandb: update sqlite3 to 3.12.0
Elizabeth Myers [Tue, 29 Mar 2016 18:29:18 +0000 (13:29 -0500)] 
bandb: update sqlite3 to 3.12.0

8 years agoRemove trailing whitespace from files.
Elizabeth Myers [Tue, 29 Mar 2016 18:23:27 +0000 (13:23 -0500)] 
Remove trailing whitespace from files.

8 years agodoc: Cleanup trailing whitespace
Matt Ullman [Tue, 29 Mar 2016 14:09:52 +0000 (10:09 -0400)] 
doc: Cleanup trailing whitespace

8 years agoautomake: Ensure ircd_parser.h is created
Matt Ullman [Tue, 29 Mar 2016 01:39:10 +0000 (21:39 -0400)] 
automake: Ensure ircd_parser.h is created

Fixes random travis explosions

8 years agoauthd: use atexit() hook to attempt to destroy providers
Elizabeth Myers [Tue, 29 Mar 2016 00:38:43 +0000 (19:38 -0500)] 
authd: use atexit() hook to attempt to destroy providers

8 years agoauthd: be more anal about errors
Elizabeth Myers [Tue, 29 Mar 2016 00:22:02 +0000 (19:22 -0500)] 
authd: be more anal about errors

8 years agoauthd: Cleanup
Matt Ullman [Tue, 29 Mar 2016 00:14:31 +0000 (20:14 -0400)] 
authd: Cleanup

8 years agologger: add idebug
Elizabeth Myers [Tue, 29 Mar 2016 00:06:31 +0000 (19:06 -0500)] 
logger: add idebug

This only does something if debugging is enabled.

8 years agoircd/authd: remove rb_free no longer needed.
Elizabeth Myers [Mon, 28 Mar 2016 23:19:06 +0000 (18:19 -0500)] 
ircd/authd: remove rb_free no longer needed.

8 years agoauthd: this isn't a list dammit!
Elizabeth Myers [Mon, 28 Mar 2016 23:13:57 +0000 (18:13 -0500)] 
authd: this isn't a list dammit!

8 years agoauthd: don't use wild pointer
Elizabeth Myers [Mon, 28 Mar 2016 23:09:22 +0000 (18:09 -0500)] 
authd: don't use wild pointer

8 years agoircd/newconf: better IPv4 example
Elizabeth Myers [Mon, 28 Mar 2016 22:55:54 +0000 (17:55 -0500)] 
ircd/newconf: better IPv4 example

8 years agonewconf: add illustrative examples to comments
Elizabeth Myers [Mon, 28 Mar 2016 22:54:01 +0000 (17:54 -0500)] 
newconf: add illustrative examples to comments

8 years agoauthd/dns: remove magic number
Elizabeth Myers [Mon, 28 Mar 2016 22:50:45 +0000 (17:50 -0500)] 
authd/dns: remove magic number

8 years agonewconf: fix check for IPv6 address length
Elizabeth Myers [Mon, 28 Mar 2016 22:47:13 +0000 (17:47 -0500)] 
newconf: fix check for IPv6 address length

8 years agonewconf: change an error to a warning
Elizabeth Myers [Mon, 28 Mar 2016 22:45:35 +0000 (17:45 -0500)] 
newconf: change an error to a warning

8 years agoMerge branch 'authd-framework'
Elizabeth Myers [Mon, 28 Mar 2016 21:51:45 +0000 (16:51 -0500)] 
Merge branch 'authd-framework'

8 years agoauthd: remove useless blacklist stats provider for now.
Elizabeth Myers [Mon, 28 Mar 2016 21:49:26 +0000 (16:49 -0500)] 
authd: remove useless blacklist stats provider for now.

Right now we keep track of this in ircd as stats is not ready for
asynchronous replies.

8 years agoauthd: It Works, Bitches™
Elizabeth Myers [Mon, 28 Mar 2016 21:47:51 +0000 (16:47 -0500)] 
authd: It Works, Bitches™

8 years agoauthd: misc fixes
Elizabeth Myers [Mon, 28 Mar 2016 21:46:52 +0000 (16:46 -0500)] 
authd: misc fixes

8 years agoauthd: fix fencepost error
Elizabeth Myers [Mon, 28 Mar 2016 20:15:16 +0000 (15:15 -0500)] 
authd: fix fencepost error

8 years agoircd_lexer: use correct variable here.
Elizabeth Myers [Mon, 28 Mar 2016 19:58:26 +0000 (14:58 -0500)] 
ircd_lexer: use correct variable here.

ircd_paths[IRCD_PATH_ETC] is what's wanted, not IRCD_PATH_ETC.

8 years agoircd_lexer: use correct variable here.
Elizabeth Myers [Mon, 28 Mar 2016 19:58:26 +0000 (14:58 -0500)] 
ircd_lexer: use correct variable here.

ircd_paths[IRCD_PATH_ETC] is what's wanted, not IRCD_PATH_ETC.

8 years agoMerge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd...
Elizabeth Myers [Mon, 28 Mar 2016 19:46:28 +0000 (14:46 -0500)] 
Merge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd-framework

8 years agoMerge branch 'master' into authd-framework
Elizabeth Myers [Mon, 28 Mar 2016 19:44:47 +0000 (14:44 -0500)] 
Merge branch 'master' into authd-framework

8 years agoMerge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd...
Elizabeth Myers [Mon, 28 Mar 2016 19:42:25 +0000 (14:42 -0500)] 
Merge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd-framework

8 years agoircd/authd: respect auth_disabled config option
Elizabeth Myers [Mon, 28 Mar 2016 07:42:20 +0000 (02:42 -0500)] 
ircd/authd: respect auth_disabled config option

8 years agoircd/authd: use proper timeout values for clients
Elizabeth Myers [Mon, 28 Mar 2016 07:32:05 +0000 (02:32 -0500)] 
ircd/authd: use proper timeout values for clients

8 years agoircd/authd: timeout dead authd clients
Elizabeth Myers [Mon, 28 Mar 2016 07:30:54 +0000 (02:30 -0500)] 
ircd/authd: timeout dead authd clients

8 years agoircd/authd: implement client noticing
Elizabeth Myers [Mon, 28 Mar 2016 07:19:34 +0000 (02:19 -0500)] 
ircd/authd: implement client noticing

8 years agoReplace s_auth/blacklist stuff with authd calls
Elizabeth Myers [Mon, 28 Mar 2016 07:11:16 +0000 (02:11 -0500)] 
Replace s_auth/blacklist stuff with authd calls

This also does a lot of surgery on the conf system to reconfigure authd.

/!\ WARNING! ACHTUNG! ADVERTENCIA! ATTENTION! AVVERTIMENTO! /!\
This code has not been run-time tested yet (though it compiles)!

8 years agoauthd/providers/rdns: change option name to rdns_timeout
Elizabeth Myers [Mon, 28 Mar 2016 06:55:54 +0000 (01:55 -0500)] 
authd/providers/rdns: change option name to rdns_timeout

8 years agoauthd/providers/blacklist: add stats reporting for blacklist info
Elizabeth Myers [Mon, 28 Mar 2016 06:05:19 +0000 (01:05 -0500)] 
authd/providers/blacklist: add stats reporting for blacklist info

8 years agoauthd/providers/ident: fix typo
Elizabeth Myers [Mon, 28 Mar 2016 05:03:27 +0000 (00:03 -0500)] 
authd/providers/ident: fix typo

8 years agoauthd/providers/ident: add conf option for enabling ident
Elizabeth Myers [Mon, 28 Mar 2016 04:57:06 +0000 (23:57 -0500)] 
authd/providers/ident: add conf option for enabling ident

8 years agogitignore: Ignore pid files from startall.sh
Matt Ullman [Mon, 28 Mar 2016 04:09:51 +0000 (00:09 -0400)] 
gitignore: Ignore pid files from startall.sh

8 years agotestsuite: Update startall.sh
Matt Ullman [Mon, 28 Mar 2016 04:09:01 +0000 (00:09 -0400)] 
testsuite: Update startall.sh

8 years agogitignore: Ignore confdefs.h
Matt Ullman [Mon, 28 Mar 2016 04:08:05 +0000 (00:08 -0400)] 
gitignore: Ignore confdefs.h

8 years agoAdd extb_usermode module to example configuration files
Aaron Jones [Mon, 28 Mar 2016 02:29:57 +0000 (03:29 +0100)] 
Add extb_usermode module to example configuration files

[ci skip]

8 years agoDocument extb_usermode module
Aaron Jones [Mon, 28 Mar 2016 02:28:07 +0000 (03:28 +0100)] 
Document extb_usermode module

[ci skip]

8 years agoextensions: Fix duplicate extban character usage
Aaron Jones [Mon, 28 Mar 2016 02:05:16 +0000 (03:05 +0100)] 
extensions: Fix duplicate extban character usage

extb_usermode and extb_hostmask both use the same extban character
('m'), resulting in only one of the modules being usable (depending
on module load order) and neither one functioning if one of them
is unloaded.

This changes the character for extb_usermode from 'm' to 'u'.

[ci skip]

8 years agoircd: Move signaled variables to volatile sig_atomic_t
Matt Ullman [Mon, 28 Mar 2016 00:05:38 +0000 (20:05 -0400)] 
ircd: Move signaled variables to volatile sig_atomic_t

8 years agoauthd: pass in uint32_t rid's.
Elizabeth Myers [Sun, 27 Mar 2016 22:28:26 +0000 (17:28 -0500)] 
authd: pass in uint32_t rid's.

8 years agoauthd/provider: add stats handling hooking
Elizabeth Myers [Sun, 27 Mar 2016 22:15:08 +0000 (17:15 -0500)] 
authd/provider: add stats handling hooking

8 years agoauthd: add stats reporting API
Elizabeth Myers [Sun, 27 Mar 2016 22:04:14 +0000 (17:04 -0500)] 
authd: add stats reporting API

8 years agoauthd/providers/blacklist: use uint8_t for iptype
Elizabeth Myers [Sun, 27 Mar 2016 19:41:50 +0000 (14:41 -0500)] 
authd/providers/blacklist: use uint8_t for iptype

This clearly illustrates what it is

8 years agoauthd/provider: add data to rejection tag.
Elizabeth Myers [Sun, 27 Mar 2016 18:52:52 +0000 (13:52 -0500)] 
authd/provider: add data to rejection tag.

This is used for information such as what blacklist rejected the client.

8 years agoMerge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd...
Elizabeth Myers [Sun, 27 Mar 2016 16:50:19 +0000 (11:50 -0500)] 
Merge branch 'authd-framework' of github.com:charybdis-ircd/charybdis into authd-framework

8 years agohash.c: Save some more bytes
Matt Ullman [Sun, 27 Mar 2016 10:29:10 +0000 (06:29 -0400)] 
hash.c: Save some more bytes

8 years agossld: Remove left over function
Matt Ullman [Sun, 27 Mar 2016 10:13:11 +0000 (06:13 -0400)] 
ssld: Remove left over function

8 years agoauthd: add abiltiy to cancel connection
Elizabeth Myers [Sun, 27 Mar 2016 04:54:21 +0000 (23:54 -0500)] 
authd: add abiltiy to cancel connection

8 years agoauthd: try to destroy all providers on the way out.
Elizabeth Myers [Sun, 27 Mar 2016 04:39:22 +0000 (23:39 -0500)] 
authd: try to destroy all providers on the way out.

8 years agoauthd/provider: add notices in comments to certain functions not to use auth after...
Elizabeth Myers [Sun, 27 Mar 2016 04:16:53 +0000 (23:16 -0500)] 
authd/provider: add notices in comments to certain functions not to use auth after calling

8 years agoauthd/providers/blacklist: fix use after free
Elizabeth Myers [Sun, 27 Mar 2016 04:15:28 +0000 (23:15 -0500)] 
authd/providers/blacklist: fix use after free

After calling provider_done, you must *always* assume your auth instance
is freed.

8 years agoauthd/providers/ident: perform check for valid auth_client data
Elizabeth Myers [Sun, 27 Mar 2016 01:33:35 +0000 (20:33 -0500)] 
authd/providers/ident: perform check for valid auth_client data

8 years agoauthd/provider: forgot this file...
Elizabeth Myers [Sun, 27 Mar 2016 01:33:21 +0000 (20:33 -0500)] 
authd/provider: forgot this file...

8 years agoauthd/provider: do not accept clients until all providers have had a chance to run
Elizabeth Myers [Sun, 27 Mar 2016 01:32:35 +0000 (20:32 -0500)] 
authd/provider: do not accept clients until all providers have had a chance to run

8 years agoauthd: misc provider fixes
Elizabeth Myers [Sun, 27 Mar 2016 00:50:09 +0000 (19:50 -0500)] 
authd: misc provider fixes

8 years agoauthd/providers/ident: remove debugging message
Elizabeth Myers [Sun, 27 Mar 2016 00:31:45 +0000 (19:31 -0500)] 
authd/providers/ident: remove debugging message

8 years agos_auth: remove trailing whitespace at end of usernames.
Elizabeth Myers [Sun, 27 Mar 2016 00:21:16 +0000 (19:21 -0500)] 
s_auth: remove trailing whitespace at end of usernames.

8 years agoauthd/providers/blacklist: remove dead store.
Elizabeth Myers [Sun, 27 Mar 2016 00:19:52 +0000 (19:19 -0500)] 
authd/providers/blacklist: remove dead store.

8 years agoauthd/providers/ident: fix up trailing lf/cr at end of username
Elizabeth Myers [Sun, 27 Mar 2016 00:18:54 +0000 (19:18 -0500)] 
authd/providers/ident: fix up trailing lf/cr at end of username

This bug existed in the original code too, but I have no idea how it
didn't manifest.

8 years agoproviders/ident: fix some nasty crashes
Elizabeth Myers [Sat, 26 Mar 2016 23:40:17 +0000 (18:40 -0500)] 
providers/ident: fix some nasty crashes

8 years agoauthd/provider: some fixes
Elizabeth Myers [Sat, 26 Mar 2016 23:01:58 +0000 (18:01 -0500)] 
authd/provider: some fixes

8 years agoproviders/ident: more aggressive NULL checks
Elizabeth Myers [Sat, 26 Mar 2016 23:01:14 +0000 (18:01 -0500)] 
providers/ident: more aggressive NULL checks

8 years agoauthd/providers/ident: properly initialise variable
Elizabeth Myers [Sat, 26 Mar 2016 22:35:48 +0000 (17:35 -0500)] 
authd/providers/ident: properly initialise variable

8 years agoCheck these out from authd-framework-2.
Elizabeth Myers [Sat, 26 Mar 2016 21:53:43 +0000 (16:53 -0500)] 
Check these out from authd-framework-2.

8 years agoMerge branch 'authd-framework-2' into authd-framework
Elizabeth Myers [Sat, 26 Mar 2016 21:51:09 +0000 (16:51 -0500)] 
Merge branch 'authd-framework-2' into authd-framework

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 21:45:23 +0000 (16:45 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoircd/authd: some comments
Elizabeth Myers [Sat, 26 Mar 2016 21:44:41 +0000 (16:44 -0500)] 
ircd/authd: some comments

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 21:40:28 +0000 (16:40 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoauthd/providers/rdns: minor function renaming cleanup
Elizabeth Myers [Sat, 26 Mar 2016 21:37:04 +0000 (16:37 -0500)] 
authd/providers/rdns: minor function renaming cleanup

8 years agoauthd/providers/ident: add configuration interface
Elizabeth Myers [Sat, 26 Mar 2016 21:36:50 +0000 (16:36 -0500)] 
authd/providers/ident: add configuration interface

8 years agoauthd/providers/blacklist: add configuration interface for deletion
Elizabeth Myers [Sat, 26 Mar 2016 21:36:14 +0000 (16:36 -0500)] 
authd/providers/blacklist: add configuration interface for deletion

8 years agosslproc: Remove unused variable
Matt Ullman [Sat, 26 Mar 2016 20:41:36 +0000 (16:41 -0400)] 
sslproc: Remove unused variable

8 years agoproviders/ident: cleanup things
Elizabeth Myers [Sat, 26 Mar 2016 20:39:55 +0000 (15:39 -0500)] 
providers/ident: cleanup things

8 years agoproviders/rdns: add configuration interface for rDNS timeout
Elizabeth Myers [Sat, 26 Mar 2016 20:36:12 +0000 (15:36 -0500)] 
providers/rdns: add configuration interface for rDNS timeout

8 years agoproviders/blacklist: add configuration interface
Elizabeth Myers [Sat, 26 Mar 2016 20:27:57 +0000 (15:27 -0500)] 
providers/blacklist: add configuration interface

8 years agowsockd: add some stub i/o code
William Pitcock [Sat, 26 Mar 2016 10:30:52 +0000 (05:30 -0500)] 
wsockd: add some stub i/o code

8 years agowsockd: conn_t.stream is not needed
William Pitcock [Sat, 26 Mar 2016 06:29:59 +0000 (01:29 -0500)] 
wsockd: conn_t.stream is not needed

8 years agoauthd/provider: add options handlers for providers
Elizabeth Myers [Sat, 26 Mar 2016 04:04:00 +0000 (23:04 -0500)] 
authd/provider: add options handlers for providers

This allows providers to create handlers for changing their
configuration.

8 years agoPort notice stuff over from authd-framework-2 and use it.
Elizabeth Myers [Sat, 26 Mar 2016 02:57:42 +0000 (21:57 -0500)] 
Port notice stuff over from authd-framework-2 and use it.

This allows things like oper warnings from authd using the W message type
also.

8 years agoauthd: split out notices stuff for backporting to master.
Elizabeth Myers [Sat, 26 Mar 2016 02:29:44 +0000 (21:29 -0500)] 
authd: split out notices stuff for backporting to master.

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 02:16:04 +0000 (21:16 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoauthd: also check size correctly
William Pitcock [Sat, 26 Mar 2016 02:12:28 +0000 (21:12 -0500)] 
authd: also check size correctly

8 years agoauthd: check if handler is NULL, ensure that we do not overflow
William Pitcock [Sat, 26 Mar 2016 02:10:34 +0000 (21:10 -0500)] 
authd: check if handler is NULL, ensure that we do not overflow

8 years agoauthd: fix undefined behaviour
Elizabeth Myers [Sat, 26 Mar 2016 02:09:55 +0000 (21:09 -0500)] 
authd: fix undefined behaviour

8 years agoauthd/provider: remove obsolete comment [ci skip]
Elizabeth Myers [Sat, 26 Mar 2016 02:08:46 +0000 (21:08 -0500)] 
authd/provider: remove obsolete comment [ci skip]

8 years agoreject_client: send back ident and hostname with rejection.
Elizabeth Myers [Sat, 26 Mar 2016 02:05:52 +0000 (21:05 -0500)] 
reject_client: send back ident and hostname with rejection.

At the moment (possibly not in the future) ircd will want to override
our decision whether or not to accept a client; we need to give them
enough information back to ensure they can do it properly.

8 years agoFix dangling line from merge
Elizabeth Myers [Sat, 26 Mar 2016 02:05:39 +0000 (21:05 -0500)] 
Fix dangling line from merge

8 years agowsockd: add skeleton for future websockets helper (ref #78)
William Pitcock [Sat, 26 Mar 2016 02:03:17 +0000 (21:03 -0500)] 
wsockd: add skeleton for future websockets helper (ref #78)

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 02:01:48 +0000 (21:01 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoauthd: change reload character to R from H.
Elizabeth Myers [Sat, 26 Mar 2016 02:00:13 +0000 (21:00 -0500)] 
authd: change reload character to R from H.

This is more in line with the specification @kaniini laid out.

8 years agoproviders/blacklist: change some checks to asserts.
Elizabeth Myers [Sat, 26 Mar 2016 01:55:10 +0000 (20:55 -0500)] 
providers/blacklist: change some checks to asserts.

These should not really happen in reality...

8 years agoprovider: make blacklist queries come after ident/rdns.
Elizabeth Myers [Sat, 26 Mar 2016 01:46:58 +0000 (20:46 -0500)] 
provider: make blacklist queries come after ident/rdns.

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 01:09:23 +0000 (20:09 -0500)] 
Merge branch 'master' into authd-framework-2