aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Collapse)AuthorAgeFilesLines
* Replace hardcoded paths with configurable onesGravatar ChrisTX2012-10-042-8/+8
| | | | | | | | | | This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files.
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-1/+2
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* m_regex_stdlib: A regex provider for the C++11 container std::regexGravatar ChrisTX2012-09-221-0/+112
| | | | | | For it to work you need a standards compliant implementation as for instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not implement this class yet.
* Fixed crash in m_mysql if a module is unloaded while executingGravatar Adam2012-09-131-1/+1
| | | | a query and there is only one query in the queue to be executed.
* listensocket: Fix the two aliasing warningsGravatar ChrisTX2012-08-201-3/+5
| | | | | | | m_ssl_gnutls: Fix three warnings: 1. libgcrypt will emit a warning to stdout during runtime that it has not been properly initialized 2. Resolve a warning about invalid narrowing inside a { } block. This is not valid as of C++11. 3. Resolve a warning about a wrong format specifier being used
* m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261Gravatar attilamolnar2012-07-271-5/+19
| | | | | Add a config option that can be used to set the value of the SSL token in ISUPPORT (77b42efc86122d3720f85bddd85a2dc80d0baff9) Advertise only one ssl port by default in ISUPPORT (d30cdacab7100426c3773eafffd50aebf8155bba)
* m_ssl_gnutls Allow setting the priorities to use on the ciphers, key ↵Gravatar attilamolnar2012-07-261-1/+27
| | | | exchange algorithms, compression methods and macs
* m_ssl_gnutls Compile with -Wno-deprecated-declarationsGravatar attilamolnar2012-07-211-1/+1
| | | | Fixes #246 reported by @SeLEct-
* m_ssl_gnutls Advertise only one ssl port by default in ISUPPORTGravatar attilamolnar2012-07-211-4/+13
| | | | Fixes #261 reported by @Shawn-Smith and others
* m_ssl_gnutls Move common session initialization code into a functionGravatar attilamolnar2012-07-211-19/+14
|
* m_ssl_gnutls Add a config option that can be used to set the value of the ↵Gravatar attilamolnar2012-07-211-0/+4
| | | | SSL token in ISUPPORT
* m_ssl_openssl Use the system default cipher list if no cipher list is specifedGravatar attilamolnar2012-07-131-5/+8
|
* Merge pull request #230 from Robby-/insp20-opensslGravatar Attila Molnar2012-07-131-2/+11
|\ | | | | [2.0] m_ssl_openssl: Show cipher used on connect and allow available ciphers to be customized.
| * m_ssl_openssl: Allow the list of available ciphers to be customized.Gravatar Robby-2012-06-271-0/+7
| | | | | | | | This patch was contributed almost 10 months ago via IRC, by spender.
| * m_ssl_openssl: Show the SSL cipher used after connecting.Gravatar Robby-2012-06-271-2/+4
| | | | | | | | Previously only a fingerprint was shown when one was available, else nothing was shown at all.
* | Fixed Windows build, int32_t is already defined in stdint.h.Gravatar Adam2012-07-091-0/+11
| | | | | | | | | | | | | | | | Add GnuTLS support for Windows. Made NSIS script include extra DLL files if supplied and include the conf/aliases and conf/modules example configuration files. Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows. Fixed typo in gnutlscert.pm.
* | m_ldapoper Say what the module actually does in the descriptionGravatar attilamolnar2012-07-071-2/+2
|/
* m_geoip Add support for /stats GGravatar attilamolnar2012-06-121-10/+53
| | | | m_geoip Change /stats G numeric to be 801
* m_ssl_gnutls Only generate DH params when dh_params is initedGravatar attilamolnar2012-06-011-0/+3
|
* m_ssl_gnutls Fix crash caused by calling gnutls_dh_params_deinit() when ↵Gravatar attilamolnar2012-06-011-9/+19
| | | | | | dh_params wasn't inited Fixes #181 reported by @BlacklightShining
* Use socketengine functions for sending and receiving data instead of plain ↵Gravatar attilamolnar2012-05-281-2/+2
| | | | send() and recv() so /STATS z displays correct bandwidth usage
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1912-114/+203
|
* Merge pull request #35 from pcarrier/insp20ldapGravatar Robin Burchell2012-04-141-0/+21
|\ | | | | extras/m_ldapauth: CIDR-based whitelisting
| * extras/m_ldapauth: CIDR-based whitelistingGravatar Pierre Carrier2012-04-101-0/+21
| | | | | | | | | | | | | | Offer host-based whitelisting in the ldap module. Used to trust clients from internal networks, whilst requiring authentication from "outsiders".
* | Remove references to old configure commands.Gravatar Peter Powell2012-04-121-2/+1
| |
* | Fixed linking m_sqlite3 on WindowsGravatar Adam2012-04-101-0/+4
|/
* Add -lgcrypt to m_ssl_gnutls because this is no longer pulled in by all ↵Gravatar Daniel De Graaf2011-08-071-1/+1
| | | | versions of gnutls
* Remove possibly dangerous skip of VerifyCertificateGravatar Daniel De Graaf2011-06-232-2/+2
|
* Fix initialization of SSL certificate field on connectGravatar Daniel De Graaf2011-06-231-0/+1
|
* Fix extras compilation under WindowsGravatar Adam2011-06-187-14/+34
|
* Simplify ClearAllConnections code and fix possible crashGravatar Jackmcbarn2010-12-021-5/+2
|
* Remove m_sqlv2.h from these modules, they both use v3 now.Gravatar Dennis Friis2010-10-152-2/+0
|
* A zero return from gnutls_record_send is not an errorGravatar Daniel De Graaf2010-09-191-7/+1
|
* Fix $md5pass and $sha256pass in SQL queriesGravatar Daniel De Graaf2010-08-043-3/+3
|
* Possible fix for OpenSSL SendQ processing haltsGravatar Daniel De Graaf2010-04-161-1/+3
|
* Fix MySQL crash on module unload with empty query queueGravatar danieldg2010-03-221-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12652 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix uninit pointer on MySQL initial connectionGravatar danieldg2010-03-131-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12635 e03df62e-2008-0410-955e-edbf42e46eb7
* Handle database not present a bit better, add missing MySQL rehash on initGravatar danieldg2010-03-131-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12634 e03df62e-2008-0410-955e-edbf42e46eb7
* Change SQLv3 to format queries during submission, not beforeGravatar danieldg2010-03-133-122/+123
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12633 e03df62e-2008-0410-955e-edbf42e46eb7
* Add OnUnloadModule hook to MySQLGravatar danieldg2010-03-131-44/+95
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12632 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert MySQL to SQLv3Gravatar danieldg2010-03-132-536/+189
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12629 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement OnUnloadModule for postgresGravatar danieldg2010-03-131-10/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12627 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert pgsql to SQLv3Gravatar danieldg2010-03-132-614/+246
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12626 e03df62e-2008-0410-955e-edbf42e46eb7
* Add column names to SQLv3, allow sqloper to specify its own query stringGravatar danieldg2010-03-061-8/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12606 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert SQLite driver to SQLv3Gravatar danieldg2010-03-061-474/+106
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12603 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SQL modules not all using AddService, noticed by MorpheusGravatar danieldg2010-03-054-15/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12595 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some more incorrect socket useGravatar danieldg2010-03-021-11/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12585 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Base64 encode/decode functions to the coreGravatar danieldg2010-02-211-370/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12507 e03df62e-2008-0410-955e-edbf42e46eb7
* Compile fix for m_ldapauthGravatar danieldg2010-02-181-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12495 e03df62e-2008-0410-955e-edbf42e46eb7
* Support multiple certificates in GnuTLS certificate chainGravatar danieldg2010-02-181-7/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12491 e03df62e-2008-0410-955e-edbf42e46eb7