]> jfr.im git - solanum.git/log
solanum.git
11 years agoreference.conf: Correct description of general::client_exit.
Jilles Tjoelker [Tue, 1 Jan 2013 17:07:37 +0000 (18:07 +0100)] 
reference.conf: Correct description of general::client_exit.

It prefixes with "Quit: ", not "Client exit: ".

11 years agom_capab: fix a possible remote crash triggered by the CAPAB parsing code.
William Pitcock [Mon, 31 Dec 2012 19:13:05 +0000 (13:13 -0600)] 
m_capab: fix a possible remote crash triggered by the CAPAB parsing code.

11 years agocapability: handle NULL passed to capability_get().
William Pitcock [Mon, 31 Dec 2012 19:00:51 +0000 (13:00 -0600)] 
capability: handle NULL passed to capability_get().

11 years agoserver: Simplify some code now ENCAP is mandatory.
Jilles Tjoelker [Wed, 19 Dec 2012 16:42:49 +0000 (17:42 +0100)] 
server: Simplify some code now ENCAP is mandatory.

11 years agoserver: Remove code to send recursive QUITs/SQUITs for non-QS servers.
Jilles Tjoelker [Wed, 19 Dec 2012 14:06:49 +0000 (15:06 +0100)] 
server: Remove code to send recursive QUITs/SQUITs for non-QS servers.

Now that QS is required, this code can no longer be activated.

11 years agoserver: As per the TS6 spec, require QS and ENCAP capabilities.
Jilles Tjoelker [Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)] 
server: As per the TS6 spec, require QS and ENCAP capabilities.

11 years agoserver: Make sure CAP_CAP and CAP_TS6 are non-zero.
Jilles Tjoelker [Tue, 18 Dec 2012 16:03:59 +0000 (17:03 +0100)] 
server: Make sure CAP_CAP and CAP_TS6 are non-zero.

A zero CAP_CAP caused duplicate CAPAB to go undetected, allowing a
mismatch between what is sent out via ENCAP GCAP and what applies locally.

A zero CAP_TS6 allowed server connections without SID (with a valid
connect block).

11 years agoserver: Fix required capabilities check if there is more than one capability.
Jilles Tjoelker [Tue, 18 Dec 2012 15:37:21 +0000 (16:37 +0100)] 
server: Fix required capabilities check if there is more than one capability.

11 years agogenssl: use DH params length of 2048 to appease the weechat idiots
William Pitcock [Mon, 19 Nov 2012 21:12:30 +0000 (21:12 +0000)] 
genssl: use DH params length of 2048 to appease the weechat idiots

11 years agoextensions/m_roleplay: merge in darkmyst changes
William Pitcock [Sun, 4 Nov 2012 03:35:39 +0000 (03:35 +0000)] 
extensions/m_roleplay: merge in darkmyst changes

11 years agostarttls: Explicitly reject starttls if TLS is not configured or not compiled in.
Jilles Tjoelker [Sat, 3 Nov 2012 14:50:43 +0000 (15:50 +0100)] 
starttls: Explicitly reject starttls if TLS is not configured or not compiled in.

11 years agostarttls: Don't corrupt the FD hash.
Jilles Tjoelker [Fri, 2 Nov 2012 23:49:10 +0000 (00:49 +0100)] 
starttls: Don't corrupt the FD hash.

Altering localClient->F without updating the FD hash leaves the struct
Client in the FD hash indefinitely which causes a crash later if the
struct is reused for a remote client. It also prevents error messages
from ssld showing up on IRC properly.

11 years agoAdd module which restricts unauthenticated users from doing anything as channel op.
William Pitcock [Thu, 1 Nov 2012 06:48:08 +0000 (06:48 +0000)] 
Add module which restricts unauthenticated users from doing anything as channel op.

11 years agoFix a crash with testline, introduced with the "underlying ipv4" feature.
Jilles Tjoelker [Mon, 15 Oct 2012 00:08:22 +0000 (02:08 +0200)] 
Fix a crash with testline, introduced with the "underlying ipv4" feature.

