summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_openssl.cpp
Commit message (Expand)AuthorAgeFilesLines
* Extra sanity checks to openssl module events to check for out of range file d...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8156 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-131-0/+20
* Removed extremely verbose debugging from the SSL modules, as I believe that b...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-291-2/+0
* Merge flushbuffer openssl fix from trunk manually (without debug), and set sv...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-08-051-2/+13
* Merge OpenSSL fix from trunk (r7648-7649)•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7652 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-08-041-24/+0
* more fixes for openssl buffering (none of this affected the superior gnutls)•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7647 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-031-0/+2
* Merge in change from trunk•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7645 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-031-4/+4
* Merge 7533-7535 from trunk•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7536 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-1/+1
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+901
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-901/+1
* Implement /dalinfo, as a joke. Consider this an easter egg.•••More debug logging in m_ssl_openssl, still not fixed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7430 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-071-0/+3
* Warning: Loads of craq logging in here atm. /connect with openssl is broken, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-061-0/+40
* Add ISUPPORT SSL token requested by tabris.•••Syntax: SSL=<ip/host>:<port>[;<ip/host>:<port> ...] Note that the insp implementation due to API limitations (ick, we have some) will print '*' in the host/ip section, meaning 'bound to all', a client should just connect-back to the ip it connected to initially, on the new port to make use of this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7386 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-181-1/+12
* More•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-171-21/+1
* Me so dummee.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-131-1/+1
* A ton more clear() and empty() stuff thats been lingering on the long term to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-8/+6
* 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-4/+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/+13
* 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/+3
* 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
* Some tweaks for gnutls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-221-0/+3
* 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
* 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
* 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
* 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-82/+74
* 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
* 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
* 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
* 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-64/+2
* 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-2/+2
* 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-2/+11
* Fix m_conn_waitpong not to use base64 uneccessarily.•••Fix a typo introduced into openssl by a search and replace git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5916 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-101-1/+1
* 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-4/+3
* 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-0/+8
* 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-4/+23
* Whoops•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-1/+1
* 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/+26