12494 Commits

Author SHA1 Message Date
Attila Molnar
8f5efbc7aa Merge insp20 2015-04-20 17:40:12 +02:00
Attila Molnar
1548078e5d Release v2.0.19 v2.0.19 2015-04-16 23:17:02 +02:00
Attila Molnar
b3c338c094 m_sasl Update description, SASL is no longer exclusive to Atheme 2015-04-16 23:12:47 +02:00
Attila Molnar
9f69e159ad m_dccallow Validate tokens before use 2015-04-16 23:00:56 +02:00
Attila Molnar
64faca29b3 cmd_userhost Fix +H hidden opers being shown as opers 2015-04-16 22:51:41 +02:00
Attila Molnar
c490a9061f Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression
Fixes issue #989 reported by @B00mX0r
2015-04-16 22:50:06 +02:00
Attila Molnar
9e0327b22a Merge branch 'insp20+timedbans' into insp20 2015-04-16 21:20:02 +02:00
Attila Molnar
a0c331eff3 m_sasl Add missing validation for server-to-server SASL message 2015-04-16 21:13:07 +02:00
Attila Molnar
6058483d9f Reject replies to DNS PTR requests that contain invalid characters
Fixes issue #1033 reported by @ping86
2015-04-16 18:04:03 +02:00
Attila Molnar
dda1d696c1 Remove exception handling from StreamSocket methods calling IOHooks
IOHooks don't throw exceptions
2015-04-15 23:49:05 +02:00
Attila Molnar
dad754237b Merge branch 'master+ehdispatch' 2015-04-15 23:45:12 +02:00
Attila Molnar
37de784509 Merge pull request #1028 from Adam-/master+ipv6dnsbl
Add ipv6 dnsbl support
2015-04-15 23:39:08 +02:00
Attila Molnar
4e24fb7c19 m_timedbans Notice user when trying to set a ban that's already set 2015-04-13 15:49:29 +02:00
Attila Molnar
b7526f6efd m_timedbans Extract IsBanSet() to a function 2015-04-13 15:48:00 +02:00
Attila Molnar
0243179509 m_timedbans On channel destruction remove all timed bans belonging to the channel from internal bookkeeping 2015-04-13 15:42:06 +02:00
Attila Molnar
8723866b4c m_timedbans Store Channel pointer in struct TimedBan 2015-04-13 15:40:26 +02:00
Attila Molnar
a42246b2f1 Change StreamSocket::DoRead() and DoWrite() to be non-virtual, make DoRead() private 2015-04-12 16:22:09 +02:00
Attila Molnar
612384b3d4 Dispatch EventHandler events to dedicated virtual functions
Remove enum EventType
2015-04-12 16:20:13 +02:00
Adam
d5c3c15fad Add ipv6 dnsbl support 2015-04-07 11:41:04 -04:00
Attila Molnar
e3303330f8 Merge pull request #1021 from SaberUK/master+perl510
Convert build system to Perl 5.10.
2015-03-26 23:13:15 +01:00
Peter Powell
aae283e1dd Convert the build system to Perl 5.10.
Thanks to Kross for the heads up on "use feature".
2015-03-25 19:01:33 +00:00
Attila Molnar
aaae660fee Merge pull request #1005 from SaberUK/master+minor-tweaks
Various changes mainly relating to the build system.
2015-03-23 00:54:40 +01:00
Attila Molnar
4dd7fb60a8 Merge pull request #1004 from SaberUK/insp20+fix-various-warnings
[2.0] Fix various warnings with the new Doxygen and LLVM releases.
2015-03-23 00:42:59 +01:00
Attila Molnar
74fa7f46dc Merge pull request #1016 from Renegade334/insp20+docs-no-extbanM
Remove non-existant extban M: from docs
2015-03-23 00:40:09 +01:00
Attila Molnar
a4d14459b3 Merge pull request #1009 from SaberUK/insp20+fix-dirty-env
[2.0] Fix building when VERBOSE is already set in the environment.
2015-03-23 00:40:05 +01:00
Adam
7f051bcc51 Rebuild clone counts on rehash 2015-03-21 12:53:21 -04:00
Renegade334
7a0e881ffe Remove non-existant extban M: from docs
extban M: has not existed since 2d732f4d in 2009...
2015-03-17 23:22:54 +00:00
Peter Powell
8cae3800ef Fix building when VERBOSE is already set in the environment.
This is a workaround for now. In 2.2 we should prefix all of the
environment variables with INSPIRCD_ to avoid collisions.
2015-03-09 15:26:40 +00:00
Peter Powell
214c6bc525 Fix dodgy indentation in configure. 2015-03-08 22:04:32 +00:00
Attila Molnar
e1e7ab0a18 m_ssl_gnutls Set a vector push function on GnuTLS 2.12 and later
Setting a vector push function is recommended to reduce overhead during handshake
2015-03-06 18:24:11 +01:00
Attila Molnar
30b78bc2f4 Merge branch 'master+writev' 2015-03-06 18:04:13 +01:00
Attila Molnar
11b10ac8a4 Merge branch 'master+sslcleanup' 2015-03-06 18:03:38 +01:00
Peter Powell
cfff1874a8 Change server name in ./configure --help to use the alias.
Requested by @attilamolnar.
2015-03-06 16:37:52 +00:00
Peter Powell
cd5d78203b Fix building modules that use cap.h with a C++11 compiler. 2015-03-06 16:13:11 +00:00
Peter Powell
1dc79dcdff Add development version checks to non-interactive mode. 2015-03-06 16:13:11 +00:00
Peter Powell
88bfcabe02 Create installation directories with make install not configure.
This fixes system-wide installations requiring root in order to
create directories.
2015-03-06 16:13:11 +00:00
Attila Molnar
b88cec3b94 m_ssl_openssl Remove OpenSSLIOHook::outbound and is_outbound constructor parameter 2015-03-05 17:36:46 +01:00
Attila Molnar
06eb88c10c m_ssl_openssl Specify TLS client/server role on session creation, switch to SSL_do_handshake() 2015-03-05 17:35:17 +01:00
Attila Molnar
a881ff7a32 m_ssl_gnutls Pass client/server role to GnuTLSIOHook constructor as a GNUTLS_* constant 2015-03-05 17:28:51 +01:00
Attila Molnar
24854545bd m_ssl_gnutls Add typedef for second parameter of gnutls_init() which changed in 2.99 2015-03-05 17:26:44 +01:00
Attila Molnar
ece5c62d57 m_ssl_gnutls Move GnuTLSIOHook::InitSession() code to constructor and GnuTLS::Profile::SetupSession() 2015-03-05 17:17:19 +01:00
Attila Molnar
2972f1ec3f m_ssl_gnutls, m_ssl_openssl Deduplicate Handshake() calling code 2015-03-05 17:12:34 +01:00
Attila Molnar
bbbd6c9ac4 m_ssl_gnutls, m_ssl_openssl Simplify status handling in IOHook read/write handlers
Remove states ISSL_CLOSING and ISSL_CLOSED from m_ssl_gnutls
2015-03-05 16:52:06 +01:00
Attila Molnar
e9b021cc99 m_ssl_gnutls, m_ssl_openssl Simplify Handshake() result handling 2015-03-05 16:45:22 +01:00
Attila Molnar
1e4a25b3f7 m_ssl_gnutls Replace ISSL_HANDSHAKING_READ/WRITE with a single state 2015-03-05 16:40:51 +01:00
Attila Molnar
56b7e9f8bf Use the native IOVector type in StreamSocket::DoWrite() 2015-03-04 20:22:29 +01:00
Attila Molnar
08ea4d3e2a Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() support 2015-03-04 20:21:45 +01:00
Attila Molnar
e0e1becc2f Add SocketEngine::WriteV() 2015-03-04 20:18:37 +01:00
Attila Molnar
3081031802 Add writev() wrapper for Windows 2015-03-04 20:05:00 +01:00
Attila Molnar
19eb420281 Merge branch 'master+gnutls-packet-read' 2015-03-01 15:20:16 +01:00