summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthew Mondor [Fri, 2 Sep 2016 01:21:05 +0000 (01:21 +0000)]
Not over yet, but added some more bound checks in string processing.
The old pre-stdio bounded snprintf(3)/vsnprintf(3) custom code
returned the actual length that could be written. On the other
hand, stdio oddly returns "what could have been written". This is
problematic in loops that expect a short write when a buffer overflow
is mitigated, where the next call can become out of bounds. Hence,
instead of directly using these stdio functions, a wrapper function
is now used which returns the actual string length that could be
written (calling strlen(3)), and also make sure that the end of
the buffer ends with '\0'.
prefix_buffer() did no bounds checking at all and this was noted
in its comment; this function now performs bounds checking.
Matthew Mondor [Sun, 28 Aug 2016 11:12:31 +0000 (11:12 +0000)]
Update RUBIKS-CHANGES and revision
Matthew Mondor [Sun, 28 Aug 2016 10:38:16 +0000 (10:38 +0000)]
If RC4_MITIGATE is defined, discard the first 3072 pseudorandom bytes
Matthew Mondor [Sat, 27 Aug 2016 16:31:25 +0000 (16:31 +0000)]
ANSI and 64-bit related cleanup - kqueue socket engine
The kqueue socket engine broke with strict warnings.
Matthew Mondor [Sat, 27 Aug 2016 15:54:08 +0000 (15:54 +0000)]
ANSI and 64-bit related cleanup - maybe-unitialized variables
Compile with -Werror=maybe-uninitialized and fix breaking cases.
Matthew Mondor [Sat, 27 Aug 2016 15:47:46 +0000 (15:47 +0000)]
ANSI and 64-bit related cleanup - format arguments
Code was built with -Werror=format-extra-args -Werror=format= and
breaking cases fixed.
Matthew Mondor [Sat, 27 Aug 2016 15:09:03 +0000 (15:09 +0000)]
ANSI and 64-bit related cleanup - integer-pointer mismatch
Compiled with -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
and fixed build-breaking cases. Another common segfault candidate
on x86_64.
Matthew Mondor [Sat, 27 Aug 2016 14:36:00 +0000 (14:36 +0000)]
ANSI and 64-bit related cleanup - prototypes
Compiled with -Werror=missing-prototypes and
-Werror=implicit-function-declaration. Fixed all cases so it builds
again. Hopefully fixes cases of implicit pointers cased to int
where on x86_64 this results in half-pointers, a common cause of
segmentation faults.
This involved writing prototypes and making static many functions
which weren't, moving to header files external function prototypes,
including the proper header files in the code, etc.
Matthew Mondor [Thu, 18 Aug 2016 16:15:00 +0000 (16:15 +0000)]
Fix broken build because of incomplete client certificate support
Matthew Mondor [Sat, 1 Nov 2014 04:08:37 +0000 (04:08 +0000)]
Disable SSLv3 and some other minor modifications
Matthew Mondor [Sun, 8 Jun 2014 21:44:23 +0000 (21:44 +0000)]
Replace 338 response by 378 which irssi supports for RPL_WHOISACTUALLY
Matthew Mondor [Sun, 8 Jun 2014 18:05:29 +0000 (18:05 +0000)]
- Now use vsprintf()/vsnprintf() instead of the buggy internal version which
crashed when recompiled for new systems
- Fixed various gcc warnings, and use socklen_t where appropriate/
- Made client reverse DNS optional, disabled by default, as there seemed to
be timeout issues with the resolver when rebuilt for new systems, delaying
connections until DNS timeout.
- Make SSL connections support forward secrecy using Diffie-Hellman
per-session keys loaded with strong parameters, favor strong ciphers, and
refuse to use the old insecure SSLv2 protocol.
- Only client SSL connections are supported, as before, but eventually it
should be used for inter-server links as well.
Matthew Mondor [Fri, 15 Dec 2006 19:28:30 +0000 (19:28 +0000)]
zlib upgrade leading to release 1.0.4
Matthew Mondor [Mon, 20 Feb 2006 12:37:36 +0000 (12:37 +0000)]
Fixed typo :)
Matthew Mondor [Mon, 20 Feb 2006 12:19:46 +0000 (12:19 +0000)]
If WHOIS_IDLE_NO_OPERS is defined, WHOIS command will not show the
IRC operators idle time on the server. Useful for busy admins who get
bothered by PRIVMSG too often by some persistent users monitoring the
idle status. Now also set as default behavior in config.h.
Thanks for the suggestion of another rubiks-ircd user.
Matthew Mondor [Thu, 17 Mar 2005 20:40:47 +0000 (20:40 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 17 Mar 2005 20:39:03 +0000 (20:39 +0000)]
- Cleanups to SSL related code
- Now by default only allows SSL connected IRC operators to minimize +S
channels leak and to secure operator passwords
Matthew Mondor [Wed, 16 Mar 2005 19:54:45 +0000 (19:54 +0000)]
*** empty log message ***
Matthew Wiggins [Wed, 16 Mar 2005 19:12:16 +0000 (19:12 +0000)]
fixed ssl channel bug across multiple servers
Matthew Wiggins [Tue, 8 Mar 2005 15:41:41 +0000 (15:41 +0000)]
fixed couple opf snafu
Matthew Wiggins [Mon, 7 Mar 2005 21:06:50 +0000 (21:06 +0000)]
*** empty log message ***
Matthew Wiggins [Mon, 7 Mar 2005 20:31:43 +0000 (20:31 +0000)]
misc release updates
Matthew Wiggins [Mon, 7 Mar 2005 19:42:04 +0000 (19:42 +0000)]
Added the scripts from fqircd to build SSL certificate in makefile
Matthew Wiggins [Mon, 7 Mar 2005 19:14:49 +0000 (19:14 +0000)]
Unapplied COLORED_NICK patch
Matthew Wiggins [Wed, 19 Jan 2005 22:05:45 +0000 (22:05 +0000)]
made remote msg hooks more robust
Matthew Wiggins [Sat, 15 Jan 2005 23:38:00 +0000 (23:38 +0000)]
simple module example showing how to use new remotemsg hook...
Matthew Wiggins [Sat, 15 Jan 2005 23:35:03 +0000 (23:35 +0000)]
Added an extra hook (and #ifdef), MODULE_HOOK_REMOTEMSG
in m_message() CHOOK_MSG fires if MyClient(sender) if not CHOOK_REMOTEMSG fires
Matthew Wiggins [Fri, 14 Jan 2005 23:28:09 +0000 (23:28 +0000)]
re: ssl, fakehost
Reflected changes made to parsing engine in reference.conf
examples in template.conf
Matthew Mondor [Fri, 14 Jan 2005 22:51:30 +0000 (22:51 +0000)]
Set proper version
Matthew Mondor [Fri, 14 Jan 2005 22:50:55 +0000 (22:50 +0000)]
Advertize proper version
Matthew Mondor [Fri, 14 Jan 2005 22:38:32 +0000 (22:38 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 14 Jan 2005 13:47:07 +0000 (13:47 +0000)]
More default options fixing for rubiks network
Matthew Mondor [Fri, 14 Jan 2005 13:15:33 +0000 (13:15 +0000)]
Added AOPER_AUTO to allow SA opers to automatically be set UMODE +Aa
Matthew Wiggins [Fri, 14 Jan 2005 09:33:35 +0000 (09:33 +0000)]
*** empty log message ***
Matthew Wiggins [Fri, 14 Jan 2005 07:50:01 +0000 (07:50 +0000)]
made SEND_UMODES sane with SSL (config.h)
fixed channel +S vulnerabilities (channel.c)
fixed umode +S vulnerability (s_user.c)
Matthew Mondor [Fri, 14 Jan 2005 06:26:00 +0000 (06:26 +0000)]
We don't want SHOW_HEADERS on rubiks
Matthew Mondor [Fri, 14 Jan 2005 06:14:28 +0000 (06:14 +0000)]
Fixed bug related to !DO_IDENTD && NO_TILDE
Matthew Mondor [Fri, 14 Jan 2005 05:45:06 +0000 (05:45 +0000)]
Added NO_TILDE in include/config.h with corresponding conditional in code
to prevent prefixing tildes to usernames without idents
Matthew Mondor [Fri, 14 Jan 2005 03:57:54 +0000 (03:57 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 14 Jan 2005 03:51:20 +0000 (03:51 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 14 Jan 2005 01:35:58 +0000 (01:35 +0000)]
Minor cleanup
Matthew Mondor [Thu, 13 Jan 2005 11:05:01 +0000 (11:05 +0000)]
Permits to track changes between official bahamut releases and rubiks ones
Matthew Mondor [Thu, 13 Jan 2005 10:46:42 +0000 (10:46 +0000)]
Make distclean used to forget to get rid of zlib/Makefile zlib/zconf.h
Matthew Mondor [Thu, 13 Jan 2005 10:38:30 +0000 (10:38 +0000)]
Added OpenSSL support, ported from diff distributed against 1.4.x bahamut
Matthew Mondor [Thu, 13 Jan 2005 09:11:39 +0000 (09:11 +0000)]
Allow FAKEHOST by default
Matthew Mondor [Thu, 13 Jan 2005 08:06:45 +0000 (08:06 +0000)]
Cleaned up colored-nicks diff
Matthew Mondor [Thu, 13 Jan 2005 08:04:03 +0000 (08:04 +0000)]
Cleaned up fake-host diff, and added missing preprocessor conditionals for
FAKEHOST
Matthew Mondor [Thu, 13 Jan 2005 06:31:27 +0000 (06:31 +0000)]
Warning cleanup when assigning NULL to udata field of struct kevent,
a cast to intptr_t was required
Matthew Mondor [Thu, 13 Jan 2005 06:21:18 +0000 (06:21 +0000)]
Applied colored-nicks diff
Matthew Mondor [Thu, 13 Jan 2005 06:20:45 +0000 (06:20 +0000)]
Applied dcc-allow diff
Matthew Mondor [Thu, 13 Jan 2005 06:19:56 +0000 (06:19 +0000)]
Applied fake-host diff
Matthew Mondor [Wed, 12 Jan 2005 07:44:59 +0000 (07:44 +0000)]
Initial import of bahamut-1.8.3