Elizabeth Myers
7b4d1de38d
Merge branch 'master' into authd-framework
2016-03-28 14:44:47 -05:00
Elizabeth Myers
ad04380360
ircd/authd: respect auth_disabled config option
2016-03-28 02:42:20 -05:00
Elizabeth Myers
59d42a9fcb
ircd/authd: use proper timeout values for clients
2016-03-28 02:32:05 -05:00
Elizabeth Myers
ef0b13b960
ircd/authd: timeout dead authd clients
2016-03-28 02:30:54 -05:00
Elizabeth Myers
cc4d393152
ircd/authd: implement client noticing
2016-03-28 02:19:34 -05:00
Elizabeth Myers
d3f6b80867
Replace s_auth/blacklist stuff with authd calls
...
This also does a lot of surgery on the conf system to reconfigure authd.
/!\ WARNING! ACHTUNG! ADVERTENCIA! ATTENTION! AVVERTIMENTO! /!\
This code has not been run-time tested yet (though it compiles)!
2016-03-28 02:11:16 -05:00
Matt Ullman
33d43d4fa4
ircd: Move signaled variables to volatile sig_atomic_t
2016-03-27 20:05:38 -04:00
Matt Ullman
aa7eff28f2
hash.c: Save some more bytes
2016-03-27 06:29:10 -04:00
Elizabeth Myers
3f7039934f
s_auth: remove trailing whitespace at end of usernames.
2016-03-26 19:21:16 -05:00
Elizabeth Myers
938f93f4bc
ircd/authd: some comments
2016-03-26 16:44:41 -05:00
Matt Ullman
de8b3b7174
sslproc: Remove unused variable
2016-03-26 16:41:36 -04:00
Elizabeth Myers
0a659bf0ab
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.
2016-03-25 21:58:32 -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
William Pitcock
de7cf7e009
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.
2016-03-25 19:50:29 -05:00
Matt Ullman
afba2488ec
extb_combi: More int to bool conversion
...
Cleanup whitespace in ircd_lexer.l
2016-03-25 19:47:58 -04:00
William Pitcock
0aaa37f721
ircd: only relocate_paths on windows, no point on posix
2016-03-25 18:13:39 -05:00
William Pitcock
d6c17e5de2
ircd: implement path relocation
2016-03-25 01:57:25 -05:00
William Pitcock
2f545aad87
ircd: use ircd_paths for logFileName and pidFileName
2016-03-25 00:00:06 -05:00
William Pitcock
0d180487b4
ircd: unbreak build
2016-03-24 18:50:13 -05:00
William Pitcock
4d8cfacd95
ircd: start staging for relocatable paths
2016-03-24 18:45:28 -05:00
Matt Ullman
e0a9b5d3bf
chmode: Move check_forward() to a boolean
2016-03-24 14:42:54 -04:00
Matt Ullman
a383180a0a
chmode: Move add_id() to a boolean
2016-03-24 14:37:52 -04:00
Matt Ullman
9aa639eddd
chmode: Move allow_mode_change() to a boolean
2016-03-24 14:26:02 -04:00
Matt Ullman
2a4b3ea648
version.c.SH: Fix generation not incrementing
2016-03-24 04:00:23 -04:00
Matt Ullman
3b9507d0e9
channel: Move flood_attack_channel() to a boolean
2016-03-24 02:25:26 -04:00
Matt Ullman
216f58a27c
channel: Change check_channel_name() note to false
...
[ci skip]
2016-03-24 02:14:03 -04:00
Matt Ullman
3a46803fef
channel: Move check_channel_name() to a boolean
2016-03-24 01:54:39 -04:00
Matt Ullman
2e45f5d808
Cleanup more BSD-isms
2016-03-23 22:37:52 -04:00
Matt Ullman
4b11f39115
Move away from BSD data types
2016-03-23 19:11:42 -04:00
Elizabeth Myers
28c94d6598
Remove common.h from lexer and parser
2016-03-23 10:09:53 -05:00
Elizabeth Myers
79435744c7
common.h: raison d'être is gone, so out it goes.
...
Fold whatever was left into ircd_defs.h
2016-03-23 09:33:56 -05:00
Elizabeth Myers
7ac3261f97
Ensure the parser/lexer don't use IRCD_BUFSIZE.
2016-03-23 09:26:07 -05:00
Elizabeth Myers
82236a2a65
IRCD_BUFSIZE is redundant with BUFSIZE, so kill it.
2016-03-23 09:22:55 -05:00
Elizabeth Myers
ab31d2b07e
Send YES/NO to Davy Jones's Locker.
2016-03-23 08:52:32 -05:00
Elizabeth Myers
bd43a44469
Remove more YES/NO usage.
2016-03-23 08:43:28 -05:00
Elizabeth Myers
2fc6772ee1
typedef-ify rb_radixtree for consistency.
2016-03-23 08:32:22 -05:00
Elizabeth Myers
4177311e6e
Change struct Dictionary(*) to rb_dictionary(_\1).
...
This cleans things up a slightly and puts the dictionary stuff in its
own namespace.
2016-03-23 08:09:58 -05:00
Elizabeth Myers
2ac4ba969b
ircd: shut GCC the fuck up.
...
No, it can't probably fail... that isn't what that's there for.
2016-03-23 08:07:23 -05:00
Elizabeth Myers
56f84dedf7
DICTIONARY_FOREACH → RB_DICTIONARY_FOREACH
...
This is in librb and therefore should be prefixed.
2016-03-23 07:45:44 -05:00
Matt Ullman
66769bc1f8
More cleanup
2016-03-23 00:11:26 -04:00
Matt Ullman
e23126c83b
Cleanup warnings
2016-03-21 22:28:41 -04:00
William Pitcock
4d383612d4
ircd: log runtime path (mainly as proof of concept for rb_path_to_self())
2016-03-21 21:14:11 -05:00
Matt Ullman
ad9cbf9e0d
s_user: Don't send CHGHOST clients op/voice syncs
2016-03-20 18:59:07 -04:00
William Pitcock
5a5f173daa
parse: check IsServer() before firing off a remove_unknowns() call
2016-03-20 06:40:54 -05:00
William Pitcock
4f5056dd83
ircd: fix build on freebsd
2016-03-20 06:22:39 -05:00
William Pitcock
dd92c99b83
modules: fix thinko
2016-03-20 06:01:12 -05:00
William Pitcock
c9108ea073
ircd: modules: findmodule_byname(): also check LT_MODULE_EXT here
2016-03-20 06:00:20 -05:00
William Pitcock
6cb643f4f9
ircd: modules: use LT_MODULE_EXT more consistently
2016-03-20 05:54:48 -05:00
William Pitcock
44f442e3fb
ircd: parse: now this type cast for POINTER MATH is just fucking stupid
2016-03-20 04:21:25 -05:00
William Pitcock
09f528c24c
ircd: win32 does not need the FD 0,1,2 stuff
2016-03-20 03:10:05 -05:00