umurmur.git
9 years agoindentation test
Felix Morgner [Thu, 1 May 2014 09:25:26 +0000 (11:25 +0200)]
indentation test

9 years agoIPv6 sendto fix
Felix Morgner [Thu, 1 May 2014 09:00:01 +0000 (11:00 +0200)]
IPv6 sendto fix

9 years agoMerge branch 'gnutls' into ipv6
Felix Morgner [Thu, 1 May 2014 07:07:48 +0000 (09:07 +0200)]
Merge branch 'gnutls' into ipv6

9 years agoInitial IPv6 support
Felix Morgner [Thu, 1 May 2014 07:05:56 +0000 (09:05 +0200)]
Initial IPv6 support

Needs testing and maybe cleanup

9 years agoAdded support for IPv6 peer addresses
Felix Morgner [Wed, 30 Apr 2014 18:19:44 +0000 (20:19 +0200)]
Added support for IPv6 peer addresses

10 years agoMerge pull request #38 from fmorgner/master
Martin Johansson [Wed, 30 Apr 2014 18:02:18 +0000 (20:02 +0200)]
Merge pull request #38 from fmorgner/master

Byte order fix for BSD and OSX

10 years agofirst dirty socket setup
Felix Morgner [Tue, 29 Apr 2014 07:37:36 +0000 (09:37 +0200)]
first dirty socket setup

10 years agoFixed errors in address generation
Felix Morgner [Tue, 29 Apr 2014 05:39:44 +0000 (07:39 +0200)]
Fixed errors in address generation

10 years agoMoved main server loop into its own function
Felix Morgner [Tue, 29 Apr 2014 05:37:40 +0000 (07:37 +0200)]
Moved main server loop into its own function

10 years agoPreparation for IPv6 support
Felix Morgner [Mon, 28 Apr 2014 11:42:07 +0000 (13:42 +0200)]
Preparation for IPv6 support

- Two new configuration variables were introduced (bindport6, bindaddr6)
- Analogously two new commandline parameters were introduced -A and -B
- Address and port setup were moved into a seperate function to clean up
  the code a little.

10 years agoMerge branch 'master' into gnutls
Felix Morgner [Thu, 24 Apr 2014 12:17:32 +0000 (14:17 +0200)]
Merge branch 'master' into gnutls

10 years agoFixed license notice
Felix Morgner [Thu, 24 Apr 2014 12:02:34 +0000 (14:02 +0200)]
Fixed license notice

Added Martin and Thorvald since most of the code is actually from
them.

10 years agoCleanup of the byteorder patch
Felix Morgner [Thu, 24 Apr 2014 11:58:18 +0000 (13:58 +0200)]
Cleanup of the byteorder patch

This version of the patch, while technically the same, is a little
cleaner in code. It seems to be working on NetBSD, MOX and Linux.

10 years agoMerge branch 'gnutls' of github.com:fmorgner/umurmur into gnutls
Felix Morgner [Thu, 24 Apr 2014 10:53:45 +0000 (12:53 +0200)]
Merge branch 'gnutls' of github.com:fmorgner/umurmur into gnutls

10 years agoFixed a problem with byte switching
Felix Morgner [Thu, 24 Apr 2014 10:42:47 +0000 (12:42 +0200)]
Fixed a problem with byte switching

This fixes an issue with byte switching. The preprocessor directive
used to determine the endianess of the system only worked on Linux
resulting in voice running over TCP only when umurmur runs on other
platforms. Note, this patch could and should be implemented better
but is working and should be regarded as a hotfix.

10 years agoPreparation for GnuTLS backend
Felix Morgner [Wed, 23 Apr 2014 13:31:08 +0000 (15:31 +0200)]
Preparation for GnuTLS backend

I added the necessary lines to the autotools files. Maybe someone
else should look into this as it seems to me like its currently
more of a dirty hack. I works though.

10 years agoMerge pull request #37 from fmorgner/master
Martin Johansson [Tue, 22 Apr 2014 20:29:16 +0000 (22:29 +0200)]
Merge pull request #37 from fmorgner/master

Use c99 standard bool when available

10 years agoMerge branch 'master' into gnutls
Felix Morgner [Tue, 22 Apr 2014 09:16:20 +0000 (11:16 +0200)]
Merge branch 'master' into gnutls

