]> jfr.im git - irc/charybdis-ircd/charybdis.git/log
irc/charybdis-ircd/charybdis.git
6 years agom_webirc: use rb_inet_ntop_sock to populate sockhost origin/future/c++
Simon Arlott [Tue, 27 Jun 2017 19:45:02 +0000 (20:45 +0100)] 
m_webirc: use rb_inet_ntop_sock to populate sockhost

6 years agoircd: s_conf: fix use of strlcpy in strip_tabs
Simon Arlott [Sun, 25 Jun 2017 18:48:49 +0000 (19:48 +0100)] 
ircd: s_conf: fix use of strlcpy in strip_tabs

strlcpy should be called with the size of the destination buffer, not
the length of the source string.

When the source is an empty string, the destination buffer isn't
written at all, resulting in it trying to output uninitialised data.

This could also cause a buffer overflow on very long invalid config
lines.

7 years agoCREDITS: fix my nickname and update my email address
Simon Arlott [Fri, 6 Jan 2017 21:51:05 +0000 (21:51 +0000)] 
CREDITS: fix my nickname and update my email address

7 years agoextensions/extb_channel: Allow matching secret channels.
Keith Buck [Thu, 29 Dec 2016 05:44:18 +0000 (05:44 +0000)] 
extensions/extb_channel: Allow matching secret channels.

This change modifies extb_channel to allow matching users in secret
channels, which prevents trivial ban evasion by setting the target
channel +s. Information leak due to this change is unlikely since the
attacker would have to know that the target channel exists, the name of
the channel (or guess it), have a specific user they wanted to know
whether was in the channel (and not know already), and the target user
would need to have something like autojoin-on-invite enabled (or any of
the other various ways hostname cloaking is attacked).

7 years agomr_server: Handle certificate validation errors.
Keith Buck [Fri, 9 Dec 2016 10:01:22 +0000 (10:01 +0000)] 
mr_server: Handle certificate validation errors.

When certificate validation fails, the certificate fingerprint won't be
calculated, resulting in an attempt to format NULL into a log line
showing the fingerprint. Instead, add a different error message for
missing fingerprint (i.e. validation failed).

7 years agom_rehash: Require admin privileges for REHASH SSLD.
Keith Buck [Sun, 4 Dec 2016 22:03:34 +0000 (22:03 +0000)] 
m_rehash: Require admin privileges for REHASH SSLD.

This change enforces admin privileges for the REHASH SSLD command, as
originally intended.

7 years agoreference.conf: Use proper IPv6 RFC Documentation Range Subnet
Aaron Jones [Sun, 27 Nov 2016 20:51:38 +0000 (20:51 +0000)] 
reference.conf: Use proper IPv6 RFC Documentation Range Subnet

[ci skip]

7 years agoserver_estab: don't try to send to a dead client
Simon Arlott [Sun, 20 Nov 2016 21:41:18 +0000 (21:41 +0000)] 
server_estab: don't try to send to a dead client

If the zlib setup fails the client will be exited, so don't send
to it before checking this.

7 years agolistener: use exit_client instead of free_client
Simon Arlott [Sun, 20 Nov 2016 20:43:53 +0000 (20:43 +0000)] 
listener: use exit_client instead of free_client

As well as leaking a connid and leaving the connection open,
these calls to free_client() leave the client in the unknown_list
causing check_unknowns_list() to crash when either ptr->data
(ptr being the freed client_p->localClient->tnode) is NULL or
when client_p->localClient is NULL.

Flag the client as an IO error so that we don't try to send it
any data (as this is not a normal plaintext connection).

7 years agoREADME: Document glibtoolize use on Mac systems
Aaron Jones [Mon, 31 Oct 2016 09:11:48 +0000 (09:11 +0000)] 
README: Document glibtoolize use on Mac systems

See related release/4 commit 19ec5fb, issue #224

7 years agofree server_p->certfp, allocated in newconf.c
Simon Arlott [Sun, 30 Oct 2016 11:45:56 +0000 (11:45 +0000)] 
free server_p->certfp, allocated in newconf.c

