Merge pull request #12 from gsliepen/master

Preliminary support for Windows.
Merge pull request #13 from gsliepen/master

Installer for Windows.
Merge branch 'master' of https://github.com/gsliepen/chaosvpn

-- Commit Summary --

* Don't redefine sleep() on Windows.
* Don't hardcode the configuration directory on Windows.
* Don't overwrite chaosvpn.conf when installing a new version of chaosvpn.
* Write somewhat working up/down scripts on Windows.
* Change some default paths on Windows.
Use script extension for .local scripts on windows.
Always use "#ifdef WIN32", not "#ifdef MINGW" in two single places.
Make compiling under FreeBSD easier.
FreeBSD rc.d script, untested for now.
Sync chaosvpn.conf.freebsd with chaosvpn.conf
FreeBSD needs -DBSD to disable some linuxisms...
Move the root-check after the commandline handling, to allow --help
as non-root.
Letting tinc use ipv6 as the transport protocol only creates problems for now.
Disable forwarding of broadcast packets - right now we have OSPF
traffic on the VPN creating useless traffic.
debian/changelog
From: Frank Botte <Frank.Botte@web.de>

First version of a RPM spec file.
debian/changelog: chaosvpn (2.14-0) unstable; urgency=low
Compiled Debian Wheezy and Unstable packages with hardening enabled.
debian: fixed regenerating CHANGES file
daemonize(): fix warning, output diagnostic message in case of failure

daemon.c: In function 'daemonize':
daemon.c:83:5: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result [-Wunused-result]
Updated chaosvpn.spec from Frank Botte
Added string helper to output a hexdump of a memory range.
(Mostly for debugging)