]>
jfr.im git - solanum.git/log
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)!
Elizabeth Myers [Mon, 28 Mar 2016 06:55:54 +0000 (01:55 -0500)]
authd/providers/rdns: change option name to rdns_timeout
Elizabeth Myers [Mon, 28 Mar 2016 06:05:19 +0000 (01:05 -0500)]
authd/providers/blacklist: add stats reporting for blacklist info
Elizabeth Myers [Mon, 28 Mar 2016 05:03:27 +0000 (00:03 -0500)]
authd/providers/ident: fix typo
Elizabeth Myers [Mon, 28 Mar 2016 04:57:06 +0000 (23:57 -0500)]
authd/providers/ident: add conf option for enabling ident
Elizabeth Myers [Sun, 27 Mar 2016 22:28:26 +0000 (17:28 -0500)]
authd: pass in uint32_t rid's.
Elizabeth Myers [Sun, 27 Mar 2016 22:15:08 +0000 (17:15 -0500)]
authd/provider: add stats handling hooking
Elizabeth Myers [Sun, 27 Mar 2016 22:04:14 +0000 (17:04 -0500)]
authd: add stats reporting API
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
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.
Elizabeth Myers [Sun, 27 Mar 2016 04:54:21 +0000 (23:54 -0500)]
authd: add abiltiy to cancel connection
Elizabeth Myers [Sun, 27 Mar 2016 04:39:22 +0000 (23:39 -0500)]
authd: try to destroy all providers on the way out.
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
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.
Elizabeth Myers [Sun, 27 Mar 2016 01:33:35 +0000 (20:33 -0500)]
authd/providers/ident: perform check for valid auth_client data
Elizabeth Myers [Sun, 27 Mar 2016 01:33:21 +0000 (20:33 -0500)]
authd/provider: forgot this file...
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
Elizabeth Myers [Sun, 27 Mar 2016 00:50:09 +0000 (19:50 -0500)]
authd: misc provider fixes
Elizabeth Myers [Sun, 27 Mar 2016 00:31:45 +0000 (19:31 -0500)]
authd/providers/ident: remove debugging message
Elizabeth Myers [Sun, 27 Mar 2016 00:19:52 +0000 (19:19 -0500)]
authd/providers/blacklist: remove dead store.
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.
Elizabeth Myers [Sat, 26 Mar 2016 23:40:17 +0000 (18:40 -0500)]
providers/ident: fix some nasty crashes
Elizabeth Myers [Sat, 26 Mar 2016 23:01:58 +0000 (18:01 -0500)]
authd/provider: some fixes
Elizabeth Myers [Sat, 26 Mar 2016 23:01:14 +0000 (18:01 -0500)]
providers/ident: more aggressive NULL checks
Elizabeth Myers [Sat, 26 Mar 2016 22:35:48 +0000 (17:35 -0500)]
authd/providers/ident: properly initialise variable
Elizabeth Myers [Sat, 26 Mar 2016 21:53:43 +0000 (16:53 -0500)]
Check these out from authd-framework-2.
Elizabeth Myers [Sat, 26 Mar 2016 21:51:09 +0000 (16:51 -0500)]
Merge branch 'authd-framework-2' into authd-framework
Elizabeth Myers [Sat, 26 Mar 2016 21:45:23 +0000 (16:45 -0500)]
Merge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 21:44:41 +0000 (16:44 -0500)]
ircd/authd: some comments
Elizabeth Myers [Sat, 26 Mar 2016 21:40:28 +0000 (16:40 -0500)]
Merge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 21:37:04 +0000 (16:37 -0500)]
authd/providers/rdns: minor function renaming cleanup
Elizabeth Myers [Sat, 26 Mar 2016 21:36:50 +0000 (16:36 -0500)]
authd/providers/ident: add configuration interface
Elizabeth Myers [Sat, 26 Mar 2016 21:36:14 +0000 (16:36 -0500)]
authd/providers/blacklist: add configuration interface for deletion
Matt Ullman [Sat, 26 Mar 2016 20:41:36 +0000 (16:41 -0400)]
sslproc: Remove unused variable
Elizabeth Myers [Sat, 26 Mar 2016 20:39:55 +0000 (15:39 -0500)]
providers/ident: cleanup things
Elizabeth Myers [Sat, 26 Mar 2016 20:36:12 +0000 (15:36 -0500)]
providers/rdns: add configuration interface for rDNS timeout
Elizabeth Myers [Sat, 26 Mar 2016 20:27:57 +0000 (15:27 -0500)]
providers/blacklist: add configuration interface
William Pitcock [Sat, 26 Mar 2016 10:30:52 +0000 (05:30 -0500)]
wsockd: add some stub i/o code
William Pitcock [Sat, 26 Mar 2016 06:29:59 +0000 (01:29 -0500)]
wsockd: conn_t.stream is not needed
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.
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.
Elizabeth Myers [Sat, 26 Mar 2016 02:29:44 +0000 (21:29 -0500)]
authd: split out notices stuff for backporting to master.
Elizabeth Myers [Sat, 26 Mar 2016 02:16:04 +0000 (21:16 -0500)]
Merge branch 'master' into authd-framework-2
William Pitcock [Sat, 26 Mar 2016 02:12:28 +0000 (21:12 -0500)]
authd: also check size correctly
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
Elizabeth Myers [Sat, 26 Mar 2016 02:09:55 +0000 (21:09 -0500)]
authd: fix undefined behaviour
Elizabeth Myers [Sat, 26 Mar 2016 02:08:46 +0000 (21:08 -0500)]
authd/provider: remove obsolete comment [ci skip]
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.
Elizabeth Myers [Sat, 26 Mar 2016 02:05:39 +0000 (21:05 -0500)]
Fix dangling line from merge
William Pitcock [Sat, 26 Mar 2016 02:03:17 +0000 (21:03 -0500)]
wsockd: add skeleton for future websockets helper (ref #78)
Elizabeth Myers [Sat, 26 Mar 2016 02:01:48 +0000 (21:01 -0500)]
Merge branch 'master' into authd-framework-2
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.
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...
Elizabeth Myers [Sat, 26 Mar 2016 01:46:58 +0000 (20:46 -0500)]
provider: make blacklist queries come after ident/rdns.
Elizabeth Myers [Sat, 26 Mar 2016 01:09:23 +0000 (20:09 -0500)]
Merge branch 'master' into authd-framework-2
Elizabeth Myers [Sat, 26 Mar 2016 01:07:36 +0000 (20:07 -0500)]
authd/provider: add blacklist provider.
This took way longer than it should have.
William Pitcock [Sat, 26 Mar 2016 00:49:01 +0000 (19:49 -0500)]
ircd: client: substantially rework the connid registry system
now connid's are allocated on demand and clients may have as many connid's as necessary.
this allows us to build chains of helpers while ensuring the ircd properly tracks and GCs the resources.
Elizabeth Myers [Sat, 26 Mar 2016 00:47:54 +0000 (19:47 -0500)]
rdns: adjust timeout values
Matt Ullman [Fri, 25 Mar 2016 23:47:30 +0000 (19:47 -0400)]
extb_combi: More int to bool conversion
Cleanup whitespace in ircd_lexer.l
Matt Ullman [Fri, 25 Mar 2016 23:40:12 +0000 (19:40 -0400)]
.gitignore: Ignore serno.h from librb as well
William Pitcock [Fri, 25 Mar 2016 23:25:00 +0000 (18:25 -0500)]
appveyor: make the build less hacky
William Pitcock [Fri, 25 Mar 2016 23:13:15 +0000 (18:13 -0500)]
ircd: only relocate_paths on windows, no point on posix
Elizabeth Myers [Fri, 25 Mar 2016 16:49:38 +0000 (11:49 -0500)]
Merge branch 'master' into authd-framework-2
Elizabeth Myers [Fri, 25 Mar 2016 16:47:02 +0000 (11:47 -0500)]
serno.h: remove it with make clean.
William Pitcock [Fri, 25 Mar 2016 06:57:25 +0000 (01:57 -0500)]
ircd: implement path relocation
William Pitcock [Fri, 25 Mar 2016 05:00:06 +0000 (00:00 -0500)]
ircd: use ircd_paths for logFileName and pidFileName
William Pitcock [Fri, 25 Mar 2016 01:33:54 +0000 (20:33 -0500)]
starttls: use the client connid instead of the FD for opening the channel with ssld
Elizabeth Myers [Fri, 25 Mar 2016 00:36:41 +0000 (19:36 -0500)]
actually use warn_opers function
Elizabeth Myers [Fri, 25 Mar 2016 00:23:49 +0000 (19:23 -0500)]
authd/provider: cleanups
William Pitcock [Thu, 24 Mar 2016 23:55:30 +0000 (18:55 -0500)]
configure: define ENABLE_FHS_PATHS if built with --enable-fhs-paths, this will disable the path relocation code
William Pitcock [Thu, 24 Mar 2016 23:50:13 +0000 (18:50 -0500)]
ircd: unbreak build
William Pitcock [Thu, 24 Mar 2016 23:45:28 +0000 (18:45 -0500)]
ircd: start staging for relocatable paths
William Pitcock [Thu, 24 Mar 2016 23:21:11 +0000 (18:21 -0500)]
librb: define RB_PATH_SEPARATOR
Matt Ullman [Thu, 24 Mar 2016 18:42:54 +0000 (14:42 -0400)]
chmode: Move check_forward() to a boolean
Matt Ullman [Thu, 24 Mar 2016 18:37:52 +0000 (14:37 -0400)]
chmode: Move add_id() to a boolean
Matt Ullman [Thu, 24 Mar 2016 18:26:02 +0000 (14:26 -0400)]
chmode: Move allow_mode_change() to a boolean
Matt Ullman [Thu, 24 Mar 2016 17:52:16 +0000 (13:52 -0400)]
ssld: Move plain_check_cork() to a boolean
Matt Ullman [Thu, 24 Mar 2016 08:00:23 +0000 (04:00 -0400)]
version.c.SH: Fix generation not incrementing
Matt Ullman [Thu, 24 Mar 2016 06:19:30 +0000 (02:19 -0400)]
channel: Move flood_attack_channel() to a boolean
Matt Ullman [Thu, 24 Mar 2016 06:14:03 +0000 (02:14 -0400)]
channel: Change check_channel_name() note to false
[ci skip]
Matt Ullman [Thu, 24 Mar 2016 05:54:39 +0000 (01:54 -0400)]
channel: Move check_channel_name() to a boolean
Elizabeth Myers [Thu, 24 Mar 2016 03:17:47 +0000 (22:17 -0500)]
Add BlindSight to the credits
Elizabeth Myers [Thu, 24 Mar 2016 03:03:24 +0000 (22:03 -0500)]
cleanup: u_long -> unsigned long
Elizabeth Myers [Thu, 24 Mar 2016 02:59:48 +0000 (21:59 -0500)]
authd/rdns: rename a function
Elizabeth Myers [Thu, 24 Mar 2016 02:57:09 +0000 (21:57 -0500)]
Merge pull request #178 from staticfox/bsdisms
Cleanup more BSD-isms
Matt Ullman [Thu, 24 Mar 2016 02:51:03 +0000 (22:51 -0400)]
authd: Fix windows build
Replace stray NO with false
Matt Ullman [Thu, 24 Mar 2016 02:33:54 +0000 (22:33 -0400)]
Cleanup more BSD-isms
Elizabeth Myers [Thu, 24 Mar 2016 00:51:23 +0000 (19:51 -0500)]
Merge pull request #177 from awilfox/master
Invoke the standard system shell in autogen.sh
Andrew Wilcox [Thu, 24 Mar 2016 00:49:50 +0000 (19:49 -0500)]
Invoke the standard system shell in autogen.sh
This avoids a needless dependence on bash.
William Pitcock [Thu, 24 Mar 2016 00:14:46 +0000 (19:14 -0500)]
Merge pull request #176 from staticfox/morecleanups
More cleanups
Matt Ullman [Thu, 24 Mar 2016 00:10:44 +0000 (20:10 -0400)]
Remove the rest of the SVN id tags
Matt Ullman [Thu, 24 Mar 2016 00:07:21 +0000 (20:07 -0400)]
authd: Change str_isnumber() to bool
Elizabeth Myers [Thu, 24 Mar 2016 00:06:33 +0000 (19:06 -0500)]
stupidity fixes
Elizabeth Myers [Wed, 23 Mar 2016 23:58:56 +0000 (18:58 -0500)]
ident: use new *_addr fields
Elizabeth Myers [Wed, 23 Mar 2016 23:56:29 +0000 (18:56 -0500)]
authd/provider: add c_addr/l_addr fields
Some providers consume these directly, so it's better to have a "cached"
version that's already generated.
Elizabeth Myers [Wed, 23 Mar 2016 23:47:02 +0000 (18:47 -0500)]
providers/ident: fix inet_ntop/inet_pton mixup
William Pitcock [Wed, 23 Mar 2016 23:28:01 +0000 (18:28 -0500)]
Merge pull request #175 from staticfox/datatypes
Move away from BSD data types
Matt Ullman [Wed, 23 Mar 2016 23:11:42 +0000 (19:11 -0400)]
Move away from BSD data types
Elizabeth Myers [Wed, 23 Mar 2016 22:44:56 +0000 (17:44 -0500)]
providers/rdns: remove useless struct member
Elizabeth Myers [Wed, 23 Mar 2016 21:40:31 +0000 (16:40 -0500)]
res: expose rDNS building functions
This will be used by the blacklist code to avoid duplication of code.