==01:17:20:36.920 5966== 429 bytes in 3 blocks are possibly lost in loss record 899 of 1,020
==01:17:20:36.920 5966==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==01:17:20:36.920 5966==    by 0x4E73867: rb_strdup (rb_memory.h:70)
==01:17:20:36.920 5966==    by 0x4E7674C: conf_set_connect_fingerprint (newconf.c:1421)
==01:17:20:36.920 5966==    by 0x4E78D55: conf_call_set (newconf.c:2562)
==01:17:20:36.920 5966==    by 0x4E6A33D: yyparse (ircd_parser.y:215)
==01:17:20:36.920 5966==    by 0x4E7FFC7: read_conf (s_conf.c:834)
==01:17:20:36.920 5966==    by 0x4E81718: read_conf_files (s_conf.c:1419)
==01:17:20:36.920 5966==    by 0x4E69567: charybdis_main (ircd.c:775)
==01:17:20:36.920 5966==    by 0x400815: main (main.c:8)

7 years agofree localClient->cipher_string, allocated in sslproc.c
Simon Arlott [Sun, 30 Oct 2016 11:21:02 +0000 (11:21 +0000)] 
free localClient->cipher_string, allocated in sslproc.c

==01:17:20:36.919 5966== 280 bytes in 8 blocks are definitely lost in loss record 876 of 1,020
==01:17:20:36.919 5966==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==01:17:20:36.919 5966==    by 0x4E93F4F: rb_strdup (rb_memory.h:70)
==01:17:20:36.919 5966==    by 0x4E95280: ssl_process_cipher_string (sslproc.c:476)
==01:17:20:36.919 5966==    by 0x4E95540: ssl_process_cmd_recv (sslproc.c:561)
==01:17:20:36.919 5966==    by 0x4E9582A: ssl_read_ctl (sslproc.c:632)
==01:17:20:36.919 5966==    by 0x56CBAB6: rb_select_epoll (epoll.c:199)
==01:17:20:36.919 5966==    by 0x56C4EB5: rb_select (commio.c:2085)
==01:17:20:36.919 5966==    by 0x56C7FD6: rb_lib_loop (rb_lib.c:228)
==01:17:20:36.919 5966==    by 0x4E69987: charybdis_main (ircd.c:872)
==01:17:20:36.919 5966==    by 0x400815: main (main.c:8)

7 years agofree localClient->zipstats, allocated in sslproc.c
Simon Arlott [Sun, 30 Oct 2016 11:17:41 +0000 (11:17 +0000)] 
free localClient->zipstats, allocated in sslproc.c

==01:17:20:36.906 5966== 48 bytes in 1 blocks are definitely lost in loss record 544 of 1,020
==01:17:20:36.906 5966==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==01:17:20:36.906 5966==    by 0x4E93F0C: rb_malloc (rb_memory.h:41)
==01:17:20:36.906 5966==    by 0x4E961E8: start_zlib_session (sslproc.c:901)
==01:17:20:36.906 5966==    by 0x4E86FAC: server_estab (s_serv.c:877)
==01:17:20:36.906 5966==    by 0x13B2921A: mr_server (m_server.c:304)
==01:17:20:36.906 5966==    by 0x4E7AF03: handle_command (parse.c:241)
==01:17:20:36.906 5966==    by 0x4E7A96A: parse (parse.c:157)
==01:17:20:36.906 5966==    by 0x4E7A3DC: client_dopacket (packet.c:354)
==01:17:20:36.906 5966==    by 0x4E798D6: parse_client_queued (packet.c:98)
==01:17:20:36.906 5966==    by 0x4E79FAC: read_packet (packet.c:282)
==01:17:20:36.906 5966==    by 0x56CBAB6: rb_select_epoll (epoll.c:199)
==01:17:20:36.906 5966==    by 0x56C4EB5: rb_select (commio.c:2085)

7 years agoauthproc: don't allow authd to write too many parameters to parv array
Simon Arlott [Sat, 22 Oct 2016 21:42:22 +0000 (22:42 +0100)] 
authproc: don't allow authd to write too many parameters to parv array

