summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2007-05-10Add m_taxonomy and api minor tweak to make it work, enable some modules for it.brain
I have higher aims for this module, namely a neat fix for feature request in bug #285 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06Fix for bug #263 - note, this NEEDS QA TESTINGbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6897 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix broken modules (broken due to api change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Working in m_filter_pcre.brain
Thanks DarkPrince (PingBad) for the idea we messed with - when a match is successful move that match to the head of the list (O(1) operation) The original suggestion was to sort, this would be far too expensive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6794 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Add move-match-to-head-of-queue stuff to pcre filterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-07Add licensing headers to files which are missing them and make sure they are ↵brain
up to date in others (e.g. point at the developer page on the wiki not list names) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add feature outlined in bug #192, give a notice showing cipher on connect to ↵brain
users. Its not possible (without something really spammy and ugly) to show it to opers, and its no use showing it to opers anyway, this would just be a silly vanity feature :p (admins know its working - people are connecting on the ssl port!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6736 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add feature to this module which allows you to specify that an oper requires ↵brain
ssl to oper up, but doesnt require a fingerprint git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6727 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add -config parameter to bin/inspircd which allows a user to specify the ↵brain
config file on the commandline Note: This should really be a full pathname, and not a configuration file in the current directory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6726 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-25Remove excessive debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6712 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22EAGAIN fixes for gnutlsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6698 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22We're checking for non-null session->sess in VerifyCertificate now. theres ↵brain
very little else we can do, as we know that *whenever* we clear an ssl session, we set this to null. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6697 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22Some tweaks for gnutlsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6696 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22More checks in IS_HSDONE event hookbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6695 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22Fix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to ↵brain
non-ssl by mistake, bug #245 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵brain
version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-27Fix for small display issue, when both ssl modules are loaded, both output a ↵brain
'is ssl' numeric for ssl users in whois. This fix ensures that only an ssl module thats listening on client ports will output the whois. Theres no need to bind openssl and gnutls both to client ports, however some people use openssl for server ports and gnutls for client ports, or vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6615 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20Make these vendor modules.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6604 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08And change this to gnutls in the debug message.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Catch the ModuleException thrown when AddIOHook fails, so that we can make a ↵brain
port hook failure nonfatal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Fix ipv6 ass-u-me'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07To be more specific, specify rpath() macro herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Extra safety checks while exchanging certs, just in casebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Move quitting of clients to a central Cull List, and do quitting outside ↵peavey
userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Better error reporting of failures to read certs in gnutls by calling ↵brain
gnutls_strerror(). Man this api is so much nicer than the ugly one in ssl :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6487 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Better logging for openssl, using SSL_print_error_cb() which calls a ↵brain
callback for error output (the default of outputting to stdout sucks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6486 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix this so that it works with outbound connects again.brain
Also fix it to cope with EAGAIN properly in handshake negotiation without returning 1 from Write() (when nothing was actually written at the upper layer of the transport!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Remove debug, add a few commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix broken openssl outbound connects.brain
A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure, we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Correctly allow all supporting versions of PostgreSQL to use secure string ↵peavey
escaping. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Add check for openssl >= 0.9.7, and fix for if the library cant be found at allbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Whoops put this back to 3.3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Fix broken function vcheck() that checks one dot-delimited version string ↵brain
against another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Add extra macro pkgconfversion("packagename", "version");brain
dies if the version you specify isnt installed. Also added to m_sqlite3: pkgconfversion("sqlite3", "3.3") Note: this will die at configuration time, not compilation time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fixingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Apply fixes for buffering of headers, and a test module both by psychonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of ↵brain
identical code in pgsql and mysql modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Mass comment removal.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Remove/fix unused variable warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17It says something about how excessive our debug output is when the ssl ↵brain
modules have 'cascades' of 'if-then-else' whos job is ONLY to output debug! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Fix possible segfault if sql query failed. Using a free'd char is probably ↵peavey
not a good thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6347 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Hook qlite3_update_hook to queries to also catch affected rows on ↵peavey
UPDATE/INSERT/DELETE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6344 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14I forgot to exec("gnutls-config --libs") in the configure macrosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6337 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Remove some old destroy code not needed with InpSocket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6336 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Make REHASH work.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Dont need to send anything on the notifier socket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6334 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Remove DOS newlines.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6333 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Now with SQLite3 support. Fully functional and (hopefully) working.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6332 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14OMG SQLITE3 support, almost there now =)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6321 e03df62e-2008-0410-955e-edbf42e46eb7