11 years agonumeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd
William Pitcock [Sat, 13 Oct 2012 17:49:43 +0000 (17:49 +0000)] 
numeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd

11 years agores.c: Try other servers if errors or corrupt replies are encountered.
Keith Buck [Tue, 9 Oct 2012 05:52:07 +0000 (05:52 +0000)] 
res.c: Try other servers if errors or corrupt replies are encountered.

Currently, the resolver treats SERVFAIL, NOTIMP, and REFUSED queries the
same as NXDOMAIN, but this really should not be the case. Instead, if
the DNS server errors on our request or provides an invalid request, try
another server.

Also, count DNS server errors in addition to timeouts and avoid these
undesirable servers.

11 years agolibratbox/crypt: remove blowfish support since it has the stupid advertising clause
William Pitcock [Sat, 29 Sep 2012 22:28:04 +0000 (17:28 -0500)] 
libratbox/crypt: remove blowfish support since it has the stupid advertising clause

11 years agoreslib: remove advertising clause, which was dropped as a requirement by the copyrigh...
William Pitcock [Sat, 29 Sep 2012 22:08:40 +0000 (17:08 -0500)] 
reslib: remove advertising clause, which was dropped as a requirement by the copyright holder.
(See http://svnweb.freebsd.org/base/head/COPYRIGHT?view=co).
Closes #5.

11 years agohelp: Document whowas limit parameter.
Jilles Tjoelker [Fri, 28 Sep 2012 21:14:56 +0000 (23:14 +0200)] 
help: Document whowas limit parameter.

11 years agom_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specif...
William Pitcock [Sun, 23 Sep 2012 00:31:55 +0000 (19:31 -0500)] 
m_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specification

11 years agom_starttls: new module implementing ircv3 tls-3.1 optional extension
William Pitcock [Sat, 22 Sep 2012 21:30:01 +0000 (16:30 -0500)] 
m_starttls: new module implementing ircv3 tls-3.1 optional extension

11 years agom_cap: add 'tls' core capability
William Pitcock [Sat, 22 Sep 2012 19:15:45 +0000 (14:15 -0500)] 
m_cap: add 'tls' core capability

11 years agoDefine RPL_STARTTLS.
William Pitcock [Sat, 22 Sep 2012 19:04:57 +0000 (14:04 -0500)] 
Define RPL_STARTTLS.

11 years agom_stats: apply same logic to anonymous /stats l as /stats p
William Pitcock [Wed, 19 Sep 2012 01:01:53 +0000 (20:01 -0500)] 
m_stats: apply same logic to anonymous /stats l as /stats p

11 years agom_stats: add optional constraint checking function pointer to stats_l_list().
William Pitcock [Mon, 17 Sep 2012 21:38:31 +0000 (16:38 -0500)] 
m_stats: add optional constraint checking function pointer to stats_l_list().

11 years agoGIT-Access: Our repos are on github now, so let's say so.
Kiyoshi Aman [Mon, 20 Aug 2012 10:25:21 +0000 (06:25 -0400)] 
GIT-Access: Our repos are on github now, so let's say so.

11 years agochm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.
Keith Buck [Tue, 31 Jul 2012 06:37:33 +0000 (06:37 +0000)] 
chm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.

11 years agoMerge pull request #2 from TheChrisAM/patch-1
William Pitcock [Mon, 30 Jul 2012 17:00:49 +0000 (10:00 -0700)] 
Merge pull request #2 from TheChrisAM/patch-1

Adding auth_user documentation for auth {} blocks.

11 years agoreference.conf: Extend documentation for max_number in server classes.
Jilles Tjoelker [Sat, 28 Jul 2012 13:31:06 +0000 (15:31 +0200)] 
reference.conf: Extend documentation for max_number in server classes.

11 years agosigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5
William Pitcock [Wed, 25 Jul 2012 15:33:18 +0000 (10:33 -0500)] 
sigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5

12 years agotools/smoketest.sh: Remove DNSBL external dependency.
Jilles Tjoelker [Sat, 14 Jul 2012 12:51:55 +0000 (14:51 +0200)] 
tools/smoketest.sh: Remove DNSBL external dependency.

12 years agotools: Add a simple test script.
Jilles Tjoelker [Sat, 14 Jul 2012 11:50:55 +0000 (13:50 +0200)] 
tools: Add a simple test script.

It compiles and runs ircd, verifying if some aspects of PRIVMSG work.

12 years agoIn capability_get(), if a capability is not found, return 0 instead of all-ones.
Jilles Tjoelker [Tue, 3 Jul 2012 17:16:31 +0000 (19:16 +0200)] 
In capability_get(), if a capability is not found, return 0 instead of all-ones.

Returning all-ones will set all caps if an unknown cap name is passed.

12 years agoFix capability_index_list(), used e.g. in /stats ? capability output.
Jilles Tjoelker [Tue, 3 Jul 2012 17:15:25 +0000 (19:15 +0200)] 
Fix capability_index_list(), used e.g. in /stats ? capability output.

12 years agoAdd needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.
Jilles Tjoelker [Tue, 3 Jul 2012 17:11:15 +0000 (19:11 +0200)] 
Add needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.

12 years agochmode: Allow mode queries on mlocked modes.
Jilles Tjoelker [Mon, 18 Jun 2012 22:33:29 +0000 (00:33 +0200)] 
chmode: Allow mode queries on mlocked modes.

Check mlock at the same point where chanops are checked (except for
querying a +e/+I list) and abstract this check into a function.

In particular, /mode #channel f is now again allowed if +f is mlocked.

12 years agostats R: Make the CPU time display less ugly.
Jilles Tjoelker [Sun, 3 Jun 2012 22:49:59 +0000 (00:49 +0200)] 
stats R: Make the CPU time display less ugly.

12 years agoAdding auth_user documentation for auth {} blocks.
TheChrisAM [Fri, 1 Jun 2012 00:26:52 +0000 (21:26 -0300)] 
Adding auth_user documentation for auth {} blocks.

12 years agoIf umode +D or +g are oper-only, don't advertise them in 005.
Jilles Tjoelker [Sun, 27 May 2012 20:46:24 +0000 (22:46 +0200)] 
If umode +D or +g are oper-only, don't advertise them in 005.

12 years agoMerge pull request #1 from dwfreed/master
William Pitcock [Thu, 24 May 2012 13:11:45 +0000 (06:11 -0700)] 
Merge pull request #1 from dwfreed/master

Fix extensions/ip_cloaking* not correctly telling the net about your changed hostname

12 years agoextensions/ip_cloaking*: Fix a bug accidentally introduced in 29d224a1 where the...
Douglas Freed [Thu, 24 May 2012 11:06:20 +0000 (11:06 +0000)] 
extensions/ip_cloaking*: Fix a bug accidentally introduced in 29d224a1 where the cloaking module would change your cloak locally, but not correctly broadcast this to the network, and fail to tell you correctly in the RPL_HOSTHIDDEN reply

12 years agoMove marking of services entirely to m_services.c; mark all services when m_services...
Keith Buck [Mon, 21 May 2012 21:03:56 +0000 (21:03 +0000)] 
Move marking of services entirely to m_services.c; mark all services when m_services loads and unmark them when it unloads.

12 years agoAdd new conf_read_start and conf_read_end hooks.
Keith Buck [Mon, 21 May 2012 20:22:07 +0000 (20:22 +0000)] 
Add new conf_read_start and conf_read_end hooks.

12 years agoComplain to opers if a server that isn't a service tries to SU/RSFNC/NICKDELAY/SVSLOGIN.
Keith Buck [Mon, 21 May 2012 17:27:02 +0000 (17:27 +0000)] 
Complain to opers if a server that isn't a service tries to SU/RSFNC/NICKDELAY/SVSLOGIN.

12 years agoDisable timerfd/signalfd on openvz, it seems broken
Aaron Sethman [Sat, 19 May 2012 02:15:16 +0000 (21:15 -0500)] 
Disable timerfd/signalfd on openvz, it seems broken
(imported from libratbox r27395 by nenolod)

12 years agoFix null value for EUID account name in TS6 protocol document.
Jilles Tjoelker [Mon, 30 Apr 2012 16:32:04 +0000 (18:32 +0200)] 
Fix null value for EUID account name in TS6 protocol document.

12 years agolist: Strip colours from channel topics.
Jilles Tjoelker [Sat, 28 Apr 2012 22:44:33 +0000 (00:44 +0200)] 
list: Strip colours from channel topics.

This allows in-channel use of coloured topics (or via /topic out of
channel) but leaves channel listings clean.

12 years agoRerun autoconf.
Jilles Tjoelker [Sun, 22 Apr 2012 21:08:03 +0000 (23:08 +0200)] 
Rerun autoconf.

12 years agoBump version on master to 3.5.0-dev.
Jilles Tjoelker [Sun, 22 Apr 2012 21:03:46 +0000 (23:03 +0200)] 
Bump version on master to 3.5.0-dev.

12 years agorelease: Use git instead of hg for version number in tarballs.
Jilles Tjoelker [Sun, 22 Apr 2012 17:08:33 +0000 (19:08 +0200)] 
release: Use git instead of hg for version number in tarballs.

12 years agoRemove more gnutls references.
Jilles Tjoelker [Tue, 17 Apr 2012 22:38:44 +0000 (00:38 +0200)] 
Remove more gnutls references.

12 years agolibratbox: Run autoreconf.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:27 +0000 (22:34 +0200)] 
libratbox: Run autoreconf.

