Guus Sliepen
f1fec466e2
Add a better autoconf check for libevent.
2009-09-16 23:43:19 +02:00
Guus Sliepen
075e6828a7
Merge branch 'master' into 1.1
...
Conflicts:
have.h
lib/dropin.c
lib/fake-getaddrinfo.c
lib/pidfile.c
src/Makefile.am
src/bsd/device.c
src/conf.c
src/connection.c
src/connection.h
src/graph.c
src/mingw/device.c
src/net.c
src/net_setup.c
src/node.c
src/protocol_key.c
src/protocol_misc.c
src/tincd.c
2009-09-16 19:55:47 +02:00
Guus Sliepen
fa9bedd47c
Allow compiling for Windows XP and higher.
...
This allows us to use getaddrinfo(), getnameinfo() and related functions, which
allow tinc to make connections over existing IPv6 networks. These functions are
not available on Windows 2000 however. By default, support is enabled, but when
compiling for Windows 2000 the configure switch --with-windows2000 should be
used.
Since getaddrinfo() et al. are not functions but macros on Windows, we have to
use AC_CHECK_DECLS() instead of AC_CHECK_FUNCS() in configure.in.
2009-09-15 00:24:31 +02:00
Guus Sliepen
4a5d42178c
Add support for iPhones and recent iPods.
...
This is a slightly modified patch from Grzegorz Dymarek that allows tinc to use
the tunemu device, which allows tinc to be compiled for iPhones and recent
iPods. To enable support for tunemu, the --enable-tunemu option has to be used
when running the configure script.
2009-09-10 19:32:54 +02:00
Guus Sliepen
9b394bc887
Ensure tinc compiles with gcc -std=c99.
...
We use a lot of C99 features already, but also some extensions which are not in
the standard.
2009-09-08 21:45:24 +02:00
Guus Sliepen
551cd19406
Move RSA key generation into the wrappers.
2008-12-14 12:47:26 +00:00
Guus Sliepen
8c69f42d7d
Move AC_GNU_SOURCE up to make autoconf happy.
...
Also bump libgcrypt dependency to 1.4.0, because that version supports the OFB cipher mode.
2008-12-11 14:43:13 +00:00
Guus Sliepen
65375289df
Only check for libgcrypt if --with-gcrypt is used.
2007-09-04 14:57:37 +00:00
Scott Lamb
46018a1a16
Revert to only requiring autoconf 2.59.
...
The new autoconf macros introduced at the same time (AC_GNU_SOURCE,
AC_FUNC_MALLOC, AC_FUNC_REALLOC) exist in the autoconf 2.59 documentation,
and autoconf 2.59 appears to still work. This is more convenient, as RHEL 5
ships with autoconf 2.59.
2007-07-18 16:40:29 +00:00
Guus Sliepen
1b8f891836
Finish crypto wrapping. Also provide wrappers for OpenSSL.
...
Disable libgcrypt by default. Since it doesn't support the OFB cipher mode,
we can't use it in a backwards compatible way.
2007-05-23 13:45:49 +00:00
Guus Sliepen
465837dd7f
Parse PEM RSA keys ourself, and use libgcrypt to do RSA encryption and decryption.
2007-05-20 22:28:49 +00:00
Guus Sliepen
8658659433
Show branch version number.
2007-05-18 11:35:21 +00:00
Scott Lamb
38c25d62c2
Convert to libevent.
...
This is a quick initial conversion that doesn't yet show much advantage:
- We roll our own timeouts.
- We roll our own signal handling.
- We build up the meta connection fd events on each loop rather than
on state changes.
2007-02-27 01:57:01 +00:00
Guus Sliepen
855806b2f7
Do a simple test for linux/if_tun.h instead of no test at all.
2006-12-16 16:53:58 +00:00
Guus Sliepen
0322c0883b
Remove the test for linux/if_tun.h.
...
It has been available for years on any decent Linux distribution.
Although linux/if_tun.h is now required to compile tinc,
you can still run it on systems which only support Ethertap.
2006-12-16 16:40:09 +00:00
Guus Sliepen
5219ee25a2
Use standard autoconf macros instead of our own.
2006-12-16 16:26:57 +00:00
Guus Sliepen
031e09f865
Remove unnecessary stuff from configure.in.
2006-12-15 20:43:39 +00:00
Guus Sliepen
d8fe2ecdd8
Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!
2004-11-10 23:20:59 +00:00
Guus Sliepen
804b2892a5
Hoopjumping to get the default directories in the manuals properly.
2004-11-08 22:03:28 +00:00
Guus Sliepen
dced64c5c3
Check for sys/uio.h, net/if_tun.h and net/if_tap.h
2004-11-01 17:04:28 +00:00
Guus Sliepen
2c40495747
Move all #ifdef HAVE_HEADER_H #include <header.h> to have.h,
...
this allows for simplification of configure.in.
2004-10-01 18:22:06 +00:00
Guus Sliepen
7926a156e5
Update copyrights, links, email addresses and let Subversion update $Id$ keywords.
2004-03-21 14:21:22 +00:00
Guus Sliepen
fcd836c609
Remove autogen.sh, the autoreconf program does exactly that.
...
Update everything for the latest autoconf and automake versions.
2004-01-10 23:21:36 +00:00
Guus Sliepen
1d7706a850
Update missing definitions, structs describing headers get __packed__ attribute.
2003-10-08 11:34:55 +00:00
Guus Sliepen
5900c07fab
PIDs are of type pid_t, and use %ld when reading/writing them to the pidfile.
2003-10-06 16:13:08 +00:00
Guus Sliepen
91f65c2774
Check for fchmod().
2003-08-08 22:13:50 +00:00
Guus Sliepen
863349638b
Simplify execute_script(). It will probably work under Windows as well.
2003-08-08 14:48:33 +00:00
Guus Sliepen
0c2256670f
Remove unused stuff from doc/.
...
Let configure update pathnames in documentation.
2003-08-08 14:07:12 +00:00
Guus Sliepen
7c34122af7
When compiling with MinGW, link with ws2_32.
2003-08-02 16:05:33 +00:00
Guus Sliepen
9a491a10ee
Windows has no symbolic links as we know it.
2003-08-02 15:32:57 +00:00
Guus Sliepen
1fe5663787
No easy way to properly detect header files...
2003-07-31 13:18:34 +00:00
Guus Sliepen
da3078c63a
Check if the compiler knows about the __malloc__ attribute.
2003-07-31 11:17:39 +00:00
Guus Sliepen
fcbe29bc4c
No C99 initialisers, gcc 2.95.3 doesn't like it.
...
Also make sure getopt.h is included.
2003-07-30 11:50:45 +00:00
Guus Sliepen
de223b51b9
Remove doc/es/ and src/device.c from the distribution.
2003-07-30 09:45:21 +00:00
Guus Sliepen
2ed154e731
Cleanups.
2003-07-29 23:21:01 +00:00
Guus Sliepen
4370b98bb1
Update configure scripts.
2003-07-29 11:50:39 +00:00
Guus Sliepen
0e94541331
More checks for missing functions.
2003-07-28 22:06:09 +00:00
Guus Sliepen
bad82522ec
Copy cygwin driver to mingw directory. It doesn't work (yet).
2003-07-21 15:51:00 +00:00
Guus Sliepen
2f2defc452
Check for sys/mman.h.
2003-07-21 13:18:44 +00:00
Guus Sliepen
38aa0319ef
Oops.
2003-07-18 14:09:47 +00:00
Guus Sliepen
96ee04b678
Check for ethernet/ipv4/ipv6 related structures.
2003-07-18 13:42:35 +00:00
Guus Sliepen
e449d94cae
Big header file cleanup: everything that has to do with standard system
...
libraries is moved to system.h.
2003-07-17 15:06:27 +00:00
Guus Sliepen
2a7f11c0e9
More missing IPv6 definitions and autoconf checks to make sure it compiles
...
under Solaris 2.6.
2003-07-11 16:13:00 +00:00
Guus Sliepen
30c0381d71
Provide all missing IPv6 definitions in lib/ipv6.h.
2003-07-07 11:11:33 +00:00
Guus Sliepen
0b9175e998
Define logger(), cleans up source code and allows us to write log entries
...
to a separate file.
2003-07-06 22:11:37 +00:00
Guus Sliepen
8681047030
Check for IPv6 header files.
2003-07-06 17:49:49 +00:00
Guus Sliepen
81f5713ab7
- simplify configure.in
...
- drop support for OpenSSL < 0.9.7
- add some missing definitions/includes
2003-07-06 17:15:25 +00:00
Guus Sliepen
c70f52087b
- Per-node EVP_CIPHER_CTX to avoid initialisation overhead.
...
- LZO compression, thanks to Teemu Kiviniemi.
- Updated dutch translation.
2003-05-06 21:13:18 +00:00
Guus Sliepen
1783a3aaa9
Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.
2003-01-17 00:43:58 +00:00
Guus Sliepen
5eca9520d9
Small fixes so tinc compiles out of the box on SunOS 5.8
2002-09-15 14:55:54 +00:00