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
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
Attila Molnar
2d42e4828a
m_ssl_gnutls Implement faster reads on GnuTLS 3.3.5 and later by avoiding copying the data from GnuTLS buffers to ReadBuffer
2015-02-28 17:29:30 +01:00
Attila Molnar
b8d0753b0b
m_ssl_gnutls Move logic that reads data from a session into new class GnuTLS::DataReader
2015-02-28 17:21:49 +01:00
Attila Molnar
7c158dd977
m_ssl_gnutls Add convenience macro for library version checking, change checks to use it
2015-02-28 17:10:24 +01:00
Attila Molnar
245c2d9d43
Fix miscalculation of maxlen in Channel::UserList() introduced by the WriteNumeric() conversion
2015-02-27 01:30:40 +01:00
Attila Molnar
8236f2c376
Fix oversights in substr() conversion
...
Thanks to @StevenVanAcker for reporting and testing this
2015-02-27 01:25:12 +01:00
Attila Molnar
71f93ea1b3
Merge pull request #916 from ShutterQuick/master+kickrejoinbound
...
Advertise m_kicknorejoin's upper bound. Closes #913
2015-02-22 20:42:12 +01:00
Daniel Vassdal
76608ff23d
capab: m_kicknorejoin: Don't advertise upper bound to 2.0 servers
2015-02-22 18:17:51 +01:00
Daniel Vassdal
d9de2ec34f
m_kicknorejoin: Advertise upper bound. Closes #913
2015-02-22 18:16:02 +01:00
Attila Molnar
bdefe32944
Merge pull request #998 from SaberUK/master+fix-clang-builds
...
Fix oversight which caused problems with Clang on OSX.
2015-02-22 17:14:53 +01:00
Attila Molnar
21e25f7aa9
Merge pull request #1000 from ShutterQuick/master+281
...
m_sqloper: Add `active` column
2015-02-22 17:12:06 +01:00
Daniel Vassdal
75e7eaceba
m_sqloper.cpp: Add support for the active
column
...
When active is true the user is allowed to log in. When it is FALSE, he is not.
2.0 users must alter their table (or view) so that it contains this field.
2015-02-22 14:38:38 +01:00
Daniel Vassdal
0a195d3dc2
m_sqloper.sqlite3.sql: Add active
column
2015-02-22 14:38:15 +01:00
Daniel Vassdal
0b1315b1da
m_sqloper.postgresql.sql: Add active
column
2015-02-22 14:37:40 +01:00
Daniel Vassdal
afaf9495c1
m_sqloper.mssql.sql: Add active
column
2015-02-22 14:37:40 +01:00
Daniel Vassdal
dddfcadebd
m_sqloper.mysql.sql: Add active
column
2015-02-22 14:37:40 +01:00
Daniel Vassdal
5de4171a81
m_sqloper.mysql.sql: TYPE is deprecated as of MySQL 5.5
...
"The older TYPE option that was synonymous with ENGINE was removed in MySQL 5.5."
https://dev.mysql.com/doc/refman/5.6/en/create-table.html
2015-02-21 12:49:31 +01:00
Peter Powell
ee3b1ba801
Fix oversight which caused problems with Clang on OSX.
2015-02-20 19:16:14 +00:00
Attila Molnar
2d97be1d32
Change all occurrences of Inspire to InspIRCd
2015-02-20 00:57:10 +01:00
Attila Molnar
8ff409cb9a
Merge pull request #997 from SaberUK/master+compiler-detection
...
Improve compiler detection in configure; update supported compiler tests.
2015-02-20 00:49:14 +01:00
Peter Powell
755c259b63
Remove a workaround for a compiler which is no longer supported.
2015-02-18 16:00:39 +00:00
Peter Powell
100048eb41
Add the <type_traits> header to the compiler test file.
2015-02-18 15:46:13 +00:00
Peter Powell
4e9af81504
Improve compiler detection in configure.
...
- Split the detection and compatibility checks into two different
steps (previously it was confusing as it would say the compiler
was not available when it was really not compatible).
- Fix a minor bug where compilers detected using xcrun on Darwin
would not have xcrun returned as part of the compiler name from
find_compiler.
2015-02-18 15:16:40 +00:00
Attila Molnar
7bea24293a
Eliminate constant return value of the all events version of ModuleManager::SetPriority()
2015-02-15 17:58:47 +01:00
Attila Molnar
bfc1abbcad
Convert mods calling the old compat wrapper of ModuleManager::SetPriority() to use the current method, remove wrapper
2015-02-15 17:56:01 +01:00