10 years agofixed wrong comparison operator
Felix Morgner [Tue, 22 Apr 2014 09:08:59 +0000 (11:08 +0200)]
fixed wrong comparison operator

As mentioned by Martin, i now fixed the comparison to be
logically corret.

10 years agoPreparation for GnuTLS support
Felix Morgner [Thu, 17 Apr 2014 08:13:34 +0000 (10:13 +0200)]
Preparation for GnuTLS support

10 years agoUse c99 standard bool when available
Felix Morgner [Thu, 17 Apr 2014 06:10:18 +0000 (08:10 +0200)]
Use c99 standard bool when available

10 years agoMerge pull request #34 from fmorgner/master
Martin Johansson [Wed, 12 Mar 2014 20:17:31 +0000 (21:17 +0100)]
Merge pull request #34 from fmorgner/master

CMake with Autotools (again)

10 years agofixed breakage caused by me
Felix Morgner [Wed, 26 Feb 2014 20:43:32 +0000 (21:43 +0100)]
fixed breakage caused by me

10 years agoMerge branch 'master' of github.com:fmorgner/umurmur
Felix Morgner [Wed, 26 Feb 2014 20:26:49 +0000 (21:26 +0100)]
Merge branch 'master' of github.com:fmorgner/umurmur

10 years agoRevert "removed autotools build environment"
Felix Morgner [Wed, 26 Feb 2014 20:22:09 +0000 (21:22 +0100)]
Revert "removed autotools build environment"

This reverts commit b6533c2fca004fa3ad4d5098d41a3be22f4466ab.

10 years agochanged default behaviour for clock_gettime()
Felix Morgner [Thu, 23 Jan 2014 15:03:10 +0000 (16:03 +0100)]
changed default behaviour for clock_gettime()

CMake now checks first for clock_gettime() in librt, so
we can make use of its capabilities when available.

10 years agoremoved trailing whitespaces
Felix Morgner [Thu, 16 Jan 2014 15:54:14 +0000 (16:54 +0100)]
removed trailing whitespaces

10 years agoupdated README
Felix Morgner [Thu, 16 Jan 2014 15:50:44 +0000 (16:50 +0100)]
updated README

10 years agoimproved cmake modules
Felix Morgner [Thu, 16 Jan 2014 15:45:33 +0000 (16:45 +0100)]
improved cmake modules

10 years agoadded cmake flags for polarssl testcert and havege
Felix Morgner [Thu, 16 Jan 2014 15:43:24 +0000 (16:43 +0100)]
added cmake flags for polarssl testcert and havege

10 years agofixed a typo
Felix Morgner [Wed, 15 Jan 2014 16:24:11 +0000 (17:24 +0100)]
fixed a typo

10 years agoadded config installation
Felix Morgner [Wed, 15 Jan 2014 16:21:24 +0000 (17:21 +0100)]
added config installation

The umurmur.example.config file gets installed into
${CMAKE_INSTALL_PREFIX}/etc so that it is automagically
found when starting umurmurd. Note, that the config file
is only installed when there is no old config file found
in this spot.

10 years agoautogenerating DEFAULT_CONFIG via CMAKE
Felix Morgner [Wed, 15 Jan 2014 15:26:20 +0000 (16:26 +0100)]
autogenerating DEFAULT_CONFIG via CMAKE

The DEFAULT_CONFIG preprocessor #define is now generated
based on the CMAKE_INSTALL_PREFIX of cmake. This will make
sure, that the config file is located under the same
hirarchy as the executable.

10 years agolinking against librt now works
Felix Morgner [Tue, 14 Jan 2014 14:15:01 +0000 (15:15 +0100)]
linking against librt now works

10 years agoadded installation support to CMake environment
Felix Morgner [Tue, 14 Jan 2014 00:33:35 +0000 (01:33 +0100)]
added installation support to CMake environment

please note that the prefix can be changed via CMAKE_INSTALL_PREFIX
variable. it defaults to /usr/local

10 years agoMerge branch 'cmake'
Felix Morgner [Tue, 14 Jan 2014 00:17:41 +0000 (01:17 +0100)]
Merge branch 'cmake'

10 years agofix architecture dependend library paths
Felix Morgner [Mon, 13 Jan 2014 23:52:30 +0000 (00:52 +0100)]
fix architecture dependend library paths

10 years agobetter cmake implementation
Felix Morgner [Mon, 13 Jan 2014 23:18:12 +0000 (00:18 +0100)]
better cmake implementation