7 years agomsgbuf_parse: rb_string_to_array outputs to a MAXPARA+1 size array
Simon Arlott [Sat, 22 Oct 2016 21:37:35 +0000 (22:37 +0100)] 
msgbuf_parse: rb_string_to_array outputs to a MAXPARA+1 size array

7 years agorb_string_to_array: document parv array size
Simon Arlott [Sat, 22 Oct 2016 21:36:47 +0000 (22:36 +0100)] 
rb_string_to_array: document parv array size

7 years agoREADME: Fix location of channel
Aaron Jones [Sat, 15 Oct 2016 12:50:47 +0000 (12:50 +0000)] 
README: Fix location of channel

Fixes #223

7 years agoSASL: Relax rate limiting for failures a little
Aaron Jones [Sun, 2 Oct 2016 14:13:02 +0000 (14:13 +0000)] 
SASL: Relax rate limiting for failures a little

Begin at 8 seconds after 2 failures and up to ~4 minutes

7 years agoAdded kick immunity to umode +p (oper-override)
Xenthys [Wed, 28 Sep 2016 22:34:53 +0000 (00:34 +0200)] 
Added kick immunity to umode +p (oper-override)

7 years agoSASL: rate-limit after the 2nd failed attempt (m_sasl.c)
Xenthys [Sun, 2 Oct 2016 01:57:11 +0000 (03:57 +0200)] 
SASL: rate-limit after the 2nd failed attempt (m_sasl.c)

7 years agowhois: check target is an oper before assuming they have a privset
Aaron Jones [Tue, 20 Sep 2016 13:48:56 +0000 (13:48 +0000)] 
whois: check target is an oper before assuming they have a privset

The CHALLENGE functionality will set opername but not privset --
if an oper performs a WHOIS on someone currently half-way through
a challenge we will perform a NULL dereference.

Related to ircd-seven commit d7b05f7583babf6

7 years agomsgbuf: Fix remote crash vulnerability due to malformed message tag.
Aaron Jones [Sun, 11 Sep 2016 10:36:19 +0000 (10:36 +0000)] 
msgbuf: Fix remote crash vulnerability due to malformed message tag.

Fixes #218

Reported-by: ManiacTwister <redacted>
7 years agoSASL: Disallow beginning : and space anywhere in AUTHENTICATE parameter
Aaron Jones [Sat, 3 Sep 2016 17:29:46 +0000 (17:29 +0000)] 
SASL: Disallow beginning : and space anywhere in AUTHENTICATE parameter

This is a FIX FOR A SECURITY VULNERABILITY. All Charybdis users must
apply this fix if you support SASL on your servers, or unload m_sasl.so
in the meantime.

7 years agoTLS Backends: Harmomise the rb_ssl_get_cipher() function
Aaron Jones [Sat, 20 Aug 2016 03:16:33 +0000 (04:16 +0100)] 
TLS Backends: Harmomise the rb_ssl_get_cipher() function

The GNUTLS backend reports the version in use for the client as well
as its ciphersuite -- do the same for the other 2 backends.

7 years agoGNUTLS: Avoid null dereference in constructing ciphersuite
Aaron Jones [Fri, 19 Aug 2016 20:29:49 +0000 (20:29 +0000)] 
GNUTLS: Avoid null dereference in constructing ciphersuite

7 years agoGNUTLS: Cleanup fingerprint generation
Aaron Jones [Fri, 19 Aug 2016 19:17:38 +0000 (19:17 +0000)] 
GNUTLS: Cleanup fingerprint generation

Removes intermediate buffer, properly check return values

7 years agoREADME: Clarify that OpenSSL is not required for ECDHE
Aaron Jones [Mon, 15 Aug 2016 10:51:04 +0000 (10:51 +0000)] 
README: Clarify that OpenSSL is not required for ECDHE

7 years agomkpasswd: use urandom for salts, cleanup
Aaron Jones [Mon, 15 Aug 2016 09:55:03 +0000 (09:55 +0000)] 
mkpasswd: use urandom for salts, cleanup

Using /dev/random for salt generation is pointless -- it can block, and
any extra randomness it would provide (which is debatable) is not needed,
as salts only need to be unique, not unpredictable.