12 years agolibratbox: Remove broken gnutls support.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:11 +0000 (22:34 +0200)] 
libratbox: Remove broken gnutls support.

12 years agoextensions/roleplay: Fix "No such channel" message.
Jilles Tjoelker [Fri, 13 Apr 2012 23:11:40 +0000 (01:11 +0200)] 
extensions/roleplay: Fix "No such channel" message.

12 years agoextensions/roleplay: End floodgrace because this is sent to other users.
Jilles Tjoelker [Fri, 13 Apr 2012 23:07:43 +0000 (01:07 +0200)] 
extensions/roleplay: End floodgrace because this is sent to other users.

12 years agognutls: Fix certfp server link auth.
Keith Buck [Sat, 7 Apr 2012 21:51:31 +0000 (21:51 +0000)] 
gnutls: Fix certfp server link auth.

12 years agognutls: Fix ssld crash when executing a SSL connection to another server.
Keith Buck [Sat, 7 Apr 2012 17:40:22 +0000 (17:40 +0000)] 
gnutls: Fix ssld crash when executing a SSL connection to another server.

12 years agoMerge branch 'gnutls' of git://git.leptoquark.net/charybdis
Keith Buck [Sat, 7 Apr 2012 03:29:13 +0000 (03:29 +0000)] 
Merge branch 'gnutls' of git://git.leptoquark.net/charybdis

