summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add hacks to fix SSL bindings to 0.0.0.0 and ::•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-281-0/+6
* GnuTLS: Send SSL client certificate on server link•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-121-9/+43
* Change all non-fatal GNUTLS initialisation notices to debug level, to avoid u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-021-4/+4
* Send a failure numeric instead of QuitUser when STARTTLS is used after regist...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-07-271-1/+1
* Fix double-send of SSL metadata in openssl, possible segfault in gnutls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-031-1/+2
* Send ssl_cert metadata on signon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-021-12/+12
* Remove memory-wasting map in ssl_cert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-021-44/+14
* Migrate SSL metadata and visible information (/whois line) to single module•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-021-46/+5
* Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-021-6/+6
* Allow SSL fingerprint-based server authentication•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-071-0/+14
* Don't display locally bound SSL ports in SSL= (for hidden services and such)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-06-061-1/+2
* Use pkg-config to search for gnutls rather than the now-removed libgnutls-config•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-031-2/+2
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-31/+29
* Fix two compile errors found by Shawn•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-05-061-1/+1
* Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-05-061-3/+3
* Set errno properly on GnuTLS sessions that die during the SSL handshake•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-061-1/+2
* 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