7 years agoMerge pull request #209 from jevolk/master
Jason Volk [Sat, 13 Aug 2016 20:43:29 +0000 (13:43 -0700)] 
Merge pull request #209 from jevolk/master

ircd: Insert into ircd:: namespace.

7 years agoircd: Insert into ircd:: namespace.
Jason Volk [Sat, 13 Aug 2016 03:05:54 +0000 (20:05 -0700)] 
ircd: Insert into ircd:: namespace.

7 years agoappveyor: Disable PCH.
Jason Volk [Sat, 13 Aug 2016 07:56:14 +0000 (00:56 -0700)] 
appveyor: Disable PCH.

7 years agoAdd PIC/PCH condition in stdinc.h.
Jason Volk [Sat, 13 Aug 2016 02:41:59 +0000 (19:41 -0700)] 
Add PIC/PCH condition in stdinc.h.

7 years agoDon't care about missing declarations.
Jason Volk [Sat, 13 Aug 2016 02:07:12 +0000 (19:07 -0700)] 
Don't care about missing declarations.

7 years agoircd: Convert defaults to constexprs.
Jason Volk [Sat, 13 Aug 2016 00:38:20 +0000 (17:38 -0700)] 
ircd: Convert defaults to constexprs.
Also cleanup unused defaults.
Also move single-use defaults to a tighter scope.

7 years agoircd: Towards a comprehensive capability C -> C++ refactor.
Jason Volk [Fri, 12 Aug 2016 22:20:34 +0000 (15:20 -0700)] 
ircd: Towards a comprehensive capability C -> C++ refactor.

7 years agoRemove unused function prototype.
Jason Volk [Fri, 12 Aug 2016 08:04:50 +0000 (01:04 -0700)] 
Remove unused function prototype.

7 years agoReduce redundant includes.
Jason Volk [Fri, 12 Aug 2016 22:21:10 +0000 (15:21 -0700)] 
Reduce redundant includes.

7 years agotravis: Add webhook notification.
Jason Volk [Thu, 11 Aug 2016 10:22:38 +0000 (03:22 -0700)] 
travis: Add webhook notification.

7 years agotravis: Get newer GCC packages to support the clang-3.8 build.
Jason Volk [Fri, 12 Aug 2016 02:40:22 +0000 (19:40 -0700)] 
travis: Get newer GCC packages to support the clang-3.8 build.

7 years agoauthd: Fix use after reference count decrement.
Jason Volk [Fri, 5 Aug 2016 19:08:16 +0000 (13:08 -0600)] 
authd: Fix use after reference count decrement.

7 years agoopenssl: Avoid use-after-free when rehashing fails to load new files
Aaron Jones [Fri, 12 Aug 2016 13:34:13 +0000 (13:34 +0000)] 
openssl: Avoid use-after-free when rehashing fails to load new files

Commit cf12678 introduced a fix for issue #186 by freeing the old SSL_CTX
structure before constructing a new one, which could disconnect existing
clients otherwise.

Unfortunately, the freeing is done first, which means that if setting up
a new structure fails for any reason, there will be no usable structures
left, but they are still referenced.

This fix moves the freeing to the end of the function, using intermediate
new variables in the meantime. This problem was discovered while testing
against OpenSSL 1.1.0 RC6.

7 years agocapability: clean up CAP_REQUIRED and CAP_ORPHANED flags, use bool variables instead
William Pitcock [Sun, 31 Jul 2016 23:39:19 +0000 (18:39 -0500)] 
capability: clean up CAP_REQUIRED and CAP_ORPHANED flags, use bool variables instead

7 years agocapability: fix capability stats dumping
William Pitcock [Sun, 31 Jul 2016 23:10:31 +0000 (18:10 -0500)] 
capability: fix capability stats dumping

7 years agorb: remove export-syms.txt for now
William Pitcock [Sun, 31 Jul 2016 23:06:26 +0000 (18:06 -0500)] 
rb: remove export-syms.txt for now

7 years agorb: import formatter library
William Pitcock [Sun, 31 Jul 2016 22:53:32 +0000 (17:53 -0500)] 
rb: import formatter library

