]>
jfr.im git - irc/UndernetIRC/iauthd-c.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michael Poole [Sun, 29 Jan 2017 01:59:04 +0000 (20:59 -0500)]
iauthd-c 1.0
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.
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.
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.
Michael Poole [Sat, 29 Oct 2016 03:21:53 +0000 (23:21 -0400)]
config: Minor coding style tweaks.
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.
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.
Michael Poole [Thu, 8 Sep 2016 04:05:20 +0000 (00:05 -0400)]
Makefile: Fix HAS_GIT for out-of-tree builds.
Michael Poole [Thu, 8 Sep 2016 03:35:01 +0000 (23:35 -0400)]
configure: Improve HAS_GET test.
Michael Poole [Thu, 25 Aug 2016 01:19:19 +0000 (21:19 -0400)]
Makefile: Pass "make distcheck".
Michael Poole [Sun, 26 Jun 2016 03:33:15 +0000 (23:33 -0400)]
tests: Add a proper (but small) regression test framework.
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 ::.
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.
Michael Poole [Sat, 25 Jun 2016 01:19:43 +0000 (21:19 -0400)]
configure.ac: Fix quoting and enable silent rules.
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.
Michael Poole [Wed, 22 Jun 2016 21:09:06 +0000 (17:09 -0400)]
iauth_xquery: Bugfix for whether a configured service is already known.
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.
Michael Poole [Sat, 14 May 2016 02:50:54 +0000 (22:50 -0400)]
main: Terminate on SIGHUP; reload config on SIGUSR1.
Michael Poole [Sat, 14 May 2016 02:49:46 +0000 (22:49 -0400)]
iauth_core: Properly handle EOF on input.
Michael Poole [Sat, 16 May 2015 00:30:39 +0000 (20:30 -0400)]
iauth_xquery: Notify user when LoC server is disconnected.
Michael Poole [Fri, 15 May 2015 02:48:20 +0000 (22:48 -0400)]
main: Don't mention the (unimplemented) -s or -n flags.
Michael Poole [Fri, 15 May 2015 02:45:47 +0000 (22:45 -0400)]
iauth_class: New module for assigning clients to connection classes.
Michael Poole [Fri, 15 May 2015 02:44:58 +0000 (22:44 -0400)]
fnmatch: Detect in configure, and include partial fallback implementation.
Michael Poole [Fri, 15 May 2015 02:44:01 +0000 (22:44 -0400)]
accumulators: New utility file for statistical accumulators.
Michael Poole [Fri, 15 May 2015 02:45:23 +0000 (22:45 -0400)]
vector.h: Fix calling VECTOR_reserve() on a zero-length vector.
Michael Poole [Tue, 5 May 2015 03:02:43 +0000 (23:02 -0400)]
iauth_xquery: Require a mode-like tag before <accountname> in PASS.
Michael Poole [Fri, 15 May 2015 03:29:10 +0000 (23:29 -0400)]
bitset: Add ANDNOT operation.
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.
Michael Poole [Tue, 5 May 2015 03:01:18 +0000 (23:01 -0400)]
BITSET_ZERO: Set length from sizeof((SET).bits).
Michael Poole [Wed, 29 Apr 2015 02:24:30 +0000 (22:24 -0400)]
iauth: Add pre_registered() hook for iauth modules.
Michael Poole [Fri, 15 Aug 2014 01:45:48 +0000 (21:45 -0400)]
.gitignore: Add patterns to support an in-tree build.
Michael Poole [Fri, 15 Aug 2014 01:45:24 +0000 (21:45 -0400)]
sar: Fix compilation with gcc 4.4's overactive strict aliasing.
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.
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>
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>
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>
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".
Michael Poole [Sat, 26 Apr 2014 13:01:28 +0000 (09:01 -0400)]
iauthd-c.conf.example: Clarify the example library_path line.
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>
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>
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>
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>
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>
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.
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.
Michael Poole [Fri, 20 Jan 2012 03:11:16 +0000 (22:11 -0500)]
Only send one "soft done" response per client. (Whoops.)
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.
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.
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>
Michael Poole [Tue, 17 Jan 2012 03:04:36 +0000 (22:04 -0500)]
Add set_compare_voidp() function.
Signed-off-by: Michael Poole <redacted>
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>
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>
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>
Michael Poole [Wed, 11 May 2011 00:49:11 +0000 (20:49 -0400)]
Initial commit.