summaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* 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
* Extra stuff to improve buildsystem, calculate lib and include dirs at configu...•••rather than erroring at buildtime like we used to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6306 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-138-37/+5
* Tidy up the buildsystem a lot by encapsulating repeated detection routines fo...•••See the pl files in src/modules/extra for how to use the functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6305 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-134-75/+25
* Get flags for sqlite3.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-131-0/+30
* Change this to use our md5 provider rather than MD5() in the query•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6303 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-131-1/+15
* Improve handling of backend server being down. Also decraq some debug output ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6301 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-121-16/+16
* More tidyup.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6297 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-8/+3
* Only use force if necessary! Tidy up debug output.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6296 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-6/+22
* pgsql should now work thx to added posibility to force a fd out of the socket...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-16/+10
* Closer now, but somehow libpq invalidates the file descriptor on server shutd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6294 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-52/+34
* reconnects still broken, but getting there.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-101-30/+53
* SQLConn rewritten to use EventHandler instead of InspSocket. This is much nea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6292 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-101-478/+419
* Document dns caching, add a "bool cached" to OnLookupComplete method in Resol...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-2/+2
* DNS caching stuff (almost done)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-4/+1