]> jfr.im git - solanum.git/log
solanum.git
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 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 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

8 years agoauthd/provider: add blacklist provider.
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.

8 years agoircd: client: substantially rework the connid registry system
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.

8 years agordns: adjust timeout values
Elizabeth Myers [Sat, 26 Mar 2016 00:47:54 +0000 (19:47 -0500)] 
rdns: adjust timeout values

8 years agoextb_combi: More int to bool conversion
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

8 years ago.gitignore: Ignore serno.h from librb as well
Matt Ullman [Fri, 25 Mar 2016 23:40:12 +0000 (19:40 -0400)] 
.gitignore: Ignore serno.h from librb as well

8 years agoappveyor: make the build less hacky
William Pitcock [Fri, 25 Mar 2016 23:25:00 +0000 (18:25 -0500)] 
appveyor: make the build less hacky

8 years agoircd: only relocate_paths on windows, no point on posix
William Pitcock [Fri, 25 Mar 2016 23:13:15 +0000 (18:13 -0500)] 
ircd: only relocate_paths on windows, no point on posix

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Fri, 25 Mar 2016 16:49:38 +0000 (11:49 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoserno.h: remove it with make clean.
Elizabeth Myers [Fri, 25 Mar 2016 16:47:02 +0000 (11:47 -0500)] 
serno.h: remove it with make clean.

8 years agoircd: implement path relocation
William Pitcock [Fri, 25 Mar 2016 06:57:25 +0000 (01:57 -0500)] 
ircd: implement path relocation

8 years agoircd: use ircd_paths for logFileName and pidFileName
William Pitcock [Fri, 25 Mar 2016 05:00:06 +0000 (00:00 -0500)] 
ircd: use ircd_paths for logFileName and pidFileName

8 years agostarttls: use the client connid instead of the FD for opening the channel with ssld
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

8 years agoactually use warn_opers function
Elizabeth Myers [Fri, 25 Mar 2016 00:36:41 +0000 (19:36 -0500)] 
actually use warn_opers function

8 years agoauthd/provider: cleanups
Elizabeth Myers [Fri, 25 Mar 2016 00:23:49 +0000 (19:23 -0500)] 
authd/provider: cleanups

8 years agoconfigure: define ENABLE_FHS_PATHS if built with --enable-fhs-paths, this will disabl...
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

8 years agoircd: unbreak build
William Pitcock [Thu, 24 Mar 2016 23:50:13 +0000 (18:50 -0500)] 
ircd: unbreak build

8 years agoircd: start staging for relocatable paths
William Pitcock [Thu, 24 Mar 2016 23:45:28 +0000 (18:45 -0500)] 
ircd: start staging for relocatable paths

8 years agolibrb: define RB_PATH_SEPARATOR
William Pitcock [Thu, 24 Mar 2016 23:21:11 +0000 (18:21 -0500)] 
librb: define RB_PATH_SEPARATOR

8 years agochmode: Move check_forward() to a boolean
Matt Ullman [Thu, 24 Mar 2016 18:42:54 +0000 (14:42 -0400)] 
chmode: Move check_forward() to a boolean

8 years agochmode: Move add_id() to a boolean
Matt Ullman [Thu, 24 Mar 2016 18:37:52 +0000 (14:37 -0400)] 
chmode: Move add_id() to a boolean

8 years agochmode: Move allow_mode_change() to a boolean
Matt Ullman [Thu, 24 Mar 2016 18:26:02 +0000 (14:26 -0400)] 
chmode: Move allow_mode_change() to a boolean

8 years agossld: Move plain_check_cork() to a boolean
Matt Ullman [Thu, 24 Mar 2016 17:52:16 +0000 (13:52 -0400)] 
ssld: Move plain_check_cork() to a boolean

8 years agoversion.c.SH: Fix generation not incrementing
Matt Ullman [Thu, 24 Mar 2016 08:00:23 +0000 (04:00 -0400)] 
version.c.SH: Fix generation not incrementing

8 years agochannel: Move flood_attack_channel() to a boolean
Matt Ullman [Thu, 24 Mar 2016 06:19:30 +0000 (02:19 -0400)] 
channel: Move flood_attack_channel() to a boolean

8 years agochannel: Change check_channel_name() note to false
Matt Ullman [Thu, 24 Mar 2016 06:14:03 +0000 (02:14 -0400)] 
channel: Change check_channel_name() note to false

[ci skip]

8 years agochannel: Move check_channel_name() to a boolean
Matt Ullman [Thu, 24 Mar 2016 05:54:39 +0000 (01:54 -0400)] 
channel: Move check_channel_name() to a boolean

8 years agoAdd BlindSight to the credits
Elizabeth Myers [Thu, 24 Mar 2016 03:17:47 +0000 (22:17 -0500)] 
Add BlindSight to the credits

8 years agocleanup: u_long -> unsigned long
Elizabeth Myers [Thu, 24 Mar 2016 03:03:24 +0000 (22:03 -0500)] 
cleanup: u_long -> unsigned long

8 years agoauthd/rdns: rename a function
Elizabeth Myers [Thu, 24 Mar 2016 02:59:48 +0000 (21:59 -0500)] 
authd/rdns: rename a function

8 years agoMerge pull request #178 from staticfox/bsdisms
Elizabeth Myers [Thu, 24 Mar 2016 02:57:09 +0000 (21:57 -0500)] 
Merge pull request #178 from staticfox/bsdisms

Cleanup more BSD-isms

8 years agoauthd: Fix windows build
Matt Ullman [Thu, 24 Mar 2016 02:51:03 +0000 (22:51 -0400)] 
authd: Fix windows build

Replace stray NO with false

8 years agoCleanup more BSD-isms
Matt Ullman [Thu, 24 Mar 2016 02:33:54 +0000 (22:33 -0400)] 
Cleanup more BSD-isms

8 years agoMerge pull request #177 from awilfox/master
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

8 years agoInvoke 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.

8 years agoMerge pull request #176 from staticfox/morecleanups
William Pitcock [Thu, 24 Mar 2016 00:14:46 +0000 (19:14 -0500)] 
Merge pull request #176 from staticfox/morecleanups

More cleanups

8 years agoRemove the rest of the SVN id tags
Matt Ullman [Thu, 24 Mar 2016 00:10:44 +0000 (20:10 -0400)] 
Remove the rest of the SVN id tags

8 years agoauthd: Change str_isnumber() to bool
Matt Ullman [Thu, 24 Mar 2016 00:07:21 +0000 (20:07 -0400)] 
authd: Change str_isnumber() to bool

8 years agostupidity fixes
Elizabeth Myers [Thu, 24 Mar 2016 00:06:33 +0000 (19:06 -0500)] 
stupidity fixes

8 years agoident: use new *_addr fields
Elizabeth Myers [Wed, 23 Mar 2016 23:58:56 +0000 (18:58 -0500)] 
ident: use new *_addr fields

8 years agoauthd/provider: add c_addr/l_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.

8 years agoproviders/ident: fix inet_ntop/inet_pton mixup
Elizabeth Myers [Wed, 23 Mar 2016 23:47:02 +0000 (18:47 -0500)] 
providers/ident: fix inet_ntop/inet_pton mixup

8 years agoMerge pull request #175 from staticfox/datatypes
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

8 years agoMove away from BSD data types
Matt Ullman [Wed, 23 Mar 2016 23:11:42 +0000 (19:11 -0400)] 
Move away from BSD data types

8 years agoproviders/rdns: remove useless struct member
Elizabeth Myers [Wed, 23 Mar 2016 22:44:56 +0000 (17:44 -0500)] 
providers/rdns: remove useless struct member

8 years agores: expose rDNS building functions
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.

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

8 years agoRemove tier 4 (tier 3 is basically "everything but")
Elizabeth Myers [Wed, 23 Mar 2016 20:51:25 +0000 (15:51 -0500)] 
Remove tier 4 (tier 3 is basically "everything but")

8 years agoAdd unlisted architectures to tier 3 [ci skip]
Elizabeth Myers [Wed, 23 Mar 2016 20:35:13 +0000 (15:35 -0500)] 
Add unlisted architectures to tier 3 [ci skip]

8 years agoREADME: clearly outline levels of platform support
Elizabeth Myers [Wed, 23 Mar 2016 20:10:44 +0000 (15:10 -0500)] 
README: clearly outline levels of platform support

8 years agoDICTIONARY_FOREACH -> RB_DICTIONARY_FOREACH [ci skip]
Elizabeth Myers [Wed, 23 Mar 2016 19:29:27 +0000 (14:29 -0500)] 
DICTIONARY_FOREACH -> RB_DICTIONARY_FOREACH [ci skip]

8 years agomodules: libircd depends on librb, so no need to include it.
Elizabeth Myers [Wed, 23 Mar 2016 18:59:10 +0000 (13:59 -0500)] 
modules: libircd depends on librb, so no need to include it.

This triggers multiple inclusion warnings on Solaris also.