summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_gnutls.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Output the certificate hash to the user when they connect•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5138 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+1
* Removal of debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-3/+1
* We now have a test module that can dump someones certificate information: /ss...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5125 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+11
* Certificate stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+1
* Obtaining of ssl cert in gnutls module and placing it into a class which is e...•••In a while the openssl module will also populate this same high level class with data git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5123 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-13/+145
* Renamed the OnGlobalConnect callback to OnPostConnect, which is much more app...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5010 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-08-241-2/+2
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-36/+36
* Somehow, i'd cp'd all these and was making local changes :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-5/+5
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+3
* So much stuff changed in this one, i forgot most of it.•••Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+6
* Removal of Server::Log -- not much ever used it anyway with the ability to us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-7/+1
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-6/+7
* Improve Write functions, and change some stuff from char* to const char*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4803 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+1
* WHEEEEE!!!!!•••All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+1
* Change to using userrec::ip as a sockaddr to store port, ip and address famil...•••This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-041-2/+2
* Inherit just about everything from classbase•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* Templated GetExt()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4288 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-6/+8
* Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the user...•••Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) && isin(dest->port, listenports))) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-06-011-2/+2
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-3/+3
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-0/+1
* Tidy up around the ex AMD64 'fix'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-171-1/+3
* Giving printf formats and not giving it arguments for them != cunning•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3725 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-171-1/+1
* AMD64 warning 'fix' which tested fine when I added it seems to now...stop thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3724 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-171-1/+2
* Experimental change to avoid warning on 64bit systems, this is a simple one-l...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3712 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-141-2/+7
* More const ref fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-5/+5
* Extra checks to not set the ssl marker twice on re-handshake (nonfatal but wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3168 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-111-1/+2
* Added a sanity check that was left out, prevents crash on invalid fd (e.g. vi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3151 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-111-1/+4
* Added gnutls_rpath.pl. This works out the lib dir and does:•••-Wl,--rpath -Wl,/lib/dir and outputs it, the $LinkerFlags of gnutls ssl module use it in backticks during link, so you dont get missing lib error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3069 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-041-1/+1
* Only send 320 numeric if the SSL user is on our port•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3068 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-02-041-1/+2
* I R SECURE CONNECTION! (fix)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3062 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2006-02-031-1/+1
* Wrong userrec var used•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2993 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-301-4/+4
* Moved metadata code into into OnGlobalConnect•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2991 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-301-9/+17
* Added new event into m_spanningtree, event id send_metadata, which allows arb...•••see line 529 of m_ssl_gnutls for an example of how to use it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-301-1/+14
* Change irritatingly Unreal-ish capitalisation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2989 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-301-1/+1
* Missing delete for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-291-1/+2
* Add checks for AddIOHook failing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-291-7/+10
* Change isin() x2 to pass a const reference instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-291-1/+1
* Remove unused includes and rename classes from ModuleSSL to ModuleSSLGnuTLS s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-271-18/+8
* And making m_ssl_gnutls require an 'ssl' parameter to /rehash to reload certi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2885 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-251-0/+1
* Adding the +e and +I modules m_banexception and m_inviteexception, also addin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2884 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-251-2/+12
* Use libgnutls-config --libs to configure linker options•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-1/+1
* Use IS_LOCAL() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-1/+1
* Don't try and kill off remote ssl users•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2861 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-2/+2
* removing the rest of a redundant and dangerour OnUserQuit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2860 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-6/+0
* ...and stop it segfaulting when you do unload it, ty Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-0/+4
* Adding ability to unload module•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-231-3/+39
* Fixed OnUserQuit... again.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-231-1/+2