12 years agoCall the privmsg_channel hook for part messages too.
Keith Buck [Sat, 7 Apr 2012 03:03:07 +0000 (03:03 +0000)] 
Call the privmsg_channel hook for part messages too.

12 years agom_message: Remove some unused variables.
Keith Buck [Tue, 3 Apr 2012 21:51:09 +0000 (21:51 +0000)] 
m_message: Remove some unused variables.

12 years agolibratbox: use rb_listen(), not listen().
Elly Fong-Jones [Tue, 3 Apr 2012 05:19:07 +0000 (01:19 -0400)] 
libratbox: use rb_listen(), not listen().

Signed-off-by: Elly Fong-Jones <redacted>
12 years agoextensions/chm_nonotice: fix typo
William Pitcock [Mon, 2 Apr 2012 19:07:25 +0000 (14:07 -0500)] 
extensions/chm_nonotice: fix typo

12 years agoif 0 some things out
William Pitcock [Sun, 1 Apr 2012 05:09:18 +0000 (00:09 -0500)] 
if 0 some things out

12 years agoextensions/chm_nonotice: reject NOTICEs to channels mode
William Pitcock [Sun, 1 Apr 2012 03:56:14 +0000 (22:56 -0500)] 
extensions/chm_nonotice: reject NOTICEs to channels mode