7 years agotravis: clang 3.8 is fucked, disable for now
William Pitcock [Sun, 31 Jul 2016 19:29:46 +0000 (14:29 -0500)] 
travis: clang 3.8 is fucked, disable for now

7 years agotravis: test clang++ 3.8 on a newer distribution to avoid broken libstdc++ headers
William Pitcock [Sun, 31 Jul 2016 19:22:35 +0000 (14:22 -0500)] 
travis: test clang++ 3.8 on a newer distribution to avoid broken libstdc++ headers

7 years agoversion: don't crash due to buffer underrun
William Pitcock [Sun, 31 Jul 2016 08:35:45 +0000 (03:35 -0500)] 
version: don't crash due to buffer underrun

7 years agoalias: cleanups
William Pitcock [Sun, 31 Jul 2016 08:24:12 +0000 (03:24 -0500)] 
alias: cleanups

7 years agocapability: major rewrite for C++ support.
William Pitcock [Sun, 31 Jul 2016 08:18:22 +0000 (03:18 -0500)] 
capability: major rewrite for C++ support.

- no rb_dictionary use anymore
- CapabilityIndex converted into a proper class
- proper RAII lifecycle management

7 years agoutil: memory, not unique_ptr header :)
William Pitcock [Sun, 31 Jul 2016 07:14:37 +0000 (02:14 -0500)] 
util: memory, not unique_ptr header :)

7 years agofix build on clang++ 3.8 charybdis-5-m0
William Pitcock [Sun, 31 Jul 2016 06:59:57 +0000 (01:59 -0500)] 
fix build on clang++ 3.8

