Attila Molnar
40a299772c
m_ssl_gnutls Add GnuTLS::Priority::GetDefault()
2015-11-11 10:38:28 +01:00
Attila Molnar
693ff4c7fa
m_ssl_gnutls Remove DH parameter generation
...
Generating DH params like this blocked the main thread, significantly slowing down startup and it made /rehash ssl freeze the server until the generation finished. External tools such as our genssl should be used to generate DH params.
2015-11-10 17:33:29 +01:00
Attila Molnar
56ed930a04
m_ssl_openssl Disable compression and SSL v3 by default
2015-11-10 17:25:16 +01:00
Attila Molnar
b90f3aca13
m_ssl_openssl Add workaround for a memory leak in OpenSSL
2015-11-10 17:25:02 +01:00
Attila Molnar
903a0075d3
Merge branch 'master+alreadysent'
2015-11-10 17:20:23 +01:00
Attila Molnar
aa05a6fd4d
Remove UserManager::GarbageCollect()
2015-11-03 13:16:19 +01:00
Attila Molnar
c89cc290fb
Move already sent id rollover handling and static LocalUser::already_sent_id into UserManager
2015-11-03 13:13:00 +01:00
Attila Molnar
3ef3047681
Add UserManager::NextAlreadySentId() and convert all code to use it
2015-11-03 13:08:21 +01:00
Attila Molnar
2c51a2bf17
Merge branch 'master+invite'
2015-11-03 12:40:24 +01:00
Attila Molnar
a124a3783d
core_channel Implement invite (un)serialization
2015-11-02 13:40:15 +01:00
Attila Molnar
30fc51c6dd
Rewrite invite system
...
- Moved out of core, now lives entirely in core_channel
- Accessible using the provided API after including the appropriate header
- Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS
- Expiration of timed invites are implemented using Timers
- When creating a new invite let a non-timed invite override a timed one
2015-11-02 13:28:55 +01:00
Attila Molnar
a6b53dbc36
Move ServerConfig::InvBypassModes into core_channel
2015-11-02 12:38:14 +01:00
Attila Molnar
a95853c964
Move handling of <options:invitebypassmodes> into core_channel
2015-11-02 12:32:20 +01:00
Attila Molnar
a2461fb7e1
Merge pull request #1093 from SaberUK/master+tsc
...
Update another password check to use InspIRCd::TimingSafeCompare.
2015-10-14 10:21:56 +02:00
Peter Powell
8c90682adc
Update another password check to use InspIRCd::TimingSafeCompare.
2015-10-14 06:25:35 +01:00
Attila Molnar
009cc92180
Merge pull request #1098 from SaberUK/master+appleclang
...
Fix detection of the Apple variant of Clang.
2015-10-11 16:23:42 +02:00
Peter Powell
cd67a0a6f9
Fix detection of the Apple variant of Clang.
...
This splitting of compiler names mirrors the change implemented by
other build systems like cmake.
2015-09-23 21:52:27 +01:00
Attila Molnar
5544649cd2
m_ssl_openssl Implement custom BIO methods that call SocketEngine methods
2015-07-07 15:27:58 +02:00
Attila Molnar
a120b22f5e
m_ssl_openssl Remove NULL check of the session in OpenSSLIOHook constructor
2015-07-07 15:07:10 +02: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