]> jfr.im git - irc/UndernetIRC/iauthd-c.git/log
irc/UndernetIRC/iauthd-c.git
6 years agoiauthd-c 1.0.1 v1.0.1
Michael Poole [Mon, 31 Jul 2017 01:01:50 +0000 (21:01 -0400)] 
iauthd-c 1.0.1

7 years agoINSTALL: Clarify how to pull in /usr/local packages.
Michael Poole [Tue, 28 Mar 2017 01:04:58 +0000 (21:04 -0400)] 
INSTALL: Clarify how to pull in /usr/local packages.

At least some BSD ports install libevent in /usr/local.

7 years agoconfig: Support syntax like "object { key value }".
Michael Poole [Tue, 28 Mar 2017 01:04:00 +0000 (21:04 -0400)] 
config: Support syntax like "object { key value }".

7 years agoiauthd-c.conf.example: Fix typo in comment.
Michael Poole [Tue, 28 Mar 2017 01:03:22 +0000 (21:03 -0400)] 
iauthd-c.conf.example: Fix typo in comment.

7 years agoiauthd-c 1.0 v1.0
Michael Poole [Sun, 29 Jan 2017 01:59:04 +0000 (20:59 -0500)] 
iauthd-c 1.0

7 years agoiauth_xquery: Send +x usermode on OK from login service.
Michael Poole [Mon, 23 Jan 2017 04:15:52 +0000 (23:15 -0500)] 
iauth_xquery: Send +x usermode on OK from login service.

This way a delay from some other service does not prevent setting +x.

7 years agoiauth_xquery: Remove : before <accountname password> fields.
Michael Poole [Tue, 29 Nov 2016 04:06:38 +0000 (23:06 -0500)] 
iauth_xquery: Remove : before <accountname password> fields.

Some services code does not expect or support it, and it is not strictly
necessary.  If we want to add new fields, we can/should assign new command
names anyway.

CHECK still uses : before the realname because realname is not expected
to have a fixed format.

7 years agoconfig: Make semicolons optional/intraline separators.
Michael Poole [Sat, 29 Oct 2016 03:42:33 +0000 (23:42 -0400)] 
config: Make semicolons optional/intraline separators.

At the end of a line or config block, semicolons are now optional.
Similarly, for a string list with more than one entry, the parentheses
around its values are optional.

7 years agoconfig: Minor coding style tweaks.
Michael Poole [Sat, 29 Oct 2016 03:21:53 +0000 (23:21 -0400)] 
config: Minor coding style tweaks.

7 years agoiauth_xquery: Also set user mode +x for hidden-host-only clients.
Michael Poole [Tue, 25 Oct 2016 03:21:07 +0000 (23:21 -0400)] 
iauth_xquery: Also set user mode +x for hidden-host-only clients.

7 years agoiauth_class: Add "xquery_ok" criterion.
Michael Poole [Tue, 25 Oct 2016 03:20:31 +0000 (23:20 -0400)] 
iauth_class: Add "xquery_ok" criterion.

Add some missing documentation for this module.

7 years agoMakefile: Fix HAS_GIT for out-of-tree builds.
Michael Poole [Thu, 8 Sep 2016 04:05:20 +0000 (00:05 -0400)] 
Makefile: Fix HAS_GIT for out-of-tree builds.

7 years agoconfigure: Improve HAS_GET test.
Michael Poole [Thu, 8 Sep 2016 03:35:01 +0000 (23:35 -0400)] 
configure: Improve HAS_GET test.

7 years agoMakefile: Pass "make distcheck".
Michael Poole [Thu, 25 Aug 2016 01:19:19 +0000 (21:19 -0400)] 
Makefile: Pass "make distcheck".

7 years agotests: Add a proper (but small) regression test framework.
Michael Poole [Sun, 26 Jun 2016 03:33:15 +0000 (23:33 -0400)] 
tests: Add a proper (but small) regression test framework.