10 years agoadded the REQUIRED flag for libconfig and protobuf-c
Felix Morgner [Mon, 13 Jan 2014 21:39:30 +0000 (22:39 +0100)]
added the REQUIRED flag for libconfig and protobuf-c

10 years agofinal fix for the linking directories.
Felix Morgner [Mon, 13 Jan 2014 17:00:22 +0000 (18:00 +0100)]
final fix for the linking directories.

10 years agofix for non-standartd lib paths
Felix Morgner [Mon, 13 Jan 2014 16:55:19 +0000 (17:55 +0100)]
fix for non-standartd lib paths

10 years agofixed cmake again...
Felix Morgner [Mon, 13 Jan 2014 16:50:05 +0000 (17:50 +0100)]
fixed cmake again...

10 years agoput some stuff back in
Felix Morgner [Mon, 13 Jan 2014 16:23:21 +0000 (17:23 +0100)]
put some stuff back in

10 years agolinking seems fine now (at least on osx)
Felix Morgner [Mon, 13 Jan 2014 15:44:37 +0000 (16:44 +0100)]
linking seems fine now (at least on osx)

10 years agopreliminary cmake support. linking still broken.
Felix Morgner [Mon, 13 Jan 2014 14:40:40 +0000 (15:40 +0100)]
preliminary cmake support. linking still broken.

10 years agofixed clock source. embarassing...
Felix Morgner [Sun, 12 Jan 2014 18:19:52 +0000 (19:19 +0100)]
fixed clock source. embarassing...

10 years agoadded cmake build directory
Felix Morgner [Sun, 12 Jan 2014 17:58:45 +0000 (18:58 +0100)]
added cmake build directory

10 years agoworking on a cmake environment
Felix Morgner [Sun, 12 Jan 2014 17:49:25 +0000 (18:49 +0100)]
working on a cmake environment

Currently the project doesn't build using cmake.
I first need to figure out some library checking
stuff.

10 years agoremoved autotools build environment
Felix Morgner [Fri, 10 Jan 2014 15:13:27 +0000 (16:13 +0100)]
removed autotools build environment

10 years agoworkaround for missing clock_gettime() in OS
Felix Morgner [Fri, 10 Jan 2014 12:42:43 +0000 (13:42 +0100)]
workaround for missing clock_gettime() in OS

see gist #1087739 by Juan Batiz-Benet(jbenet)

10 years agoUpdate ChangeLog
Martin Johansson [Wed, 1 Jan 2014 21:40:30 +0000 (22:40 +0100)]
Update ChangeLog

10 years agoUpdate contributors
Martin Johansson [Wed, 1 Jan 2014 21:32:48 +0000 (22:32 +0100)]
Update contributors

10 years agoUpdate copyright year
Martin Johansson [Wed, 1 Jan 2014 21:32:15 +0000 (22:32 +0100)]
Update copyright year

10 years agoAdd client indication of silent channels
Trivve [Sun, 29 Dec 2013 14:55:47 +0000 (15:55 +0100)]
Add client indication of silent channels

10 years agoLink to zlib if PolarSSL is compiled with support for it. [Patch from hasufell].
Martin Johansson [Mon, 23 Dec 2013 21:47:06 +0000 (22:47 +0100)]
Link to zlib if PolarSSL is compiled with support for it. [Patch from hasufell].

10 years agoHandle clock_gettime() in librt
Martin Johansson [Mon, 23 Dec 2013 21:36:53 +0000 (22:36 +0100)]
Handle clock_gettime() in librt

10 years agoUpdate changelog
Martin Johansson [Fri, 20 Dec 2013 21:15:00 +0000 (22:15 +0100)]
Update changelog

10 years agoAdd example config for 'ca_path'
Martin Johansson [Fri, 20 Dec 2013 21:14:13 +0000 (22:14 +0100)]
Add example config for 'ca_path'

10 years agoAdd new options to example configuration
Martin Johansson [Fri, 20 Dec 2013 20:59:55 +0000 (21:59 +0100)]
Add new options to example configuration

10 years agoFix silent channel not working.
Martin Johansson [Sat, 14 Dec 2013 21:54:23 +0000 (22:54 +0100)]
Fix silent channel not working.

