summaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* Working in m_filter_pcre.•••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 Gravatar brain2007-04-141-4/+8
* Add move-match-to-head-of-queue stuff to pcre filter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-6/+11
* Add licensing headers to files which are missing them and make sure they are ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-071-0/+13
* Add feature outlined in bug #192, give a notice showing cipher on connect to ...•••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 Gravatar brain2007-04-052-0/+10
* Add feature to this module which allows you to specify that an oper requires ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6727 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-011-18/+34
* Add -config parameter to bin/inspircd which allows a user to specify the conf...•••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 Gravatar brain2007-04-012-2/+2
* Remove excessive debugging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6712 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-251-8/+0
* EAGAIN fixes for gnutls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6698 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-221-2/+20
* We're checking for non-null session->sess in VerifyCertificate now. theres ve...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-221-3/+2
* Some tweaks for gnutls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-222-3/+11
* More checks in IS_HSDONE event hook•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-222-0/+6
* Fix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to non-ssl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-222-2/+2
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ver...•••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 Gravatar brain2007-03-151-1/+1
* Fix for small display issue, when both ssl modules are loaded, both output a ...•••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 Gravatar brain2007-02-272-0/+14
* Make these vendor modules.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6604 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-201-1/+1
* And change this to gnutls in the debug message.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-081-1/+1
* Catch the ModuleException thrown when AddIOHook fails, so that we can make a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-082-16/+30
* Fix ipv6 ass-u-me's•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-071-2/+15
* To be more specific, specify rpath() macro here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-071-1/+1
* Extra safety checks while exchanging certs, just in case•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-061-4/+10
* Move quitting of clients to a central Cull List, and do quitting outside user...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-052-167/+149
* Better error reporting of failures to read certs in gnutls by calling gnutls_...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6487 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-031-10/+14
* Better logging for openssl, using SSL_print_error_cb() which calls a callback...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6486 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-031-10/+26
* Fix this so that it works with outbound connects again.•••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 Gravatar brain2007-01-281-9/+18
* Remove debug, add a few comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-281-37/+3
* Fix broken openssl outbound connects.•••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 Gravatar brain2007-01-281-12/+76
* Correctly allow all supporting versions of PostgreSQL to use secure string es...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-271-1/+1
* The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-271-1/+1
* Add check for openssl >= 0.9.7, and fix for if the library cant be found at all•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+1
* Whoops put this back to 3.3•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+1
* Fix broken function vcheck() that checks one dot-delimited version string aga...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+1
* Add extra macro pkgconfversion("packagename", "version");•••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 Gravatar brain2007-01-211-1/+1
* Fixing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6407 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-2/+2
* Apply fixes for buffering of headers, and a test module both by psychon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6406 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-0/+86
* Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of identic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-173-246/+136
* Mass comment removal.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-177-249/+32
* Remove/fix unused variable warning•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-172-2/+2
* It says something about how excessive our debug output is when the ssl module...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-172-124/+7
* Fix possible segfault if sql query failed. Using a free'd char is probably no...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6347 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-151-6/+4
* Hook qlite3_update_hook to queries to also catch affected rows on UPDATE/INSE...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6344 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-2/+18
* I forgot to exec("gnutls-config --libs") in the configure macros•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-1/+1
* Remove some old destroy code not needed with InpSocket.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6336 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-4/+0
* Make REHASH work.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-1/+2
* Dont need to send anything on the notifier socket.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6334 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-1/+0
* Remove DOS newlines.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-1/+1
* Now with SQLite3 support. Fully functional and (hopefully) working.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-13/+168
* OMG SQLITE3 support, almost there now =)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-0/+532
* Make m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque parame...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6318 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-26/+26
* Bang! Gone due to new buildsystem.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6315 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-141-13/+0
* Add eval() and exec() macros, that evaluate perl and execute commands at conf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-145-13/+7