umurmur.git
8 years agoUpgrade TLS suites for GnuTLS, mbedTLS and OpenSSL
Felix Morgner [Sun, 6 Mar 2016 22:40:45 +0000 (23:40 +0100)]
Upgrade TLS suites for GnuTLS, mbedTLS and OpenSSL

I could not figure out whether or not PolarSSL, which is technically
now mbedTLS, does support ECDHE suites. I currently have no access to
PolarSSL myself. It would be great if somebody could figure that one
out. Relates to #82, fixes #84 and #77.

8 years agoMerge pull request #83 from pfmooney/sockoptlen
Felix Morgner [Sat, 5 Mar 2016 15:18:15 +0000 (16:18 +0100)]
Merge pull request #83 from pfmooney/sockoptlen

Fix size of value passed to setsockopt

8 years agoMerge pull request #78 from l2dy/patch-1
Felix Morgner [Sat, 5 Mar 2016 15:15:04 +0000 (16:15 +0100)]
Merge pull request #78 from l2dy/patch-1

mbedtls_havege_init in mbedcrypto

8 years agoFix size of value passed to setsockopt
Patrick Mooney [Sun, 21 Feb 2016 08:11:34 +0000 (02:11 -0600)]
Fix size of value passed to setsockopt

8 years agombedtls havege
l2dy [Sun, 13 Dec 2015 17:36:47 +0000 (01:36 +0800)]
mbedtls havege

8 years agoMerge branch 'snowblind-master'
Felix Morgner [Mon, 9 Nov 2015 08:48:39 +0000 (09:48 +0100)]
Merge branch 'snowblind-master'

8 years agoMerge branch 'master' of https://github.com/snowblind/umurmur into snowblind-master
Felix Morgner [Mon, 9 Nov 2015 08:47:37 +0000 (09:47 +0100)]
Merge branch 'master' of https://github.com/snowblind/umurmur into snowblind-master

8 years agoUpdate numurmon and umurmur-monitor
Felix Morgner [Mon, 9 Nov 2015 08:36:56 +0000 (09:36 +0100)]
Update numurmon and umurmur-monitor

8 years agoMove cmake includes required by SelectRTBackend
Felix Morgner [Mon, 9 Nov 2015 08:34:36 +0000 (09:34 +0100)]
Move cmake includes required by SelectRTBackend

8 years agoUpdate numurmon and umurmur-monitor
Felix Morgner [Sat, 7 Nov 2015 15:18:21 +0000 (16:18 +0100)]
Update numurmon and umurmur-monitor

8 years agoUpdate numurmon
Felix Morgner [Sat, 7 Nov 2015 14:58:48 +0000 (15:58 +0100)]
Update numurmon

8 years agoFix repo URL for numurmon
Felix Morgner [Thu, 5 Nov 2015 17:10:30 +0000 (18:10 +0100)]
Fix repo URL for numurmon

8 years agoUpdate CMake environment and add new tool
Felix Morgner [Thu, 5 Nov 2015 17:06:08 +0000 (18:06 +0100)]
Update CMake environment and add new tool

8 years agoAdd nurmurmon to tools
Felix Morgner [Thu, 5 Nov 2015 15:12:25 +0000 (16:12 +0100)]
Add nurmurmon to tools

8 years agoAdd client Key hash to shm_area
Michael J. Pounders [Thu, 22 Oct 2015 01:32:29 +0000 (21:32 -0400)]
Add client Key hash to shm_area

8 years agoSwitch to safe calloc wrapper
Felix Morgner [Tue, 22 Sep 2015 00:37:40 +0000 (17:37 -0700)]
Switch to safe calloc wrapper

The mbedTLS backend was still using plain calloc. I refactored the code
to use the new safe calloc wrapper.

8 years agoAdd missing include
Felix Morgner [Tue, 22 Sep 2015 00:35:04 +0000 (17:35 -0700)]
Add missing include

The include of stdlib.h was missing from memory.c resulting in a
compiler warning when using the GnuTLS backend.

8 years agoMerge branch 'master' of github.com:fmorgner/umurmur
Felix Morgner [Tue, 22 Sep 2015 00:28:44 +0000 (17:28 -0700)]
Merge branch 'master' of github.com:fmorgner/umurmur

8 years agoMerge pull request #71 from Rawi666/mbedtls2x
Felix Morgner [Tue, 22 Sep 2015 00:17:12 +0000 (17:17 -0700)]
Merge pull request #71 from Rawi666/mbedtls2x