Same thing as +T in unrealircd, inspircd and shadowircd.

12 years agoRemove MODE_NOCTCP from core, in favor of chm_noctcp.
William Pitcock [Sun, 1 Apr 2012 03:48:36 +0000 (22:48 -0500)] 
Remove MODE_NOCTCP from core, in favor of chm_noctcp.

12 years agoRemove MODE_NOCOLOR from core, replacing it with modules/chm_nocolour.so.
William Pitcock [Sun, 1 Apr 2012 03:26:45 +0000 (22:26 -0500)] 
Remove MODE_NOCOLOR from core, replacing it with modules/chm_nocolour.so.

12 years agoCheck for empty string after permutation hooks have run.
William Pitcock [Sun, 1 Apr 2012 03:18:15 +0000 (22:18 -0500)] 
Check for empty string after permutation hooks have run.

12 years agoAdd support for hookifying PRIVMSG/NOTICE.
William Pitcock [Sun, 1 Apr 2012 02:20:02 +0000 (21:20 -0500)] 
Add support for hookifying PRIVMSG/NOTICE.

This will allow us to modularize message processing, e.g. having new modules to manipulate
channel and private messages in new ways.

Yes: it can be used to intercept messages, but such modules are already out in the wild for
charybdis anyway -- so this doesn't really change anything there.

If you are changing the text, then it is your responsibility to provide a pointer to a new
buffer.  This buffer should be statically allocated and stored in your module's BSS segment.
We will not, and cannot, free your buffer in core, so dynamically allocated buffers will
cause a memory leak.

This will allow us to simplify m_message considerably, by moving channel mode logic out to
their own modules.

12 years agoreference.conf: Remove need_ident from *@* auth block.
Jilles Tjoelker [Thu, 29 Mar 2012 20:41:24 +0000 (22:41 +0200)] 
reference.conf: Remove need_ident from *@* auth block.

Few people want need_ident for everyone these days, so remove it from
reference.conf. It was not in example.conf.

12 years agochange_nick_user_host: Only send +n snotes about local clients.
Jilles Tjoelker [Mon, 26 Mar 2012 22:46:50 +0000 (00:46 +0200)] 
change_nick_user_host: Only send +n snotes about local clients.

12 years agotginfo/certfp ENCAP: Specify the minimum number of parameters instead of checking...
Keith Buck [Sun, 25 Mar 2012 17:04:21 +0000 (17:04 +0000)] 
tginfo/certfp ENCAP: Specify the minimum number of parameters instead of checking parc.

12 years agom_away: Add missing return value.
Keith Buck [Sun, 25 Mar 2012 02:47:39 +0000 (02:47 +0000)] 
m_away: Add missing return value.

12 years agoRemove unused variable cruft.
Keith Buck [Sun, 25 Mar 2012 02:37:41 +0000 (02:37 +0000)] 
Remove unused variable cruft.

12 years agochange_nick_user_host: Send nick change notices to SNO_NCHANGE opers when change_nick...
Keith Buck [Sun, 25 Mar 2012 01:59:20 +0000 (01:59 +0000)] 
change_nick_user_host: Send nick change notices to SNO_NCHANGE opers when change_nick_user_host is called to only change nick.

12 years agoRESV FNC: Sign off/on monitor, and don't try to FNC users that already have a UID...
Keith Buck [Sun, 25 Mar 2012 01:49:34 +0000 (01:49 +0000)] 
RESV FNC: Sign off/on monitor, and don't try to FNC users that already have a UID nick.

12 years agoAdd option to immediately apply nick RESVs by FNC'ing.
Keith Buck [Sun, 25 Mar 2012 01:34:45 +0000 (01:34 +0000)] 
Add option to immediately apply nick RESVs by FNC'ing.