7 years agoalias: convert to RAII/std::string/etc, no more rb_dictionary use (ref #202)
William Pitcock [Sun, 31 Jul 2016 06:57:04 +0000 (01:57 -0500)] 
alias: convert to RAII/std::string/etc, no more rb_dictionary use (ref #202)

7 years agoparse: move cmd_dict to a std::set
William Pitcock [Sun, 31 Jul 2016 06:36:14 +0000 (01:36 -0500)] 
parse: move cmd_dict to a std::set

7 years agocache: further cleanups
William Pitcock [Sun, 31 Jul 2016 06:21:10 +0000 (01:21 -0500)] 
cache: further cleanups

7 years agocache: do not cause an implicit copy of std::string elements
William Pitcock [Sun, 31 Jul 2016 06:19:15 +0000 (01:19 -0500)] 
cache: do not cause an implicit copy of std::string elements

7 years agocache: adopt proper RAII pattern
William Pitcock [Sun, 31 Jul 2016 06:03:05 +0000 (01:03 -0500)] 
cache: adopt proper RAII pattern

7 years agocache: rough conversion of help system to std::map (ref #202)
William Pitcock [Sun, 31 Jul 2016 03:13:29 +0000 (22:13 -0500)] 
cache: rough conversion of help system to std::map (ref #202)

7 years agoutil: add std::map helpers for using case-insensitive strings/irccmp strings
William Pitcock [Sun, 31 Jul 2016 02:54:48 +0000 (21:54 -0500)] 
util: add std::map helpers for using case-insensitive strings/irccmp strings

7 years agoconfigure: fix ENABLE_FHS_PATHS being enabled when it shouldn't
William Pitcock [Sun, 31 Jul 2016 02:25:34 +0000 (21:25 -0500)] 
configure: fix ENABLE_FHS_PATHS being enabled when it shouldn't

7 years agobandb: show the path of the database file when complaining about opening it
William Pitcock [Sun, 31 Jul 2016 02:14:52 +0000 (21:14 -0500)] 
bandb: show the path of the database file when complaining about opening it

7 years agofs: use normal ETCDIR for now
William Pitcock [Sun, 31 Jul 2016 02:02:24 +0000 (21:02 -0500)] 
fs: use normal ETCDIR for now

7 years agoheaders: make ircd namespace inline in more places
William Pitcock [Sun, 31 Jul 2016 01:52:41 +0000 (20:52 -0500)] 
headers: make ircd namespace inline in more places

7 years agoRevert "headers: don't use inline namespaces"
William Pitcock [Sun, 31 Jul 2016 01:50:27 +0000 (20:50 -0500)] 
Revert "headers: don't use inline namespaces"

This reverts commit 51a75f00be8d4ae7df2898d6e982c898fcf33ec5.

7 years agoheaders: don't use inline namespaces
William Pitcock [Sun, 31 Jul 2016 01:47:44 +0000 (20:47 -0500)] 
headers: don't use inline namespaces

7 years agoconfigure: boost_linkage should be shared when using system boost
William Pitcock [Sun, 31 Jul 2016 01:42:39 +0000 (20:42 -0500)] 
configure: boost_linkage should be shared when using system boost

7 years agoconfigure: more cleanups
William Pitcock [Sun, 31 Jul 2016 01:00:19 +0000 (20:00 -0500)] 
configure: more cleanups

7 years agoconfigure: use AX_BOOST macros when not building built-in boost
William Pitcock [Sun, 31 Jul 2016 00:56:01 +0000 (19:56 -0500)] 
configure: use AX_BOOST macros when not building built-in boost

7 years agom4: add ax_boost_asio macros
William Pitcock [Sun, 31 Jul 2016 00:53:57 +0000 (19:53 -0500)] 
m4: add ax_boost_asio macros

7 years agom4: add AX_BOOST_BASE and AX_BOOST_SYSTEM macros
William Pitcock [Sun, 31 Jul 2016 00:48:53 +0000 (19:48 -0500)] 
m4: add AX_BOOST_BASE and AX_BOOST_SYSTEM macros

7 years agoMerge pull request #204 from jevolk/README
William Pitcock [Wed, 27 Jul 2016 07:34:49 +0000 (02:34 -0500)] 
Merge pull request #204 from jevolk/README

Update README. charybdis-5-dev.

7 years agoUpdate README. charybdis-5-dev.
Jason Volk [Sat, 23 Jul 2016 22:42:04 +0000 (15:42 -0700)] 
Update README. charybdis-5-dev.

[ci skip]

7 years agoAdd root exception + basic utilities.
Jason Volk [Tue, 26 Jul 2016 02:06:31 +0000 (19:06 -0700)] 
Add root exception + basic utilities.

7 years agoPreliminary defaults/paths namespacing.
Jason Volk [Mon, 25 Jul 2016 08:57:54 +0000 (01:57 -0700)] 
Preliminary defaults/paths namespacing.
The namespace is inline to mimic the C namespace for now.

7 years agobandb: Suppress all warnings from sqlite3.c compilation.
Jason Volk [Mon, 25 Jul 2016 19:53:00 +0000 (12:53 -0700)] 
bandb: Suppress all warnings from sqlite3.c compilation.

7 years agobandb: Convert rsdb_sqlite3 + suggested printf attribute.
Jason Volk [Mon, 25 Jul 2016 08:53:53 +0000 (01:53 -0700)] 
bandb: Convert rsdb_sqlite3 + suggested printf attribute.

7 years agoMerge pull request #203 from jevolk/master
Jason Volk [Mon, 25 Jul 2016 17:56:37 +0000 (10:56 -0700)] 
Merge pull request #203 from jevolk/master

Bison C++ linkage + build improvements

7 years agoActivate PCH for position independent code.
Jason Volk [Mon, 25 Jul 2016 06:50:26 +0000 (23:50 -0700)] 
Activate PCH for position independent code.
Cuts compilation time by 30%+

7 years agoconfigure.ac: Use stddef.h as dead header.
Jason Volk [Mon, 25 Jul 2016 07:18:05 +0000 (00:18 -0700)] 
configure.ac: Use stddef.h as dead header.
/dev/null cannot be used on windows, and /dev/null appears as modified
dependency when checking the PCH.

7 years agoComplete the C++ linkage with flex/bison.
Jason Volk [Sun, 24 Jul 2016 23:11:34 +0000 (16:11 -0700)] 
Complete the C++ linkage with flex/bison.

7 years agoAdd --with-included-boost=shared because it is not going to be installed.
Jason Volk [Mon, 25 Jul 2016 03:31:08 +0000 (20:31 -0700)] 
Add --with-included-boost=shared because it is not going to be installed.

7 years agoconfigure.ac: adjust version to meet integral targets.
Jason Volk [Mon, 25 Jul 2016 00:33:26 +0000 (17:33 -0700)] 
configure.ac: adjust version to meet integral targets.

7 years agotravis: Make a record of installed build util version numbers.
Jason Volk [Mon, 25 Jul 2016 00:14:36 +0000 (17:14 -0700)] 
travis: Make a record of installed build util version numbers.

7 years agoRecognize subdirectories as make targets.
Jason Volk [Sun, 24 Jul 2016 23:15:07 +0000 (16:15 -0700)] 
Recognize subdirectories as make targets.

7 years agoircd/rb: Move some remaining macros to rb.
Jason Volk [Sun, 24 Jul 2016 20:21:34 +0000 (13:21 -0700)] 
ircd/rb: Move some remaining macros to rb.

7 years agoAdd --disable-pch configuration option.
Jason Volk [Sun, 24 Jul 2016 01:42:24 +0000 (18:42 -0700)] 
Add --disable-pch configuration option.

7 years agoFix rb.h.gch compilation flags.
Jason Volk [Sun, 24 Jul 2016 02:12:45 +0000 (19:12 -0700)] 
Fix rb.h.gch compilation flags.

7 years agoFix configure.ac macro expression.
Jason Volk [Sun, 24 Jul 2016 02:39:03 +0000 (19:39 -0700)] 
Fix configure.ac macro expression.

7 years agoMerge pull request #198 from jevolk/cpp
William Pitcock [Sat, 23 Jul 2016 04:46:44 +0000 (23:46 -0500)] 
Merge pull request #198 from jevolk/cpp

Full C++14 integration.

7 years agoBuild system cleanup.
Jason Volk [Wed, 20 Jul 2016 18:55:46 +0000 (11:55 -0700)] 
Build system cleanup.

7 years agotravis.yml: Update for C++
Jason Volk [Sat, 16 Jul 2016 18:06:28 +0000 (11:06 -0700)] 
travis.yml: Update for C++

7 years agoappveyor: Add callback shellcode.
Jason Volk [Sat, 23 Jul 2016 01:33:26 +0000 (18:33 -0700)] 
appveyor: Add callback shellcode.
If you feel the need to peep around.

7 years agoircd: Use rb_socklen_t type.
Jason Volk [Fri, 22 Jul 2016 19:22:01 +0000 (12:22 -0700)] 
ircd: Use rb_socklen_t type.

7 years agoircd: Make Chm::mode_type unsigned long.
Jason Volk [Fri, 22 Jul 2016 18:45:48 +0000 (11:45 -0700)] 
ircd: Make Chm::mode_type unsigned long.

7 years agoRegress brace init relaxation for clang.
Jason Volk [Fri, 22 Jul 2016 22:11:39 +0000 (15:11 -0700)] 
Regress brace init relaxation for clang.

7 years agom4: Update CHARYBDIS_C_GCC_TRY_FLAGS, which has a $CFLAGS impurity.
Jason Volk [Fri, 22 Jul 2016 00:53:09 +0000 (17:53 -0700)] 
m4: Update CHARYBDIS_C_GCC_TRY_FLAGS, which has a $CFLAGS impurity.

7 years agom4: Add macro argument to pass an SD-6 feature test number.
Jason Volk [Tue, 19 Jul 2016 17:22:14 +0000 (10:22 -0700)] 
m4: Add macro argument to pass an SD-6 feature test number.
This test against the __cplusplus #define value allows for a more
granular feature test.

7 years agom4: Fix error in ax_cxx_compile_stdcxx macro script.
Jason Volk [Tue, 19 Jul 2016 18:04:20 +0000 (11:04 -0700)] 
m4: Fix error in ax_cxx_compile_stdcxx macro script.

7 years agom4: Rename argument.
Jason Volk [Tue, 19 Jul 2016 17:21:34 +0000 (10:21 -0700)] 
m4: Rename argument.

7 years agoConvert bison.
Jason Volk [Sat, 16 Jul 2016 21:40:52 +0000 (14:40 -0700)] 
Convert bison.
NOTE: This only has "C" linkage right now.