umurmur.git
9 years agoCode changes requested by fmorgner
Michael J. Pounders [Thu, 4 Dec 2014 02:35:19 +0000 (21:35 -0500)]
Code changes requested by fmorgner

9 years agoLast bit of code clean up, and bug fixes. Release?
Michael J. Pounders [Sun, 30 Nov 2014 07:04:43 +0000 (02:04 -0500)]
Last bit of code clean up, and bug fixes. Release?

9 years agoremove comment from client.h file.. no need for it now
Michael J. Pounders [Wed, 26 Nov 2014 03:14:27 +0000 (22:14 -0500)]
remove comment from client.h file.. no need for it now

9 years agoremove world readable bit on shm_area. Fix cmake build
Michael J. Pounders [Wed, 26 Nov 2014 03:00:56 +0000 (22:00 -0500)]
remove world readable bit on shm_area. Fix cmake build

9 years agocommit missing config.h.in filey
Michael J. Pounders [Wed, 26 Nov 2014 01:53:58 +0000 (20:53 -0500)]
commit missing config.h.in filey

9 years agoFix a few bugs
Michael J. Pounders [Wed, 26 Nov 2014 00:33:48 +0000 (19:33 -0500)]
Fix a few bugs

9 years agoCode clean up
Michael J. Pounders [Sun, 23 Nov 2014 03:25:20 +0000 (22:25 -0500)]
Code clean up

9 years agorework Sharedmemory_update() to not use memcpy (requested by fatbob)
Michael J. Pounders [Sun, 23 Nov 2014 02:55:01 +0000 (21:55 -0500)]
rework Sharedmemory_update() to not use memcpy (requested by fatbob)

9 years agoremove umurmurd-websocket moving to own git (requested by fatbob)
Michael J. Pounders [Mon, 17 Nov 2014 04:59:10 +0000 (23:59 -0500)]
remove umurmurd-websocket moving to own git (requested by fatbob)

9 years agoSwitch over to more modern unix sharedmemory API (requested by fatbob)
Michael J. Pounders [Mon, 17 Nov 2014 04:40:59 +0000 (23:40 -0500)]
Switch over to more modern unix sharedmemory API (requested by fatbob)

9 years agoMake sharedmemory api a compile time option
Michael J. Pounders [Thu, 2 Oct 2014 02:39:26 +0000 (22:39 -0400)]
Make sharedmemory api a compile time option

9 years agoMerge branch 'sharedmemory' of github.com:snowblind/umurmur into sharedmemory
Michael J. Pounders [Sun, 28 Sep 2014 01:20:06 +0000 (21:20 -0400)]
Merge branch 'sharedmemory' of github.com:snowblind/umurmur into sharedmemory

9 years agoFix displayed idle and online time, add CHANGES files, and some code clean up
Michael J. Pounders [Sun, 28 Sep 2014 01:11:53 +0000 (21:11 -0400)]
Fix displayed idle and online time, add CHANGES files, and some code clean up

9 years agoFit README.md format errors
snowblind [Mon, 22 Sep 2014 02:40:12 +0000 (22:40 -0400)]
Fit README.md format errors

9 years agoUpdate README.md
snowblind [Mon, 22 Sep 2014 02:37:40 +0000 (22:37 -0400)]
Update README.md

9 years agoupdate
Michael J. Pounders [Mon, 22 Sep 2014 01:50:44 +0000 (21:50 -0400)]
update
shm_utils/mon-umurmurd/README.md
shm_utils/umurmurd-websocket/README.md

9 years agoInitial shm_utils commit
Michael J. Pounders [Mon, 22 Sep 2014 00:50:56 +0000 (20:50 -0400)]
Initial shm_utils commit

shm_utils/umurmurd-websocket:
SEE: shm_utils/umurmurd-websocket/README.md

shm_utils/mon-umurmurd:
SEE: shm_utils/mon-umurmurd/README.md

9 years agoRemove unused offset variable in src/ssl.h
Michael J. Pounders [Sun, 21 Sep 2014 18:38:00 +0000 (14:38 -0400)]
Remove unused offset variable in src/ssl.h

9 years agoInitial sharedmemory API release
Michael J. Pounders [Sun, 14 Sep 2014 22:51:54 +0000 (18:51 -0400)]
Initial sharedmemory API release

9 years agoUpdate Changelog and README
Martin Johansson [Fri, 8 Aug 2014 06:37:03 +0000 (08:37 +0200)]
Update Changelog and README

9 years agoUpdate to version 0.2.15
Martin Johansson [Fri, 8 Aug 2014 06:15:36 +0000 (08:15 +0200)]
Update to version 0.2.15

9 years agoUpdate to use Protobuf-C 1.0.0. This change required regenerated Mumble.pb-c.[h|c...
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.

9 years agoAdded util.c to Makefile.am
Martin Johansson [Sat, 28 Jun 2014 20:30:38 +0000 (22:30 +0200)]
Added util.c to Makefile.am

9 years agoMerge pull request #39 from fmorgner/master
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

9 years agoIPv6 dual-stack 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).

9 years agoFixed IPv4/v6 support checks
Felix Morgner [Mon, 2 Jun 2014 12:55:22 +0000 (14:55 +0200)]
Fixed IPv4/v6 support checks

9 years agoSome optimizations
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.

9 years agoMerge branch 'ipv6' of github.com:fmorgner/umurmur into ipv6
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

9 years agoHandle systems without IPv6 support correctly
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.

9 years agoHandle systems without IPv6 support correctly
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.

9 years agoMinor code cleanup
Felix Morgner [Fri, 16 May 2014 14:02:55 +0000 (16:02 +0200)]
Minor code cleanup

10 years agoCode 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

10 years agoFixed OS detection
Felix Morgner [Fri, 2 May 2014 07:23:02 +0000 (09:23 +0200)]
Fixed OS detection

10 years agoFixed banning to work for both v4 and v6
Felix Morgner [Fri, 2 May 2014 07:10:36 +0000 (09:10 +0200)]
Fixed banning to work for both v4 and v6

10 years agoFixed preprocessor defines
Felix Morgner [Thu, 1 May 2014 12:54:00 +0000 (14:54 +0200)]
Fixed preprocessor defines

10 years agoLinux vs. BSD sockaddr_storage fix
Felix Morgner [Thu, 1 May 2014 11:48:53 +0000 (13:48 +0200)]
Linux vs. BSD sockaddr_storage fix

10 years agoIndentation fixed
Felix Morgner [Thu, 1 May 2014 10:24:48 +0000 (12:24 +0200)]
Indentation fixed

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

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

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

10 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

10 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.