7 years agosar: Various pton/ntop bug fixes.
Michael Poole [Sat, 25 Jun 2016 01:23:18 +0000 (21:23 -0400)] 
sar: Various pton/ntop bug fixes.

- More consistently set *bits for *pton*.
- Format IPv4-compatible and -mapped IPv6 addresses as such.
- Do not count terminating NUL in ipv6_ntop() return value.
- Fix indentation in ipv6_pton(), and *bits value with ::.

7 years agomain: Add -n option for debug, clean_exit flag for exit code.
Michael Poole [Sat, 25 Jun 2016 01:20:26 +0000 (21:20 -0400)] 
main: Add -n option for debug, clean_exit flag for exit code.

7 years agoconfigure.ac: Fix quoting and enable silent rules.
Michael Poole [Sat, 25 Jun 2016 01:19:43 +0000 (21:19 -0400)] 
configure.ac: Fix quoting and enable silent rules.

7 years agoiauth_xquery: Bug fixes for combined xquery services.
Michael Poole [Wed, 22 Jun 2016 21:09:50 +0000 (17:09 -0400)] 
iauth_xquery: Bug fixes for combined xquery services.

Improve handling of cases where no password is provided.

7 years agoiauth_xquery: Bugfix for whether a configured service is already known.
Michael Poole [Wed, 22 Jun 2016 21:09:06 +0000 (17:09 -0400)] 
iauth_xquery: Bugfix for whether a configured service is already known.

7 years agoiauth: Fix expected syntax for 'U' command.
Michael Poole [Wed, 22 Jun 2016 21:08:17 +0000 (17:08 -0400)] 
iauth: Fix expected syntax for 'U' command.

Because we do not get hostname or server arguments, and username is copied
into req->realname, the user_info callback now only gets a pointer to the
request structure.

7 years agomain: Terminate on SIGHUP; reload config on SIGUSR1.
Michael Poole [Sat, 14 May 2016 02:50:54 +0000 (22:50 -0400)] 
main: Terminate on SIGHUP; reload config on SIGUSR1.

7 years agoiauth_core: Properly handle EOF on input.
Michael Poole [Sat, 14 May 2016 02:49:46 +0000 (22:49 -0400)] 
iauth_core: Properly handle EOF on input.

9 years agoiauth_xquery: Notify user when LoC server is disconnected.
Michael Poole [Sat, 16 May 2015 00:30:39 +0000 (20:30 -0400)] 
iauth_xquery: Notify user when LoC server is disconnected.

9 years agomain: Don't mention the (unimplemented) -s or -n flags.
Michael Poole [Fri, 15 May 2015 02:48:20 +0000 (22:48 -0400)] 
main: Don't mention the (unimplemented) -s or -n flags.

9 years agoiauth_class: New module for assigning clients to connection classes.
Michael Poole [Fri, 15 May 2015 02:45:47 +0000 (22:45 -0400)] 
iauth_class: New module for assigning clients to connection classes.

9 years agofnmatch: Detect in configure, and include partial fallback implementation.
Michael Poole [Fri, 15 May 2015 02:44:58 +0000 (22:44 -0400)] 
fnmatch: Detect in configure, and include partial fallback implementation.

9 years agoaccumulators: New utility file for statistical accumulators.
Michael Poole [Fri, 15 May 2015 02:44:01 +0000 (22:44 -0400)] 
accumulators: New utility file for statistical accumulators.

9 years agovector.h: Fix calling VECTOR_reserve() on a zero-length vector.
Michael Poole [Fri, 15 May 2015 02:45:23 +0000 (22:45 -0400)] 
vector.h: Fix calling VECTOR_reserve() on a zero-length vector.

9 years agoiauth_xquery: Require a mode-like tag before <accountname> in PASS.
Michael Poole [Tue, 5 May 2015 03:02:43 +0000 (23:02 -0400)] 
iauth_xquery: Require a mode-like tag before <accountname> in PASS.

9 years agobitset: Add ANDNOT operation.
Michael Poole [Fri, 15 May 2015 03:29:10 +0000 (23:29 -0400)] 
bitset: Add ANDNOT operation.

