Martin Johansson [Thu, 31 Jul 2014 21:31:04 +0000 (23:31 +0200)]
Update to use Protobuf-C 1.0.0. This change required regenerated Mumble.pb-c.[h|c] and it is not backwards compatible with Protobuf-C 0.15 or earlier.
Martin Johansson [Sat, 28 Jun 2014 20:30:38 +0000 (22:30 +0200)]
Added util.c to Makefile.am
Martin Johansson [Wed, 18 Jun 2014 20:51:59 +0000 (22:51 +0200)]
Merge pull request #39 from fmorgner/master
Full dual-stack IPv6 support
Felix Morgner [Fri, 6 Jun 2014 08:21:59 +0000 (10:21 +0200)]
IPv6 dual-stack support
This patch implements full IPv4-IPv6-dual-stack support for umurmur. It
introduces some new configuration and command line options:
- The '-A' and '-B' options which work similar to the old '-a' and
'-b' options but for IPv6.
- The 'bindaddr6' and 'bindport6' options, which too, work like their
IPv4 counterparts.
By default, the IPv6 implementation listens on all addresses and the
default port 64738, just like the IPv4 part. If your system does
support IPv6 and you haven't setup a proper IPv6 firewall, now is the
time to do it. In the meantime you could simply listen on the loopback
device (::1), if you'd like to 'disable' IPv6 functionality.
Note that since the implementation is fully dual-stack, umurmur will
simply warn you if either IPv4 or IPv6 is unavailable but it will still
run fine with no further action is required (unless of course you want
to use one of the unavailable protocols, which would mean you'd have to
enable it in your kernel configuration).
Felix Morgner [Mon, 2 Jun 2014 12:55:22 +0000 (14:55 +0200)]
Fixed IPv4/v6 support checks
Felix Morgner [Sun, 1 Jun 2014 14:58:23 +0000 (16:58 +0200)]
Some optimizations
Firstly, eliminated a stupid if statement which could be replaced by a
for loop. Secondly, on systems with no IPv6 support, there are no
unnecessary pollfd structures being allocated anymore.
Felix Morgner [Thu, 22 May 2014 16:20:46 +0000 (18:20 +0200)]
Merge branch 'ipv6' of github.com:fmorgner/umurmur into ipv6
Conflicts:
src/client.c
src/server.c
Felix Morgner [Thu, 22 May 2014 16:06:56 +0000 (18:06 +0200)]
Handle systems without IPv6 support correctly
Systems without IPv6 support should now be handled correctly. This
patchset also should be able to handle systems with IPv6 but without
IPv4. This might seem a little odd, but i see no reason not to
implement it.
Felix Morgner [Thu, 22 May 2014 16:06:56 +0000 (18:06 +0200)]
Handle systems without IPv6 support correctly
Systems without IPv6 support should now be handled correctly. This
patchset also should be able to handle systems with IPv6 but without
IPv4. This might seem a little odd, but i see no reason not to
implement it.
Felix Morgner [Fri, 16 May 2014 14:02:55 +0000 (16:02 +0200)]
Minor code cleanup
Felix Morgner [Fri, 2 May 2014 10:05:21 +0000 (12:05 +0200)]
Code cleanup
This patchset is mainly consisting of code cleanups and maintainance.
- Introduced new header util.h containing utility functions to convert
addresses to char* typed string representations in a generic way and
to get the port of an address as an int. There are also functions that
work with client structures
- Replaced occurences of older conversions with the new functions
- Replaced hardcoded values with preprocessor macros where applicable
- Reduced code duplication resulting from new IPv6 support where
possible
- Other general cleanups where applicable
Felix Morgner [Fri, 2 May 2014 07:23:02 +0000 (09:23 +0200)]
Fixed OS detection
Felix Morgner [Fri, 2 May 2014 07:10:36 +0000 (09:10 +0200)]
Fixed banning to work for both v4 and v6
Felix Morgner [Thu, 1 May 2014 12:54:00 +0000 (14:54 +0200)]
Fixed preprocessor defines
Felix Morgner [Thu, 1 May 2014 11:48:53 +0000 (13:48 +0200)]
Linux vs. BSD sockaddr_storage fix
Felix Morgner [Thu, 1 May 2014 10:24:48 +0000 (12:24 +0200)]
Indentation fixed
Felix Morgner [Thu, 1 May 2014 09:25:26 +0000 (11:25 +0200)]
indentation test
Felix Morgner [Thu, 1 May 2014 09:00:01 +0000 (11:00 +0200)]
IPv6 sendto fix
Felix Morgner [Thu, 1 May 2014 07:07:48 +0000 (09:07 +0200)]
Merge branch 'gnutls' into ipv6
Felix Morgner [Thu, 1 May 2014 07:05:56 +0000 (09:05 +0200)]
Initial IPv6 support
Needs testing and maybe cleanup
Felix Morgner [Wed, 30 Apr 2014 18:19:44 +0000 (20:19 +0200)]
Added support for IPv6 peer addresses
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
Felix Morgner [Tue, 29 Apr 2014 07:37:36 +0000 (09:37 +0200)]
first dirty socket setup
Felix Morgner [Tue, 29 Apr 2014 05:39:44 +0000 (07:39 +0200)]
Fixed errors in address generation
Felix Morgner [Tue, 29 Apr 2014 05:37:40 +0000 (07:37 +0200)]
Moved main server loop into its own function
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.
Felix Morgner [Thu, 24 Apr 2014 12:17:32 +0000 (14:17 +0200)]
Merge branch 'master' into gnutls
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.
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.
Felix Morgner [Thu, 24 Apr 2014 10:53:45 +0000 (12:53 +0200)]
Merge branch 'gnutls' of github.com:fmorgner/umurmur into gnutls
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.
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.
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
Felix Morgner [Tue, 22 Apr 2014 09:16:20 +0000 (11:16 +0200)]
Merge branch 'master' into gnutls
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.
Felix Morgner [Thu, 17 Apr 2014 08:13:34 +0000 (10:13 +0200)]
Preparation for GnuTLS support
Felix Morgner [Thu, 17 Apr 2014 06:10:18 +0000 (08:10 +0200)]
Use c99 standard bool when available
Martin Johansson [Wed, 12 Mar 2014 20:17:31 +0000 (21:17 +0100)]
Merge pull request #34 from fmorgner/master
CMake with Autotools (again)
Felix Morgner [Wed, 26 Feb 2014 20:43:32 +0000 (21:43 +0100)]
fixed breakage caused by me
Felix Morgner [Wed, 26 Feb 2014 20:26:49 +0000 (21:26 +0100)]
Merge branch 'master' of github.com:fmorgner/umurmur
Felix Morgner [Wed, 26 Feb 2014 20:22:09 +0000 (21:22 +0100)]
Revert "removed autotools build environment"
This reverts commit
b6533c2fca004fa3ad4d5098d41a3be22f4466ab.
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.
Felix Morgner [Thu, 16 Jan 2014 15:54:14 +0000 (16:54 +0100)]
removed trailing whitespaces
Felix Morgner [Thu, 16 Jan 2014 15:50:44 +0000 (16:50 +0100)]
updated README
Felix Morgner [Thu, 16 Jan 2014 15:45:33 +0000 (16:45 +0100)]
improved cmake modules
Felix Morgner [Thu, 16 Jan 2014 15:43:24 +0000 (16:43 +0100)]
added cmake flags for polarssl testcert and havege
Felix Morgner [Wed, 15 Jan 2014 16:24:11 +0000 (17:24 +0100)]
fixed a typo
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.
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.
Felix Morgner [Tue, 14 Jan 2014 14:15:01 +0000 (15:15 +0100)]
linking against librt now works
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
Felix Morgner [Tue, 14 Jan 2014 00:17:41 +0000 (01:17 +0100)]
Merge branch 'cmake'
Felix Morgner [Mon, 13 Jan 2014 23:52:30 +0000 (00:52 +0100)]
fix architecture dependend library paths
Felix Morgner [Mon, 13 Jan 2014 23:18:12 +0000 (00:18 +0100)]
better cmake implementation
Felix Morgner [Mon, 13 Jan 2014 21:39:30 +0000 (22:39 +0100)]
added the REQUIRED flag for libconfig and protobuf-c
Felix Morgner [Mon, 13 Jan 2014 17:00:22 +0000 (18:00 +0100)]
final fix for the linking directories.
Felix Morgner [Mon, 13 Jan 2014 16:55:19 +0000 (17:55 +0100)]
fix for non-standartd lib paths
Felix Morgner [Mon, 13 Jan 2014 16:50:05 +0000 (17:50 +0100)]
fixed cmake again...
Felix Morgner [Mon, 13 Jan 2014 16:23:21 +0000 (17:23 +0100)]
put some stuff back in
Felix Morgner [Mon, 13 Jan 2014 15:44:37 +0000 (16:44 +0100)]
linking seems fine now (at least on osx)
Felix Morgner [Mon, 13 Jan 2014 14:40:40 +0000 (15:40 +0100)]
preliminary cmake support. linking still broken.
Felix Morgner [Sun, 12 Jan 2014 18:19:52 +0000 (19:19 +0100)]
fixed clock source. embarassing...
Felix Morgner [Sun, 12 Jan 2014 17:58:45 +0000 (18:58 +0100)]
added cmake build directory
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.
Felix Morgner [Fri, 10 Jan 2014 15:13:27 +0000 (16:13 +0100)]
removed autotools build environment
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)
Martin Johansson [Wed, 1 Jan 2014 21:40:30 +0000 (22:40 +0100)]
Update ChangeLog
Martin Johansson [Wed, 1 Jan 2014 21:32:48 +0000 (22:32 +0100)]
Update contributors
Martin Johansson [Wed, 1 Jan 2014 21:32:15 +0000 (22:32 +0100)]
Update copyright year
Trivve [Sun, 29 Dec 2013 14:55:47 +0000 (15:55 +0100)]
Add client indication of silent channels
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].
Martin Johansson [Mon, 23 Dec 2013 21:36:53 +0000 (22:36 +0100)]
Handle clock_gettime() in librt
Martin Johansson [Fri, 20 Dec 2013 21:15:00 +0000 (22:15 +0100)]
Update changelog
Martin Johansson [Fri, 20 Dec 2013 21:14:13 +0000 (22:14 +0100)]
Add example config for 'ca_path'
Martin Johansson [Fri, 20 Dec 2013 20:59:55 +0000 (21:59 +0100)]
Add new options to example configuration
Martin Johansson [Sat, 14 Dec 2013 21:54:23 +0000 (22:54 +0100)]
Fix silent channel not working.
Martin Johansson [Thu, 28 Nov 2013 19:47:05 +0000 (20:47 +0100)]
Merge branch 'ipv4' of github.com:fatbob313/umurmur into 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
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.
Martin Johansson [Thu, 14 Nov 2013 20:34:31 +0000 (21:34 +0100)]
Update to 0.2.14
Martin Johansson [Wed, 13 Nov 2013 21:47:37 +0000 (22:47 +0100)]
Add channel position.
Martin Johansson [Tue, 12 Nov 2013 19:58:42 +0000 (20:58 +0100)]
Add support for PolarSSL 1.3.x
Martin Johansson [Sun, 10 Nov 2013 18:45:45 +0000 (19:45 +0100)]
Add include <time.h> for CLOCK_MONOTONIC
Martin Johansson [Sun, 10 Nov 2013 18:42:56 +0000 (19:42 +0100)]
Merge branch 'ipv4' of github.com:fatbob313/umurmur into 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
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.
Martin Johansson [Sat, 5 Oct 2013 20:12:25 +0000 (22:12 +0200)]
Add silent channel option
Martin Johansson [Sun, 9 Jun 2013 18:56:17 +0000 (20:56 +0200)]
Update changelog for 0.2.13
Martin Johansson [Sun, 9 Jun 2013 18:55:49 +0000 (20:55 +0200)]
Add instruction to run autogen.sh
Martin Johansson [Sat, 8 Jun 2013 21:07:09 +0000 (23:07 +0200)]
Update copyright year.
Martin Johansson [Sat, 8 Jun 2013 20:57:56 +0000 (22:57 +0200)]
Update to 0.2.13
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.
Martin Johansson [Fri, 7 Jun 2013 22:15:43 +0000 (00:15 +0200)]
Fix Opus not working.
Martin Johansson [Mon, 20 May 2013 19:02:42 +0000 (21:02 +0200)]
Update for 0.2.12
Martin Johansson [Mon, 20 May 2013 18:52:34 +0000 (20:52 +0200)]
Update to 0.2.12
Martin Johansson [Tue, 14 May 2013 20:39:34 +0000 (22:39 +0200)]
Fix using /dev/urandom since it wasn't working
Martin Johansson [Tue, 14 May 2013 20:36:13 +0000 (22:36 +0200)]
Fix crash at client disconnect when using PolarSSL >= 1.2.6
Martin Johansson [Mon, 6 May 2013 20:26:49 +0000 (22:26 +0200)]
Add opus_threshold to example config.
Martin Johansson [Mon, 6 May 2013 20:20:38 +0000 (22:20 +0200)]
Update README, Changelog and codename.
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.