12 years agoAdd first cut at NEWS for 3.4.
Jilles Tjoelker [Sat, 24 Mar 2012 12:52:28 +0000 (13:52 +0100)] 
Add first cut at NEWS for 3.4.

12 years agolibratbox: Allow defer_accept on FreeBSD.
Jilles Tjoelker [Mon, 19 Mar 2012 23:33:31 +0000 (00:33 +0100)] 
libratbox: Allow defer_accept on FreeBSD.

Note that you must have options ACCEPT_FILTER_DATA in your kernel
configuration or load the accf_data kernel module. The functionality is
not in the GENERIC kernel.

12 years agoclient.c: Fix spelling/grammar in comments.
Keith Buck [Sun, 18 Mar 2012 01:28:55 +0000 (01:28 +0000)] 
client.c: Fix spelling/grammar in comments.

12 years agotarget change: Propagate restricted addresses.
Keith Buck [Sun, 18 Mar 2012 01:18:57 +0000 (01:18 +0000)] 
target change: Propagate restricted addresses.

12 years agoAdd listen::defer_accept option for controlling usage of TCP_DEFER_ACCEPT option.
William Pitcock [Sat, 17 Mar 2012 15:00:39 +0000 (10:00 -0500)] 
Add listen::defer_accept option for controlling usage of TCP_DEFER_ACCEPT option.

12 years agolibratbox: make defer_accept optional.
William Pitcock [Sat, 17 Mar 2012 14:48:25 +0000 (09:48 -0500)] 
libratbox: make defer_accept optional.

12 years agolibratbox: add support for TCP_DEFER_ACCEPT on linux
William Pitcock [Sat, 17 Mar 2012 14:16:39 +0000 (09:16 -0500)] 
libratbox: add support for TCP_DEFER_ACCEPT on linux

This allows for some further hardening against synflooding and connection flooding
where no data is actually sent, as the kernel will simply ignore those connections
(well, as far as the ircd is concerned anyway).

12 years agostrip_colour: Prefer IsDigit to isdigit.
Jilles Tjoelker [Wed, 14 Mar 2012 23:58:56 +0000 (00:58 +0100)] 
strip_colour: Prefer IsDigit to isdigit.

Unlike isdigit, IsDigit can safely be applied to 'char's.
Arguments to isdigit needs a character cast to 'unsigned char' or EOF.

12 years agoWhen stripping colour/control codes, also strip \004.
Jilles Tjoelker [Wed, 14 Mar 2012 23:17:40 +0000 (00:17 +0100)] 
When stripping colour/control codes, also strip \004.

Some clients such as irssi interpret \004 as colour or other markup.

12 years agoApply special CTCP handling to messages to @/+ channel as well:
Jilles Tjoelker [Wed, 14 Mar 2012 22:20:05 +0000 (23:20 +0100)] 
Apply special CTCP handling to messages to @/+ channel as well:

 * +C cmode blocks CTCPs
 * CTCPs to large channels relax some flood protection to allow all
   answers through.

12 years agoApply colour stripping (cmode +c) to messages to @/+ channel as well.
Jilles Tjoelker [Wed, 14 Mar 2012 22:04:30 +0000 (23:04 +0100)] 
Apply colour stripping (cmode +c) to messages to @/+ channel as well.

12 years agoSpecify more about IP addresses in TS6 protocol document.
Jilles Tjoelker [Tue, 13 Mar 2012 21:41:39 +0000 (22:41 +0100)] 
Specify more about IP addresses in TS6 protocol document.

12 years agoFix RSFNC parameter order in TS6 protocol document.
Jilles Tjoelker [Tue, 6 Mar 2012 23:39:03 +0000 (00:39 +0100)] 
Fix RSFNC parameter order in TS6 protocol document.

12 years agoMerge branch 'master' of git.atheme.org:/gitroot/charybdis
William Pitcock [Sun, 4 Mar 2012 23:25:17 +0000 (17:25 -0600)] 
Merge branch 'master' of git.atheme.org:/gitroot/charybdis