10 years agoMerge branch 'ipv4' of github.com:fatbob313/umurmur into ipv4
Martin Johansson [Thu, 28 Nov 2013 19:47:05 +0000 (20:47 +0100)]
Merge branch 'ipv4' of github.com:fatbob313/umurmur into ipv4

10 years agoMerge pull request #25 from fmorgner/ipv4
Martin Johansson [Mon, 25 Nov 2013 21:19:49 +0000 (13:19 -0800)]
Merge pull request #25 from fmorgner/ipv4

Added support for certificate chain delivery

10 years agoAdded support for certificate chain delivery via the "ca_path" configuration setting.
Felix Morgner [Mon, 25 Nov 2013 09:43:54 +0000 (10:43 +0100)]
Added support for certificate chain delivery via the "ca_path" configuration setting.

10 years agoUpdate to 0.2.14
Martin Johansson [Thu, 14 Nov 2013 20:34:31 +0000 (21:34 +0100)]
Update to 0.2.14

10 years agoAdd channel position.
Martin Johansson [Wed, 13 Nov 2013 21:47:37 +0000 (22:47 +0100)]
Add channel position.

10 years agoAdd support for PolarSSL 1.3.x
Martin Johansson [Tue, 12 Nov 2013 19:58:42 +0000 (20:58 +0100)]
Add support for PolarSSL 1.3.x

10 years agoAdd include <time.h> for CLOCK_MONOTONIC
Martin Johansson [Sun, 10 Nov 2013 18:45:45 +0000 (19:45 +0100)]
Add include <time.h> for CLOCK_MONOTONIC

10 years agoMerge branch 'ipv4' of github.com:fatbob313/umurmur into ipv4
Martin Johansson [Sun, 10 Nov 2013 18:42:56 +0000 (19:42 +0100)]
Merge branch 'ipv4' of github.com:fatbob313/umurmur into ipv4

10 years agoMerge pull request #23 from Rawi666/ipv4
Martin Johansson [Sun, 10 Nov 2013 18:37:06 +0000 (10:37 -0800)]
Merge pull request #23 from Rawi666/ipv4

Changed to monotonic clock for timespan measurements

10 years agoFix for https://github.com/fatbob313/umurmur/issues/20
Szymon Pusz [Sat, 9 Nov 2013 10:57:59 +0000 (11:57 +0100)]
Fix for https://github.com/fatbob313/umurmur/issues/20
Uses monotonic clock instead of gettimeofday() which can provide wrong time if system clock changes (eg.due to NTP time sync, manual time change).
After this fix timespan measurements will be always stable and accurate.

10 years agoAdd silent channel option
Martin Johansson [Sat, 5 Oct 2013 20:12:25 +0000 (22:12 +0200)]
Add silent channel option

10 years agoUpdate changelog for 0.2.13
Martin Johansson [Sun, 9 Jun 2013 18:56:17 +0000 (20:56 +0200)]
Update changelog for 0.2.13

10 years agoAdd instruction to run autogen.sh
Martin Johansson [Sun, 9 Jun 2013 18:55:49 +0000 (20:55 +0200)]
Add instruction to run autogen.sh

10 years agoUpdate copyright year.
Martin Johansson [Sat, 8 Jun 2013 21:07:09 +0000 (23:07 +0200)]
Update copyright year.

10 years agoUpdate to 0.2.13
Martin Johansson [Sat, 8 Jun 2013 20:57:56 +0000 (22:57 +0200)]
Update to 0.2.13

10 years agoAdd current time to lines logged to file.
Martin Johansson [Sat, 8 Jun 2013 20:52:34 +0000 (22:52 +0200)]
Add current time to lines logged to file.
Remove log level string from lines logged to syslog.

10 years agoFix Opus not working.
Martin Johansson [Fri, 7 Jun 2013 22:15:43 +0000 (00:15 +0200)]
Fix Opus not working.

10 years agoUpdate for 0.2.12
Martin Johansson [Mon, 20 May 2013 19:02:42 +0000 (21:02 +0200)]
Update for 0.2.12

10 years agoUpdate to 0.2.12
Martin Johansson [Mon, 20 May 2013 18:52:34 +0000 (20:52 +0200)]
Update to 0.2.12

10 years agoFix using /dev/urandom since it wasn't working
Martin Johansson [Tue, 14 May 2013 20:39:34 +0000 (22:39 +0200)]
Fix using /dev/urandom since it wasn't working

