summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
Commit message (Expand)AuthorAgeFilesLines
* How about we make this compile?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-1/+1
* Normalize IPv6 addresses when producing SSL port list, fixes bug #853•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-0/+9
* Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-261-1/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroP•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-131-1/+1
* Remove unneeded "fd" member of issl_session•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-02-191-21/+16
* Remove unneeded comment about warnings on 64-bit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-02-191-8/+0
* GnuTLS does not need a double-copy input buffer•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-02-191-59/+14
* Remove redundant PriorityState, enum Priority does the exact same thing.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-161-1/+1
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-4/+4
* Remove an incorrect comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-281-1/+0
* This is more accurate•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11002 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-251-1/+1
* Properly check if the SSL handshake is completed in m_ssl_gnutls, fixes the r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11000 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-01-251-2/+2
* Try this as the ssl crash fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-251-1/+1
* Fix for bug #679 reported by Namegduf, based on suggestion for fix by dz, tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10966 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-171-2/+2
* Readability: pointless construct of a std::string from another std::string fo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10952 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-071-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Change numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10928 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-12-311-1/+1
* Modify STARTTLS error message to clarify that it may not be sent after regist...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-281-1/+1
* Properly disconnect clients that send STARTTLS after registering; noticed by ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10897 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2008-12-181-1/+5
* m_ssl_gnutls: Log ssl errors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2008-12-131-0/+9
* Second attempt at time() -> SI->Time(), now problems with the original were f...•••Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-1/+1
* Better error message for erroring on loading server cert - give certfile/keyf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-301-1/+1
* Revert earlier time() -> SI->Time() diff for now, this causes problems with d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-1/+1
* Patch from Namegduf converting all instances (where possible) of time() -> Se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-1/+1
* We are including tons more than we need to here, its a mess :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10621 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-041-9/+0
* Initialise SSL session pointer to NULL to prevent a potentially unsafe compar...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10602 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-261-0/+5
* Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10549 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-171-14/+0
* Merge the second interface for socket hooking into one, so it's all done by A...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-8/+8
* Fix IO hooking modules to use the new (not old) hooking call•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-2/+2
* this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be eithe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-281-0/+1
* Add CAP REQ tls support, thanks to psychon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-281-0/+13
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10290 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Fixed #568 - gnutls does not allow reuse of credentials, which was making /re...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-07-121-8/+18
* This is more correct, thanks Phoenix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-241-3/+2
* It is unnecessary and rather less efficient to use memmove() everywhere; it's...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9927 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-06-201-2/+2
* Whos been commiting a quarter of a fix?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-191-3/+3
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-1/+1
* Slight adjustment to our standard to avoid an obvious race condition found by...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9881 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-091-0/+3
* Properly ignore second STARTTLS request on same socket, as per our spec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9878 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-2/+5
* Kick the client in the balls if they try STARTTLS after client registration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-241-2/+9
* Fix memory leak if we send STARTTLS twice, thanks special and psychon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-241-0/+4
* Fix these too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-2/+2
* Check for windows drive letters on the start of paths and treat them the same...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-131-4/+4
* Convert even more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-05-051-1/+1
* Fix these•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-1/+1
* Make all our modules use the new stuff rather than the send_ events•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9301 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-041-8/+1
* Automatic detection and allocation of max fds. No longer needs recompile to c...•••Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-021-8/+10
* Some metadata commands were using nicknames to identify the nick to apply the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9245 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-011-1/+6
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-301-2/+2