12 years agom_remove: Don't use capability_require().
William Pitcock [Sun, 4 Mar 2012 23:25:01 +0000 (17:25 -0600)] 
m_remove: Don't use capability_require().

12 years agoKeep forward channels in sync after a netjoin.
Jilles Tjoelker [Sat, 3 Mar 2012 22:45:52 +0000 (23:45 +0100)] 
Keep forward channels in sync after a netjoin.

Arbitrarily prefer a forward channel to no forward channel and an
alphabetically higher forward channel to a lower one.

This is a simplistic implementation that generates one MODE message to
local clients for each ban removed (to be replaced).

For simplicity and to avoid amplification of incoming MODE messages,
regular modes may still desync the forward channel of a ban.

12 years agoFix typo `User' => `Use'.
Nathan Phillip Brink [Sat, 3 Mar 2012 03:30:34 +0000 (03:30 +0000)] 
Fix typo `User' => `Use'.

12 years agoDetect a potential infinite loop in ./configure in AC_DEFINE_DIR.
Nathan Phillip Brink [Fri, 2 Mar 2012 01:51:30 +0000 (01:51 +0000)] 
Detect a potential infinite loop in ./configure in AC_DEFINE_DIR.

Fixes the changes made to AC_DEFINE_DIR in
c74836dc4a5bde1e0bf38da58053bf5f28da8ff5.

12 years agoFix inconsistency between --sysconfdir and --with-confdir, deprecate --with-confdir.
Nathan Phillip Brink [Fri, 2 Mar 2012 01:11:42 +0000 (01:11 +0000)] 
Fix inconsistency between --sysconfdir and --with-confdir, deprecate --with-confdir.

The inconsistency was created in
c74836dc4a5bde1e0bf38da58053bf5f28da8ff5 where genssl.sh.in was made
to use sysconfdir while the IRCd and buildsystem still used confdir.

12 years agoRun make depend.
Nathan Phillip Brink [Thu, 1 Mar 2012 03:51:33 +0000 (03:51 +0000)] 
Run make depend.

12 years agoRun autoconf and autoheader.
Nathan Phillip Brink [Thu, 1 Mar 2012 03:49:35 +0000 (03:49 +0000)] 
Run autoconf and autoheader.

12 years agoFix bandb's interaction with --enable-fhs-paths by storing ban.db in the correct...
Nathan Phillip Brink [Thu, 1 Mar 2012 03:39:54 +0000 (03:39 +0000)] 
Fix bandb's interaction with --enable-fhs-paths by storing ban.db in the correct directory, pkglocalstatedir.

12 years agoAdd explicit support for being installed into a system triggered with --enable-fhs...
Nathan Phillip Brink [Thu, 1 Mar 2012 02:41:09 +0000 (02:41 +0000)] 
Add explicit support for being installed into a system triggered with --enable-fhs-paths.

Add two mechanism for avoiding name-collisions in a system-wide
installation of charybdis. The ssld and bandb daemons, intended to be
directly used by ircd and not the user, install into libexec when
--enable-fhs-paths is set. For binaries which are meant to be in PATH
(bindir), such as ircd and viconf, there is now an option
--with-program-prefix=progprefix inspired by automake. If the user
specifies --with-program-prefix=charybdis, the ircd binary is named
charybdisircd when installed.

Add support for saving the pidfile to a rundir and storing the ban
database in localstatedir instead of in sysconfdir. This is, again,
conditional on --enable-fhs-paths.

Fix(?) genssl.sh to always write created SSL key/certificate/dh
parameters to the sysconfdir specified during ./configure. The
previous behavior was to assume that the user ran genssl.sh after
ensuring that his current working directory was either sysconfdir or a
sibling directory of sysconfdir.

12 years agoFix viconf's dependencies on setup.h and config.h.
Nathan Phillip Brink [Wed, 29 Feb 2012 07:43:54 +0000 (07:43 +0000)] 
Fix viconf's dependencies on setup.h and config.h.