summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
Commit message (Expand)AuthorAgeFilesLines
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahbl...•••This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-5/+1
* SPACE INDENTING ACTION RANGERS -- ATTACK!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7048 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-191-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-2/+8
* Refactor port binding, warning not yet tested fully•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-111-7/+6
* Add m_taxonomy and api minor tweak to make it work, enable some modules for it.•••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 Gravatar brain2007-05-101-2/+2
* 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-051-0/+7
* 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-011-1/+1
* 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-221-3/+8
* 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-221-0/+3
* 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-221-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-271-0/+7
* 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-081-8/+15
* 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-051-85/+75
* 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
* 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/fix unused variable warning•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-1/+1
* 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-171-60/+5
* 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
* 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-141-1/+1
* 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-131-1/+1
* Fix crash when unloading ssl module on shutdown -- there are no port objects ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6230 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-061-1/+2
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-2/+2
* Fix this so it works properly, and removes the descriptions on unload (when t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6197 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-1/+6
* Add port type identifiers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-0/+3
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-6/+3
* Someone forgot to add the copyright headers here :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-0/+16
* Debug stuff, and some minor fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-1/+10
* Rename ssl.h -> transport.h, as its now used for ziplinks•••Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-101-2/+2
* Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-101-1/+1
* Make it all work properly. Have it wait for handshake to complete before send...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-0/+14
* It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-1/+4
* Add the stuff required for the InspSocketHook interface•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5890 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-3/+23
* Rename ssl_cert.h to ssl.h, it will contain the interface for hooking inspsoc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-2/+2
* Add OnRawSocketConnect, we've not had it till now because we've not needed it :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-1/+20
* More $ModDep stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-041-1/+1
* Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this fixes...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-11-211-1/+1
* Dont allow overlapped ports in these files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-1/+1
* Add irc::portparser, a class to parse port ranges in the form "6660,6661,6662...•••Needs testing, watch next few commits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-40/+7
* Make these properly detect port ranges.•••TODO: Make a port range parser class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5689 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-9/+45
* Fix these too!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5575 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+1
* Add support for OnWhoisLine, which allows modules to change or drop any line ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+1
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* 64bit fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5374 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-10-011-3/+2
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Annotations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+2