9 years ago*_VECTOR: Make <STRUCTNAME>_reserve() a common method.
Michael Poole [Tue, 5 May 2015 03:02:09 +0000 (23:02 -0400)] 
*_VECTOR: Make <STRUCTNAME>_reserve() a common method.

Also define a uint_vector, containing unsigned int elements.

9 years agoBITSET_ZERO: Set length from sizeof((SET).bits).
Michael Poole [Tue, 5 May 2015 03:01:18 +0000 (23:01 -0400)] 
BITSET_ZERO: Set length from sizeof((SET).bits).

9 years agoiauth: Add pre_registered() hook for iauth modules.
Michael Poole [Wed, 29 Apr 2015 02:24:30 +0000 (22:24 -0400)] 
iauth: Add pre_registered() hook for iauth modules.

9 years ago.gitignore: Add patterns to support an in-tree build.
Michael Poole [Fri, 15 Aug 2014 01:45:48 +0000 (21:45 -0400)] 
.gitignore: Add patterns to support an in-tree build.

9 years agosar: Fix compilation with gcc 4.4's overactive strict aliasing.
Michael Poole [Fri, 15 Aug 2014 01:45:24 +0000 (21:45 -0400)] 
sar: Fix compilation with gcc 4.4's overactive strict aliasing.

9 years agoFix build for libevent1.
Michael Poole [Fri, 15 Aug 2014 01:44:09 +0000 (21:44 -0400)] 
Fix build for libevent1.

Debian 6.0.x and CentOS 6.5 both ship with that ancient thing, and also
use a similarly aged autoconf.

9 years agoProperly check for, and document, the dependency on libevent.
Michael Poole [Fri, 1 Aug 2014 14:50:06 +0000 (10:50 -0400)] 
Properly check for, and document, the dependency on libevent.

Signed-off-by: Michael Poole <redacted>
10 years agoiauth_xquery: Try that again...
Michael Poole [Fri, 2 May 2014 11:48:29 +0000 (07:48 -0400)] 
iauth_xquery: Try that again...

Send the text IP address in the hostname field, instead of an empty
hostname filed.  And the realname shouldn't be in LOGIN2 at all.

Signed-off-by: Michael Poole <redacted>
10 years agoiauth_xquery: Make LOGIN2 syntax fit the documentation.
Michael Poole [Fri, 2 May 2014 11:44:51 +0000 (07:44 -0400)] 
iauth_xquery: Make LOGIN2 syntax fit the documentation.

Signed-off-by: Michael Poole <redacted>
10 years agolog: Show config syntax errors when just running as "iauthd-c -k".
Michael Poole [Sat, 26 Apr 2014 13:02:22 +0000 (09:02 -0400)] 
log: Show config syntax errors when just running as "iauthd-c -k".

10 years agoiauthd-c.conf.example: Clarify the example library_path line.
Michael Poole [Sat, 26 Apr 2014 13:01:28 +0000 (09:01 -0400)] 
iauthd-c.conf.example: Clarify the example library_path line.

10 years agoiauth: Rewrite LoC logic into a generalized XQUERY module.
Michael Poole [Fri, 25 Apr 2014 01:55:29 +0000 (21:55 -0400)] 
iauth: Rewrite LoC logic into a generalized XQUERY module.

Signed-off-by: Michael Poole <redacted>
10 years agoSplit log_message() into itself and log_vmessage().
Michael Poole [Thu, 23 Jan 2014 03:28:09 +0000 (22:28 -0500)] 
Split log_message() into itself and log_vmessage().

Signed-off-by: Michael Poole <redacted>
12 years agoAdd a dummy src/git-version.c.
Michael Poole [Fri, 1 Jun 2012 01:06:23 +0000 (21:06 -0400)] 
Add a dummy src/git-version.c.

This is just in case someone grabs an improperly archived version.