mbedTLS 2.x support

8 years agombedTLS 2.x memory improvement
Szymon Pusz [Wed, 12 Aug 2015 16:27:03 +0000 (18:27 +0200)]
mbedTLS 2.x memory improvement
SSL config is now created during init only and not for each client (should save a couple of memory bytes)

8 years agoRemove '-r' switch from OpenWRT init script since current default C-library (musl...
Martin Johansson [Tue, 4 Aug 2015 08:38:18 +0000 (10:38 +0200)]
Remove '-r' switch from OpenWRT init script since current default C-library (musl) doesn't support Posix realtime API.

8 years agossli_openssl.c:161: s/bool/bool_t/
Andres Erbsen [Wed, 15 Jul 2015 06:08:12 +0000 (23:08 -0700)]
ssli_openssl.c:161: s/bool/bool_t/

To be consistent with existing code (and require less patches on OpenBSD).

8 years agoMerge pull request #70 from andres-erbsen/patch-1
Felix Morgner [Tue, 11 Aug 2015 18:28:43 +0000 (20:28 +0200)]
Merge pull request #70 from andres-erbsen/patch-1

ssli_openssl.c:161: s/bool/bool_t/

8 years agoMerge branch 'master' of github.com:fatbob313/umurmur
Martin Johansson [Tue, 4 Aug 2015 08:41:36 +0000 (10:41 +0200)]
Merge branch 'master' of github.com:fatbob313/umurmur

8 years agoRemove '-r' switch from OpenWRT init script since current default C-library (musl...
Martin Johansson [Tue, 4 Aug 2015 08:38:18 +0000 (10:38 +0200)]
Remove '-r' switch from OpenWRT init script since current default C-library (musl) doesn't support Posix realtime API.

8 years agombedTLS 2.x support
Szymon Pusz [Sat, 25 Jul 2015 20:07:56 +0000 (22:07 +0200)]
mbedTLS 2.x support

8 years agossli_openssl.c:161: s/bool/bool_t/
Andres Erbsen [Wed, 15 Jul 2015 06:08:12 +0000 (23:08 -0700)]
ssli_openssl.c:161: s/bool/bool_t/

To be consistent with existing code (and require less patches on OpenBSD).

8 years agoFixed build errors
Felix Morgner [Mon, 13 Jul 2015 08:18:54 +0000 (10:18 +0200)]
Fixed build errors

8 years agoFixed typo in new safe malloc.
Dan Turner [Sun, 12 Jul 2015 11:15:42 +0000 (12:15 +0100)]
Fixed typo in new safe malloc.

8 years agoRemoved null-pointer dereference in low mem.
Dan Turner [Thu, 25 Jun 2015 15:05:51 +0000 (16:05 +0100)]
Removed null-pointer dereference in low mem.

8 years agoUse different API for reading TLS cert (fixes #64)
Felix Morgner [Sun, 12 Jul 2015 13:01:07 +0000 (15:01 +0200)]
Use different API for reading TLS cert (fixes #64)

The OpenSSL TLS backend now reads the certificate file using
SSL_CTX_use_certificate_chain_file(...) so that concatenated
certificate files containing a verification chain are read correctly.

Thanks to Andres Erbsen (@andres-erbsen) for reporting the issue.

8 years agoMerge pull request #66 from omor1/master
Felix Morgner [Sun, 12 Jul 2015 11:12:46 +0000 (13:12 +0200)]
Merge pull request #66 from omor1/master

Fix for commit #2eec458

8 years agoNull pointer references
Omri Mor [Sun, 12 Jul 2015 09:34:18 +0000 (12:34 +0300)]
Null pointer references

8 years agoImproved Autotools environment
Felix Morgner [Tue, 7 Jul 2015 08:14:54 +0000 (10:14 +0200)]
Improved Autotools environment

The config.h.in does not overwrite the in-tree file anymore.
Additionally, the build is now silent by default.

8 years agoImproved builds on OS X
Felix Morgner [Tue, 7 Jul 2015 07:50:24 +0000 (09:50 +0200)]
Improved builds on OS X

8 years agoupdated README
Felix Morgner [Mon, 6 Jul 2015 12:39:54 +0000 (14:39 +0200)]
updated README

8 years agoFixed mutiple possible null-pointer derefences #63
Felix Morgner [Mon, 6 Jul 2015 09:20:34 +0000 (11:20 +0200)]
Fixed mutiple possible null-pointer derefences #63

8 years agoBumped version number for bugfix release
Felix Morgner [Fri, 19 Jun 2015 22:39:29 +0000 (00:39 +0200)]
Bumped version number for bugfix release

This release fixes the following 2 bugs:

1. A crash in the SHM API when a client is being removed from the server
during a SHM update (issue #60) - fixed by Daniel Weeks (@doctaweeks)

2. Failure to detect missing IPv6 support in FreeBSD jails - fixed by
Marcus Ball (@marcusball)

It is strongly advised that users who make use of the SHM API (e.g.
using umurmur-monitor) upgrade to this version, as bug #60 could cause
possible denial-of-service due to the server crashing.

8 years agoMerge pull request #62 from marcusball/master
Felix Morgner [Fri, 19 Jun 2015 22:32:41 +0000 (00:32 +0200)]
Merge pull request #62 from marcusball/master

Added socket errno EPROTONOSUPPORT to socket support check in checkIPversions()

8 years agoMerge pull-request #61 (fixes issue #60)
Felix Morgner [Fri, 19 Jun 2015 22:17:36 +0000 (00:17 +0200)]
Merge pull-request #61 (fixes issue #60)

shm format cleanup and crash fix

8 years agoAdded socket errno EPROTONOSUPPORT to socket support check in checkIPversions()
Marcus Ball [Fri, 19 Jun 2015 20:08:58 +0000 (16:08 -0400)]
Added socket errno EPROTONOSUPPORT to socket support check in checkIPversions()

8 years agoFix shm crash if client is being removed
Daniel M. Weeks [Thu, 11 Jun 2015 15:44:33 +0000 (11:44 -0400)]
Fix shm crash if client is being removed

8 years agoConvert file format DOS->UNIX
Daniel M. Weeks [Thu, 11 Jun 2015 15:42:42 +0000 (11:42 -0400)]
Convert file format DOS->UNIX

8 years agoMark Log_fatal noreturn
Daniel M. Weeks [Thu, 11 Jun 2015 15:26:04 +0000 (11:26 -0400)]
Mark Log_fatal noreturn

8 years agoAdd compile-time check for POLARSSL_VERSION_FEATURES before using version_get_string().
Martin Johansson [Tue, 19 May 2015 16:49:31 +0000 (18:49 +0200)]
Add compile-time check for POLARSSL_VERSION_FEATURES before using version_get_string().

8 years agoMerge pull request #59 from Hello71/patch-1
Felix Morgner [Thu, 14 May 2015 08:47:05 +0000 (10:47 +0200)]
Merge pull request #59 from Hello71/patch-1

ChangeLog: fix typo

9 years agoChangeLog: fix typo
Alex Xu [Sun, 12 Apr 2015 14:25:20 +0000 (10:25 -0400)]
ChangeLog: fix typo

9 years agoRelease 0.2.16
Felix Morgner [Tue, 7 Apr 2015 10:01:12 +0000 (12:01 +0200)]
Release 0.2.16

9 years agoChecking for GnuTLS version. Fixes #58
Felix Morgner [Tue, 7 Apr 2015 09:37:56 +0000 (11:37 +0200)]
Checking for GnuTLS version. Fixes #58

9 years agoupdated umurmur-monitor
Felix Morgner [Mon, 16 Feb 2015 07:44:30 +0000 (08:44 +0100)]
updated umurmur-monitor

9 years agosilenced two warnings
Felix Morgner [Mon, 16 Feb 2015 06:14:19 +0000 (07:14 +0100)]
silenced two warnings

9 years agofixed GnuTLS related crash when daemonizing
Felix Morgner [Wed, 11 Feb 2015 13:25:06 +0000 (14:25 +0100)]
fixed GnuTLS related crash when daemonizing

additional fix for DH-parameters not being set

9 years agoadded support for building umurmur-monitor
Felix Morgner [Wed, 11 Feb 2015 12:01:15 +0000 (13:01 +0100)]
added support for building umurmur-monitor

It is now possible (with cmake) to build umurmur-monitor as a
subproject of umumur. To do so, use the following command line to clone
umurmur:

  git clone --recursive <url-to-repo>

or simply update your current copy (fetch, rebase, merge, whatever you
prefer) and then run:

  git submodule udate --init

Afterwards, create your build directory and use either ccmake or a
command line similiar to the following:

  cmake <path-to-CMakeLists.txt-of-umurmur> -DUSE_SHAREDMEMORY_API=ON \
        -DBUILD_UMURMUR_MONITOR=ON <other-flags>

Currently, building umurmur-monitor is OFF by default, even if cmake
finds the sources for the project. This might change in the future when
demanded.

9 years agoadded umurmur-monitor as a submodule
Felix Morgner [Wed, 11 Feb 2015 10:08:52 +0000 (11:08 +0100)]
added umurmur-monitor as a submodule

9 years agoMerge pull request #56 from fmorgner/master
Felix Morgner [Wed, 11 Feb 2015 10:03:49 +0000 (11:03 +0100)]
Merge pull request #56 from fmorgner/master

A little bit of warning related cleanup

9 years agofixed qualification warnings
Felix Morgner [Wed, 11 Feb 2015 10:00:52 +0000 (11:00 +0100)]
fixed qualification warnings

9 years agofixed type conversion warnings
Felix Morgner [Wed, 11 Feb 2015 09:57:42 +0000 (10:57 +0100)]
fixed type conversion warnings

9 years agomoved mon-umurmurd into seperate project
Felix Morgner [Wed, 11 Feb 2015 09:49:47 +0000 (10:49 +0100)]
moved mon-umurmurd into seperate project

9 years agofixed copy/paste mistake
Felix Morgner [Wed, 11 Feb 2015 09:44:22 +0000 (10:44 +0100)]
fixed copy/paste mistake

9 years agoMerge pull request #55 from fmorgner/master
Felix Morgner [Tue, 10 Feb 2015 18:55:18 +0000 (19:55 +0100)]
Merge pull request #55 from fmorgner/master

Added GnuTLS support to the autotools build environment

9 years agoMerge branch 'master' of github.com:umurmur/umurmur
Felix Morgner [Tue, 10 Feb 2015 18:46:04 +0000 (19:46 +0100)]
Merge branch 'master' of github.com:umurmur/umurmur

9 years agoadded autotools support for GnuTLS
Felix Morgner [Tue, 10 Feb 2015 18:36:23 +0000 (19:36 +0100)]
added autotools support for GnuTLS

9 years agoMerge pull request #54 from fmorgner/master
Felix Morgner [Fri, 6 Feb 2015 13:03:56 +0000 (14:03 +0100)]
Merge pull request #54 from fmorgner/master

Fixes for issue #52

9 years agofixed memory leaks. closes issue #52
Felix Morgner [Fri, 6 Feb 2015 12:58:13 +0000 (13:58 +0100)]
fixed memory leaks. closes issue #52

9 years agosmall cleanup
Felix Morgner [Fri, 6 Feb 2015 12:57:59 +0000 (13:57 +0100)]
small cleanup

9 years agofixed debug logging
Felix Morgner [Fri, 6 Feb 2015 12:24:26 +0000 (13:24 +0100)]
fixed debug logging

9 years agoclosed some memory leaks
Felix Morgner [Fri, 6 Feb 2015 12:07:01 +0000 (13:07 +0100)]
closed some memory leaks

9 years agoMerge pull request #53 from fmorgner/master
Felix Morgner [Thu, 5 Feb 2015 09:58:35 +0000 (10:58 +0100)]
Merge pull request #53 from fmorgner/master

Fixed a memory leak in the shared memory part

9 years agocleaned indentation
Felix Morgner [Thu, 5 Feb 2015 09:54:11 +0000 (10:54 +0100)]
cleaned indentation

9 years agofix memory leak
Felix Morgner [Thu, 5 Feb 2015 09:53:34 +0000 (10:53 +0100)]
fix memory leak

9 years agodeinitialize shm when ftruncate fails
Felix Morgner [Thu, 5 Feb 2015 09:53:05 +0000 (10:53 +0100)]
deinitialize shm when ftruncate fails

9 years agoremoved trailing whitespace
Felix Morgner [Thu, 5 Feb 2015 07:41:19 +0000 (08:41 +0100)]
removed trailing whitespace

9 years agoupdated readme
Felix Morgner [Thu, 5 Feb 2015 09:49:32 +0000 (10:49 +0100)]
updated readme

9 years agoMerge pull request #51 from fmorgner/master
Martin Johansson [Wed, 4 Feb 2015 18:50:55 +0000 (19:50 +0100)]
Merge pull request #51 from fmorgner/master

GnuTLS support

9 years agoindenting and license header
Felix Morgner [Sat, 31 Jan 2015 13:58:20 +0000 (14:58 +0100)]
indenting and license header

9 years agofixed defines
Felix Morgner [Sat, 31 Jan 2015 13:50:05 +0000 (14:50 +0100)]
fixed defines

9 years agoclosed memory leak
Felix Morgner [Sat, 31 Jan 2015 13:32:29 +0000 (14:32 +0100)]
closed memory leak

9 years agoadded hash calculation
Felix Morgner [Sat, 31 Jan 2015 13:30:38 +0000 (14:30 +0100)]
added hash calculation

9 years agofixed up CMakeFiles for nettle and gnutls
Felix Morgner [Sat, 31 Jan 2015 11:57:16 +0000 (12:57 +0100)]
fixed up CMakeFiles for nettle and gnutls

9 years agoadded cmake file to find nettle
Felix Morgner [Sat, 31 Jan 2015 11:51:54 +0000 (12:51 +0100)]
added cmake file to find nettle

credit:
https://github.com/Kitware/CMake/blob/master/Utilities/cmlibarchive/build/cmake/FindNettle.cmake

9 years agochanged cipher suite spec
Felix Morgner [Sat, 31 Jan 2015 11:48:16 +0000 (12:48 +0100)]
changed cipher suite spec

I will need to work on that, but for now, this works

9 years agomade SSL error non fatal
Felix Morgner [Sat, 31 Jan 2015 11:47:57 +0000 (12:47 +0100)]
made SSL error non fatal

9 years agoAdded nettle implementation
Felix Morgner [Sat, 31 Jan 2015 11:46:18 +0000 (12:46 +0100)]
Added nettle implementation

I also cleaned up the files a little bit, to get rid of some #ifdef
statements.

9 years agook, now it actually builds...
Felix Morgner [Fri, 30 Jan 2015 16:32:16 +0000 (17:32 +0100)]
ok, now it actually builds...

9 years agobuilding with gnutls is now possible
Felix Morgner [Fri, 30 Jan 2015 16:25:03 +0000 (17:25 +0100)]
building with gnutls is now possible

9 years agoadded GnuTLS USE flag
Felix Morgner [Fri, 30 Jan 2015 16:23:15 +0000 (17:23 +0100)]
added GnuTLS USE flag

9 years agofixed cipher suite and implemented shutdown/free
Felix Morgner [Fri, 30 Jan 2015 16:21:46 +0000 (17:21 +0100)]
fixed cipher suite and implemented shutdown/free

9 years agoadded error return and available check
Felix Morgner [Fri, 30 Jan 2015 13:44:20 +0000 (14:44 +0100)]
added error return and available check

9 years agoadded writing
Felix Morgner [Fri, 30 Jan 2015 13:41:32 +0000 (14:41 +0100)]
added writing

9 years agoadded reading
Felix Morgner [Fri, 30 Jan 2015 13:39:49 +0000 (14:39 +0100)]
added reading

9 years agoadded stubs
Felix Morgner [Fri, 30 Jan 2015 13:35:38 +0000 (14:35 +0100)]
added stubs

9 years agomoved code to right place
Felix Morgner [Fri, 30 Jan 2015 13:33:50 +0000 (14:33 +0100)]
moved code to right place

9 years agoadded forgotten ssl ready output
Felix Morgner [Fri, 30 Jan 2015 13:27:40 +0000 (14:27 +0100)]
added forgotten ssl ready output

9 years agoadded hash stub
Felix Morgner [Fri, 30 Jan 2015 13:26:13 +0000 (14:26 +0100)]
added hash stub

9 years agoadded connection handling
Felix Morgner [Fri, 30 Jan 2015 13:25:12 +0000 (14:25 +0100)]
added connection handling

9 years agoadded cipher cache to cleanup
Felix Morgner [Fri, 30 Jan 2015 13:08:38 +0000 (14:08 +0100)]
added cipher cache to cleanup

9 years agofixed up some stuff
Felix Morgner [Fri, 30 Jan 2015 13:07:00 +0000 (14:07 +0100)]
fixed up some stuff

additionally it seems like i can't spell "initialize"

9 years agoadded GnuTLS deinitialization code
Felix Morgner [Fri, 30 Jan 2015 12:35:42 +0000 (13:35 +0100)]
added GnuTLS deinitialization code

9 years agoadded GNUTLS initialization code
Felix Morgner [Fri, 30 Jan 2015 12:32:18 +0000 (13:32 +0100)]
added GNUTLS initialization code

9 years agosilenced some warnings
Felix Morgner [Sat, 31 Jan 2015 12:11:50 +0000 (13:11 +0100)]
silenced some warnings