12580 Commits

Author SHA1 Message Date
Peter Powell
8c90682adc Update another password check to use InspIRCd::TimingSafeCompare. 2015-10-14 06:25:35 +01:00
Attila Molnar
6447b7be82 m_ssl_openssl Use SSL_MODE_RELEASE_BUFFERS if available 2015-07-06 19:07:30 +02:00
Attila Molnar
72555992d1 m_ssl_openssl Enable ECDH when acting as a server on OpenSSL 1.0.0 and later 2015-07-06 19:03:48 +02:00
Attila Molnar
3462d802dd m_ssl_openssl Unconditionally compile code for detecting renegotiation and disallow it by default 2015-07-06 18:38:44 +02:00
Adam
70542e525b Fail invalid dns responses instead of drop 2015-07-06 17:53:21 +02:00
Attila Molnar
fee097c059 Merge pull request #1069 from del6597/patch-1
Update m_blockcaps.cpp
2015-07-02 23:52:15 +02:00
David Lamont
451784d056 m_blockcaps Reword error message to indicate 'greater than or equal to' logic when checking caps percentage 2015-07-01 11:24:28 -07:00
Attila Molnar
8320bcc9df Merge pull request #1059 from OVERdrive-IRC/m_repeat/fix-typo
m_repeat: fix typo (similiar->similar)
2015-06-26 01:52:04 +02:00
Attila Molnar
9675ce9553 m_ssl_gnutls, m_ssl_openssl Log library version information on load 2015-06-22 18:11:50 +02:00
James Lu
51b82c3c06 m_repeat: fix typo (similiar->similar)
Also update docs/ accordingly
2015-06-12 18:31:01 -07:00
Attila Molnar
68c06dd45f Merge branch 'master+sendq' 2015-06-08 12:30:56 +02:00
Attila Molnar
f8bd107374 Clean up indent in StreamSocket::DoWrite() 2015-06-06 15:14:39 +02:00
Attila Molnar
042cd5e8e6 m_ssl_gnutls Implement corking on GnuTLS 3.1.9 and later to avoid data copies done by sendq flattening 2015-06-06 15:13:31 +02:00
Attila Molnar
d0556a2a59 Call OnStreamSocketWrite() once per write event
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
2015-06-06 14:42:59 +02:00
Attila Molnar
e05c258650 Add max outgoing record size option to sslprofile config 2015-06-06 14:34:28 +02:00
Attila Molnar
1f0485039a Convert all code to use StreamSocket::SendQueue
Let OnStreamSocketWrite see the entire sendq instead of one element at a time
2015-06-06 14:31:05 +02:00
Attila Molnar
0858cdd53c Add class StreamSocket::SendQueue 2015-06-06 14:20:22 +02:00
Attila Molnar
9b9326ff08 Expand module names in ServerConfig::ApplyModules() 2015-06-04 00:03:29 +02:00
Attila Molnar
1e68ff30df Merge pull request #1044 from SaberUK/master+multichar-prefix
Add support for channel alias prefixes with multiple characters.
2015-06-04 00:00:30 +02:00
Peter Powell
3f4bdfaa98 Add support for channel alias prefixes with multiple characters. 2015-06-03 22:27:30 +01:00
Attila Molnar
ab393cf6cf m_silence Change silencelist type to vector 2015-06-03 18:11:17 +02:00
Attila Molnar
dad0eff884 m_silence Remove unused parameters from OnBuildExemptList and rename it 2015-06-03 18:10:02 +02:00
Attila Molnar
0d4facc30a m_callerid Prioritize after other mods for the OnUserPreMessage hook
Issue #1051
2015-06-03 18:00:04 +02:00
Attila Molnar
6b2438f548 Merge pull request #1054 from SaberUK/master+fix-linking-modules
Fix modules with 2+ files not having their LinkerFlags parsed.
2015-06-03 17:46:07 +02:00
Peter Powell
cf94052d8f Fix modules with 2+ files not having their LinkerFlags parsed. 2015-06-03 14:59:08 +01:00
Attila Molnar
61696290a6 Fix incomplete conversion to the new whois system noticed by @SaberUK 2015-06-02 20:05:00 +02:00
Attila Molnar
ffc8101b5f m_spanningtree Log nick collisions more verbosely and in all cases 2015-05-23 15:10:42 +02:00
Attila Molnar
d549fbb7d3 Remove dead code from UserManager::AddUser() 2015-05-22 18:52:15 +02:00
Attila Molnar
df9bd50866 Fix some oversights 2015-05-22 18:49:20 +02:00
Attila Molnar
f449c6b2f0 Update example configuration to say the new style module names everywhere 2015-05-20 15:20:00 +02:00
Attila Molnar
7bb75e575b Allow modules to be called as "foo" instead of "m_foo.so" 2015-05-20 15:02:24 +02:00
Attila Molnar
4881783773 m_spanningtree Fix harmless valgrind warning about uninit var usage on unload 2015-05-19 23:33:07 +02:00
Attila Molnar
8ceae7ec0f Increase entries in valgrind stack traces to 30 (--num-callers) 2015-05-19 23:31:02 +02:00
Attila Molnar
cd268bb2d5 Merge branch 'master+movenames' 2015-05-19 23:10:21 +02:00
Adam
f3513de58a New m_ldap from Anope
Redesign to be more like m_mysql, polling ldap_result from a thread as
done previously is undefined.
2015-05-18 10:11:08 -04:00
Attila Molnar
33137bba44 Move InspIRCd::SendError() to cmd_die
Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message
2015-05-17 18:13:45 +02:00
Attila Molnar
c715182bf8 Move code that quits all users from InspIRCd::Cleanup() to cmd_die 2015-05-17 18:08:49 +02:00
Attila Molnar
b28782c4a3 Fix incorrect iterator use leading to prematurely exiting loops when quitting users while looping the local user list 2015-05-17 18:00:42 +02:00
Attila Molnar
c1757d9126 Merge pull request #1048 from SaberUK/master+ipv6-stats
Encase the IPv6 address in `STATS p` with square brackets.
2015-05-17 17:05:26 +02:00
Peter Powell
a9b2b55b60 Encase the IPv6 address in STATS p with square brackets.
This is a widely used format as without it the port is ambigious.
2015-05-17 12:37:18 +01:00
Attila Molnar
c27122858b cmd_names Do the HasPrivPermission() check only in the NAMES handler 2015-05-16 16:53:21 +02:00
Attila Molnar
930fd98e48 Move Channel::UserList() from core to cmd_names 2015-05-16 16:49:37 +02:00
Attila Molnar
127fe6ed10 Move topic and NAMES sending on join from core into core_channel 2015-05-16 16:40:22 +02:00
Attila Molnar
9fc261d4cd cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function 2015-05-16 16:36:12 +02:00
Attila Molnar
6d51696715 Merge pull request #1024 from SaberUK/master+make-perl-cleanup
Start cleaning up the make/*.pl files.
2015-05-13 16:23:15 +02:00
Peter Powell
01dee272ca Remove run-cc.pl and all associated code.
As far as I can tell this only worked with older versions of GCC
and there is no value in fixing it as diagnostics have improved
since then and it makes errors hard to search for anyway.

This also shaves off an average of five seconds on each build on
my hardware. Neat!
2015-05-13 15:22:44 +01:00
Peter Powell
4b3e466c80 unit-cc: Remove workaround which existed for 2.0.x only. 2015-05-13 15:22:44 +01:00
Peter Powell
953ca72cfe unit-cc: Use the same preamble as other Perl tools. 2015-05-13 15:22:44 +01:00
Peter Powell
70faab99c8 calcdep: Unify coremod and module building code. 2015-05-13 15:22:43 +01:00
Peter Powell
f02e766924 calcdep: Clean up some unused/duplicate variables. 2015-05-13 15:22:43 +01:00