summaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Collapse)AuthorAgeFilesLines
* Fix thread join not working for subclasses of Thread because of C++ ↵Gravatar danieldg2009-08-102-2/+2
| | | | | | destructor ordering git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a few typos in here so it compiles again.Gravatar peavey2009-08-022-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
* Change all non-fatal GNUTLS initialisation notices to debug level, to avoid ↵Gravatar w00t2009-08-021-4/+4
| | | | | | unnecessary questions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
* Reconnect to LDAP server if connection goes away, fixes bug #818.Gravatar w00t2009-08-012-10/+34
| | | | | | | NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits. Sorry, but it seems nobody else can be arsed to do it, so I will. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11448 e03df62e-2008-0410-955e-edbf42e46eb7
* Send a failure numeric instead of QuitUser when STARTTLS is used after ↵Gravatar special2009-07-271-1/+1
| | | | | | registration, because it could be used accidentally by users. Suggested by dKingston git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-send of SSL metadata in openssl, possible segfault in gnutlsGravatar danieldg2009-07-032-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modulesGravatar danieldg2009-07-021-184/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
* Send ssl_cert metadata on signonGravatar danieldg2009-07-022-16/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove memory-wasting map in ssl_certGravatar danieldg2009-07-022-55/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
* Migrate SSL metadata and visible information (/whois line) to single moduleGravatar danieldg2009-07-022-92/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ↵Gravatar danieldg2009-07-022-12/+12
| | | | | | is now ServerInstance->ports git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
* m_sslinfo does not depend on external libraries, it should not be in extraGravatar danieldg2009-06-271-90/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SSL fingerprint-based server authenticationGravatar danieldg2009-06-072-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't display locally bound SSL ports in SSL= (for hidden services and such)Gravatar w00t2009-06-062-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7
* Use pkg-config to search for gnutls rather than the now-removed libgnutls-configGravatar danieldg2009-06-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-2414-58/+64
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutlsGravatar danieldg2009-05-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix two compile errors found by ShawnGravatar special2009-05-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7
* Set errno in openssl when handshake failsGravatar danieldg2009-05-061-1/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and ↵Gravatar w00t2009-05-062-5/+5
| | | | | | in fact is a bit harmful in some ways as we've seen.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7
* Set errno properly on GnuTLS sessions that die during the SSL handshakeGravatar danieldg2009-05-061-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7
* Globally route "a" snotices for more modules. Patch from Milliways.Gravatar danieldg2009-05-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
* How about we make this compile?Gravatar danieldg2009-04-292-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
* Normalize IPv6 addresses when producing SSL port list, fixes bug #853Gravatar danieldg2009-04-292-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ↵Gravatar danieldg2009-04-261-1/+3
| | | | | | ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-3/+3
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Use 'c' snomask instead of 'A' snomask for ldap auth failures, reported by ↵Gravatar w00t2009-04-031-8/+8
| | | | | | drich. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11283 e03df62e-2008-0410-955e-edbf42e46eb7
* Give pgsql some needed love. Dont use DNS, remove some unused hooks and its ↵Gravatar peavey2009-03-271-82/+7
| | | | | | not possible to work over unix socket, simply dont define host, or start with a slash to define the socket yourself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11268 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix potential crash on uninitialised varGravatar peavey2009-03-271-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11267 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this compile.Gravatar peavey2009-03-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11255 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile error due to mismergeGravatar danieldg2009-03-231-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11254 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: Allow interthread signaling without needing as many hacksGravatar danieldg2009-03-232-350/+74
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ↵Gravatar danieldg2009-03-232-52/+37
| | | | | | constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove excessive mutex use on thread creationGravatar danieldg2009-03-232-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #791, if an error is set treat this as 'could not get certificate'Gravatar brain2009-03-181-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11233 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-1523-24/+24
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroPGravatar danieldg2009-03-132-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
* m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning ↵Gravatar special2009-02-231-1/+1
| | | | | | CMD_LOCALONLY respectively git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11144 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r11142: Commands that only give a response locally should not ↵Gravatar special2009-02-231-1/+1
| | | | | | be propagated globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11143 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r11137 from stable:Gravatar peavey2009-02-221-1/+1
| | | | | | | ================================ Use extended open method instead of the basic. Because basic always does SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE and we just want SQLITE_OPEN_READWRITE so we can warn if the db does not exist, rather than create an empty db. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11138 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded "fd" member of issl_sessionGravatar danieldg2009-02-191-21/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded comment about warnings on 64-bitGravatar danieldg2009-02-191-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7
* GnuTLS does not need a double-copy input bufferGravatar danieldg2009-02-191-59/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant PriorityState, enum Priority does the exact same thing.Gravatar w00t2009-02-162-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-143-12/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* and here, and hereGravatar peavey2009-02-122-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11093 e03df62e-2008-0410-955e-edbf42e46eb7
* Ah pasting, also remove this var from hereGravatar peavey2009-02-121-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11092 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke an unused varGravatar peavey2009-02-121-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11091 e03df62e-2008-0410-955e-edbf42e46eb7
* Several fixes to mysql module:Gravatar peavey2009-02-121-19/+22
| | | | | | | * Resolve a deadlock sneaking in when using queries during module load time (start up) triggered by such modules as sqllog. * Move a few mysql vars to the heap to avoid random stack corruption (valgrind no longer complains either). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11090 e03df62e-2008-0410-955e-edbf42e46eb7
* I really dont get the oddball count()? rewrite itGravatar brain2009-02-114-20/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11088 e03df62e-2008-0410-955e-edbf42e46eb7