William Pitcock
c63cd21e6a
authd: check if handler is NULL, ensure that we do not overflow
2016-03-25 21:10:34 -05:00
Elizabeth Myers
122ae255d7
authd: change reload character to R from H.
...
This is more in line with the specification @kaniini laid out.
2016-03-25 21:00:13 -05:00
Matt Ullman
cf623e0802
authd: Fix windows build
...
Replace stray NO with false
2016-03-23 22:51:03 -04:00
Matt Ullman
2e45f5d808
Cleanup more BSD-isms
2016-03-23 22:37:52 -04:00
Matt Ullman
c056dba233
Remove the rest of the SVN id tags
2016-03-23 20:13:12 -04:00
Matt Ullman
3889fc11af
authd: Change str_isnumber() to bool
2016-03-23 20:07:21 -04:00
Elizabeth Myers
cb5a8bf847
Remove common.h from here too.
2016-03-23 10:06:52 -05:00
Matt Ullman
e23126c83b
Cleanup warnings
2016-03-21 22:28:41 -04:00
William Pitcock
9783438eb4
authd: res: fix build on windows ipv6
2016-03-20 04:22:17 -05:00
William Pitcock
ddebec8cfd
reslib: really fix it this time
2016-03-20 03:57:21 -05:00
William Pitcock
f23719b7cd
authd: reslib: fix compile on win32
2016-03-20 03:56:00 -05:00
William Pitcock
4063dc2f62
authd: reslib: hook in windows DNS logic
2016-03-20 03:51:31 -05:00
William Pitcock
2dea53a203
authd: some more win32 fixes
2016-03-20 01:37:00 -05:00
William Pitcock
66cd5f6695
authd/reslib: include rb_lib.h
2016-03-20 01:33:23 -05:00
William Pitcock
c99ae1907f
authd: use GET_SS_FAMILY() where appropriate
2016-03-20 01:30:24 -05:00
William Pitcock
8da0b2f2cb
authd: use _WIN32 as the define for checking windows presence
2016-03-20 01:19:46 -05:00
William Pitcock
76ebf6c489
authd: initial pass at win32 porting
2016-03-20 01:16:41 -05:00
Elizabeth Myers
1d9925cfb3
authd: fix a fallthrough.
2016-03-13 03:22:41 -05:00
Elizabeth Myers
540676fc18
cancel_query: fix stupid build error
2016-03-12 07:36:57 -06:00
Elizabeth Myers
45ac1e3ce6
authd: add the ability to cancel DNS requests
2016-03-12 07:10:27 -06:00
Elizabeth Myers
399c633313
authd: add improved API for internal usage
...
This is similar to what exists in ircd, but instead of request ID's, we
return struct dns_query pointers (that are freed by the DNS callback, so
you don't have to worry about their lifecycle management).
2016-03-12 07:08:27 -06:00
Elizabeth Myers
50f842125a
authd: crap, C was taken already, rename reload to H.
2016-03-10 08:07:29 -06:00
Mantas Mikulėnas
6f39a80ec6
authd, m_stats: fix command table sizes
...
There are 256 possible byte values.
2016-03-09 18:15:42 +02:00
Elizabeth Myers
6445c1cf0b
rehash: don't restart authd for DNS reloads
...
This could lead to pretty nasty things, like losing DNS (and in the
future, ident) queries. That's a Bad Thing™.
2016-03-09 03:46:04 -06:00
Elizabeth Myers
394b8dde17
authd: allow querying the list of DNS servers.
...
This was an asston of pain, and it still feels "dirty" as it introduces
an async call where there normally wouldn't be one. Better
implementation more than welcome.
2016-03-08 02:53:25 -06:00
Elizabeth Myers
fe037171d6
Change all leftover libratbox stuff to librb.
2016-03-06 03:49:27 -06:00
Elizabeth Myers
1b7a47417b
Remove more $Id tags.
2016-03-06 02:58:32 -06:00
William Pitcock
c83f2f5e12
rename libratbox to librb, since its pretty modified anyway
2016-03-06 02:30:20 -06:00
William Pitcock
9ea48ec30a
remove presupplied autotools files
2016-03-05 17:47:48 -06:00
William Pitcock
c678fbc08b
ircd: remove broken USE_IODEBUG_HOOKS knob and related code
2016-02-20 12:02:49 -06:00
Simon Arlott
3f6cbacc41
authd: fix link failure in random_socket
...
The random_socket function isn't used, and the code can only be
compiled if the function is optimised away (because it's static
and unused) otherwise it will fail to link when "ipv4_addr" and
"ipv6_addr" are not found.
Fix this by modifying ipv4_addr and ipv6_addr so that they're not
external variables.
2016-02-10 21:29:41 +00:00
Valerii Iatsko
5203cba5ce
Remove libratbox's snprintf.c, update related ircd code
2016-02-10 02:25:32 +01:00
William Pitcock
9e45a5ca19
buildsystem: further cleanup
2016-01-08 07:01:00 -06:00
William Pitcock
f0718c93d5
configure: use correct path for libltdl
2016-01-08 06:50:01 -06:00
William Pitcock
c7c009b563
authd: do not use \n with rb_helper_write(), unnecessary
2016-01-08 05:44:41 -06:00
William Pitcock
fa43f55940
authd: fix some DNS module logic
2016-01-08 05:32:27 -06:00
William Pitcock
5164a68650
buildsystem: update Makefile.in's
2016-01-08 05:20:32 -06:00
Aaron Jones
d8c4154da2
Fix LTDL conditional, remove some unnecessary and/or ugly configure tests
2016-01-07 17:15:55 +00:00
Aaron Jones
eec2776c6c
Fix some autotools discrepancies, disable SQLite threading code
2016-01-07 16:58:28 +00:00
William Pitcock
8cf45447e2
authd: implement DNS module
2016-01-06 03:52:37 -06:00
William Pitcock
f3e11b1d6f
authd: clean up command handlers code a little
2016-01-06 03:11:20 -06:00
William Pitcock
ed62c46ba1
authd: import stripped down charybdis resolver
2016-01-06 02:47:22 -06:00
William Pitcock
0d73e7db9c
authd: add skeleton
2016-01-06 02:31:11 -06:00