aboutsummaryrefslogtreecommitdiff
path: root/src/tls (follow)
Commit message (Collapse)AuthorAgeFilesLines
* http_bind webserver TLS fail on Chrome (thanks to Adam Langley)(EJAB-1530)Badlop2012-01-191-1/+2
|
* Support Erlang/OTP R15B driver (EJAB-1521)Badlop2011-12-212-8/+52
|
* Decrease CPU usage caused by tls:send with large data.Janusz Dziemidowicz2011-09-251-13/+3
| | | | | | | | | | | | | | Sending one large chunk of data with tls:send eats lots of CPU power and blocks whole Erlang emulator. This is caused by the fact that encrypted output is read from memory BIO in 1k chunks. Memory BIO, after reading data, shifts the remaining part. If large chunks of data (few MB) is sent and then read in 1k chunks, then a _lot_ of shifting is performed eating CPU. The solution is to simply allocate binary of the needed size (amount of data in memory BIO can be retrieved with BIO_ctrl_pending) and then issue only one read that reads the whole data.
* Change argument of open_port/2 to string in order to shut up the dialyzerEvgeniy Khramtsov2011-09-051-3/+3
|
* update copyright up to 2011Christophe Romain2011-02-143-3/+3
|
* Option to reject S2S connection if untrusted certificate (EJAB-464)Badlop2010-12-112-4/+56
|
* Set SSL_MODE_RELEASE_BUFFERS mode when available (EJAB-1351)Evgeniy Khramtsov2010-11-171-0/+3
|
* Ignore Length argument to tls:recv/[23] (EJAB-1327)Andreas Köhler2010-10-261-2/+4
| | | | | The Length argument cannot be used for gen_tcp:recv/3, because the compressed size does not equal the desired uncompressed one.
* Re-use the TLSSock argument in tls:send/2 (EJAB-1327)Andreas Köhler2010-10-261-2/+2
|
* Make MD2 autodetected (EJAB-1285)Evgeniy Khramtsov2010-08-072-0/+9
|
* When using OTP R14, use public_key library instead of old ssl (EJAB-953)Badlop2010-07-122-1/+10
|
* Inform client that SSL session caching is disabled (thanks to Pawel Chmielowski)Badlop2010-06-251-2/+3
|
* Added md2/1 supportEvgeniy Khramtsov2010-06-221-0/+6
|
* New OpenSSL functions wrapper: sha224/1, sha256/1, sha384/1, sha512/1Evgeniy Khramtsov2010-06-223-4/+94
|
* Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop2010-01-122-2/+2
| | | | SVN Revision: 2891
* Add +export_all to EFLAGS if: make debug=true (thanks to Marcin ↵Badlop2009-12-291-1/+1
| | | | | | Owsiany)(EJAB-1134) SVN Revision: 2842
* Add forgotten copyright and license notices. Fix blackspaces.Badlop2009-06-091-1/+1
| | | | SVN Revision: 2151
* * src/tls/tls_drv.c: Fix encryption problem for ejabberd_httpBadlop2009-03-101-0/+1
| | | | | | after timeout (thanks to Alexey Shchepin)(EJAB-880) SVN Revision: 1986
* * src/tls/tls_drv.c: Fix to support OpenSSL older thanBadlop2009-03-091-0/+4
| | | | | | | | 0.9.8f (EJAB-877)(thanks to Jonathan Schleifer) * doc/guide.tex: It is again supported OpenSSL older than 0.9.8f * doc/guide.html: Likewise SVN Revision: 1979
* * src/Makefile.in: In SunOS, use different C flags (thanks toBadlop2009-03-071-4/+6
| | | | | | | | | | Thomas)(EJAB-438) * src/ejabberd_zlib/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise SVN Revision: 1977
* * src/tls/tls_drv.c: S2S connection with STARTTLS fails to GtalkBadlop2009-02-271-1/+1
| | | | | | and recent Openfire (thanks to Philipp Hancke)(EJAB-877) SVN Revision: 1926
* * src/tls/Makefile.win32: Windows compilation support.Mickaël Rémond2009-01-133-3/+233
| | | | | | | * src/tls/tls_drv.c: Likewise. * src/tls/stdint.h: Likewise. SVN Revision: 1816
* * doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)Badlop2009-01-122-3/+3
| | | | | | | | * doc/guide.html: Likewise * src/*/*.erl: Likewise * src/*/*.erl: Remove unneeded blankspaces in license text SVN Revision: 1804
* * src/tls/tls_drv.c: Added a flag to avoid certificate validationAlexey Shchepin2009-01-052-1/+16
| | | | | | | * src/tls/tls.erl: Likewise * src/ejabberd_c2s.erl: Likewise SVN Revision: 1774
* * src/tls/tls_drv.c: Don't create a SSL context on everyAlexey Shchepin2008-11-101-24/+235
| | | | | | connection and disable SSLv2 on outgoing connections (EJAB-781) SVN Revision: 1675
* * src/*/Makefile.win32: Provide explicit beam filenames becauseBadlop2008-09-301-2/+1
| | | | | | | nmake does not accept wildcards (thanks to Attila Vangel)(EJAB-543) SVN Revision: 1588
* * doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)Badlop2008-07-312-2/+2
| | | | | | | | | | | * doc/guide.html: Likewise * doc/api/overview.edoc: Likewise * src/*/*.erl: Likewise * src/*/*.hrl: Likewise * src/*/*.c: Likewise * src/odbc/*.sql: Likewise SVN Revision: 1499
* * src/*.hrl: Get back all ejabberd header files to their originalBadlop2008-07-161-1/+1
| | | | | | | | | | placement in src/ subdirectories (EJAB-696) * src/*/*.erl: Likewise * src/*/Makefile.in: Likewise * src/Makefile.in: Install header files in system include/ dir, reproducing the subdirectory structure of src/ SVN Revision: 1453
* * src/configure.ac: Update installation permissions (EJAB-402)Badlop2008-07-131-1/+3
| | | | | | | | | | | | | | | | * src/configure: Likewise * src/Makefile.in: The mnesia, ebin and priv dirs are now installed in different locations. Install header files and documentation (EJAB-696) * doc/guide.tex: Likewise * doc/guide.html: Likewise * include/*.hrl: Place for all ejabberd header files (EJAB-696) * src/*/*.erl: Update references to header files * src/*/Makefile.in: Include the include/ dir SVN Revision: 1441
* * src/Makefile.in: Improved indentation of GCC callBadlop2008-04-111-5/+9
| | | | | | | | | * src/ejabberd_zlib/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise SVN Revision: 1291
* * src/tls/tls_drv.c: Fixed gcc signedness warningsAlexey Shchepin2008-04-111-1/+1
| | | | | | * src/ejabberd_zlib/ejabberd_zlib_drv.c: Likewise SVN Revision: 1287
* Rewrite io:format calls to loglevel macros (EJAB-555)Christophe Romain2008-03-211-14/+16
| | | | SVN Revision: 1239
* * src/tls/tls.erl: recv_data/2 doesn't throw exceptions nowAlexey Shchepin2008-03-031-1/+9
| | | | | | * src/ejabberd_zlib/ejabberd_zlib.erl: Likewise SVN Revision: 1217
* * doc/guide.tex: Updated copyright dates to 2008Badlop2008-01-152-2/+2
| | | | | | * src/*: Likewise SVN Revision: 1153
* * Applied copyright patch 3.Mickaël Rémond2007-12-242-5/+41
| | | | SVN Revision: 1113
* * src/ejabberd_zlib/Makefile.win32: CompileBadlop2007-12-171-5/+5
| | | | | | | | | | | | | | | | all erl files found in the directory, so it isn't needed to provide an explicit list of target files * src/eldap/Makefile.win32: Likewise * src/mod_irc/Makefile.win32: Likewise * src/mod_muc/Makefile.win32: Likewise * src/mod_proxy65/Makefile.win32: Likewise * src/mod_pubsub/Makefile.win32: Likewise * src/odbc/Makefile.win32: Likewise * src/stringprep/Makefile.win32: Likewise * src/tls/Makefile.win32: Likewise * src/web/Makefile.win32: Likewise SVN Revision: 1076
* * src/ejabberd_zlib/Makefile.in: Compile all erl files found inBadlop2007-12-171-13/+11
| | | | | | | | | | | | | | | | | the directory, so it isn't needed to provide an explicit list of target files * src/eldap/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/mod_muc/Makefile.in: Likewise * src/mod_proxy65/Makefile.in: Likewise * src/mod_pubsub/Makefile.in: Likewise * src/odbc/Makefile.in: Likewise * src/pam/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/web/Makefile.in: Likewise SVN Revision: 1075
* * src/acl.erl and other 64 files: Remove Erlang module attributeBadlop2007-12-061-1/+0
| | | | | | | 'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440) SVN Revision: 1044
* * src/tls/Makefile.win32: Updated for latest Win32 OpenSSL library.Mickaël Rémond2007-12-011-1/+1
| | | | SVN Revision: 1008
* * src/configure.ac: Don't hardcode gcc and options (EJAB-436)Badlop2007-11-291-4/+12
| | | | | | | | | | | | | | | | | * src/Makefile.in: * src/ejabberd_zlib/Makefile.in: * src/eldap/Makefile.in: * src/mod_irc/Makefile.in: * src/mod_muc/Makefile.in: * src/mod_proxy65/Makefile.in: * src/mod_pubsub/Makefile.in: * src/odbc/Makefile.in: * src/pam/Makefile.in: * src/stringprep/Makefile.in: * src/tls/Makefile.in: * src/web/Makefile.in: SVN Revision: 1000
* * src/tls/tls_drv.c: Sends the entire certificate chain (EJAB-209).Mickaël Rémond2007-07-301-1/+1
| | | | SVN Revision: 841
* * src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks to Geoff Cant)Mickaël Rémond2007-05-291-0/+5
| | | | | | | | | | | | | | | | * src/Makefile.in: Build XmppAddr.beam in a single pass * src/mod_muc/Makefile.in: +debug_info directive support * src/stringprep/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/web/Makefile.in: Likewise * src/eldap/Makefile.in: Likewise * src/mod_pubsub/Makefile.in: Likewise * src/ejabberd_zlib/Makefile.in: Likewise * src/mod_proxy65/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/odbc/Makefile.in: Likewise SVN Revision: 775
* * src/ejabberd_socket.erl: Added sockname/1 and peername/1Alexey Shchepin2006-10-191-0/+7
| | | | | | | | | | | | functions * src/ejabberd_frontend_socket.erl: Likewise * src/tls/tls.erl: Likewise * src/ejabberd_zlib/ejabberd_zlib.erl: Likewise * src/mod_private_odbc.erl: Private storage support using odbc * src/odbc/pg.sql: Likewise SVN Revision: 663
* * Makefile.in: Fix for MacOSX compilation (EJAB-124).Mickaël Rémond2006-08-281-1/+8
| | | | | | | | | * ejabberd_zlib/Makefile.in: Likewise. * mod_irc/Makefile.in: Likewise. * stringprep/Makefile.in: Likewise. * tls/Makefile.in: Likewise. SVN Revision: 596
* * src/tls/tls_drv.c: Report OpenSSL error messages (thanks toAlexey Shchepin2006-08-041-2/+19
| | | | | | Magnus Henoch) SVN Revision: 593
* * src/ejabberd_service.erl: BugfixAlexey Shchepin2006-01-131-0/+8
| | | | | | | | | | | | | | | * src/ejabberd_receiver.erl: Rewritten to use {active, once} mode for socket * src/ejabberd_c2s.erl: Update * src/ejabberd_listener.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_service.erl: Likewise * src/shaper.erl: Likewise * src/tls/tls.erl: Likewise * src/web/ejabberd_http.erl: Likewise SVN Revision: 483
* * src/tls/Makefile.in: Use CPPFLAGS (thanks to Magnus Henoch)Alexey Shchepin2005-11-191-1/+1
| | | | SVN Revision: 436
* * src/ejabberd_s2s_in.erl: Support for dNSName certificate fieldAlexey Shchepin2005-11-172-19/+1
| | | | | | | | | | and DNS name matching * src/XmppAddr.asn1: Moved here from src/tls/XmppAddr.asn1 * src/tls/XmppAddr.asn1: Likewise * src/Makefile.in: Updated * src/tls/Makefile.in: Updated SVN Revision: 435
* * src/ejabberd_s2s_out.erl: Support for STARTTLS+SASL EXTERNALAlexey Shchepin2005-11-034-8/+102
| | | | | | | | | | * src/ejabberd_s2s_in.erl: Likewise * src/tls/tls.erl: Likewise * src/tls/tls_drv.c: Likewise * src/tls/XmppAddr.asn1: Likewise * src/tls/Makefile.in: Likewise SVN Revision: 430
* * src/tls/tls.erl: Accept {error,already_loaded} fromAlexey Shchepin2005-10-251-3/+12
| | | | | | | | | erl_ddll:load_driver/2 * src/stringprep/stringprep.erl: Likewise * src/mod_irc/iconv.erl: Likewise * src/ejabberd_app.erl: Likewise SVN Revision: 427