Signed-off-by: Michael Poole <redacted>
12 years agoiauth_loc: Pass ? for clients with unknown user and host names.
Michael Poole [Fri, 1 Jun 2012 00:58:42 +0000 (20:58 -0400)] 
iauth_loc: Pass ? for clients with unknown user and host names.

We previously used . for unknown hostnames, but never passed along
clients with unknown usernames.  The only cue we have from ircu that
a client's ident check failed is the hurry-up (H) command, so use
that to bypass the requirement to have hostname and ident.

Signed-off-by: Michael Poole <redacted>
12 years agoiauth_core: Use a better compare function for per-module data.
Michael Poole [Fri, 1 Jun 2012 00:31:40 +0000 (20:31 -0400)] 
iauth_core: Use a better compare function for per-module data.

set_compare_ptr() compares objects by address, not by contents,
so it is not the right compare function for this dictionary.

Signed-off-by: Michael Poole <redacted>
12 years agoSupport a "MORE" response from an XQ/XR server.
Michael Poole [Sun, 29 Apr 2012 13:16:44 +0000 (09:16 -0400)] 
Support a "MORE" response from an XQ/XR server.

This is intended for multi-phase challenge/response protocols.

12 years agoAdd an explicit timeout for IAuth requests.
Michael Poole [Thu, 26 Jan 2012 02:56:59 +0000 (21:56 -0500)] 
Add an explicit timeout for IAuth requests.

This allows a server admin to make these requests let the user in
before ircu's CONNECTTIMEOUT timer expires.

12 years agoOnly send one "soft done" response per client. (Whoops.)
Michael Poole [Fri, 20 Jan 2012 03:11:16 +0000 (22:11 -0500)] 
Only send one "soft done" response per client.  (Whoops.)

12 years agoAdd IP restriction support for login-on-connect.
Michael Poole [Fri, 20 Jan 2012 02:55:13 +0000 (21:55 -0500)] 
Add IP restriction support for login-on-connect.

doc/iauthd-c.conf.example: Show how to use the extended syntax.
modules/iauth_loc.c: Implement it.

12 years agoAdd "soft done" support for login-on-connect.
Michael Poole [Fri, 20 Jan 2012 02:54:33 +0000 (21:54 -0500)] 
Add "soft done" support for login-on-connect.

README: Update the file name for the core IAuth code.
modules/iauth.h: Add "soft done" support.
modules/iauth_core.c: Implement soft done, and wait longer before
  accepting a client.
modueles/iauth_loc.c: Use soft dones instead of a hard lock.

12 years agoAdd iauth_request.data field.
Michael Poole [Tue, 17 Jan 2012 03:05:34 +0000 (22:05 -0500)] 
Add iauth_request.data field.

Also add some comments on the iauth_policies enum values.

Signed-off-by: Michael Poole <redacted>
12 years agoAdd set_compare_voidp() function.
Michael Poole [Tue, 17 Jan 2012 03:04:36 +0000 (22:04 -0500)] 
Add set_compare_voidp() function.

Signed-off-by: Michael Poole <redacted>
12 years agoRemove unread variable in src/config.c.
Michael Poole [Tue, 17 Jan 2012 03:04:27 +0000 (22:04 -0500)] 
Remove unread variable in src/config.c.

gcc 4.6 complained about this variable being set but never read.

Signed-off-by: Michael Poole <redacted>
13 years agoAdd an empty directory marker to create autoconf/.
Michael Poole [Sun, 15 May 2011 21:13:32 +0000 (17:13 -0400)] 
Add an empty directory marker to create autoconf/.

Signed-off-by: Michael Poole <redacted>
13 years agoInitial commit of IAuth framework (with login-on-connect module).
Michael Poole [Sun, 15 May 2011 21:01:36 +0000 (17:01 -0400)] 
Initial commit of IAuth framework (with login-on-connect module).

Signed-off-by: Michael Poole <redacted>
13 years agoInitial commit. iauthd
Michael Poole [Wed, 11 May 2011 00:49:11 +0000 (20:49 -0400)] 
Initial commit.