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

8 years agoUpdate README
Elizabeth Myers [Wed, 23 Mar 2016 17:31:51 +0000 (12:31 -0500)] 
Update README

8 years agolibrb/ports: ungimp thing.
Elizabeth Myers [Wed, 23 Mar 2016 17:06:26 +0000 (12:06 -0500)] 
librb/ports: ungimp thing.

8 years agomisc solaris fixes
Elizabeth Myers [Wed, 23 Mar 2016 17:04:02 +0000 (12:04 -0500)] 
misc solaris fixes

8 years agomisc solaris fixes
Elizabeth Myers [Wed, 23 Mar 2016 17:04:02 +0000 (12:04 -0500)] 
misc solaris fixes

8 years agoRemove common.h from lexer and parser
Elizabeth Myers [Wed, 23 Mar 2016 15:09:53 +0000 (10:09 -0500)] 
Remove common.h from lexer and parser

8 years agoRemove common.h from here too.
Elizabeth Myers [Wed, 23 Mar 2016 15:06:52 +0000 (10:06 -0500)] 
Remove common.h from here too.

8 years agocommon.h: raison d'être is gone, so out it goes.
Elizabeth Myers [Wed, 23 Mar 2016 14:33:56 +0000 (09:33 -0500)] 
common.h: raison d'être is gone, so out it goes.

Fold whatever was left into ircd_defs.h

8 years agoEnsure the parser/lexer don't use IRCD_BUFSIZE.
Elizabeth Myers [Wed, 23 Mar 2016 14:25:56 +0000 (09:25 -0500)] 
Ensure the parser/lexer don't use IRCD_BUFSIZE.

8 years agoIRCD_BUFSIZE is redundant with BUFSIZE, so kill it.
Elizabeth Myers [Wed, 23 Mar 2016 14:22:55 +0000 (09:22 -0500)] 
IRCD_BUFSIZE is redundant with BUFSIZE, so kill it.

8 years agoauthd/provider: really fix things for new changes.
Elizabeth Myers [Wed, 23 Mar 2016 14:15:18 +0000 (09:15 -0500)] 
authd/provider: really fix things for new changes.

8 years agocommon: don't even attempt to define NULL.
Elizabeth Myers [Wed, 23 Mar 2016 14:11:20 +0000 (09:11 -0500)] 
common: don't even attempt to define NULL.

stddef.h includes it, ISO C mandates NULL be in it, and if any platforms
don't have it, *tough shit*.

8 years agocommon: don't even attempt to define NULL.
Elizabeth Myers [Wed, 23 Mar 2016 14:11:20 +0000 (09:11 -0500)] 
common: don't even attempt to define NULL.

stddef.h includes it, ISO C mandates NULL be in it, and if any platforms
don't have it, *tough shit*.

8 years agoUpdate NEWS
Elizabeth Myers [Wed, 23 Mar 2016 14:06:47 +0000 (09:06 -0500)] 
Update NEWS

8 years agoauthd/provider: incorporate new changes
Elizabeth Myers [Wed, 23 Mar 2016 14:03:37 +0000 (09:03 -0500)] 
authd/provider: incorporate new changes

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

8 years agoSend YES/NO to Davy Jones's Locker.
Elizabeth Myers [Wed, 23 Mar 2016 13:52:32 +0000 (08:52 -0500)] 
Send YES/NO to Davy Jones's Locker.

8 years agoRemove more YES/NO usage.
Elizabeth Myers [Wed, 23 Mar 2016 13:43:28 +0000 (08:43 -0500)] 
Remove more YES/NO usage.

8 years agoNEWS: fix typo [skip ci]
Elizabeth Myers [Wed, 23 Mar 2016 13:40:21 +0000 (08:40 -0500)] 
NEWS: fix typo [skip ci]

8 years agoUpdate NEWS.
Elizabeth Myers [Wed, 23 Mar 2016 13:39:19 +0000 (08:39 -0500)] 
Update NEWS.

8 years agotypedef-ify rb_radixtree for consistency.
Elizabeth Myers [Wed, 23 Mar 2016 13:32:22 +0000 (08:32 -0500)] 
typedef-ify rb_radixtree for consistency.

8 years agoChange struct Dictionary(*) to rb_dictionary(_\1).
Elizabeth Myers [Wed, 23 Mar 2016 13:09:58 +0000 (08:09 -0500)] 
Change struct Dictionary(*) to rb_dictionary(_\1).

This cleans things up a slightly and puts the dictionary stuff in its
own namespace.

8 years agoircd: shut GCC the fuck up.
Elizabeth Myers [Wed, 23 Mar 2016 13:07:23 +0000 (08:07 -0500)] 
ircd: shut GCC the fuck up.

No, it can't probably fail... that isn't what that's there for.

8 years agoDICTIONARY_FOREACH → RB_DICTIONARY_FOREACH
Elizabeth Myers [Wed, 23 Mar 2016 12:45:44 +0000 (07:45 -0500)] 
DICTIONARY_FOREACH → RB_DICTIONARY_FOREACH

This is in librb and therefore should be prefixed.

8 years agoMerge pull request #174 from staticfox/morecleanup
William Pitcock [Wed, 23 Mar 2016 08:57:37 +0000 (03:57 -0500)] 
Merge pull request #174 from staticfox/morecleanup

More cleanup

8 years agoMore cleanup
Matt Ullman [Wed, 23 Mar 2016 02:53:56 +0000 (22:53 -0400)] 
More cleanup

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Wed, 23 Mar 2016 00:17:02 +0000 (19:17 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agoauthd/provider: overhaul storage of various pieces of data
Elizabeth Myers [Wed, 23 Mar 2016 00:13:54 +0000 (19:13 -0500)] 
authd/provider: overhaul storage of various pieces of data

Clients are stored in a dictionary referenced by id (to allow for
UINT32_MAX auth clients, which is plenty).

Each provider now has a data slot (this limits the number of providers
to 32 for now, but that's plenty for now) which they can use to attach
data to auth_clients. This consolidates data, aids in debugging, and
makes it easier to just pass around auth_client structures.

8 years agoMerge pull request #173 from staticfox/gitignore
William Pitcock [Tue, 22 Mar 2016 22:52:59 +0000 (17:52 -0500)] 
Merge pull request #173 from staticfox/gitignore

gitignore: Don't commit m4/argz.m4

8 years agoMerge pull request #172 from staticfox/automake
William Pitcock [Tue, 22 Mar 2016 22:52:46 +0000 (17:52 -0500)] 
Merge pull request #172 from staticfox/automake

automake: Fix typo in compiler flag

8 years agoMerge branch 'master' into authd-framework-2
Elizabeth Myers [Tue, 22 Mar 2016 22:43:43 +0000 (17:43 -0500)] 
Merge branch 'master' into authd-framework-2

8 years agogitignore: Don't commit m4/argz.m4
Matt Ullman [Tue, 22 Mar 2016 21:06:45 +0000 (17:06 -0400)] 
gitignore: Don't commit m4/argz.m4

8 years agoautomake: Fix typo in compiler flag
Matt Ullman [Tue, 22 Mar 2016 20:40:19 +0000 (16:40 -0400)] 
automake: Fix typo in compiler flag