10 years agoFix crash at client disconnect when using PolarSSL >= 1.2.6
Martin Johansson [Tue, 14 May 2013 20:36:13 +0000 (22:36 +0200)]
Fix crash at client disconnect when using PolarSSL >= 1.2.6

10 years agoAdd opus_threshold to example config.
Martin Johansson [Mon, 6 May 2013 20:26:49 +0000 (22:26 +0200)]
Add opus_threshold to example config.

10 years agoUpdate README, Changelog and codename.
Martin Johansson [Mon, 6 May 2013 20:20:38 +0000 (22:20 +0200)]
Update README, Changelog and codename.

10 years agoSome cleanup of SSL handling. Remove stuff related to pre PolarSSL 1.0.0.
Martin Johansson [Sun, 5 May 2013 21:07:59 +0000 (23:07 +0200)]
Some cleanup of SSL handling. Remove stuff related to pre PolarSSL 1.0.0.

10 years agoCleanup old support for pre PolarSSL 1.0.0
Martin Johansson [Sat, 4 May 2013 20:44:37 +0000 (22:44 +0200)]
Cleanup old support for pre PolarSSL 1.0.0

10 years agoConfigure switch added for enabling PolarSSL HAVEGE random number generator. Default...
Martin Johansson [Fri, 3 May 2013 21:18:34 +0000 (23:18 +0200)]
Configure switch added for enabling PolarSSL HAVEGE random number generator. Default to /dev/urandom.
Drop support for PolarSSL versions prior to 1.0.0

10 years agoConfigure switch to enable built-in test certificate added. Defaults to disabled.
Martin Johansson [Fri, 3 May 2013 20:16:14 +0000 (22:16 +0200)]
Configure switch to enable built-in test certificate added. Defaults to disabled.

11 years agoUpdates for 0.2.11
Martin Johansson [Wed, 3 Apr 2013 17:37:49 +0000 (19:37 +0200)]
Updates for 0.2.11

11 years agoFix opus reporting in UserStats.
Martin Johansson [Sun, 10 Mar 2013 20:44:38 +0000 (21:44 +0100)]
Fix opus reporting in UserStats.

11 years agoFix possible crash when requesting info on user.
Martin Johansson [Mon, 11 Feb 2013 21:57:14 +0000 (22:57 +0100)]
Fix possible crash when requesting info on user.

11 years agoSupress warnings. Correct spelling.
Martin Johansson [Mon, 11 Feb 2013 21:48:28 +0000 (22:48 +0100)]
Supress warnings. Correct spelling.

11 years agoReduce codec-check noise in the log
Martin Johansson [Tue, 5 Feb 2013 20:50:24 +0000 (21:50 +0100)]
Reduce codec-check noise in the log

11 years agoMake codec arbitration work.
Martin Johansson [Sun, 9 Dec 2012 19:20:26 +0000 (20:20 +0100)]
Make codec arbitration work.
Revert previous change from Client_close() -> Client_free() since it caused a crash.

11 years agoAdd support for PolarSSL 1.2.x
Martin Johansson [Wed, 5 Dec 2012 21:01:22 +0000 (22:01 +0100)]
Add support for PolarSSL 1.2.x

11 years agoUpdate to 0.2.11
Martin Johansson [Wed, 5 Dec 2012 09:06:22 +0000 (10:06 +0100)]
Update to 0.2.11

11 years agoFix error message at client disconnect when using OpenSSL.
Martin Johansson [Mon, 3 Dec 2012 19:53:54 +0000 (20:53 +0100)]
Fix error message at client disconnect when using OpenSSL.

11 years agoAdd function for sending textmessages.
Martin Johansson [Mon, 3 Dec 2012 19:33:00 +0000 (20:33 +0100)]
Add function for sending textmessages.

11 years agoOpus support continued. Negotiating stuff. Working in server loopback mode.
Martin Johansson [Sun, 2 Dec 2012 21:29:13 +0000 (22:29 +0100)]
Opus support continued. Negotiating stuff. Working in server loopback mode.

11 years agoAdd initial support for Opus
Martin Johansson [Mon, 26 Nov 2012 22:02:36 +0000 (23:02 +0100)]
Add initial support for Opus

11 years agoAdd Opus threshold config variable
Martin Johansson [Mon, 26 Nov 2012 22:00:29 +0000 (23:00 +0100)]
Add Opus threshold config variable