From 392ff555ea0d1d5f4d82c7dcfd4d3cc0888468ab Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 26 Aug 2019 13:44:36 +0200 Subject: [PATCH] Import Upstream version 1.0.4 --- ChangeLog | 2352 ++++++++++++++++++++------------------ INSTALL | 61 +- Makefile.in | 53 +- NEWS | 6 + README | 6 +- aclocal.m4 | 541 ++++----- config.guess | 36 +- config.sub | 39 +- configure | 68 +- configure.in | 2 +- depcomp | 65 +- doc/Makefile.in | 43 +- doc/sample-config.tar.gz | Bin 1236 -> 1236 bytes doc/texinfo.tex | 442 ++++--- doc/tinc.conf.5.in | 8 + doc/tinc.info | 93 +- doc/tinc.texi | 23 +- have.h | 4 +- install-sh | 102 +- lib/Makefile.in | 23 +- lib/avl_tree.c | 8 +- lib/avl_tree.h | 8 +- lib/dropin.c | 6 +- lib/dropin.h | 6 +- lib/ethernet.h | 6 +- lib/ipv4.h | 6 +- lib/ipv6.h | 6 +- lib/list.c | 6 +- lib/list.h | 6 +- lib/utils.c | 4 +- lib/utils.h | 4 +- m4/Makefile.in | 9 +- missing | 85 +- mkinstalldirs | 6 +- po/nl.gmo | Bin 31933 -> 32068 bytes po/nl.po | 107 +- po/tinc.pot | 105 +- src/Makefile.in | 32 +- src/bsd/device.c | 4 +- src/conf.c | 10 +- src/conf.h | 10 +- src/connection.c | 8 +- src/connection.h | 6 +- src/cygwin/device.c | 6 +- src/device.h | 6 +- src/edge.c | 6 +- src/edge.h | 6 +- src/event.c | 6 +- src/event.h | 6 +- src/graph.c | 132 +-- src/graph.h | 6 +- src/linux/device.c | 6 +- src/logger.c | 6 +- src/meta.c | 6 +- src/meta.h | 6 +- src/mingw/device.c | 6 +- src/net.c | 6 +- src/net.h | 6 +- src/net_packet.c | 12 +- src/net_setup.c | 14 +- src/net_socket.c | 10 +- src/netutl.c | 6 +- src/netutl.h | 6 +- src/node.c | 8 +- src/node.h | 6 +- src/process.c | 22 +- src/process.h | 6 +- src/protocol.c | 6 +- src/protocol.h | 6 +- src/protocol_auth.c | 11 +- src/protocol_edge.c | 6 +- src/protocol_key.c | 6 +- src/protocol_misc.c | 6 +- src/protocol_subnet.c | 12 +- src/raw_socket/device.c | 6 +- src/route.c | 6 +- src/route.h | 6 +- src/solaris/device.c | 6 +- src/subnet.c | 59 +- src/subnet.h | 7 +- src/tincd.c | 8 +- src/uml_socket/device.c | 4 +- system.h | 4 +- 83 files changed, 2580 insertions(+), 2300 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f5eca2..3aa3584 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,1235 +1,1317 @@ ------------------------------------------------------------------------ -r1418 | guus | 2004-11-11 12:17:04 +0100 (Thu, 11 Nov 2004) | 2 lines +r1437 | guus | 2005-05-04 17:56:25 +0200 (wo, 04 mei 2005) | 2 lines + +Several splay tree fixes. + +------------------------------------------------------------------------ +r1436 | guus | 2005-05-04 17:52:55 +0200 (wo, 04 mei 2005) | 2 lines + +Searching through splay trees may change the tree variable. + +------------------------------------------------------------------------ +r1435 | guus | 2005-05-04 17:51:45 +0200 (wo, 04 mei 2005) | 2 lines + +Be on the safe side with initialisation of c->name. + +------------------------------------------------------------------------ +r1434 | guus | 2005-04-06 22:43:37 +0200 (wo, 06 apr 2005) | 2 lines + +Remove unused (and potentially segfaulting) net2str() call. + +------------------------------------------------------------------------ +r1433 | guus | 2005-01-20 16:14:25 +0100 (do, 20 jan 2005) | 2 lines + +Don't try to add a non-existing node back to the node_udp_tree. + +------------------------------------------------------------------------ +r1429 | guus | 2005-01-04 23:19:56 +0100 (di, 04 jan 2005) | 2 lines + +Nodes should only be in the node_udp_tree if they are reachable. + +------------------------------------------------------------------------ +r1428 | guus | 2005-01-04 23:18:58 +0100 (di, 04 jan 2005) | 2 lines + +Correct size argument for strncat(). + +------------------------------------------------------------------------ +r1427 | guus | 2004-12-03 14:27:33 +0100 (vr, 03 dec 2004) | 2 lines + +Use the proper free function. + +------------------------------------------------------------------------ +r1426 | guus | 2004-12-03 14:22:18 +0100 (vr, 03 dec 2004) | 2 lines + +Free memory used by connection_t after it is deleted from the connection tree. + +------------------------------------------------------------------------ +r1425 | guus | 2004-12-01 22:26:51 +0100 (wo, 01 dec 2004) | 2 lines + +Small fix. + +------------------------------------------------------------------------ +r1424 | guus | 2004-12-01 21:06:39 +0100 (wo, 01 dec 2004) | 2 lines + +subnet-up/down hooks, use list_t for the todo list. + +------------------------------------------------------------------------ +r1423 | guus | 2004-12-01 21:06:05 +0100 (wo, 01 dec 2004) | 2 lines + +subnet-up/down hooks + +------------------------------------------------------------------------ +r1422 | guus | 2004-11-18 21:34:48 +0100 (do, 18 nov 2004) | 2 lines + +Fix splay tree code. + +------------------------------------------------------------------------ +r1421 | guus | 2004-11-16 20:02:54 +0100 (di, 16 nov 2004) | 2 lines + +Make sure broadcast packet reach the local network interface. + +------------------------------------------------------------------------ +r1420 | guus | 2004-11-11 20:42:25 +0100 (do, 11 nov 2004) | 2 lines + +Releasing 1.0.3. + +------------------------------------------------------------------------ +r1419 | guus | 2004-11-11 20:39:28 +0100 (do, 11 nov 2004) | 4 lines + +Add more people who have contributed to tinc. +Remove details and sort on name; +the details were not always equally accurate and are hard to maintain. + +------------------------------------------------------------------------ +r1418 | guus | 2004-11-11 12:17:04 +0100 (do, 11 nov 2004) | 2 lines Short readme about how to compile tinc from a Subversion checkout. ------------------------------------------------------------------------ -r1417 | guus | 2004-11-11 00:28:32 +0100 (Thu, 11 Nov 2004) | 2 lines +r1417 | guus | 2004-11-11 00:28:32 +0100 (do, 11 nov 2004) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r1416 | guus | 2004-11-11 00:21:41 +0100 (Thu, 11 Nov 2004) | 2 lines +r1416 | guus | 2004-11-11 00:21:41 +0100 (do, 11 nov 2004) | 2 lines Remove duplication. ------------------------------------------------------------------------ -r1415 | guus | 2004-11-11 00:20:59 +0100 (Thu, 11 Nov 2004) | 2 lines +r1415 | guus | 2004-11-11 00:20:59 +0100 (do, 11 nov 2004) | 2 lines Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device! ------------------------------------------------------------------------ -r1414 | guus | 2004-11-10 22:57:04 +0100 (Wed, 10 Nov 2004) | 2 lines +r1414 | guus | 2004-11-10 22:57:04 +0100 (wo, 10 nov 2004) | 2 lines Update documentation. ------------------------------------------------------------------------ -r1413 | guus | 2004-11-10 22:56:31 +0100 (Wed, 10 Nov 2004) | 2 lines +r1413 | guus | 2004-11-10 22:56:31 +0100 (wo, 10 nov 2004) | 2 lines Add BlockingTCP option, useful when using TCPOnly on slow or congested links. ------------------------------------------------------------------------ -r1412 | guus | 2004-11-10 22:14:08 +0100 (Wed, 10 Nov 2004) | 2 lines +r1412 | guus | 2004-11-10 22:14:08 +0100 (wo, 10 nov 2004) | 2 lines Support tunneling IPv6 on Solaris. ------------------------------------------------------------------------ -r1411 | guus | 2004-11-10 20:36:02 +0100 (Wed, 10 Nov 2004) | 2 lines +r1411 | guus | 2004-11-10 20:36:02 +0100 (wo, 10 nov 2004) | 2 lines Let compiler decide when to inline. ------------------------------------------------------------------------ -r1410 | guus | 2004-11-10 20:34:38 +0100 (Wed, 10 Nov 2004) | 2 lines +r1410 | guus | 2004-11-10 20:34:38 +0100 (wo, 10 nov 2004) | 2 lines Fix order of arguments for tar. ------------------------------------------------------------------------ -r1409 | guus | 2004-11-10 19:11:44 +0100 (Wed, 10 Nov 2004) | 2 lines +r1409 | guus | 2004-11-10 19:11:44 +0100 (wo, 10 nov 2004) | 2 lines Use the generic BSD tun/tap code. ------------------------------------------------------------------------ -r1408 | guus | 2004-11-10 19:10:59 +0100 (Wed, 10 Nov 2004) | 2 lines +r1408 | guus | 2004-11-10 19:10:59 +0100 (wo, 10 nov 2004) | 2 lines Missing check for NULL-pointer. ------------------------------------------------------------------------ -r1407 | guus | 2004-11-09 10:51:35 +0100 (Tue, 09 Nov 2004) | 2 lines +r1407 | guus | 2004-11-09 10:51:35 +0100 (di, 09 nov 2004) | 2 lines Hopefully this really fixes late packet handling. ------------------------------------------------------------------------ -r1406 | guus | 2004-11-08 23:30:13 +0100 (Mon, 08 Nov 2004) | 2 lines +r1406 | guus | 2004-11-08 23:30:13 +0100 (ma, 08 nov 2004) | 2 lines Fixed another bug in late packet handling. ------------------------------------------------------------------------ -r1405 | guus | 2004-11-08 23:11:33 +0100 (Mon, 08 Nov 2004) | 2 lines +r1405 | guus | 2004-11-08 23:11:33 +0100 (ma, 08 nov 2004) | 2 lines Update to make it compile again. ------------------------------------------------------------------------ -r1404 | guus | 2004-11-08 23:03:28 +0100 (Mon, 08 Nov 2004) | 2 lines +r1404 | guus | 2004-11-08 23:03:28 +0100 (ma, 08 nov 2004) | 2 lines Hoopjumping to get the default directories in the manuals properly. ------------------------------------------------------------------------ -r1403 | guus | 2004-11-02 21:50:53 +0100 (Tue, 02 Nov 2004) | 2 lines +r1403 | guus | 2004-11-02 21:50:53 +0100 (di, 02 nov 2004) | 2 lines Splay trees. ------------------------------------------------------------------------ -r1402 | guus | 2004-11-01 18:05:09 +0100 (Mon, 01 Nov 2004) | 2 lines +r1402 | guus | 2004-11-01 18:05:09 +0100 (ma, 01 nov 2004) | 2 lines Don't include .svn directory in sample configuration. ------------------------------------------------------------------------ -r1401 | guus | 2004-11-01 18:04:28 +0100 (Mon, 01 Nov 2004) | 2 lines +r1401 | guus | 2004-11-01 18:04:28 +0100 (ma, 01 nov 2004) | 2 lines Check for sys/uio.h, net/if_tun.h and net/if_tap.h ------------------------------------------------------------------------ -r1400 | guus | 2004-11-01 18:02:19 +0100 (Mon, 01 Nov 2004) | 2 lines +r1400 | guus | 2004-11-01 18:02:19 +0100 (ma, 01 nov 2004) | 2 lines static ------------------------------------------------------------------------ -r1399 | guus | 2004-11-01 18:01:56 +0100 (Mon, 01 Nov 2004) | 2 lines +r1399 | guus | 2004-11-01 18:01:56 +0100 (ma, 01 nov 2004) | 2 lines Generic device driver for *BSD and MacOS/X ------------------------------------------------------------------------ -r1398 | guus | 2004-11-01 16:18:53 +0100 (Mon, 01 Nov 2004) | 2 lines +r1398 | guus | 2004-11-01 16:18:53 +0100 (ma, 01 nov 2004) | 2 lines Support alternative tun/tap driver from http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ ------------------------------------------------------------------------ -r1397 | guus | 2004-11-01 16:18:22 +0100 (Mon, 01 Nov 2004) | 2 lines +r1397 | guus | 2004-11-01 16:18:22 +0100 (ma, 01 nov 2004) | 2 lines Don't let tinc service depend on NDIS component. ------------------------------------------------------------------------ -r1396 | guus | 2004-11-01 16:16:12 +0100 (Mon, 01 Nov 2004) | 2 lines +r1396 | guus | 2004-11-01 16:16:12 +0100 (ma, 01 nov 2004) | 2 lines Correct return value. ------------------------------------------------------------------------ -r1395 | guus | 2004-10-01 20:26:15 +0200 (Fri, 01 Oct 2004) | 2 lines +r1395 | guus | 2004-10-01 20:26:15 +0200 (vr, 01 okt 2004) | 2 lines Allow tinc to work with the latest TAP-Win32 driver. ------------------------------------------------------------------------ -r1394 | guus | 2004-10-01 20:24:41 +0200 (Fri, 01 Oct 2004) | 2 lines +r1394 | guus | 2004-10-01 20:24:41 +0200 (vr, 01 okt 2004) | 2 lines strndupa() is too arcane for some environments. ------------------------------------------------------------------------ -r1393 | guus | 2004-10-01 20:23:08 +0200 (Fri, 01 Oct 2004) | 2 lines +r1393 | guus | 2004-10-01 20:23:08 +0200 (vr, 01 okt 2004) | 2 lines Fix several #includes. ------------------------------------------------------------------------ -r1392 | guus | 2004-10-01 20:22:06 +0200 (Fri, 01 Oct 2004) | 3 lines +r1392 | guus | 2004-10-01 20:22:06 +0200 (vr, 01 okt 2004) | 3 lines Move all #ifdef HAVE_HEADER_H #include to have.h, this allows for simplification of configure.in. ------------------------------------------------------------------------ -r1391 | guus | 2004-09-20 22:56:14 +0200 (Mon, 20 Sep 2004) | 2 lines +r1391 | guus | 2004-09-20 22:56:14 +0200 (ma, 20 sep 2004) | 2 lines Remove duplicate #include "system.h" ------------------------------------------------------------------------ -r1390 | guus | 2004-09-20 22:55:49 +0200 (Mon, 20 Sep 2004) | 2 lines +r1390 | guus | 2004-09-20 22:55:49 +0200 (ma, 20 sep 2004) | 2 lines Marking potential late packets was in the wrong place. ------------------------------------------------------------------------ -r1389 | guus | 2004-07-17 14:04:30 +0200 (Sat, 17 Jul 2004) | 2 lines +r1389 | guus | 2004-07-17 14:04:30 +0200 (za, 17 jul 2004) | 2 lines Don't set $INTERFACE automatically, don't quit on EINTR/EAGAIN. ------------------------------------------------------------------------ -r1388 | guus | 2004-07-17 02:09:14 +0200 (Sat, 17 Jul 2004) | 3 lines +r1388 | guus | 2004-07-17 02:09:14 +0200 (za, 17 jul 2004) | 3 lines Added UML network socket handling. Now you can use tinc instead of uml_switch. ------------------------------------------------------------------------ -r1387 | guus | 2004-06-21 16:37:52 +0200 (Mon, 21 Jun 2004) | 2 lines +r1387 | guus | 2004-06-21 16:37:52 +0200 (ma, 21 jun 2004) | 2 lines Handle timeouts during connecting the same way as other errors. ------------------------------------------------------------------------ -r1386 | guus | 2004-06-14 16:32:10 +0200 (Mon, 14 Jun 2004) | 2 lines +r1386 | guus | 2004-06-14 16:32:10 +0200 (ma, 14 jun 2004) | 2 lines Clean up environment after executing scripts. ------------------------------------------------------------------------ -r1382 | guus | 2004-04-15 16:09:56 +0200 (Thu, 15 Apr 2004) | 2 lines +r1382 | guus | 2004-04-15 16:09:56 +0200 (do, 15 apr 2004) | 2 lines Increase MTU by 4 bytes to allow VLAN tagged Ethernet frames in hub and switch mode. ------------------------------------------------------------------------ -r1374 | guus | 2004-03-21 15:21:22 +0100 (Sun, 21 Mar 2004) | 2 lines +r1374 | guus | 2004-03-21 15:21:22 +0100 (zo, 21 mrt 2004) | 2 lines Update copyrights, links, email addresses and let Subversion update $Id$ keywords. ------------------------------------------------------------------------ -r1373 | guus | 2004-03-21 14:22:24 +0100 (Sun, 21 Mar 2004) | 2 lines +r1373 | guus | 2004-03-21 14:22:24 +0100 (zo, 21 mrt 2004) | 2 lines Move CABAL branch to its rightful place: the trunk. ------------------------------------------------------------------------ -r1371 | guus | 2004-03-20 23:23:42 +0100 (Sat, 20 Mar 2004) | 2 lines +r1371 | guus | 2004-03-20 23:23:42 +0100 (za, 20 mrt 2004) | 2 lines Revert Martin Kihlgren's patch, it doesn't work the way it should. ------------------------------------------------------------------------ -r1370 | guus | 2004-03-20 16:40:26 +0100 (Sat, 20 Mar 2004) | 2 lines +r1370 | guus | 2004-03-20 16:40:26 +0100 (za, 20 mrt 2004) | 2 lines Use Subversion to create ChangeLog, better svn-clean rule. ------------------------------------------------------------------------ -r1369 | guus | 2004-03-20 16:33:07 +0100 (Sat, 20 Mar 2004) | 2 lines +r1369 | guus | 2004-03-20 16:33:07 +0100 (za, 20 mrt 2004) | 2 lines Fix declaration of update_node_address(). ------------------------------------------------------------------------ -r1368 | guus | 2004-03-20 16:28:55 +0100 (Sat, 20 Mar 2004) | 3 lines +r1368 | guus | 2004-03-20 16:28:55 +0100 (za, 20 mrt 2004) | 3 lines Applied Martin Kihlgren's IdentityGenerosity patch, simplified and renamed to StrictSource. ------------------------------------------------------------------------ -r1365 | guus | 2004-03-15 20:09:52 +0100 (Mon, 15 Mar 2004) | 2 lines +r1365 | guus | 2004-03-15 20:09:52 +0100 (ma, 15 mrt 2004) | 2 lines Even better svn-clean command. ------------------------------------------------------------------------ -r1362 | guus | 2004-03-15 19:36:14 +0100 (Mon, 15 Mar 2004) | 2 lines +r1362 | guus | 2004-03-15 19:36:14 +0100 (ma, 15 mrt 2004) | 2 lines Updating dutch translation. ------------------------------------------------------------------------ -r1361 | guus | 2004-03-15 19:15:02 +0100 (Mon, 15 Mar 2004) | 2 lines +r1361 | guus | 2004-03-15 19:15:02 +0100 (ma, 15 mrt 2004) | 2 lines Only read our public key if it wasn't already in the private key file. ------------------------------------------------------------------------ -r1360 | guus | 2004-03-15 19:05:41 +0100 (Mon, 15 Mar 2004) | 2 lines +r1360 | guus | 2004-03-15 19:05:41 +0100 (ma, 15 mrt 2004) | 2 lines Eat trailing whitespace in config files. ------------------------------------------------------------------------ -r1359 | guus | 2004-03-15 18:54:19 +0100 (Mon, 15 Mar 2004) | 2 lines +r1359 | guus | 2004-03-15 18:54:19 +0100 (ma, 15 mrt 2004) | 2 lines Remove CVS related cruft. ------------------------------------------------------------------------ -r1358 | guus | 2004-03-15 18:53:17 +0100 (Mon, 15 Mar 2004) | 2 lines +r1358 | guus | 2004-03-15 18:53:17 +0100 (ma, 15 mrt 2004) | 2 lines Replace cvs-clean with a much better svn-clean. ------------------------------------------------------------------------ -r1352 | guus | 2004-01-11 00:21:36 +0100 (Sun, 11 Jan 2004) | 3 lines +r1352 | guus | 2004-01-11 00:21:36 +0100 (zo, 11 jan 2004) | 3 lines Remove autogen.sh, the autoreconf program does exactly that. Update everything for the latest autoconf and automake versions. ------------------------------------------------------------------------ -r1351 | guus | 2004-01-11 00:19:20 +0100 (Sun, 11 Jan 2004) | 2 lines +r1351 | guus | 2004-01-11 00:19:20 +0100 (zo, 11 jan 2004) | 2 lines Small updates. ------------------------------------------------------------------------ -r1350 | guus | 2003-12-27 17:32:52 +0100 (Sat, 27 Dec 2003) | 2 lines +r1350 | guus | 2003-12-27 17:32:52 +0100 (za, 27 dec 2003) | 2 lines Don't forget to update destination MAC address. ------------------------------------------------------------------------ -r1349 | guus | 2003-12-24 11:48:15 +0100 (Wed, 24 Dec 2003) | 2 lines +r1349 | guus | 2003-12-24 11:48:15 +0100 (wo, 24 dec 2003) | 2 lines Small fixes for PMTU discovery. ------------------------------------------------------------------------ -r1348 | guus | 2003-12-22 12:05:23 +0100 (Mon, 22 Dec 2003) | 2 lines +r1348 | guus | 2003-12-22 12:05:23 +0100 (ma, 22 dec 2003) | 2 lines Missing definitions. ------------------------------------------------------------------------ -r1347 | guus | 2003-12-22 12:04:17 +0100 (Mon, 22 Dec 2003) | 2 lines +r1347 | guus | 2003-12-22 12:04:17 +0100 (ma, 22 dec 2003) | 2 lines Improvements for PMTU discovery and IPv4 packet fragmentation. ------------------------------------------------------------------------ -r1346 | guus | 2003-12-20 22:25:17 +0100 (Sat, 20 Dec 2003) | 2 lines +r1346 | guus | 2003-12-20 22:25:17 +0100 (za, 20 dec 2003) | 2 lines Better name, show probed MTU in dump. ------------------------------------------------------------------------ -r1345 | guus | 2003-12-20 22:20:10 +0100 (Sat, 20 Dec 2003) | 2 lines +r1345 | guus | 2003-12-20 22:20:10 +0100 (za, 20 dec 2003) | 2 lines Describe the TunnelServer and PMTUDiscovery options. ------------------------------------------------------------------------ -r1344 | guus | 2003-12-20 22:09:33 +0100 (Sat, 20 Dec 2003) | 2 lines +r1344 | guus | 2003-12-20 22:09:33 +0100 (za, 20 dec 2003) | 2 lines More sensible name, and try to set PMTU discovery on IPv6 sockets as well. ------------------------------------------------------------------------ -r1343 | guus | 2003-12-20 20:47:53 +0100 (Sat, 20 Dec 2003) | 2 lines +r1343 | guus | 2003-12-20 20:47:53 +0100 (za, 20 dec 2003) | 2 lines Let tinc figure out the exact MTU of the link. ------------------------------------------------------------------------ -r1342 | guus | 2003-12-13 22:50:26 +0100 (Sat, 13 Dec 2003) | 2 lines +r1342 | guus | 2003-12-13 22:50:26 +0100 (za, 13 dec 2003) | 2 lines Forget multicast. Always inline some function. ------------------------------------------------------------------------ -r1341 | guus | 2003-12-12 20:52:25 +0100 (Fri, 12 Dec 2003) | 2 lines +r1341 | guus | 2003-12-12 20:52:25 +0100 (vr, 12 dec 2003) | 2 lines Code beautification, start of multicast support. ------------------------------------------------------------------------ -r1340 | guus | 2003-12-08 13:00:40 +0100 (Mon, 08 Dec 2003) | 2 lines +r1340 | guus | 2003-12-08 13:00:40 +0100 (ma, 08 dec 2003) | 2 lines Fix proxy-neighborsolicitation. ------------------------------------------------------------------------ -r1339 | guus | 2003-12-07 15:31:09 +0100 (Sun, 07 Dec 2003) | 2 lines +r1339 | guus | 2003-12-07 15:31:09 +0100 (zo, 07 dec 2003) | 2 lines Don't retry if configuration is wrong from the beginning. ------------------------------------------------------------------------ -r1338 | guus | 2003-12-07 15:29:02 +0100 (Sun, 07 Dec 2003) | 2 lines +r1338 | guus | 2003-12-07 15:29:02 +0100 (zo, 07 dec 2003) | 2 lines Missing space between words. ------------------------------------------------------------------------ -r1337 | guus | 2003-12-07 15:28:39 +0100 (Sun, 07 Dec 2003) | 2 lines +r1337 | guus | 2003-12-07 15:28:39 +0100 (zo, 07 dec 2003) | 2 lines Read MaxTimeout from tinc.conf like the manpage says. ------------------------------------------------------------------------ -r1336 | guus | 2003-11-28 00:24:59 +0100 (Fri, 28 Nov 2003) | 2 lines +r1336 | guus | 2003-11-28 00:24:59 +0100 (vr, 28 nov 2003) | 2 lines Complain if pid file cannot be created. ------------------------------------------------------------------------ -r1335 | guus | 2003-11-17 16:30:18 +0100 (Mon, 17 Nov 2003) | 2 lines +r1335 | guus | 2003-11-17 16:30:18 +0100 (ma, 17 nov 2003) | 2 lines Replace Opaque and Strict options with a TunnelServer option. ------------------------------------------------------------------------ -r1334 | guus | 2003-11-10 23:31:53 +0100 (Mon, 10 Nov 2003) | 2 lines +r1334 | guus | 2003-11-10 23:31:53 +0100 (ma, 10 nov 2003) | 2 lines Add Opaque option which prevent information from being forwarded to certain nodes. ------------------------------------------------------------------------ -r1332 | guus | 2003-11-08 16:29:40 +0100 (Sat, 08 Nov 2003) | 2 lines +r1332 | guus | 2003-11-08 16:29:40 +0100 (za, 08 nov 2003) | 2 lines Release notes for 1.0.2 ------------------------------------------------------------------------ -r1331 | guus | 2003-11-08 16:09:03 +0100 (Sat, 08 Nov 2003) | 2 lines +r1331 | guus | 2003-11-08 16:09:03 +0100 (za, 08 nov 2003) | 2 lines Add missing definitions. ------------------------------------------------------------------------ -r1330 | guus | 2003-11-08 13:56:24 +0100 (Sat, 08 Nov 2003) | 2 lines +r1330 | guus | 2003-11-08 13:56:24 +0100 (za, 08 nov 2003) | 2 lines Update dutch translation. ------------------------------------------------------------------------ -r1329 | guus | 2003-10-12 13:40:00 +0200 (Sun, 12 Oct 2003) | 2 lines +r1329 | guus | 2003-10-12 13:40:00 +0200 (zo, 12 okt 2003) | 2 lines Fix another bug in meta.c. ------------------------------------------------------------------------ -r1328 | guus | 2003-10-11 16:42:30 +0200 (Sat, 11 Oct 2003) | 2 lines +r1328 | guus | 2003-10-11 16:42:30 +0200 (za, 11 okt 2003) | 2 lines Small fixes in documentation. ------------------------------------------------------------------------ -r1327 | guus | 2003-10-11 16:18:52 +0200 (Sat, 11 Oct 2003) | 3 lines +r1327 | guus | 2003-10-11 16:18:52 +0200 (za, 11 okt 2003) | 3 lines Fix bug that could lead to an assertion failure in libcrypto when multiple requests arrive and TCP packets are heavily fragmented. ------------------------------------------------------------------------ -r1326 | guus | 2003-10-11 14:28:48 +0200 (Sat, 11 Oct 2003) | 2 lines +r1326 | guus | 2003-10-11 14:28:48 +0200 (za, 11 okt 2003) | 2 lines Parentheses in the wrong spots. ------------------------------------------------------------------------ -r1325 | guus | 2003-10-11 14:16:13 +0200 (Sat, 11 Oct 2003) | 2 lines +r1325 | guus | 2003-10-11 14:16:13 +0200 (za, 11 okt 2003) | 2 lines Check all EVP_ function calls. ------------------------------------------------------------------------ -r1324 | guus | 2003-10-10 18:24:24 +0200 (Fri, 10 Oct 2003) | 3 lines +r1324 | guus | 2003-10-10 18:24:24 +0200 (vr, 10 okt 2003) | 3 lines Check return value of EVP_* functions, and check if length before en/decryption matches that after in meta.c. ------------------------------------------------------------------------ -r1323 | guus | 2003-10-10 18:23:30 +0200 (Fri, 10 Oct 2003) | 2 lines +r1323 | guus | 2003-10-10 18:23:30 +0200 (vr, 10 okt 2003) | 2 lines Fix ASCII art. ------------------------------------------------------------------------ -r1322 | guus | 2003-10-09 23:33:15 +0200 (Thu, 09 Oct 2003) | 2 lines +r1322 | guus | 2003-10-09 23:33:15 +0200 (do, 09 okt 2003) | 2 lines Update documentation. ------------------------------------------------------------------------ -r1321 | guus | 2003-10-08 14:09:37 +0200 (Wed, 08 Oct 2003) | 2 lines +r1321 | guus | 2003-10-08 14:09:37 +0200 (wo, 08 okt 2003) | 2 lines Some platforms don't know sa_family_t or define it other than uint16_t. ------------------------------------------------------------------------ -r1320 | guus | 2003-10-08 13:37:53 +0200 (Wed, 08 Oct 2003) | 2 lines +r1320 | guus | 2003-10-08 13:37:53 +0200 (wo, 08 okt 2003) | 2 lines Set media status for newer TAP-Win32 driver. ------------------------------------------------------------------------ -r1319 | guus | 2003-10-08 13:37:20 +0200 (Wed, 08 Oct 2003) | 2 lines +r1319 | guus | 2003-10-08 13:37:20 +0200 (wo, 08 okt 2003) | 2 lines Missing declaration. ------------------------------------------------------------------------ -r1318 | guus | 2003-10-08 13:34:55 +0200 (Wed, 08 Oct 2003) | 2 lines +r1318 | guus | 2003-10-08 13:34:55 +0200 (wo, 08 okt 2003) | 2 lines Update missing definitions, structs describing headers get __packed__ attribute. ------------------------------------------------------------------------ -r1317 | guus | 2003-10-08 13:33:54 +0200 (Wed, 08 Oct 2003) | 2 lines +r1317 | guus | 2003-10-08 13:33:54 +0200 (wo, 08 okt 2003) | 2 lines Forgot to #include "xalloc.h" ------------------------------------------------------------------------ -r1316 | guus | 2003-10-06 18:49:42 +0200 (Mon, 06 Oct 2003) | 2 lines +r1316 | guus | 2003-10-06 18:49:42 +0200 (ma, 06 okt 2003) | 2 lines Make sure type of AF_UNKNOWN is sa_family_t. ------------------------------------------------------------------------ -r1315 | guus | 2003-10-06 18:13:08 +0200 (Mon, 06 Oct 2003) | 2 lines +r1315 | guus | 2003-10-06 18:13:08 +0200 (ma, 06 okt 2003) | 2 lines PIDs are of type pid_t, and use %ld when reading/writing them to the pidfile. ------------------------------------------------------------------------ -r1314 | guus | 2003-10-06 18:05:30 +0200 (Mon, 06 Oct 2003) | 2 lines +r1314 | guus | 2003-10-06 18:05:30 +0200 (ma, 06 okt 2003) | 2 lines Use CPPFLAGS, LDFLAGS and LIBS as appropiate. ------------------------------------------------------------------------ -r1313 | guus | 2003-10-06 16:41:45 +0200 (Mon, 06 Oct 2003) | 2 lines +r1313 | guus | 2003-10-06 16:41:45 +0200 (ma, 06 okt 2003) | 2 lines Don't confuse users with "Address family not supported" warnings. ------------------------------------------------------------------------ -r1312 | guus | 2003-10-06 16:33:04 +0200 (Mon, 06 Oct 2003) | 2 lines +r1312 | guus | 2003-10-06 16:33:04 +0200 (ma, 06 okt 2003) | 2 lines Unused variable in struct. ------------------------------------------------------------------------ -r1311 | guus | 2003-10-06 16:16:51 +0200 (Mon, 06 Oct 2003) | 2 lines +r1311 | guus | 2003-10-06 16:16:51 +0200 (ma, 06 okt 2003) | 2 lines Ethernet protocol types. ------------------------------------------------------------------------ -r1310 | guus | 2003-10-06 15:57:12 +0200 (Mon, 06 Oct 2003) | 2 lines +r1310 | guus | 2003-10-06 15:57:12 +0200 (ma, 06 okt 2003) | 2 lines const ------------------------------------------------------------------------ -r1309 | guus | 2003-10-06 15:49:57 +0200 (Mon, 06 Oct 2003) | 3 lines +r1309 | guus | 2003-10-06 15:49:57 +0200 (ma, 06 okt 2003) | 3 lines Copy structs from packets to the stack before using them, to prevent alignment issues. ------------------------------------------------------------------------ -r1307 | guus | 2003-10-01 11:14:01 +0200 (Wed, 01 Oct 2003) | 2 lines +r1307 | guus | 2003-10-01 11:14:01 +0200 (wo, 01 okt 2003) | 2 lines Better length checks. ------------------------------------------------------------------------ -r1306 | guus | 2003-09-25 12:34:16 +0200 (Thu, 25 Sep 2003) | 3 lines +r1306 | guus | 2003-09-25 12:34:16 +0200 (do, 25 sep 2003) | 3 lines Generate keys with 0x10001 as public exponent, which has less prime factors than 0xFFFF. ------------------------------------------------------------------------ -r1305 | guus | 2003-09-23 22:59:01 +0200 (Tue, 23 Sep 2003) | 2 lines +r1305 | guus | 2003-09-23 22:59:01 +0200 (di, 23 sep 2003) | 2 lines Check for short packets from the tun/tap device and from other tinc daemons. ------------------------------------------------------------------------ -r1304 | guus | 2003-09-09 17:47:59 +0200 (Tue, 09 Sep 2003) | 2 lines +r1304 | guus | 2003-09-09 17:47:59 +0200 (di, 09 sep 2003) | 2 lines Update translations. ------------------------------------------------------------------------ -r1303 | guus | 2003-09-08 23:52:47 +0200 (Mon, 08 Sep 2003) | 2 lines +r1303 | guus | 2003-09-08 23:52:47 +0200 (ma, 08 sep 2003) | 2 lines Remove pidfile when exitting. ------------------------------------------------------------------------ -r1302 | guus | 2003-09-03 18:20:33 +0200 (Wed, 03 Sep 2003) | 2 lines +r1302 | guus | 2003-09-03 18:20:33 +0200 (wo, 03 sep 2003) | 2 lines Prevent multiple inclusions. ------------------------------------------------------------------------ -r1301 | guus | 2003-08-28 23:05:11 +0200 (Thu, 28 Aug 2003) | 2 lines +r1301 | guus | 2003-08-28 23:05:11 +0200 (do, 28 aug 2003) | 2 lines We don't have to tell GCC how to cast. ------------------------------------------------------------------------ -r1300 | guus | 2003-08-28 17:27:12 +0200 (Thu, 28 Aug 2003) | 3 lines +r1300 | guus | 2003-08-28 17:27:12 +0200 (do, 28 aug 2003) | 3 lines Remove old edges from unreachable nodes to us. This prevents the hosts/NAME-up script from being called twice in some situations. ------------------------------------------------------------------------ -r1294 | guus | 2003-08-22 23:32:45 +0200 (Fri, 22 Aug 2003) | 2 lines +r1294 | guus | 2003-08-22 23:32:45 +0200 (vr, 22 aug 2003) | 2 lines Add license exception from Markus Oberhumer. ------------------------------------------------------------------------ -r1293 | guus | 2003-08-22 17:07:57 +0200 (Fri, 22 Aug 2003) | 2 lines +r1293 | guus | 2003-08-22 17:07:57 +0200 (vr, 22 aug 2003) | 2 lines Remove debug message. ------------------------------------------------------------------------ -r1292 | guus | 2003-08-22 17:04:26 +0200 (Fri, 22 Aug 2003) | 2 lines +r1292 | guus | 2003-08-22 17:04:26 +0200 (vr, 22 aug 2003) | 2 lines When purging nodes, only delete them if nobody references them anymore. ------------------------------------------------------------------------ -r1291 | guus | 2003-08-22 17:03:59 +0200 (Fri, 22 Aug 2003) | 2 lines +r1291 | guus | 2003-08-22 17:03:59 +0200 (vr, 22 aug 2003) | 2 lines Add checkpoints. ------------------------------------------------------------------------ -r1290 | guus | 2003-08-22 17:05:01 +0200 (Fri, 22 Aug 2003) | 2 lines +r1290 | guus | 2003-08-22 17:05:01 +0200 (vr, 22 aug 2003) | 2 lines Don't overwrite the first " when installing a service. ------------------------------------------------------------------------ -r1289 | guus | 2003-08-22 13:18:42 +0200 (Fri, 22 Aug 2003) | 2 lines +r1289 | guus | 2003-08-22 13:18:42 +0200 (vr, 22 aug 2003) | 2 lines Allow tinc to handle unknown type addresses from other tinc daemons. ------------------------------------------------------------------------ -r1288 | guus | 2003-08-17 14:05:08 +0200 (Sun, 17 Aug 2003) | 2 lines +r1288 | guus | 2003-08-17 14:05:08 +0200 (zo, 17 aug 2003) | 2 lines If we're not in main_loop() and the service is stopped, exit immediately. ------------------------------------------------------------------------ -r1287 | guus | 2003-08-17 14:04:35 +0200 (Sun, 17 Aug 2003) | 2 lines +r1287 | guus | 2003-08-17 14:04:35 +0200 (zo, 17 aug 2003) | 2 lines Do what the SDK documentation tells. ------------------------------------------------------------------------ -r1286 | guus | 2003-08-17 14:03:40 +0200 (Sun, 17 Aug 2003) | 2 lines +r1286 | guus | 2003-08-17 14:03:40 +0200 (zo, 17 aug 2003) | 2 lines Compilation fix. ------------------------------------------------------------------------ -r1285 | guus | 2003-08-17 11:04:00 +0200 (Sun, 17 Aug 2003) | 2 lines +r1285 | guus | 2003-08-17 11:04:00 +0200 (zo, 17 aug 2003) | 2 lines Use the event log under Windows. ------------------------------------------------------------------------ -r1284 | guus | 2003-08-17 11:03:30 +0200 (Sun, 17 Aug 2003) | 2 lines +r1284 | guus | 2003-08-17 11:03:30 +0200 (zo, 17 aug 2003) | 2 lines Fix --logfile under Windows. ------------------------------------------------------------------------ -r1283 | guus | 2003-08-17 10:32:39 +0200 (Sun, 17 Aug 2003) | 2 lines +r1283 | guus | 2003-08-17 10:32:39 +0200 (zo, 17 aug 2003) | 2 lines Fix fake getnameinfo() and check more arguments. ------------------------------------------------------------------------ -r1282 | guus | 2003-08-16 14:40:01 +0200 (Sat, 16 Aug 2003) | 2 lines +r1282 | guus | 2003-08-16 14:40:01 +0200 (za, 16 aug 2003) | 2 lines Don't getsockopt() SO_ERROR. We get the error from send()/recv() anyway. ------------------------------------------------------------------------ -r1281 | guus | 2003-08-16 14:11:11 +0200 (Sat, 16 Aug 2003) | 2 lines +r1281 | guus | 2003-08-16 14:11:11 +0200 (za, 16 aug 2003) | 2 lines stat() batch files under Windows. ------------------------------------------------------------------------ -r1280 | guus | 2003-08-16 14:10:28 +0200 (Sat, 16 Aug 2003) | 2 lines +r1280 | guus | 2003-08-16 14:10:28 +0200 (za, 16 aug 2003) | 2 lines Simplify fake getname/addrinfo() functions, possibly fixing freeing a NULL pointer. ------------------------------------------------------------------------ -r1278 | guus | 2003-08-14 16:32:34 +0200 (Thu, 14 Aug 2003) | 2 lines +r1278 | guus | 2003-08-14 16:32:34 +0200 (do, 14 aug 2003) | 2 lines Update. ------------------------------------------------------------------------ -r1277 | guus | 2003-08-14 16:21:35 +0200 (Thu, 14 Aug 2003) | 2 lines +r1277 | guus | 2003-08-14 16:21:35 +0200 (do, 14 aug 2003) | 2 lines Fix permissions check for rsa_key.priv. ------------------------------------------------------------------------ -r1276 | guus | 2003-08-12 16:48:13 +0200 (Tue, 12 Aug 2003) | 2 lines +r1276 | guus | 2003-08-12 16:48:13 +0200 (di, 12 aug 2003) | 2 lines Small fixes. ------------------------------------------------------------------------ -r1275 | guus | 2003-08-12 14:35:53 +0200 (Tue, 12 Aug 2003) | 2 lines +r1275 | guus | 2003-08-12 14:35:53 +0200 (di, 12 aug 2003) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r1274 | guus | 2003-08-10 15:35:05 +0200 (Sun, 10 Aug 2003) | 2 lines +r1274 | guus | 2003-08-10 15:35:05 +0200 (zo, 10 aug 2003) | 2 lines Add a description for the Service control panel. ------------------------------------------------------------------------ -r1273 | guus | 2003-08-09 02:53:22 +0200 (Sat, 09 Aug 2003) | 2 lines +r1273 | guus | 2003-08-09 02:53:22 +0200 (za, 09 aug 2003) | 2 lines Update documentation. ------------------------------------------------------------------------ -r1272 | guus | 2003-08-09 00:45:46 +0200 (Sat, 09 Aug 2003) | 2 lines +r1272 | guus | 2003-08-09 00:45:46 +0200 (za, 09 aug 2003) | 2 lines Only system() needs script name quoted. ------------------------------------------------------------------------ -r1271 | guus | 2003-08-09 00:13:50 +0200 (Sat, 09 Aug 2003) | 2 lines +r1271 | guus | 2003-08-09 00:13:50 +0200 (za, 09 aug 2003) | 2 lines Check for fchmod(). ------------------------------------------------------------------------ -r1270 | guus | 2003-08-09 00:11:54 +0200 (Sat, 09 Aug 2003) | 2 lines +r1270 | guus | 2003-08-09 00:11:54 +0200 (za, 09 aug 2003) | 2 lines Simpler checking of permissions on private RSA key and other fixes. ------------------------------------------------------------------------ -r1269 | guus | 2003-08-08 21:56:11 +0200 (Fri, 08 Aug 2003) | 2 lines +r1269 | guus | 2003-08-08 21:56:11 +0200 (vr, 08 aug 2003) | 2 lines Small things. ------------------------------------------------------------------------ -r1268 | guus | 2003-08-08 21:49:47 +0200 (Fri, 08 Aug 2003) | 2 lines +r1268 | guus | 2003-08-08 21:49:47 +0200 (vr, 08 aug 2003) | 2 lines Better error checking and reporting. ------------------------------------------------------------------------ -r1267 | guus | 2003-08-08 21:45:21 +0200 (Fri, 08 Aug 2003) | 2 lines +r1267 | guus | 2003-08-08 21:45:21 +0200 (vr, 08 aug 2003) | 2 lines Under Windows, the installation directory can be found in the registry. ------------------------------------------------------------------------ -r1266 | guus | 2003-08-08 21:43:47 +0200 (Fri, 08 Aug 2003) | 2 lines +r1266 | guus | 2003-08-08 21:43:47 +0200 (vr, 08 aug 2003) | 2 lines Quote when needed and don't try stuff that doesn't work under Windows. ------------------------------------------------------------------------ -r1265 | guus | 2003-08-08 21:42:35 +0200 (Fri, 08 Aug 2003) | 2 lines +r1265 | guus | 2003-08-08 21:42:35 +0200 (vr, 08 aug 2003) | 2 lines Log error first, try to close later. ------------------------------------------------------------------------ -r1264 | guus | 2003-08-08 21:39:41 +0200 (Fri, 08 Aug 2003) | 2 lines +r1264 | guus | 2003-08-08 21:39:41 +0200 (vr, 08 aug 2003) | 2 lines Better error messages under Windows. ------------------------------------------------------------------------ -r1263 | guus | 2003-08-08 19:20:12 +0200 (Fri, 08 Aug 2003) | 2 lines +r1263 | guus | 2003-08-08 19:20:12 +0200 (vr, 08 aug 2003) | 2 lines Typo. ------------------------------------------------------------------------ -r1262 | guus | 2003-08-08 19:17:13 +0200 (Fri, 08 Aug 2003) | 2 lines +r1262 | guus | 2003-08-08 19:17:13 +0200 (vr, 08 aug 2003) | 2 lines Readd quotes. ------------------------------------------------------------------------ -r1261 | guus | 2003-08-08 18:49:29 +0200 (Fri, 08 Aug 2003) | 2 lines +r1261 | guus | 2003-08-08 18:49:29 +0200 (vr, 08 aug 2003) | 2 lines Make rule for sample-config.tar.gz. ------------------------------------------------------------------------ -r1260 | guus | 2003-08-08 16:59:27 +0200 (Fri, 08 Aug 2003) | 2 lines +r1260 | guus | 2003-08-08 16:59:27 +0200 (vr, 08 aug 2003) | 2 lines Allow empty lines in config files. ------------------------------------------------------------------------ -r1259 | guus | 2003-08-08 16:48:33 +0200 (Fri, 08 Aug 2003) | 2 lines +r1259 | guus | 2003-08-08 16:48:33 +0200 (vr, 08 aug 2003) | 2 lines Simplify execute_script(). It will probably work under Windows as well. ------------------------------------------------------------------------ -r1258 | guus | 2003-08-08 16:24:09 +0200 (Fri, 08 Aug 2003) | 2 lines +r1258 | guus | 2003-08-08 16:24:09 +0200 (vr, 08 aug 2003) | 2 lines Correct error message when remote host closed connection. ------------------------------------------------------------------------ -r1257 | guus | 2003-08-08 16:07:12 +0200 (Fri, 08 Aug 2003) | 3 lines +r1257 | guus | 2003-08-08 16:07:12 +0200 (vr, 08 aug 2003) | 3 lines Remove unused stuff from doc/. Let configure update pathnames in documentation. ------------------------------------------------------------------------ -r1253 | guus | 2003-08-08 14:55:05 +0200 (Fri, 08 Aug 2003) | 2 lines +r1253 | guus | 2003-08-08 14:55:05 +0200 (vr, 08 aug 2003) | 2 lines Tell windows to be patient. ------------------------------------------------------------------------ -r1252 | guus | 2003-08-08 14:24:52 +0200 (Fri, 08 Aug 2003) | 2 lines +r1252 | guus | 2003-08-08 14:24:52 +0200 (vr, 08 aug 2003) | 2 lines Windows uses backslashes... ------------------------------------------------------------------------ -r1251 | guus | 2003-08-08 13:45:37 +0200 (Fri, 08 Aug 2003) | 2 lines +r1251 | guus | 2003-08-08 13:45:37 +0200 (vr, 08 aug 2003) | 2 lines Sync CABAL branch with release-1_0 branch. ------------------------------------------------------------------------ -r1248 | guus | 2003-08-03 23:45:41 +0200 (Sun, 03 Aug 2003) | 2 lines +r1248 | guus | 2003-08-03 23:45:41 +0200 (zo, 03 aug 2003) | 2 lines Use our own port when connecting to ourself. ------------------------------------------------------------------------ -r1247 | guus | 2003-08-03 23:45:13 +0200 (Sun, 03 Aug 2003) | 2 lines +r1247 | guus | 2003-08-03 23:45:13 +0200 (zo, 03 aug 2003) | 2 lines Simplify translation ------------------------------------------------------------------------ -r1246 | guus | 2003-08-03 23:43:19 +0200 (Sun, 03 Aug 2003) | 2 lines +r1246 | guus | 2003-08-03 23:43:19 +0200 (zo, 03 aug 2003) | 2 lines Update dutch translation ------------------------------------------------------------------------ -r1245 | guus | 2003-08-03 14:38:43 +0200 (Sun, 03 Aug 2003) | 2 lines +r1245 | guus | 2003-08-03 14:38:43 +0200 (zo, 03 aug 2003) | 2 lines Remove newlines from log messages. ------------------------------------------------------------------------ -r1244 | guus | 2003-08-03 14:38:18 +0200 (Sun, 03 Aug 2003) | 2 lines +r1244 | guus | 2003-08-03 14:38:18 +0200 (zo, 03 aug 2003) | 2 lines Keep Windows happy. ------------------------------------------------------------------------ -r1243 | guus | 2003-08-03 14:37:55 +0200 (Sun, 03 Aug 2003) | 2 lines +r1243 | guus | 2003-08-03 14:37:55 +0200 (zo, 03 aug 2003) | 2 lines Cygwin needs windows.h. ------------------------------------------------------------------------ -r1242 | guus | 2003-08-03 11:55:20 +0200 (Sun, 03 Aug 2003) | 2 lines +r1242 | guus | 2003-08-03 11:55:20 +0200 (zo, 03 aug 2003) | 2 lines Old gcc compilers don't like declarations in the middle of a function. ------------------------------------------------------------------------ -r1241 | guus | 2003-08-03 11:08:52 +0200 (Sun, 03 Aug 2003) | 2 lines +r1241 | guus | 2003-08-03 11:08:52 +0200 (zo, 03 aug 2003) | 2 lines Clean up last part of main(). ------------------------------------------------------------------------ -r1240 | guus | 2003-08-03 00:01:50 +0200 (Sun, 03 Aug 2003) | 2 lines +r1240 | guus | 2003-08-03 00:01:50 +0200 (zo, 03 aug 2003) | 2 lines Typo and another thing to think about. ------------------------------------------------------------------------ -r1239 | guus | 2003-08-02 23:55:12 +0200 (Sat, 02 Aug 2003) | 2 lines +r1239 | guus | 2003-08-02 23:55:12 +0200 (za, 02 aug 2003) | 2 lines Explain how tinc detaches and how it is "killed" under Windows. ------------------------------------------------------------------------ -r1238 | guus | 2003-08-02 23:39:11 +0200 (Sat, 02 Aug 2003) | 2 lines +r1238 | guus | 2003-08-02 23:39:11 +0200 (za, 02 aug 2003) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r1237 | guus | 2003-08-02 23:34:10 +0200 (Sat, 02 Aug 2003) | 2 lines +r1237 | guus | 2003-08-02 23:34:10 +0200 (za, 02 aug 2003) | 2 lines Oops. ------------------------------------------------------------------------ -r1236 | guus | 2003-08-02 23:33:52 +0200 (Sat, 02 Aug 2003) | 2 lines +r1236 | guus | 2003-08-02 23:33:52 +0200 (za, 02 aug 2003) | 2 lines Missing include. ------------------------------------------------------------------------ -r1235 | guus | 2003-08-02 23:33:19 +0200 (Sat, 02 Aug 2003) | 2 lines +r1235 | guus | 2003-08-02 23:33:19 +0200 (za, 02 aug 2003) | 2 lines Cleanups and error messages. ------------------------------------------------------------------------ -r1234 | guus | 2003-08-02 23:01:50 +0200 (Sat, 02 Aug 2003) | 2 lines +r1234 | guus | 2003-08-02 23:01:50 +0200 (za, 02 aug 2003) | 2 lines Error messages. ------------------------------------------------------------------------ -r1233 | guus | 2003-08-02 22:50:38 +0200 (Sat, 02 Aug 2003) | 3 lines +r1233 | guus | 2003-08-02 22:50:38 +0200 (za, 02 aug 2003) | 3 lines Install tinc as a service under Windows (MinGW). Remove cleanup_and_exit(), either exit() directly on errors or let main_loop() shutdown gracefully. ------------------------------------------------------------------------ -r1232 | guus | 2003-08-02 18:05:33 +0200 (Sat, 02 Aug 2003) | 2 lines +r1232 | guus | 2003-08-02 18:05:33 +0200 (za, 02 aug 2003) | 2 lines When compiling with MinGW, link with ws2_32. ------------------------------------------------------------------------ -r1231 | guus | 2003-08-02 17:32:57 +0200 (Sat, 02 Aug 2003) | 2 lines +r1231 | guus | 2003-08-02 17:32:57 +0200 (za, 02 aug 2003) | 2 lines Windows has no symbolic links as we know it. ------------------------------------------------------------------------ -r1230 | guus | 2003-08-02 17:29:06 +0200 (Sat, 02 Aug 2003) | 2 lines +r1230 | guus | 2003-08-02 17:29:06 +0200 (za, 02 aug 2003) | 2 lines Oops. ------------------------------------------------------------------------ -r1229 | guus | 2003-08-02 17:27:24 +0200 (Sat, 02 Aug 2003) | 2 lines +r1229 | guus | 2003-08-02 17:27:24 +0200 (za, 02 aug 2003) | 2 lines Allow whitespace in values. ------------------------------------------------------------------------ -r1228 | guus | 2003-08-02 17:13:08 +0200 (Sat, 02 Aug 2003) | 2 lines +r1228 | guus | 2003-08-02 17:13:08 +0200 (za, 02 aug 2003) | 2 lines Prevent system headers from including our own headers. ------------------------------------------------------------------------ -r1227 | guus | 2003-08-01 10:18:22 +0200 (Fri, 01 Aug 2003) | 2 lines +r1227 | guus | 2003-08-01 10:18:22 +0200 (vr, 01 aug 2003) | 2 lines Wrong function... ------------------------------------------------------------------------ -r1226 | guus | 2003-07-31 16:24:19 +0200 (Thu, 31 Jul 2003) | 2 lines +r1226 | guus | 2003-07-31 16:24:19 +0200 (do, 31 jul 2003) | 2 lines Woops! ------------------------------------------------------------------------ -r1225 | guus | 2003-07-31 15:18:34 +0200 (Thu, 31 Jul 2003) | 2 lines +r1225 | guus | 2003-07-31 15:18:34 +0200 (do, 31 jul 2003) | 2 lines No easy way to properly detect header files... ------------------------------------------------------------------------ -r1224 | guus | 2003-07-31 13:31:51 +0200 (Thu, 31 Jul 2003) | 2 lines +r1224 | guus | 2003-07-31 13:31:51 +0200 (do, 31 jul 2003) | 2 lines Remove forgotten braces. ------------------------------------------------------------------------ -r1223 | guus | 2003-07-31 13:20:32 +0200 (Thu, 31 Jul 2003) | 2 lines +r1223 | guus | 2003-07-31 13:20:32 +0200 (do, 31 jul 2003) | 2 lines Wrong argument. ------------------------------------------------------------------------ -r1222 | guus | 2003-07-31 13:17:39 +0200 (Thu, 31 Jul 2003) | 2 lines +r1222 | guus | 2003-07-31 13:17:39 +0200 (do, 31 jul 2003) | 2 lines Check if the compiler knows about the __malloc__ attribute. ------------------------------------------------------------------------ -r1220 | guus | 2003-07-30 23:52:41 +0200 (Wed, 30 Jul 2003) | 2 lines +r1220 | guus | 2003-07-30 23:52:41 +0200 (wo, 30 jul 2003) | 2 lines Prevent definitions from messing up attributes. ------------------------------------------------------------------------ -r1219 | guus | 2003-07-30 18:00:59 +0200 (Wed, 30 Jul 2003) | 2 lines +r1219 | guus | 2003-07-30 18:00:59 +0200 (wo, 30 jul 2003) | 2 lines Replacement for stdbool.h ------------------------------------------------------------------------ -r1218 | guus | 2003-07-30 13:50:45 +0200 (Wed, 30 Jul 2003) | 3 lines +r1218 | guus | 2003-07-30 13:50:45 +0200 (wo, 30 jul 2003) | 3 lines No C99 initialisers, gcc 2.95.3 doesn't like it. Also make sure getopt.h is included. ------------------------------------------------------------------------ -r1217 | guus | 2003-07-30 11:45:21 +0200 (Wed, 30 Jul 2003) | 2 lines +r1217 | guus | 2003-07-30 11:45:21 +0200 (wo, 30 jul 2003) | 2 lines Remove doc/es/ and src/device.c from the distribution. ------------------------------------------------------------------------ -r1216 | guus | 2003-07-30 11:22:29 +0200 (Wed, 30 Jul 2003) | 2 lines +r1216 | guus | 2003-07-30 11:22:29 +0200 (wo, 30 jul 2003) | 2 lines Update documentation and remove stuff that's too outdated. ------------------------------------------------------------------------ -r1215 | guus | 2003-07-30 01:21:01 +0200 (Wed, 30 Jul 2003) | 2 lines +r1215 | guus | 2003-07-30 01:21:01 +0200 (wo, 30 jul 2003) | 2 lines Cleanups. ------------------------------------------------------------------------ -r1214 | guus | 2003-07-30 00:59:01 +0200 (Wed, 30 Jul 2003) | 2 lines +r1214 | guus | 2003-07-30 00:59:01 +0200 (wo, 30 jul 2003) | 2 lines Native Windows support. ------------------------------------------------------------------------ -r1213 | guus | 2003-07-29 14:38:49 +0200 (Tue, 29 Jul 2003) | 2 lines +r1213 | guus | 2003-07-29 14:38:49 +0200 (di, 29 jul 2003) | 2 lines Make sure (at least) the MinGW device driver works. ------------------------------------------------------------------------ -r1212 | guus | 2003-07-29 14:18:35 +0200 (Tue, 29 Jul 2003) | 2 lines +r1212 | guus | 2003-07-29 14:18:35 +0200 (di, 29 jul 2003) | 2 lines Make sure it works. ------------------------------------------------------------------------ -r1211 | guus | 2003-07-29 13:50:39 +0200 (Tue, 29 Jul 2003) | 2 lines +r1211 | guus | 2003-07-29 13:50:39 +0200 (di, 29 jul 2003) | 2 lines Update configure scripts. ------------------------------------------------------------------------ -r1210 | guus | 2003-07-29 13:06:23 +0200 (Tue, 29 Jul 2003) | 3 lines +r1210 | guus | 2003-07-29 13:06:23 +0200 (di, 29 jul 2003) | 3 lines Update dutch translation and make sure all device drivers are included in the translation and distribution. ------------------------------------------------------------------------ -r1209 | guus | 2003-07-29 12:50:15 +0200 (Tue, 29 Jul 2003) | 2 lines +r1209 | guus | 2003-07-29 12:50:15 +0200 (di, 29 jul 2003) | 2 lines Fix compile errors and warnings. ------------------------------------------------------------------------ -r1208 | guus | 2003-07-29 00:06:09 +0200 (Tue, 29 Jul 2003) | 2 lines +r1208 | guus | 2003-07-29 00:06:09 +0200 (di, 29 jul 2003) | 2 lines More checks for missing functions. ------------------------------------------------------------------------ -r1207 | guus | 2003-07-28 23:54:03 +0200 (Mon, 28 Jul 2003) | 2 lines +r1207 | guus | 2003-07-28 23:54:03 +0200 (ma, 28 jul 2003) | 2 lines More generic handling of tap device under Windows. ------------------------------------------------------------------------ -r1206 | guus | 2003-07-24 14:08:16 +0200 (Thu, 24 Jul 2003) | 2 lines +r1206 | guus | 2003-07-24 14:08:16 +0200 (do, 24 jul 2003) | 2 lines Sprinkle around a lot of const and some C99 initialisers. ------------------------------------------------------------------------ -r1205 | guus | 2003-07-24 00:17:31 +0200 (Thu, 24 Jul 2003) | 2 lines +r1205 | guus | 2003-07-24 00:17:31 +0200 (do, 24 jul 2003) | 2 lines Don't initialise a CIPHER_CTX if cipher == NULL. ------------------------------------------------------------------------ -r1204 | guus | 2003-07-22 23:13:23 +0200 (Tue, 22 Jul 2003) | 2 lines +r1204 | guus | 2003-07-22 23:13:23 +0200 (di, 22 jul 2003) | 2 lines Run setup_device() after parsing configuration but before claiming we're ready. ------------------------------------------------------------------------ -r1203 | guus | 2003-07-22 22:55:21 +0200 (Tue, 22 Jul 2003) | 2 lines +r1203 | guus | 2003-07-22 22:55:21 +0200 (di, 22 jul 2003) | 2 lines Use bools and enums where appropriate. ------------------------------------------------------------------------ -r1202 | guus | 2003-07-22 14:58:34 +0200 (Tue, 22 Jul 2003) | 2 lines +r1202 | guus | 2003-07-22 14:58:34 +0200 (di, 22 jul 2003) | 2 lines Option to specify pidfile location. ------------------------------------------------------------------------ -r1201 | guus | 2003-07-21 21:58:58 +0200 (Mon, 21 Jul 2003) | 2 lines +r1201 | guus | 2003-07-21 21:58:58 +0200 (ma, 21 jul 2003) | 2 lines Add section about configuring Cygwin and CIPE on Windows. ------------------------------------------------------------------------ -r1200 | guus | 2003-07-21 17:51:00 +0200 (Mon, 21 Jul 2003) | 2 lines +r1200 | guus | 2003-07-21 17:51:00 +0200 (ma, 21 jul 2003) | 2 lines Copy cygwin driver to mingw directory. It doesn't work (yet). ------------------------------------------------------------------------ -r1198 | guus | 2003-07-21 16:47:43 +0200 (Mon, 21 Jul 2003) | 2 lines +r1198 | guus | 2003-07-21 16:47:43 +0200 (ma, 21 jul 2003) | 2 lines Use functions from logger.c ------------------------------------------------------------------------ -r1197 | guus | 2003-07-21 15:18:44 +0200 (Mon, 21 Jul 2003) | 2 lines +r1197 | guus | 2003-07-21 15:18:44 +0200 (ma, 21 jul 2003) | 2 lines Check for sys/mman.h. ------------------------------------------------------------------------ -r1196 | guus | 2003-07-21 15:15:36 +0200 (Mon, 21 Jul 2003) | 2 lines +r1196 | guus | 2003-07-21 15:15:36 +0200 (ma, 21 jul 2003) | 2 lines Oops. ------------------------------------------------------------------------ -r1195 | guus | 2003-07-21 15:14:02 +0200 (Mon, 21 Jul 2003) | 2 lines +r1195 | guus | 2003-07-21 15:14:02 +0200 (ma, 21 jul 2003) | 2 lines Be consistent. ------------------------------------------------------------------------ -r1194 | guus | 2003-07-18 16:10:27 +0200 (Fri, 18 Jul 2003) | 2 lines +r1194 | guus | 2003-07-18 16:10:27 +0200 (vr, 18 jul 2003) | 2 lines No UNIX style permissions under Windows. ------------------------------------------------------------------------ -r1193 | guus | 2003-07-18 16:09:47 +0200 (Fri, 18 Jul 2003) | 2 lines +r1193 | guus | 2003-07-18 16:09:47 +0200 (vr, 18 jul 2003) | 2 lines Oops. ------------------------------------------------------------------------ -r1192 | guus | 2003-07-18 15:45:06 +0200 (Fri, 18 Jul 2003) | 3 lines +r1192 | guus | 2003-07-18 15:45:06 +0200 (vr, 18 jul 2003) | 3 lines Use iface instead of interface because it might already be declared in system header files. ------------------------------------------------------------------------ -r1191 | guus | 2003-07-18 15:42:35 +0200 (Fri, 18 Jul 2003) | 2 lines +r1191 | guus | 2003-07-18 15:42:35 +0200 (vr, 18 jul 2003) | 2 lines Check for ethernet/ipv4/ipv6 related structures. ------------------------------------------------------------------------ -r1190 | guus | 2003-07-18 15:41:37 +0200 (Fri, 18 Jul 2003) | 2 lines +r1190 | guus | 2003-07-18 15:41:37 +0200 (vr, 18 jul 2003) | 2 lines Update all device.c files. ------------------------------------------------------------------------ -r1189 | guus | 2003-07-18 14:21:03 +0200 (Fri, 18 Jul 2003) | 2 lines +r1189 | guus | 2003-07-18 14:21:03 +0200 (vr, 18 jul 2003) | 2 lines Remove all #ifndefs from route.c ------------------------------------------------------------------------ -r1188 | guus | 2003-07-18 14:16:24 +0200 (Fri, 18 Jul 2003) | 2 lines +r1188 | guus | 2003-07-18 14:16:24 +0200 (vr, 18 jul 2003) | 2 lines Even more missing definitions. ------------------------------------------------------------------------ -r1185 | guus | 2003-07-17 17:06:27 +0200 (Thu, 17 Jul 2003) | 3 lines +r1185 | guus | 2003-07-17 17:06:27 +0200 (do, 17 jul 2003) | 3 lines Big header file cleanup: everything that has to do with standard system libraries is moved to system.h. ------------------------------------------------------------------------ -r1184 | guus | 2003-07-15 18:38:18 +0200 (Tue, 15 Jul 2003) | 2 lines +r1184 | guus | 2003-07-15 18:38:18 +0200 (di, 15 jul 2003) | 2 lines Windows headers declare a struct interface somewhere. ------------------------------------------------------------------------ -r1183 | guus | 2003-07-15 18:27:39 +0200 (Tue, 15 Jul 2003) | 2 lines +r1183 | guus | 2003-07-15 18:27:39 +0200 (di, 15 jul 2003) | 2 lines Make use of the CIPE driver. Woohoo, tinc for Windows! ------------------------------------------------------------------------ -r1182 | guus | 2003-07-15 18:26:18 +0200 (Tue, 15 Jul 2003) | 2 lines +r1182 | guus | 2003-07-15 18:26:18 +0200 (di, 15 jul 2003) | 2 lines Export mymac. ------------------------------------------------------------------------ -r1181 | guus | 2003-07-12 22:24:04 +0200 (Sat, 12 Jul 2003) | 2 lines +r1181 | guus | 2003-07-12 22:24:04 +0200 (za, 12 jul 2003) | 2 lines Format string checking for logger(). ------------------------------------------------------------------------ -r1180 | guus | 2003-07-12 22:19:22 +0200 (Sat, 12 Jul 2003) | 2 lines +r1180 | guus | 2003-07-12 22:19:22 +0200 (za, 12 jul 2003) | 2 lines Removing distribution specific files from CVS. ------------------------------------------------------------------------ -r1179 | guus | 2003-07-12 19:48:38 +0200 (Sat, 12 Jul 2003) | 2 lines +r1179 | guus | 2003-07-12 19:48:38 +0200 (za, 12 jul 2003) | 2 lines Update copyrights. ------------------------------------------------------------------------ -r1178 | guus | 2003-07-12 19:41:48 +0200 (Sat, 12 Jul 2003) | 2 lines +r1178 | guus | 2003-07-12 19:41:48 +0200 (za, 12 jul 2003) | 2 lines Simplify logging, update copyrights and some minor cleanups. ------------------------------------------------------------------------ -r1177 | guus | 2003-07-11 18:13:00 +0200 (Fri, 11 Jul 2003) | 3 lines +r1177 | guus | 2003-07-11 18:13:00 +0200 (vr, 11 jul 2003) | 3 lines More missing IPv6 definitions and autoconf checks to make sure it compiles under Solaris 2.6. ------------------------------------------------------------------------ -r1176 | guus | 2003-07-07 13:50:52 +0200 (Mon, 07 Jul 2003) | 2 lines +r1176 | guus | 2003-07-07 13:50:52 +0200 (ma, 07 jul 2003) | 2 lines More missing definitions. ------------------------------------------------------------------------ -r1175 | guus | 2003-07-07 13:13:31 +0200 (Mon, 07 Jul 2003) | 2 lines +r1175 | guus | 2003-07-07 13:13:31 +0200 (ma, 07 jul 2003) | 2 lines Actually add ipv6.h. ------------------------------------------------------------------------ -r1174 | guus | 2003-07-07 13:11:33 +0200 (Mon, 07 Jul 2003) | 2 lines +r1174 | guus | 2003-07-07 13:11:33 +0200 (ma, 07 jul 2003) | 2 lines Provide all missing IPv6 definitions in lib/ipv6.h. ------------------------------------------------------------------------ -r1172 | guus | 2003-07-07 01:16:29 +0200 (Mon, 07 Jul 2003) | 2 lines +r1172 | guus | 2003-07-07 01:16:29 +0200 (ma, 07 jul 2003) | 2 lines Sprinkling the source with static and attributes. ------------------------------------------------------------------------ -r1171 | guus | 2003-07-07 00:11:37 +0200 (Mon, 07 Jul 2003) | 3 lines +r1171 | guus | 2003-07-07 00:11:37 +0200 (ma, 07 jul 2003) | 3 lines Define logger(), cleans up source code and allows us to write log entries to a separate file. ------------------------------------------------------------------------ -r1168 | guus | 2003-07-06 19:49:49 +0200 (Sun, 06 Jul 2003) | 2 lines +r1168 | guus | 2003-07-06 19:49:49 +0200 (zo, 06 jul 2003) | 2 lines Check for IPv6 header files. ------------------------------------------------------------------------ -r1167 | guus | 2003-07-06 19:15:25 +0200 (Sun, 06 Jul 2003) | 4 lines +r1167 | guus | 2003-07-06 19:15:25 +0200 (zo, 06 jul 2003) | 4 lines - simplify configure.in - drop support for OpenSSL < 0.9.7 - add some missing definitions/includes ------------------------------------------------------------------------ -r1166 | guus | 2003-06-25 22:55:05 +0200 (Wed, 25 Jun 2003) | 3 lines +r1166 | guus | 2003-06-25 22:55:05 +0200 (wo, 25 jun 2003) | 3 lines This subtle pointer arithmetic thingy is (I'm very sure of it) the cause of the lingering connections problem. Hopefully it is fixed now... ------------------------------------------------------------------------ -r1165 | guus | 2003-06-25 22:52:59 +0200 (Wed, 25 Jun 2003) | 2 lines +r1165 | guus | 2003-06-25 22:52:59 +0200 (wo, 25 jun 2003) | 2 lines Really make tinc default to any addressfamily. ------------------------------------------------------------------------ -r1164 | guus | 2003-06-12 13:08:40 +0200 (Thu, 12 Jun 2003) | 2 lines +r1164 | guus | 2003-06-12 13:08:40 +0200 (do, 12 jun 2003) | 2 lines There are two lzo compression levels. ------------------------------------------------------------------------ -r1163 | guus | 2003-06-11 22:36:36 +0200 (Wed, 11 Jun 2003) | 2 lines +r1163 | guus | 2003-06-11 22:36:36 +0200 (wo, 11 jun 2003) | 2 lines Typo and conversion to UTF-8. ------------------------------------------------------------------------ -r1162 | guus | 2003-06-11 22:19:46 +0200 (Wed, 11 Jun 2003) | 2 lines +r1162 | guus | 2003-06-11 22:19:46 +0200 (wo, 11 jun 2003) | 2 lines Update dutch translation. ------------------------------------------------------------------------ -r1161 | guus | 2003-06-11 22:18:48 +0200 (Wed, 11 Jun 2003) | 2 lines +r1161 | guus | 2003-06-11 22:18:48 +0200 (wo, 11 jun 2003) | 2 lines Update documentation. ------------------------------------------------------------------------ -r1160 | guus | 2003-06-11 21:40:43 +0200 (Wed, 11 Jun 2003) | 2 lines +r1160 | guus | 2003-06-11 21:40:43 +0200 (wo, 11 jun 2003) | 2 lines More braces to make gcc happy. ------------------------------------------------------------------------ -r1159 | guus | 2003-06-11 21:39:02 +0200 (Wed, 11 Jun 2003) | 2 lines +r1159 | guus | 2003-06-11 21:39:02 +0200 (wo, 11 jun 2003) | 2 lines Fixes from Wessel Danker's libavl. ------------------------------------------------------------------------ -r1158 | guus | 2003-06-11 21:28:38 +0200 (Wed, 11 Jun 2003) | 2 lines +r1158 | guus | 2003-06-11 21:28:38 +0200 (wo, 11 jun 2003) | 2 lines Remove mymac stuff from device.c. ------------------------------------------------------------------------ -r1157 | guus | 2003-06-11 21:27:35 +0200 (Wed, 11 Jun 2003) | 2 lines +r1157 | guus | 2003-06-11 21:27:35 +0200 (wo, 11 jun 2003) | 2 lines AddressFamily is "any" by default. ------------------------------------------------------------------------ -r1156 | guus | 2003-06-11 21:09:52 +0200 (Wed, 11 Jun 2003) | 3 lines +r1156 | guus | 2003-06-11 21:09:52 +0200 (wo, 11 jun 2003) | 3 lines If we have a Linux tun/tap device and we are in router mode, open the device in tun mode. ------------------------------------------------------------------------ -r1155 | guus | 2003-06-11 21:07:56 +0200 (Wed, 11 Jun 2003) | 2 lines +r1155 | guus | 2003-06-11 21:07:56 +0200 (wo, 11 jun 2003) | 2 lines Call make_names() before doing anything else. ------------------------------------------------------------------------ -r1154 | guus | 2003-06-07 15:18:32 +0200 (Sat, 07 Jun 2003) | 2 lines +r1154 | guus | 2003-06-07 15:18:32 +0200 (za, 07 jun 2003) | 2 lines Fix warning and add missing checks for LZO library. ------------------------------------------------------------------------ -r1152 | guus | 2003-05-18 00:12:52 +0200 (Sun, 18 May 2003) | 2 lines +r1152 | guus | 2003-05-18 00:12:52 +0200 (zo, 18 mei 2003) | 2 lines Fix links. ------------------------------------------------------------------------ -r1151 | guus | 2003-05-07 13:21:58 +0200 (Wed, 07 May 2003) | 2 lines +r1151 | guus | 2003-05-07 13:21:58 +0200 (wo, 07 mei 2003) | 2 lines Small fixes. ------------------------------------------------------------------------ -r1150 | guus | 2003-05-07 01:14:45 +0200 (Wed, 07 May 2003) | 2 lines +r1150 | guus | 2003-05-07 01:14:45 +0200 (wo, 07 mei 2003) | 2 lines Small fixes to make LZO compression work. ------------------------------------------------------------------------ -r1149 | guus | 2003-05-06 23:13:18 +0200 (Tue, 06 May 2003) | 4 lines +r1149 | guus | 2003-05-06 23:13:18 +0200 (di, 06 mei 2003) | 4 lines - Per-node EVP_CIPHER_CTX to avoid initialisation overhead. - LZO compression, thanks to Teemu Kiviniemi. - Updated dutch translation. ------------------------------------------------------------------------ -r1148 | guus | 2003-04-19 13:12:45 +0200 (Sat, 19 Apr 2003) | 2 lines +r1148 | guus | 2003-04-19 13:12:45 +0200 (za, 19 apr 2003) | 2 lines Make sure outgoing_t is completely freed. ------------------------------------------------------------------------ -r1147 | guus | 2003-04-18 23:18:36 +0200 (Fri, 18 Apr 2003) | 2 lines +r1147 | guus | 2003-04-18 23:18:36 +0200 (vr, 18 apr 2003) | 2 lines Better handling of late packets. ------------------------------------------------------------------------ -r1146 | guus | 2003-04-03 13:43:17 +0200 (Thu, 03 Apr 2003) | 4 lines +r1146 | guus | 2003-04-03 13:43:17 +0200 (do, 03 apr 2003) | 4 lines HUP signal now closes connections to hosts if their host config file is gone or changed. The tinc.conf file is reread for changes in the ConnectTo lines. ------------------------------------------------------------------------ -r1145 | guus | 2003-03-29 23:11:22 +0100 (Sat, 29 Mar 2003) | 2 lines +r1145 | guus | 2003-03-29 23:11:22 +0100 (za, 29 mrt 2003) | 2 lines Checksums must also work for uneven number of bytes. ------------------------------------------------------------------------ -r1144 | guus | 2003-03-29 22:58:35 +0100 (Sat, 29 Mar 2003) | 2 lines +r1144 | guus | 2003-03-29 22:58:35 +0100 (za, 29 mrt 2003) | 2 lines Don't copy more than necessary. ------------------------------------------------------------------------ -r1143 | guus | 2003-03-29 22:51:21 +0100 (Sat, 29 Mar 2003) | 4 lines +r1143 | guus | 2003-03-29 22:51:21 +0100 (za, 29 mrt 2003) | 4 lines - Speed up checksumming - If a destination is not found in the subnet list or the destination node is unreachable, respond with an appropiate ICMP message. ------------------------------------------------------------------------ -r1142 | guus | 2003-03-28 14:41:49 +0100 (Fri, 28 Mar 2003) | 3 lines +r1142 | guus | 2003-03-28 14:41:49 +0100 (vr, 28 mrt 2003) | 3 lines - Avoid memory leak caused by OpenSSL 0.9.7a. - Disable RSA_blinding_on() because it segfaults. ------------------------------------------------------------------------ -r1141 | guus | 2003-03-19 12:45:05 +0100 (Wed, 19 Mar 2003) | 2 lines +r1141 | guus | 2003-03-19 12:45:05 +0100 (wo, 19 mrt 2003) | 2 lines Typo. ------------------------------------------------------------------------ -r1140 | guus | 2003-03-19 12:43:42 +0100 (Wed, 19 Mar 2003) | 2 lines +r1140 | guus | 2003-03-19 12:43:42 +0100 (wo, 19 mrt 2003) | 2 lines Make sure send_meta() writes everything. ------------------------------------------------------------------------ -r1139 | zarq | 2003-03-14 10:43:10 +0100 (Fri, 14 Mar 2003) | 4 lines +r1139 | zarq | 2003-03-14 10:43:10 +0100 (vr, 14 mrt 2003) | 4 lines Call RSA_blinding_on(), as advised in the paper on http://crypto.stanford.edu/~dabo/abstracts/ssl-timing.html to offer some resistance against timing attacks. ------------------------------------------------------------------------ -r1138 | guus | 2003-01-17 01:43:58 +0100 (Fri, 17 Jan 2003) | 2 lines +r1138 | guus | 2003-01-17 01:43:58 +0100 (vr, 17 jan 2003) | 2 lines Various fixes for autoconf and OpenSSL 0.9.7 and a missing header. ------------------------------------------------------------------------ -r1137 | guus | 2003-01-17 01:37:20 +0100 (Fri, 17 Jan 2003) | 5 lines +r1137 | guus | 2003-01-17 01:37:20 +0100 (vr, 17 jan 2003) | 5 lines - Fix indentation in some places. - Optimise select loop. @@ -1237,139 +1319,139 @@ r1137 | guus | 2003-01-17 01:37:20 +0100 (Fri, 17 Jan 2003) | 5 lines - Clear EVP_CIPHER_CTX structures before using them. ------------------------------------------------------------------------ -r1136 | guus | 2003-01-14 13:53:59 +0100 (Tue, 14 Jan 2003) | 2 lines +r1136 | guus | 2003-01-14 13:53:59 +0100 (di, 14 jan 2003) | 2 lines Add $NAME for tinc-up/down scripts. ------------------------------------------------------------------------ -r1135 | guus | 2003-01-12 18:02:23 +0100 (Sun, 12 Jan 2003) | 3 lines +r1135 | guus | 2003-01-12 18:02:23 +0100 (zo, 12 jan 2003) | 3 lines Run graph algorithm when replacing a second connection from the same host replaces an older one. ------------------------------------------------------------------------ -r1134 | guus | 2002-12-27 20:32:33 +0100 (Fri, 27 Dec 2002) | 2 lines +r1134 | guus | 2002-12-27 20:32:33 +0100 (vr, 27 dec 2002) | 2 lines PrivateKeyFile instead of PrivateKey. ------------------------------------------------------------------------ -r1133 | guus | 2002-11-14 23:09:03 +0100 (Thu, 14 Nov 2002) | 2 lines +r1133 | guus | 2002-11-14 23:09:03 +0100 (do, 14 nov 2002) | 2 lines Fix PriorityInheritance. ------------------------------------------------------------------------ -r1132 | guus | 2002-10-07 09:32:31 +0200 (Mon, 07 Oct 2002) | 2 lines +r1132 | guus | 2002-10-07 09:32:31 +0200 (ma, 07 okt 2002) | 2 lines Add documentation for BindToAddress. ------------------------------------------------------------------------ -r1131 | zarq | 2002-09-30 21:04:37 +0200 (Mon, 30 Sep 2002) | 2 lines +r1131 | zarq | 2002-09-30 21:04:37 +0200 (ma, 30 sep 2002) | 2 lines Fix saving of debug level for startup level 0 ------------------------------------------------------------------------ -r1130 | guus | 2002-09-24 13:43:34 +0200 (Tue, 24 Sep 2002) | 2 lines +r1130 | guus | 2002-09-24 13:43:34 +0200 (di, 24 sep 2002) | 2 lines Run graph() after edge_del() when updating an edge. ------------------------------------------------------------------------ -r1129 | wsl | 2002-09-16 16:08:04 +0200 (Mon, 16 Sep 2002) | 3 lines +r1129 | wsl | 2002-09-16 16:08:04 +0200 (ma, 16 sep 2002) | 3 lines its: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig it's: Engels voor "het is". Dus niet "van het". ------------------------------------------------------------------------ -r1127 | guus | 2002-09-16 00:37:59 +0200 (Mon, 16 Sep 2002) | 2 lines +r1127 | guus | 2002-09-16 00:37:59 +0200 (ma, 16 sep 2002) | 2 lines Thank some more people. ------------------------------------------------------------------------ -r1126 | guus | 2002-09-16 00:34:25 +0200 (Mon, 16 Sep 2002) | 2 lines +r1126 | guus | 2002-09-16 00:34:25 +0200 (ma, 16 sep 2002) | 2 lines Remarks about 1.0pre8 release. ------------------------------------------------------------------------ -r1125 | guus | 2002-09-16 00:19:38 +0200 (Mon, 16 Sep 2002) | 2 lines +r1125 | guus | 2002-09-16 00:19:38 +0200 (ma, 16 sep 2002) | 2 lines Update documentation. ------------------------------------------------------------------------ -r1124 | guus | 2002-09-16 00:19:19 +0200 (Mon, 16 Sep 2002) | 2 lines +r1124 | guus | 2002-09-16 00:19:19 +0200 (ma, 16 sep 2002) | 2 lines Use /dev/net/tun as default for tun/tap device under Linux. ------------------------------------------------------------------------ -r1123 | guus | 2002-09-15 19:40:00 +0200 (Sun, 15 Sep 2002) | 2 lines +r1123 | guus | 2002-09-15 19:40:00 +0200 (zo, 15 sep 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r1122 | guus | 2002-09-15 16:55:54 +0200 (Sun, 15 Sep 2002) | 2 lines +r1122 | guus | 2002-09-15 16:55:54 +0200 (zo, 15 sep 2002) | 2 lines Small fixes so tinc compiles out of the box on SunOS 5.8 ------------------------------------------------------------------------ -r1121 | guus | 2002-09-15 14:26:24 +0200 (Sun, 15 Sep 2002) | 2 lines +r1121 | guus | 2002-09-15 14:26:24 +0200 (zo, 15 sep 2002) | 2 lines port_t isn't used anymore and conflicts with MacOS/X headers. ------------------------------------------------------------------------ -r1120 | guus | 2002-09-15 14:26:04 +0200 (Sun, 15 Sep 2002) | 2 lines +r1120 | guus | 2002-09-15 14:26:04 +0200 (zo, 15 sep 2002) | 2 lines MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall(). ------------------------------------------------------------------------ -r1119 | guus | 2002-09-12 00:25:58 +0200 (Thu, 12 Sep 2002) | 2 lines +r1119 | guus | 2002-09-12 00:25:58 +0200 (do, 12 sep 2002) | 2 lines What was I thinking? ------------------------------------------------------------------------ -r1118 | guus | 2002-09-11 00:13:22 +0200 (Wed, 11 Sep 2002) | 2 lines +r1118 | guus | 2002-09-11 00:13:22 +0200 (wo, 11 sep 2002) | 2 lines Make sure malloc() is declared. ------------------------------------------------------------------------ -r1117 | guus | 2002-09-11 00:13:01 +0200 (Wed, 11 Sep 2002) | 2 lines +r1117 | guus | 2002-09-11 00:13:01 +0200 (wo, 11 sep 2002) | 2 lines Fix placement of #include "config.h" ------------------------------------------------------------------------ -r1116 | guus | 2002-09-10 23:46:05 +0200 (Tue, 10 Sep 2002) | 2 lines +r1116 | guus | 2002-09-10 23:46:05 +0200 (di, 10 sep 2002) | 2 lines Link with libintl if necessary. ------------------------------------------------------------------------ -r1115 | guus | 2002-09-10 23:29:42 +0200 (Tue, 10 Sep 2002) | 2 lines +r1115 | guus | 2002-09-10 23:29:42 +0200 (di, 10 sep 2002) | 2 lines Clean up after indent. ------------------------------------------------------------------------ -r1114 | guus | 2002-09-10 11:40:25 +0200 (Tue, 10 Sep 2002) | 2 lines +r1114 | guus | 2002-09-10 11:40:25 +0200 (di, 10 sep 2002) | 2 lines Fix compiler warnings. ------------------------------------------------------------------------ -r1113 | guus | 2002-09-10 00:41:56 +0200 (Tue, 10 Sep 2002) | 2 lines +r1113 | guus | 2002-09-10 00:41:56 +0200 (di, 10 sep 2002) | 2 lines Let GCC check format string and arguments of send_request(). ------------------------------------------------------------------------ -r1112 | guus | 2002-09-10 00:33:31 +0200 (Tue, 10 Sep 2002) | 2 lines +r1112 | guus | 2002-09-10 00:33:31 +0200 (di, 10 sep 2002) | 2 lines Remove redundant spaces. ------------------------------------------------------------------------ -r1111 | guus | 2002-09-09 23:49:16 +0200 (Mon, 09 Sep 2002) | 2 lines +r1111 | guus | 2002-09-09 23:49:16 +0200 (ma, 09 sep 2002) | 2 lines Switch to K&R style indentation. ------------------------------------------------------------------------ -r1110 | guus | 2002-09-09 23:25:28 +0200 (Mon, 09 Sep 2002) | 2 lines +r1110 | guus | 2002-09-09 23:25:28 +0200 (ma, 09 sep 2002) | 2 lines Switch to K&R style indentation. ------------------------------------------------------------------------ -r1109 | guus | 2002-09-09 21:40:12 +0200 (Mon, 09 Sep 2002) | 5 lines +r1109 | guus | 2002-09-09 21:40:12 +0200 (ma, 09 sep 2002) | 5 lines Cleanups: - Convert cp to cp(); so that automatic indenters work. @@ -1377,273 +1459,273 @@ Cleanups: - Move all assignments out of conditions. ------------------------------------------------------------------------ -r1108 | guus | 2002-09-06 23:22:35 +0200 (Fri, 06 Sep 2002) | 2 lines +r1108 | guus | 2002-09-06 23:22:35 +0200 (vr, 06 sep 2002) | 2 lines Why don't these connection_t's get cleaned up? ------------------------------------------------------------------------ -r1107 | guus | 2002-09-06 23:02:36 +0200 (Fri, 06 Sep 2002) | 2 lines +r1107 | guus | 2002-09-06 23:02:36 +0200 (vr, 06 sep 2002) | 2 lines Fix MST algorithm. ------------------------------------------------------------------------ -r1106 | guus | 2002-09-06 16:31:12 +0200 (Fri, 06 Sep 2002) | 2 lines +r1106 | guus | 2002-09-06 16:31:12 +0200 (vr, 06 sep 2002) | 2 lines Reset the *correct* seqnos. ------------------------------------------------------------------------ -r1105 | guus | 2002-09-06 14:19:16 +0200 (Fri, 06 Sep 2002) | 2 lines +r1105 | guus | 2002-09-06 14:19:16 +0200 (vr, 06 sep 2002) | 2 lines edge_weight_compare() shouldn't rely on edge_compare(). ------------------------------------------------------------------------ -r1104 | zarq | 2002-09-06 13:08:21 +0200 (Fri, 06 Sep 2002) | 2 lines +r1104 | zarq | 2002-09-06 13:08:21 +0200 (vr, 06 sep 2002) | 2 lines Added AM_MAINTAINER_MODE ------------------------------------------------------------------------ -r1103 | guus | 2002-09-06 12:23:52 +0200 (Fri, 06 Sep 2002) | 2 lines +r1103 | guus | 2002-09-06 12:23:52 +0200 (vr, 06 sep 2002) | 2 lines Remove global edge_tree. ------------------------------------------------------------------------ -r1102 | guus | 2002-09-06 11:48:39 +0200 (Fri, 06 Sep 2002) | 2 lines +r1102 | guus | 2002-09-06 11:48:39 +0200 (vr, 06 sep 2002) | 2 lines Only reset seqno's when a key is sent or received. ------------------------------------------------------------------------ -r1101 | guus | 2002-09-05 01:11:58 +0200 (Thu, 05 Sep 2002) | 2 lines +r1101 | guus | 2002-09-05 01:11:58 +0200 (do, 05 sep 2002) | 2 lines Typo. ------------------------------------------------------------------------ -r1100 | guus | 2002-09-05 01:05:49 +0200 (Thu, 05 Sep 2002) | 2 lines +r1100 | guus | 2002-09-05 01:05:49 +0200 (do, 05 sep 2002) | 2 lines Add missing headers. ------------------------------------------------------------------------ -r1099 | guus | 2002-09-05 01:04:52 +0200 (Thu, 05 Sep 2002) | 2 lines +r1099 | guus | 2002-09-05 01:04:52 +0200 (do, 05 sep 2002) | 2 lines Run autopoint and libtoolize before creating initial makefiles. ------------------------------------------------------------------------ -r1098 | guus | 2002-09-04 21:57:53 +0200 (Wed, 04 Sep 2002) | 2 lines +r1098 | guus | 2002-09-04 21:57:53 +0200 (wo, 04 sep 2002) | 2 lines Small updates. ------------------------------------------------------------------------ -r1097 | guus | 2002-09-04 18:36:03 +0200 (Wed, 04 Sep 2002) | 2 lines +r1097 | guus | 2002-09-04 18:36:03 +0200 (wo, 04 sep 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r1096 | guus | 2002-09-04 18:26:45 +0200 (Wed, 04 Sep 2002) | 2 lines +r1096 | guus | 2002-09-04 18:26:45 +0200 (wo, 04 sep 2002) | 2 lines Generalized request broadcasting/forwarding. ------------------------------------------------------------------------ -r1095 | guus | 2002-09-04 16:17:28 +0200 (Wed, 04 Sep 2002) | 2 lines +r1095 | guus | 2002-09-04 16:17:28 +0200 (wo, 04 sep 2002) | 2 lines Small fixes. ------------------------------------------------------------------------ -r1094 | guus | 2002-09-04 15:48:52 +0200 (Wed, 04 Sep 2002) | 2 lines +r1094 | guus | 2002-09-04 15:48:52 +0200 (wo, 04 sep 2002) | 2 lines Revert to edge and graph stuff. This time, use a directed graph. ------------------------------------------------------------------------ -r1093 | guus | 2002-09-04 10:48:03 +0200 (Wed, 04 Sep 2002) | 3 lines +r1093 | guus | 2002-09-04 10:48:03 +0200 (wo, 04 sep 2002) | 3 lines Just ignore wrong ADD_NODEs instead of replying with a DEL_NODE, in the hope other DEL_NODEs will catch up eventually. ------------------------------------------------------------------------ -r1092 | guus | 2002-09-04 10:36:34 +0200 (Wed, 04 Sep 2002) | 2 lines +r1092 | guus | 2002-09-04 10:36:34 +0200 (wo, 04 sep 2002) | 2 lines Don't forget to set prevhop to myself for new connections. ------------------------------------------------------------------------ -r1091 | guus | 2002-09-04 10:33:08 +0200 (Wed, 04 Sep 2002) | 2 lines +r1091 | guus | 2002-09-04 10:33:08 +0200 (wo, 04 sep 2002) | 2 lines Prevent looping DEL_NODE/ADD_NODE messages after a node disconnects. ------------------------------------------------------------------------ -r1090 | guus | 2002-09-04 10:02:33 +0200 (Wed, 04 Sep 2002) | 2 lines +r1090 | guus | 2002-09-04 10:02:33 +0200 (wo, 04 sep 2002) | 2 lines Reduce KEY_CHANGED traffic. ------------------------------------------------------------------------ -r1089 | guus | 2002-09-04 00:49:55 +0200 (Wed, 04 Sep 2002) | 2 lines +r1089 | guus | 2002-09-04 00:49:55 +0200 (wo, 04 sep 2002) | 2 lines Woops. ------------------------------------------------------------------------ -r1088 | guus | 2002-09-04 00:37:49 +0200 (Wed, 04 Sep 2002) | 2 lines +r1088 | guus | 2002-09-04 00:37:49 +0200 (wo, 04 sep 2002) | 2 lines A reachable node is always more preferable to an unreachable one... ------------------------------------------------------------------------ -r1087 | guus | 2002-09-03 22:43:26 +0200 (Tue, 03 Sep 2002) | 2 lines +r1087 | guus | 2002-09-03 22:43:26 +0200 (di, 03 sep 2002) | 2 lines Drop graph and edge stuff. Use new node stuff instead. ------------------------------------------------------------------------ -r1086 | guus | 2002-09-03 22:42:05 +0200 (Tue, 03 Sep 2002) | 2 lines +r1086 | guus | 2002-09-03 22:42:05 +0200 (di, 03 sep 2002) | 2 lines Make sure setlocale() is available. ------------------------------------------------------------------------ -r1085 | guus | 2002-09-03 00:40:42 +0200 (Tue, 03 Sep 2002) | 2 lines +r1085 | guus | 2002-09-03 00:40:42 +0200 (di, 03 sep 2002) | 2 lines Replacement for the current routing algorithm. ------------------------------------------------------------------------ -r1084 | guus | 2002-08-24 14:54:55 +0200 (Sat, 24 Aug 2002) | 2 lines +r1084 | guus | 2002-08-24 14:54:55 +0200 (za, 24 aug 2002) | 2 lines Check for ranlib. ------------------------------------------------------------------------ -r1083 | guus | 2002-08-24 14:11:40 +0200 (Sat, 24 Aug 2002) | 2 lines +r1083 | guus | 2002-08-24 14:11:40 +0200 (za, 24 aug 2002) | 2 lines Gettext 1.11.5 compatibility. ------------------------------------------------------------------------ -r1080 | guus | 2002-07-18 16:30:45 +0200 (Thu, 18 Jul 2002) | 2 lines +r1080 | guus | 2002-07-18 16:30:45 +0200 (do, 18 jul 2002) | 2 lines Added support for raw sockets. This can be used instead of tun/tap devices. ------------------------------------------------------------------------ -r1078 | guus | 2002-07-16 15:18:27 +0200 (Tue, 16 Jul 2002) | 2 lines +r1078 | guus | 2002-07-16 15:18:27 +0200 (di, 16 jul 2002) | 2 lines Don't bother to chown, and correctly document ConnectTo. ------------------------------------------------------------------------ -r1077 | guus | 2002-07-16 15:12:49 +0200 (Tue, 16 Jul 2002) | 2 lines +r1077 | guus | 2002-07-16 15:12:49 +0200 (di, 16 jul 2002) | 2 lines Allow tincd to be locked into main memory. ------------------------------------------------------------------------ -r1076 | guus | 2002-07-12 13:45:21 +0200 (Fri, 12 Jul 2002) | 2 lines +r1076 | guus | 2002-07-12 13:45:21 +0200 (vr, 12 jul 2002) | 2 lines Include complete fake-getname/addrinfo from OpenSSH. ------------------------------------------------------------------------ -r1071 | guus | 2002-07-11 14:57:06 +0200 (Thu, 11 Jul 2002) | 2 lines +r1071 | guus | 2002-07-11 14:57:06 +0200 (do, 11 jul 2002) | 2 lines Added stub device.c for Cygwin. ------------------------------------------------------------------------ -r1070 | guus | 2002-07-11 14:55:58 +0200 (Thu, 11 Jul 2002) | 2 lines +r1070 | guus | 2002-07-11 14:55:58 +0200 (do, 11 jul 2002) | 2 lines Started port to Cygwin. ------------------------------------------------------------------------ -r1068 | guus | 2002-07-11 14:42:43 +0200 (Thu, 11 Jul 2002) | 2 lines +r1068 | guus | 2002-07-11 14:42:43 +0200 (do, 11 jul 2002) | 2 lines Clear subnets before using them. ------------------------------------------------------------------------ -r1067 | guus | 2002-07-10 13:32:33 +0200 (Wed, 10 Jul 2002) | 2 lines +r1067 | guus | 2002-07-10 13:32:33 +0200 (wo, 10 jul 2002) | 2 lines Allow identical subnets from different owners. ------------------------------------------------------------------------ -r1066 | guus | 2002-07-10 13:27:06 +0200 (Wed, 10 Jul 2002) | 4 lines +r1066 | guus | 2002-07-10 13:27:06 +0200 (wo, 10 jul 2002) | 4 lines Allow list of environment variables to be passed to execute_script(). When executing host-up/down scripts, include the address and port of the remote host. ------------------------------------------------------------------------ -r1065 | guus | 2002-06-21 19:49:48 +0200 (Fri, 21 Jun 2002) | 2 lines +r1065 | guus | 2002-06-21 19:49:48 +0200 (vr, 21 jun 2002) | 2 lines Fix for prefixlengths of 32 (IPv4) and 128 (IPv6) bits. ------------------------------------------------------------------------ -r1064 | guus | 2002-06-21 12:11:37 +0200 (Fri, 21 Jun 2002) | 3 lines +r1064 | guus | 2002-06-21 12:11:37 +0200 (vr, 21 jun 2002) | 3 lines s/sliepen.warande.net/sliepen.eu.org/g s/itimmermans@bigfoot.com/ivo@o2w.nl/g ------------------------------------------------------------------------ -r1063 | guus | 2002-06-14 13:51:29 +0200 (Fri, 14 Jun 2002) | 2 lines +r1063 | guus | 2002-06-14 13:51:29 +0200 (vr, 14 jun 2002) | 2 lines Update comments about IPv6 autoconfiguration. ------------------------------------------------------------------------ -r1062 | guus | 2002-06-13 18:12:40 +0200 (Thu, 13 Jun 2002) | 2 lines +r1062 | guus | 2002-06-13 18:12:40 +0200 (do, 13 jun 2002) | 2 lines Reset listen_sockets after SIGHUP. ------------------------------------------------------------------------ -r1061 | guus | 2002-06-12 15:45:23 +0200 (Wed, 12 Jun 2002) | 2 lines +r1061 | guus | 2002-06-12 15:45:23 +0200 (wo, 12 jun 2002) | 2 lines Add configuration details for NetBSD and Darwin (MacOS/X). ------------------------------------------------------------------------ -r1060 | guus | 2002-06-11 13:03:17 +0200 (Tue, 11 Jun 2002) | 3 lines +r1060 | guus | 2002-06-11 13:03:17 +0200 (di, 11 jun 2002) | 3 lines Autoconf cleanup. Works for both 2.13 and 2.53, although running autoconf 2.53 still gives some errors. ------------------------------------------------------------------------ -r1059 | guus | 2002-06-10 17:08:23 +0200 (Mon, 10 Jun 2002) | 2 lines +r1059 | guus | 2002-06-10 17:08:23 +0200 (ma, 10 jun 2002) | 2 lines Include darwin/device.c in distribution. ------------------------------------------------------------------------ -r1058 | guus | 2002-06-10 16:35:18 +0200 (Mon, 10 Jun 2002) | 2 lines +r1058 | guus | 2002-06-10 16:35:18 +0200 (ma, 10 jun 2002) | 2 lines Use darwin/device.c when compiling on MacOS/X. ------------------------------------------------------------------------ -r1057 | guus | 2002-06-10 16:33:40 +0200 (Mon, 10 Jun 2002) | 2 lines +r1057 | guus | 2002-06-10 16:33:40 +0200 (ma, 10 jun 2002) | 2 lines Added Darwin (MacOS/X) tun device handling. ------------------------------------------------------------------------ -r1055 | zarq | 2002-06-09 18:23:12 +0200 (Sun, 09 Jun 2002) | 2 lines +r1055 | zarq | 2002-06-09 18:23:12 +0200 (zo, 09 jun 2002) | 2 lines Added Alessandro Gatti ------------------------------------------------------------------------ -r1054 | zarq | 2002-06-09 18:19:20 +0200 (Sun, 09 Jun 2002) | 2 lines +r1054 | zarq | 2002-06-09 18:19:20 +0200 (zo, 09 jun 2002) | 2 lines Include netbsd's device.c in make dist ------------------------------------------------------------------------ -r1053 | zarq | 2002-06-09 18:12:04 +0200 (Sun, 09 Jun 2002) | 2 lines +r1053 | zarq | 2002-06-09 18:12:04 +0200 (zo, 09 jun 2002) | 2 lines Include a few more header files ------------------------------------------------------------------------ -r1052 | zarq | 2002-06-09 17:58:05 +0200 (Sun, 09 Jun 2002) | 2 lines +r1052 | zarq | 2002-06-09 17:58:05 +0200 (zo, 09 jun 2002) | 2 lines Add /sw/{include,lib} to search paths if they exist ------------------------------------------------------------------------ -r1051 | zarq | 2002-06-09 17:50:12 +0200 (Sun, 09 Jun 2002) | 2 lines +r1051 | zarq | 2002-06-09 17:50:12 +0200 (zo, 09 jun 2002) | 2 lines getnameinfo fixes ------------------------------------------------------------------------ -r1050 | zarq | 2002-06-09 17:26:10 +0200 (Sun, 09 Jun 2002) | 2 lines +r1050 | zarq | 2002-06-09 17:26:10 +0200 (zo, 09 jun 2002) | 2 lines OSX support ------------------------------------------------------------------------ -r1048 | guus | 2002-06-08 16:08:57 +0200 (Sat, 08 Jun 2002) | 3 lines +r1048 | guus | 2002-06-08 16:08:57 +0200 (za, 08 jun 2002) | 3 lines - netinet/* include files depend on netinet/in_systm.h. - Squash bashism in configure.in. ------------------------------------------------------------------------ -r1047 | guus | 2002-06-08 15:46:43 +0200 (Sat, 08 Jun 2002) | 2 lines +r1047 | guus | 2002-06-08 15:46:43 +0200 (za, 08 jun 2002) | 2 lines Use inttypes.h instead of stdint.h. ------------------------------------------------------------------------ -r1046 | guus | 2002-06-08 14:57:10 +0200 (Sat, 08 Jun 2002) | 5 lines +r1046 | guus | 2002-06-08 14:57:10 +0200 (za, 08 jun 2002) | 5 lines Cleanup: - Remove checks for specific OS's, instead check for #defines/#includes. @@ -1651,528 +1733,528 @@ Cleanup: - Mask handling functions use void pointers to get rid of silly casts. ------------------------------------------------------------------------ -r1045 | wsl | 2002-06-07 13:14:05 +0200 (Fri, 07 Jun 2002) | 2 lines +r1045 | wsl | 2002-06-07 13:14:05 +0200 (vr, 07 jun 2002) | 2 lines This should work much better. ------------------------------------------------------------------------ -r1044 | guus | 2002-06-05 02:25:55 +0200 (Wed, 05 Jun 2002) | 2 lines +r1044 | guus | 2002-06-05 02:25:55 +0200 (wo, 05 jun 2002) | 2 lines Use correct includes on NetBSD. ------------------------------------------------------------------------ -r1043 | guus | 2002-06-05 02:20:40 +0200 (Wed, 05 Jun 2002) | 2 lines +r1043 | guus | 2002-06-05 02:20:40 +0200 (wo, 05 jun 2002) | 2 lines Make it work correctly with NetBSD tun device. ------------------------------------------------------------------------ -r1042 | guus | 2002-06-02 18:06:33 +0200 (Sun, 02 Jun 2002) | 3 lines +r1042 | guus | 2002-06-02 18:06:33 +0200 (zo, 02 jun 2002) | 3 lines Support RSA_PUBKEYs (as opposed to RSAPublicKeys) so tinc accepts public keys generated by the OpenSSL command line tools. ------------------------------------------------------------------------ -r1035 | guus | 2002-05-01 11:15:58 +0200 (Wed, 01 May 2002) | 2 lines +r1035 | guus | 2002-05-01 11:15:58 +0200 (wo, 01 mei 2002) | 2 lines Only purge once when there are no more connections. ------------------------------------------------------------------------ -r1033 | guus | 2002-04-29 22:05:07 +0200 (Mon, 29 Apr 2002) | 3 lines +r1033 | guus | 2002-04-29 22:05:07 +0200 (ma, 29 apr 2002) | 3 lines Fix very stupid bug in node_del(), which might have caused corruption of subnets. ------------------------------------------------------------------------ -r1030 | guus | 2002-04-27 13:40:45 +0200 (Sat, 27 Apr 2002) | 2 lines +r1030 | guus | 2002-04-27 13:40:45 +0200 (za, 27 apr 2002) | 2 lines Informative log message if execl() failed. ------------------------------------------------------------------------ -r1029 | zarq | 2002-04-26 20:13:00 +0200 (Fri, 26 Apr 2002) | 2 lines +r1029 | zarq | 2002-04-26 20:13:00 +0200 (vr, 26 apr 2002) | 2 lines Typo ------------------------------------------------------------------------ -r1028 | guus | 2002-04-25 21:17:24 +0200 (Thu, 25 Apr 2002) | 2 lines +r1028 | guus | 2002-04-25 21:17:24 +0200 (do, 25 apr 2002) | 2 lines Added Nick Patavalis for his RedHat package. ------------------------------------------------------------------------ -r1027 | guus | 2002-04-23 09:49:38 +0200 (Tue, 23 Apr 2002) | 2 lines +r1027 | guus | 2002-04-23 09:49:38 +0200 (di, 23 apr 2002) | 2 lines Add BindToAddress variable, similar to the late BindToIP. ------------------------------------------------------------------------ -r1026 | guus | 2002-04-19 16:06:40 +0200 (Fri, 19 Apr 2002) | 2 lines +r1026 | guus | 2002-04-19 16:06:40 +0200 (vr, 19 apr 2002) | 2 lines Support for MaxOS/X. ------------------------------------------------------------------------ -r1025 | zarq | 2002-04-18 22:09:05 +0200 (Thu, 18 Apr 2002) | 2 lines +r1025 | zarq | 2002-04-18 22:09:05 +0200 (do, 18 apr 2002) | 2 lines Put #ifndef checks for HAVE_RAND_PSEUDO_BYTES in the correct places. ------------------------------------------------------------------------ -r981 | guus | 2002-04-09 13:44:47 +0200 (Tue, 09 Apr 2002) | 2 lines +r981 | guus | 2002-04-09 13:44:47 +0200 (di, 09 apr 2002) | 2 lines Remarks about 1.0pre7 release. ------------------------------------------------------------------------ -r980 | guus | 2002-04-09 13:43:45 +0200 (Tue, 09 Apr 2002) | 2 lines +r980 | guus | 2002-04-09 13:43:45 +0200 (di, 09 apr 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r979 | guus | 2002-04-09 13:43:29 +0200 (Tue, 09 Apr 2002) | 2 lines +r979 | guus | 2002-04-09 13:43:29 +0200 (di, 09 apr 2002) | 2 lines masklength is better known as prefixlength ------------------------------------------------------------------------ -r978 | guus | 2002-04-09 13:42:48 +0200 (Tue, 09 Apr 2002) | 2 lines +r978 | guus | 2002-04-09 13:42:48 +0200 (di, 09 apr 2002) | 2 lines masklength is better known as prefixlength. ------------------------------------------------------------------------ -r977 | guus | 2002-04-08 15:27:09 +0200 (Mon, 08 Apr 2002) | 2 lines +r977 | guus | 2002-04-08 15:27:09 +0200 (ma, 08 apr 2002) | 2 lines Automake forgets about depcomp, remind it. ------------------------------------------------------------------------ -r976 | guus | 2002-04-05 11:11:38 +0200 (Fri, 05 Apr 2002) | 2 lines +r976 | guus | 2002-04-05 11:11:38 +0200 (vr, 05 apr 2002) | 2 lines Fix maskcheck() and maskcmp(). ------------------------------------------------------------------------ -r975 | guus | 2002-04-01 23:28:39 +0200 (Mon, 01 Apr 2002) | 2 lines +r975 | guus | 2002-04-01 23:28:39 +0200 (ma, 01 apr 2002) | 2 lines check_rsa() is broken, I don't know why, just remove it for now. ------------------------------------------------------------------------ -r974 | guus | 2002-04-01 23:28:05 +0200 (Mon, 01 Apr 2002) | 2 lines +r974 | guus | 2002-04-01 23:28:05 +0200 (ma, 01 apr 2002) | 2 lines Don't check_network_activity() if select() is interrupted by a signal. ------------------------------------------------------------------------ -r973 | guus | 2002-03-27 20:43:50 +0100 (Wed, 27 Mar 2002) | 2 lines +r973 | guus | 2002-03-27 20:43:50 +0100 (wo, 27 mrt 2002) | 2 lines Make configure --help output look nicer. ------------------------------------------------------------------------ -r972 | guus | 2002-03-27 17:26:26 +0100 (Wed, 27 Mar 2002) | 2 lines +r972 | guus | 2002-03-27 17:26:26 +0100 (wo, 27 mrt 2002) | 2 lines Update with information about the pre6 release. ------------------------------------------------------------------------ -r971 | guus | 2002-03-27 17:00:49 +0100 (Wed, 27 Mar 2002) | 2 lines +r971 | guus | 2002-03-27 17:00:49 +0100 (wo, 27 mrt 2002) | 2 lines Update dutch translation. ------------------------------------------------------------------------ -r970 | guus | 2002-03-27 17:00:38 +0100 (Wed, 27 Mar 2002) | 2 lines +r970 | guus | 2002-03-27 17:00:38 +0100 (wo, 27 mrt 2002) | 2 lines Fix format strings. ------------------------------------------------------------------------ -r969 | guus | 2002-03-27 16:47:06 +0100 (Wed, 27 Mar 2002) | 2 lines +r969 | guus | 2002-03-27 16:47:06 +0100 (wo, 27 mrt 2002) | 2 lines Remove symlink to device.c when doing a make dist. ------------------------------------------------------------------------ -r968 | guus | 2002-03-27 16:35:07 +0100 (Wed, 27 Mar 2002) | 2 lines +r968 | guus | 2002-03-27 16:35:07 +0100 (wo, 27 mrt 2002) | 2 lines Recent automake uses $(AMTAR) instead of $(TAR) ------------------------------------------------------------------------ -r967 | guus | 2002-03-27 16:26:44 +0100 (Wed, 27 Mar 2002) | 2 lines +r967 | guus | 2002-03-27 16:26:44 +0100 (wo, 27 mrt 2002) | 2 lines Remove cruft. ------------------------------------------------------------------------ -r966 | guus | 2002-03-27 16:26:29 +0100 (Wed, 27 Mar 2002) | 2 lines +r966 | guus | 2002-03-27 16:26:29 +0100 (wo, 27 mrt 2002) | 2 lines Small updates. ------------------------------------------------------------------------ -r965 | guus | 2002-03-27 16:01:37 +0100 (Wed, 27 Mar 2002) | 2 lines +r965 | guus | 2002-03-27 16:01:37 +0100 (wo, 27 mrt 2002) | 2 lines Limit the amount of packets in a queue to 8. ------------------------------------------------------------------------ -r964 | guus | 2002-03-27 16:01:16 +0100 (Wed, 27 Mar 2002) | 2 lines +r964 | guus | 2002-03-27 16:01:16 +0100 (wo, 27 mrt 2002) | 2 lines Extend list_t with the number of elements in the list. ------------------------------------------------------------------------ -r963 | guus | 2002-03-27 15:02:36 +0100 (Wed, 27 Mar 2002) | 2 lines +r963 | guus | 2002-03-27 15:02:36 +0100 (wo, 27 mrt 2002) | 2 lines Merge do_prune() with build_fdset(). Probably fixes the invalid filedescriptor error. ------------------------------------------------------------------------ -r962 | guus | 2002-03-26 14:19:56 +0100 (Tue, 26 Mar 2002) | 2 lines +r962 | guus | 2002-03-26 14:19:56 +0100 (di, 26 mrt 2002) | 2 lines Small correction. ------------------------------------------------------------------------ -r961 | guus | 2002-03-26 13:00:38 +0100 (Tue, 26 Mar 2002) | 2 lines +r961 | guus | 2002-03-26 13:00:38 +0100 (di, 26 mrt 2002) | 2 lines Fix execute_script(). ------------------------------------------------------------------------ -r960 | guus | 2002-03-25 16:51:58 +0100 (Mon, 25 Mar 2002) | 2 lines +r960 | guus | 2002-03-25 16:51:58 +0100 (ma, 25 mrt 2002) | 2 lines Send REQ_KEY only once until ANS_KEY has arrived. ------------------------------------------------------------------------ -r959 | guus | 2002-03-25 16:12:09 +0100 (Mon, 25 Mar 2002) | 2 lines +r959 | guus | 2002-03-25 16:12:09 +0100 (ma, 25 mrt 2002) | 2 lines Tell a little bit more about security. ------------------------------------------------------------------------ -r958 | guus | 2002-03-25 16:01:32 +0100 (Mon, 25 Mar 2002) | 2 lines +r958 | guus | 2002-03-25 16:01:32 +0100 (ma, 25 mrt 2002) | 2 lines Updated documentation. ------------------------------------------------------------------------ -r957 | guus | 2002-03-25 14:54:49 +0100 (Mon, 25 Mar 2002) | 2 lines +r957 | guus | 2002-03-25 14:54:49 +0100 (ma, 25 mrt 2002) | 2 lines Set myself->status.reachable. ------------------------------------------------------------------------ -r956 | guus | 2002-03-24 18:14:01 +0100 (Sun, 24 Mar 2002) | 2 lines +r956 | guus | 2002-03-24 18:14:01 +0100 (zo, 24 mrt 2002) | 2 lines Configuration variables were still handled case sensitively. ------------------------------------------------------------------------ -r955 | guus | 2002-03-24 18:08:38 +0100 (Sun, 24 Mar 2002) | 2 lines +r955 | guus | 2002-03-24 18:08:38 +0100 (zo, 24 mrt 2002) | 2 lines OpenBSD tun device uses address family number instead of Ethernet type. ------------------------------------------------------------------------ -r954 | guus | 2002-03-24 17:50:58 +0100 (Sun, 24 Mar 2002) | 2 lines +r954 | guus | 2002-03-24 17:50:58 +0100 (zo, 24 mrt 2002) | 2 lines Respect type field. ------------------------------------------------------------------------ -r953 | guus | 2002-03-24 17:40:14 +0100 (Sun, 24 Mar 2002) | 2 lines +r953 | guus | 2002-03-24 17:40:14 +0100 (zo, 24 mrt 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r952 | guus | 2002-03-24 17:36:56 +0100 (Sun, 24 Mar 2002) | 2 lines +r952 | guus | 2002-03-24 17:36:56 +0100 (zo, 24 mrt 2002) | 2 lines Set $INTERFACE correctly when using ethertap while compiled with tun/tap support. ------------------------------------------------------------------------ -r951 | guus | 2002-03-24 17:28:27 +0100 (Sun, 24 Mar 2002) | 3 lines +r951 | guus | 2002-03-24 17:28:27 +0100 (zo, 24 mrt 2002) | 3 lines Execute hosts/name-up when a node becomes reachable, and hosts/name-down when it becomes unreachable. ------------------------------------------------------------------------ -r950 | guus | 2002-03-24 17:22:59 +0100 (Sun, 24 Mar 2002) | 2 lines +r950 | guus | 2002-03-24 17:22:59 +0100 (zo, 24 mrt 2002) | 2 lines Don't try to execute scripts unless they exist. ------------------------------------------------------------------------ -r949 | guus | 2002-03-23 21:21:10 +0100 (Sat, 23 Mar 2002) | 2 lines +r949 | guus | 2002-03-23 21:21:10 +0100 (za, 23 mrt 2002) | 2 lines Reset retry timeout when receiving the first PONG, not right after receiving the ACK. ------------------------------------------------------------------------ -r948 | guus | 2002-03-23 21:13:56 +0100 (Sat, 23 Mar 2002) | 2 lines +r948 | guus | 2002-03-23 21:13:56 +0100 (za, 23 mrt 2002) | 2 lines Don't run graph algorithms if no edge is deleted in terminate_connection(). ------------------------------------------------------------------------ -r947 | guus | 2002-03-23 21:12:29 +0100 (Sat, 23 Mar 2002) | 2 lines +r947 | guus | 2002-03-23 21:12:29 +0100 (za, 23 mrt 2002) | 2 lines free() request strings when deleting past requests from the tree. ------------------------------------------------------------------------ -r946 | guus | 2002-03-23 21:01:05 +0100 (Sat, 23 Mar 2002) | 2 lines +r946 | guus | 2002-03-23 21:01:05 +0100 (za, 23 mrt 2002) | 2 lines send_ack() was broken. ------------------------------------------------------------------------ -r945 | guus | 2002-03-22 14:31:18 +0100 (Fri, 22 Mar 2002) | 2 lines +r945 | guus | 2002-03-22 14:31:18 +0100 (vr, 22 mrt 2002) | 2 lines Fix compiler warnings, strictly use long int and %lx for options. ------------------------------------------------------------------------ -r944 | guus | 2002-03-22 13:41:54 +0100 (Fri, 22 Mar 2002) | 2 lines +r944 | guus | 2002-03-22 13:41:54 +0100 (vr, 22 mrt 2002) | 2 lines Fix add_edge_h(). ------------------------------------------------------------------------ -r943 | guus | 2002-03-22 12:43:48 +0100 (Fri, 22 Mar 2002) | 4 lines +r943 | guus | 2002-03-22 12:43:48 +0100 (vr, 22 mrt 2002) | 4 lines - Added support for jumbograms. - Remove tcpaddress from edges, it is not used at all. - Last bits of code to prevent looping requests. ------------------------------------------------------------------------ -r942 | guus | 2002-03-22 00:11:53 +0100 (Fri, 22 Mar 2002) | 2 lines +r942 | guus | 2002-03-22 00:11:53 +0100 (vr, 22 mrt 2002) | 2 lines Put a break on requests that run around in circles. ------------------------------------------------------------------------ -r941 | guus | 2002-03-19 23:48:25 +0100 (Tue, 19 Mar 2002) | 3 lines +r941 | guus | 2002-03-19 23:48:25 +0100 (di, 19 mrt 2002) | 3 lines Updated SSSP algorithm to automatically detect indirect links (if a node uses different addresses for connections to other nodes). ------------------------------------------------------------------------ -r940 | guus | 2002-03-19 01:08:34 +0100 (Tue, 19 Mar 2002) | 2 lines +r940 | guus | 2002-03-19 01:08:34 +0100 (di, 19 mrt 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r939 | guus | 2002-03-19 01:08:23 +0100 (Tue, 19 Mar 2002) | 2 lines +r939 | guus | 2002-03-19 01:08:23 +0100 (di, 19 mrt 2002) | 2 lines Don't use s6_addr[16|32] anymore. ------------------------------------------------------------------------ -r938 | guus | 2002-03-19 01:07:09 +0100 (Tue, 19 Mar 2002) | 2 lines +r938 | guus | 2002-03-19 01:07:09 +0100 (di, 19 mrt 2002) | 2 lines Cleanup. ------------------------------------------------------------------------ -r937 | guus | 2002-03-18 23:47:20 +0100 (Mon, 18 Mar 2002) | 3 lines +r937 | guus | 2002-03-18 23:47:20 +0100 (ma, 18 mrt 2002) | 3 lines Remember sockaddrs of listening sockets, use appropriate one when sending UDP packets. ------------------------------------------------------------------------ -r936 | guus | 2002-03-18 15:39:37 +0100 (Mon, 18 Mar 2002) | 2 lines +r936 | guus | 2002-03-18 15:39:37 +0100 (ma, 18 mrt 2002) | 2 lines Fix #define s6_addr32. ------------------------------------------------------------------------ -r935 | guus | 2002-03-18 15:19:02 +0100 (Mon, 18 Mar 2002) | 2 lines +r935 | guus | 2002-03-18 15:19:02 +0100 (ma, 18 mrt 2002) | 2 lines #define s6_addr32, needed for FreeBSD. ------------------------------------------------------------------------ -r934 | guus | 2002-03-17 17:08:39 +0100 (Sun, 17 Mar 2002) | 2 lines +r934 | guus | 2002-03-17 17:08:39 +0100 (zo, 17 mrt 2002) | 2 lines Only unmap IPv6 addresses. ------------------------------------------------------------------------ -r933 | guus | 2002-03-17 16:59:29 +0100 (Sun, 17 Mar 2002) | 2 lines +r933 | guus | 2002-03-17 16:59:29 +0100 (zo, 17 mrt 2002) | 2 lines Unmap v4mapped sockaddrs. ------------------------------------------------------------------------ -r932 | guus | 2002-03-15 16:50:14 +0100 (Fri, 15 Mar 2002) | 2 lines +r932 | guus | 2002-03-15 16:50:14 +0100 (vr, 15 mrt 2002) | 2 lines Typo. ------------------------------------------------------------------------ -r931 | guus | 2002-03-15 16:40:40 +0100 (Fri, 15 Mar 2002) | 2 lines +r931 | guus | 2002-03-15 16:40:40 +0100 (vr, 15 mrt 2002) | 2 lines Different way of detecting neighbor solicitation requests. ------------------------------------------------------------------------ -r930 | guus | 2002-03-15 16:08:21 +0100 (Fri, 15 Mar 2002) | 2 lines +r930 | guus | 2002-03-15 16:08:21 +0100 (vr, 15 mrt 2002) | 2 lines Oops, don't forget to actually put the checksum in the response packet. ------------------------------------------------------------------------ -r929 | guus | 2002-03-15 15:41:57 +0100 (Fri, 15 Mar 2002) | 2 lines +r929 | guus | 2002-03-15 15:41:57 +0100 (vr, 15 mrt 2002) | 2 lines Neighbor solicitation requests now work (I think). ------------------------------------------------------------------------ -r928 | guus | 2002-03-12 17:30:15 +0100 (Tue, 12 Mar 2002) | 2 lines +r928 | guus | 2002-03-12 17:30:15 +0100 (di, 12 mrt 2002) | 2 lines Revert changes to Kruskal's algo. ------------------------------------------------------------------------ -r927 | guus | 2002-03-12 15:25:04 +0100 (Tue, 12 Mar 2002) | 2 lines +r927 | guus | 2002-03-12 15:25:04 +0100 (di, 12 mrt 2002) | 2 lines Put #ifdef NEIGHBORSOL around corresponding code. ------------------------------------------------------------------------ -r926 | guus | 2002-03-12 15:20:44 +0100 (Tue, 12 Mar 2002) | 2 lines +r926 | guus | 2002-03-12 15:20:44 +0100 (di, 12 mrt 2002) | 2 lines Remove silly cache thingy. ------------------------------------------------------------------------ -r925 | guus | 2002-03-12 15:19:51 +0100 (Tue, 12 Mar 2002) | 2 lines +r925 | guus | 2002-03-12 15:19:51 +0100 (di, 12 mrt 2002) | 2 lines Packet sequence number/authentication warnings only if debug_lvl >= 5. ------------------------------------------------------------------------ -r924 | guus | 2002-03-12 14:42:23 +0100 (Tue, 12 Mar 2002) | 2 lines +r924 | guus | 2002-03-12 14:42:23 +0100 (di, 12 mrt 2002) | 2 lines Simplified implementation of Kruskal's minimum spanning tree algorithm. ------------------------------------------------------------------------ -r923 | guus | 2002-03-11 14:56:00 +0100 (Mon, 11 Mar 2002) | 2 lines +r923 | guus | 2002-03-11 14:56:00 +0100 (ma, 11 mrt 2002) | 2 lines New strategy: forward icmp6 neighbor solicitations to intended target. ------------------------------------------------------------------------ -r922 | guus | 2002-03-11 14:14:53 +0100 (Mon, 11 Mar 2002) | 2 lines +r922 | guus | 2002-03-11 14:14:53 +0100 (ma, 11 mrt 2002) | 2 lines Try to reply to neighbor solicitation requests. ------------------------------------------------------------------------ -r921 | guus | 2002-03-11 12:45:12 +0100 (Mon, 11 Mar 2002) | 2 lines +r921 | guus | 2002-03-11 12:45:12 +0100 (ma, 11 mrt 2002) | 2 lines prune_connections() before build_fdset(). ------------------------------------------------------------------------ -r920 | guus | 2002-03-11 12:23:04 +0100 (Mon, 11 Mar 2002) | 3 lines +r920 | guus | 2002-03-11 12:23:04 +0100 (ma, 11 mrt 2002) | 3 lines Cleanups, spelling fixes, allow symbol names for signals (-k option), don't remove pidfile if other tincd is still running. ------------------------------------------------------------------------ -r919 | guus | 2002-03-10 17:09:15 +0100 (Sun, 10 Mar 2002) | 2 lines +r919 | guus | 2002-03-10 17:09:15 +0100 (zo, 10 mrt 2002) | 2 lines Don't retry to make outgoing connections when exitting. ------------------------------------------------------------------------ -r918 | guus | 2002-03-10 16:40:27 +0100 (Sun, 10 Mar 2002) | 2 lines +r918 | guus | 2002-03-10 16:40:27 +0100 (zo, 10 mrt 2002) | 2 lines Small fixes to improve portability. ------------------------------------------------------------------------ -r917 | guus | 2002-03-10 15:07:08 +0100 (Sun, 10 Mar 2002) | 2 lines +r917 | guus | 2002-03-10 15:07:08 +0100 (zo, 10 mrt 2002) | 2 lines Autodetect $MAKE/gmake/make. ------------------------------------------------------------------------ -r916 | guus | 2002-03-10 15:05:35 +0100 (Sun, 10 Mar 2002) | 2 lines +r916 | guus | 2002-03-10 15:05:35 +0100 (zo, 10 mrt 2002) | 2 lines po/POTFILES and po/Makefile should not be generated by configure. ------------------------------------------------------------------------ -r915 | guus | 2002-03-10 15:04:48 +0100 (Sun, 10 Mar 2002) | 2 lines +r915 | guus | 2002-03-10 15:04:48 +0100 (zo, 10 mrt 2002) | 2 lines Fix forwarding of IPv6 packets. ------------------------------------------------------------------------ -r914 | guus | 2002-03-01 16:14:29 +0100 (Fri, 01 Mar 2002) | 2 lines +r914 | guus | 2002-03-01 16:14:29 +0100 (vr, 01 mrt 2002) | 2 lines Check if BindToDevice and PriorityInheritance are supported. ------------------------------------------------------------------------ -r913 | guus | 2002-03-01 15:33:48 +0100 (Fri, 01 Mar 2002) | 2 lines +r913 | guus | 2002-03-01 15:33:48 +0100 (vr, 01 mrt 2002) | 2 lines Woops. ------------------------------------------------------------------------ -r912 | guus | 2002-03-01 15:25:10 +0100 (Fri, 01 Mar 2002) | 2 lines +r912 | guus | 2002-03-01 15:25:10 +0100 (vr, 01 mrt 2002) | 2 lines Document and clean up MAC address expiry. ------------------------------------------------------------------------ -r911 | guus | 2002-03-01 15:09:31 +0100 (Fri, 01 Mar 2002) | 4 lines +r911 | guus | 2002-03-01 15:09:31 +0100 (vr, 01 mrt 2002) | 4 lines - Global time_t now, so that we don't have to call time() too often. - MAC addresses expire after a time configurable by MACExpire (default 600 seconds) ------------------------------------------------------------------------ -r910 | guus | 2002-03-01 14:38:15 +0100 (Fri, 01 Mar 2002) | 2 lines +r910 | guus | 2002-03-01 14:38:15 +0100 (vr, 01 mrt 2002) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r909 | guus | 2002-03-01 14:38:02 +0100 (Fri, 01 Mar 2002) | 2 lines +r909 | guus | 2002-03-01 14:38:02 +0100 (vr, 01 mrt 2002) | 2 lines Updated documentation. ------------------------------------------------------------------------ -r908 | guus | 2002-03-01 14:18:54 +0100 (Fri, 01 Mar 2002) | 2 lines +r908 | guus | 2002-03-01 14:18:54 +0100 (vr, 01 mrt 2002) | 2 lines Create/bind TCP and UDP listening sockets in pairs. ------------------------------------------------------------------------ -r907 | guus | 2002-03-01 13:26:56 +0100 (Fri, 01 Mar 2002) | 4 lines +r907 | guus | 2002-03-01 13:26:56 +0100 (vr, 01 mrt 2002) | 4 lines If "PriorityInheritance = yes" is specified in tinc.conf, the value of the TOS field of the tunneled packets will be passed on to the UDP packets tinc sends out. ------------------------------------------------------------------------ -r906 | guus | 2002-03-01 13:25:58 +0100 (Fri, 01 Mar 2002) | 2 lines +r906 | guus | 2002-03-01 13:25:58 +0100 (vr, 01 mrt 2002) | 2 lines Fix listening sockets. ------------------------------------------------------------------------ -r905 | guus | 2002-03-01 12:18:34 +0100 (Fri, 01 Mar 2002) | 2 lines +r905 | guus | 2002-03-01 12:18:34 +0100 (vr, 01 mrt 2002) | 2 lines Make BindToInterface work. ------------------------------------------------------------------------ -r904 | guus | 2002-02-27 23:37:55 +0100 (Wed, 27 Feb 2002) | 2 lines +r904 | guus | 2002-02-27 23:37:55 +0100 (wo, 27 feb 2002) | 2 lines Fix send_request() bug. ------------------------------------------------------------------------ -r903 | guus | 2002-02-27 00:26:41 +0100 (Wed, 27 Feb 2002) | 2 lines +r903 | guus | 2002-02-27 00:26:41 +0100 (wo, 27 feb 2002) | 2 lines Allow multiple listening sockets. ------------------------------------------------------------------------ -r902 | guus | 2002-02-26 23:47:51 +0100 (Tue, 26 Feb 2002) | 2 lines +r902 | guus | 2002-02-26 23:47:51 +0100 (di, 26 feb 2002) | 2 lines Tweaking IPv6 support. ------------------------------------------------------------------------ -r901 | guus | 2002-02-20 23:37:38 +0100 (Wed, 20 Feb 2002) | 3 lines +r901 | guus | 2002-02-20 23:37:38 +0100 (wo, 20 feb 2002) | 3 lines - Change SA_LEN to SALEN, former one is already defined on some platforms. - Use SALEN everywhere appropriate. ------------------------------------------------------------------------ -r900 | guus | 2002-02-20 23:15:32 +0100 (Wed, 20 Feb 2002) | 4 lines +r900 | guus | 2002-02-20 23:15:32 +0100 (wo, 20 feb 2002) | 4 lines - Use gai_strerror() where appropriate - Clear hints before using them with getaddrinfo() - Use sa_len on platforms that support them ------------------------------------------------------------------------ -r899 | guus | 2002-02-20 20:31:15 +0100 (Wed, 20 Feb 2002) | 2 lines +r899 | guus | 2002-02-20 20:31:15 +0100 (wo, 20 feb 2002) | 2 lines Preserve inpkt->len, needed for broadcasts. ------------------------------------------------------------------------ -r898 | guus | 2002-02-20 20:25:09 +0100 (Wed, 20 Feb 2002) | 3 lines +r898 | guus | 2002-02-20 20:25:09 +0100 (wo, 20 feb 2002) | 3 lines Protocol now also exchanges cipher/digest/maclength/compression for the meta connection. ------------------------------------------------------------------------ -r897 | guus | 2002-02-20 18:16:15 +0100 (Wed, 20 Feb 2002) | 2 lines +r897 | guus | 2002-02-20 18:16:15 +0100 (wo, 20 feb 2002) | 2 lines Cache results of lookup_subnet_...(). ------------------------------------------------------------------------ -r896 | guus | 2002-02-20 18:15:33 +0100 (Wed, 20 Feb 2002) | 2 lines +r896 | guus | 2002-02-20 18:15:33 +0100 (wo, 20 feb 2002) | 2 lines Fix maskcmp() and maskcpy(). ------------------------------------------------------------------------ -r895 | guus | 2002-02-20 17:04:59 +0100 (Wed, 20 Feb 2002) | 2 lines +r895 | guus | 2002-02-20 17:04:59 +0100 (wo, 20 feb 2002) | 2 lines Forward packets in router mode. ------------------------------------------------------------------------ -r894 | guus | 2002-02-20 17:04:39 +0100 (Wed, 20 Feb 2002) | 2 lines +r894 | guus | 2002-02-20 17:04:39 +0100 (wo, 20 feb 2002) | 2 lines Use AF_UNSPEC for listening sockets if AddressFamily = any. ------------------------------------------------------------------------ -r893 | guus | 2002-02-20 17:04:07 +0100 (Wed, 20 Feb 2002) | 2 lines +r893 | guus | 2002-02-20 17:04:07 +0100 (wo, 20 feb 2002) | 2 lines Fix segfault when receiving HUP signal. ------------------------------------------------------------------------ -r892 | guus | 2002-02-18 17:25:19 +0100 (Mon, 18 Feb 2002) | 8 lines +r892 | guus | 2002-02-18 17:25:19 +0100 (ma, 18 feb 2002) | 8 lines - Non-blocking connect()s. - Socket handling revamped to use sockaddr_t. @@ -2183,251 +2265,251 @@ r892 | guus | 2002-02-18 17:25:19 +0100 (Mon, 18 Feb 2002) | 8 lines - Use %s and strerror(errno) instead of %m. ------------------------------------------------------------------------ -r888 | guus | 2002-02-12 15:42:37 +0100 (Tue, 12 Feb 2002) | 2 lines +r888 | guus | 2002-02-12 15:42:37 +0100 (di, 12 feb 2002) | 2 lines Add check for NetBSD. ------------------------------------------------------------------------ -r887 | guus | 2002-02-12 15:40:12 +0100 (Tue, 12 Feb 2002) | 2 lines +r887 | guus | 2002-02-12 15:40:12 +0100 (di, 12 feb 2002) | 2 lines Added device.c for NetBSD, actually a copy of the OpenBSD one. ------------------------------------------------------------------------ -r886 | guus | 2002-02-12 15:36:45 +0100 (Tue, 12 Feb 2002) | 2 lines +r886 | guus | 2002-02-12 15:36:45 +0100 (di, 12 feb 2002) | 2 lines Get rid of sys/signal.h. ------------------------------------------------------------------------ -r884 | guus | 2002-02-12 15:29:00 +0100 (Tue, 12 Feb 2002) | 2 lines +r884 | guus | 2002-02-12 15:29:00 +0100 (di, 12 feb 2002) | 2 lines Don't use sa_sigaction (which NetBSD doesn't like) at all if we don't use siginfo. ------------------------------------------------------------------------ -r883 | guus | 2002-02-11 16:59:18 +0100 (Mon, 11 Feb 2002) | 4 lines +r883 | guus | 2002-02-11 16:59:18 +0100 (ma, 11 feb 2002) | 4 lines Added support for packet compression, thanks to Mark Glines. Add "Compression = " to the host config files, where level can be 0 (off), or any integer between 1 (fast) and 9 (best). ------------------------------------------------------------------------ -r881 | guus | 2002-02-11 15:20:46 +0100 (Mon, 11 Feb 2002) | 2 lines +r881 | guus | 2002-02-11 15:20:46 +0100 (ma, 11 feb 2002) | 2 lines Small fix. ------------------------------------------------------------------------ -r880 | guus | 2002-02-11 15:20:21 +0100 (Mon, 11 Feb 2002) | 3 lines +r880 | guus | 2002-02-11 15:20:21 +0100 (ma, 11 feb 2002) | 3 lines - If no PrivateKeyFile is specified, /etc/tinc/netname/rsa_key.priv is assumed. - Check RSA key before using it. ------------------------------------------------------------------------ -r879 | guus | 2002-02-11 13:33:01 +0100 (Mon, 11 Feb 2002) | 2 lines +r879 | guus | 2002-02-11 13:33:01 +0100 (ma, 11 feb 2002) | 2 lines Sensible defaults for $INTERFACE. ------------------------------------------------------------------------ -r878 | guus | 2002-02-11 11:16:18 +0100 (Mon, 11 Feb 2002) | 2 lines +r878 | guus | 2002-02-11 11:16:18 +0100 (ma, 11 feb 2002) | 2 lines Last bits of the merger. ------------------------------------------------------------------------ -r877 | guus | 2002-02-11 11:05:58 +0100 (Mon, 11 Feb 2002) | 2 lines +r877 | guus | 2002-02-11 11:05:58 +0100 (ma, 11 feb 2002) | 2 lines Forgot to merge new files from pre5. ------------------------------------------------------------------------ -r876 | guus | 2002-02-10 22:57:54 +0100 (Sun, 10 Feb 2002) | 2 lines +r876 | guus | 2002-02-10 22:57:54 +0100 (zo, 10 feb 2002) | 2 lines Merging of the entire pre5 branch. ------------------------------------------------------------------------ -r784 | zarq | 2001-11-16 23:41:38 +0100 (Fri, 16 Nov 2001) | 2 lines +r784 | zarq | 2001-11-16 23:41:38 +0100 (vr, 16 nov 2001) | 2 lines Conversion to struct addrinfo is almost complete for this file. ------------------------------------------------------------------------ -r783 | zarq | 2001-11-16 23:40:26 +0100 (Fri, 16 Nov 2001) | 2 lines +r783 | zarq | 2001-11-16 23:40:26 +0100 (vr, 16 nov 2001) | 2 lines Don't include netutl.h. ------------------------------------------------------------------------ -r782 | zarq | 2001-11-16 23:31:41 +0100 (Fri, 16 Nov 2001) | 2 lines +r782 | zarq | 2001-11-16 23:31:41 +0100 (vr, 16 nov 2001) | 2 lines Fixed silly typo: "np" instead of "no" ------------------------------------------------------------------------ -r781 | zarq | 2001-11-16 23:31:15 +0100 (Fri, 16 Nov 2001) | 2 lines +r781 | zarq | 2001-11-16 23:31:15 +0100 (vr, 16 nov 2001) | 2 lines get_config_subnet needs to be fixed. ------------------------------------------------------------------------ -r780 | zarq | 2001-11-16 18:40:50 +0100 (Fri, 16 Nov 2001) | 2 lines +r780 | zarq | 2001-11-16 18:40:50 +0100 (vr, 16 nov 2001) | 2 lines route_ipv4 and route_ipv6 replaced by route_ip. ------------------------------------------------------------------------ -r779 | zarq | 2001-11-16 18:39:59 +0100 (Fri, 16 Nov 2001) | 2 lines +r779 | zarq | 2001-11-16 18:39:59 +0100 (vr, 16 nov 2001) | 2 lines Don't include netutl.h. ------------------------------------------------------------------------ -r778 | zarq | 2001-11-16 18:39:38 +0100 (Fri, 16 Nov 2001) | 2 lines +r778 | zarq | 2001-11-16 18:39:38 +0100 (vr, 16 nov 2001) | 2 lines lookup_node_udp changed. ------------------------------------------------------------------------ -r777 | zarq | 2001-11-16 18:38:39 +0100 (Fri, 16 Nov 2001) | 2 lines +r777 | zarq | 2001-11-16 18:38:39 +0100 (vr, 16 nov 2001) | 2 lines First part of rewriting things to use struct addrinfo. ------------------------------------------------------------------------ -r776 | zarq | 2001-11-16 18:37:08 +0100 (Fri, 16 Nov 2001) | 2 lines +r776 | zarq | 2001-11-16 18:37:08 +0100 (vr, 16 nov 2001) | 2 lines Added dropin replacements for get*info and helper functions. ------------------------------------------------------------------------ -r775 | zarq | 2001-11-16 17:16:33 +0100 (Fri, 16 Nov 2001) | 2 lines +r775 | zarq | 2001-11-16 17:16:33 +0100 (vr, 16 nov 2001) | 2 lines Added HAVE_STRUCT_ADDRINFO ------------------------------------------------------------------------ -r774 | zarq | 2001-11-16 16:56:44 +0100 (Fri, 16 Nov 2001) | 2 lines +r774 | zarq | 2001-11-16 16:56:44 +0100 (vr, 16 nov 2001) | 2 lines (re)added port to struct node_t ------------------------------------------------------------------------ -r773 | zarq | 2001-11-16 13:22:02 +0100 (Fri, 16 Nov 2001) | 2 lines +r773 | zarq | 2001-11-16 13:22:02 +0100 (vr, 16 nov 2001) | 2 lines Don't include netutl.h. ------------------------------------------------------------------------ -r772 | zarq | 2001-11-16 13:21:22 +0100 (Fri, 16 Nov 2001) | 2 lines +r772 | zarq | 2001-11-16 13:21:22 +0100 (vr, 16 nov 2001) | 2 lines Obsoleted. ------------------------------------------------------------------------ -r771 | zarq | 2001-11-16 13:16:28 +0100 (Fri, 16 Nov 2001) | 2 lines +r771 | zarq | 2001-11-16 13:16:28 +0100 (vr, 16 nov 2001) | 2 lines Don't compile/link netutl.c. ------------------------------------------------------------------------ -r770 | zarq | 2001-11-16 13:14:20 +0100 (Fri, 16 Nov 2001) | 2 lines +r770 | zarq | 2001-11-16 13:14:20 +0100 (vr, 16 nov 2001) | 2 lines get_config_{ip,port} removed. ------------------------------------------------------------------------ -r769 | zarq | 2001-11-16 13:13:34 +0100 (Fri, 16 Nov 2001) | 2 lines +r769 | zarq | 2001-11-16 13:13:34 +0100 (vr, 16 nov 2001) | 2 lines Changed to use struct addrinfo where needed. ------------------------------------------------------------------------ -r768 | zarq | 2001-11-16 13:10:54 +0100 (Fri, 16 Nov 2001) | 2 lines +r768 | zarq | 2001-11-16 13:10:54 +0100 (vr, 16 nov 2001) | 2 lines Obsoleted all IP types in favor of struct addrinfo ------------------------------------------------------------------------ -r767 | zarq | 2001-11-16 13:08:38 +0100 (Fri, 16 Nov 2001) | 2 lines +r767 | zarq | 2001-11-16 13:08:38 +0100 (vr, 16 nov 2001) | 2 lines Removed definitions of ipv4_t, ipv6_t, port_t ------------------------------------------------------------------------ -r766 | zarq | 2001-11-16 13:02:17 +0100 (Fri, 16 Nov 2001) | 2 lines +r766 | zarq | 2001-11-16 13:02:17 +0100 (vr, 16 nov 2001) | 2 lines Changed lookup_connection to use struct addrinfo ------------------------------------------------------------------------ -r765 | zarq | 2001-11-16 13:01:48 +0100 (Fri, 16 Nov 2001) | 2 lines +r765 | zarq | 2001-11-16 13:01:48 +0100 (vr, 16 nov 2001) | 2 lines Changed prototype for lookup_connection to use struct addrinfo ------------------------------------------------------------------------ -r764 | zarq | 2001-11-16 01:23:28 +0100 (Fri, 16 Nov 2001) | 3 lines +r764 | zarq | 2001-11-16 01:23:28 +0100 (vr, 16 nov 2001) | 3 lines Use struct addrinfo in connection_t to hold all host data such as IP address and port ------------------------------------------------------------------------ -r763 | zarq | 2001-11-16 01:13:08 +0100 (Fri, 16 Nov 2001) | 2 lines +r763 | zarq | 2001-11-16 01:13:08 +0100 (vr, 16 nov 2001) | 2 lines Deprecated get_config_ip and get_config_port ------------------------------------------------------------------------ -r762 | zarq | 2001-11-16 00:49:46 +0100 (Fri, 16 Nov 2001) | 2 lines +r762 | zarq | 2001-11-16 00:49:46 +0100 (vr, 16 nov 2001) | 2 lines Check for struct addrinfo ------------------------------------------------------------------------ -r761 | zarq | 2001-11-16 00:28:58 +0100 (Fri, 16 Nov 2001) | 2 lines +r761 | zarq | 2001-11-16 00:28:58 +0100 (vr, 16 nov 2001) | 2 lines Credit OpenSSH ------------------------------------------------------------------------ -r760 | zarq | 2001-11-16 00:26:27 +0100 (Fri, 16 Nov 2001) | 2 lines +r760 | zarq | 2001-11-16 00:26:27 +0100 (vr, 16 nov 2001) | 2 lines Check for getnameinfo, gai_strerror, freeaddrinfo ------------------------------------------------------------------------ -r759 | zarq | 2001-11-16 00:05:34 +0100 (Fri, 16 Nov 2001) | 2 lines +r759 | zarq | 2001-11-16 00:05:34 +0100 (vr, 16 nov 2001) | 2 lines Check for getaddrinfo ------------------------------------------------------------------------ -r758 | guus | 2001-11-05 20:09:08 +0100 (Mon, 05 Nov 2001) | 2 lines +r758 | guus | 2001-11-05 20:09:08 +0100 (ma, 05 nov 2001) | 2 lines More fixes for Solaris. ------------------------------------------------------------------------ -r757 | guus | 2001-11-05 20:06:07 +0100 (Mon, 05 Nov 2001) | 2 lines +r757 | guus | 2001-11-05 20:06:07 +0100 (ma, 05 nov 2001) | 2 lines Various fixes needed for Solaris. ------------------------------------------------------------------------ -r756 | guus | 2001-11-05 00:48:27 +0100 (Mon, 05 Nov 2001) | 2 lines +r756 | guus | 2001-11-05 00:48:27 +0100 (ma, 05 nov 2001) | 2 lines Correctly check if subnet owner exists. ------------------------------------------------------------------------ -r755 | guus | 2001-11-05 00:29:50 +0100 (Mon, 05 Nov 2001) | 2 lines +r755 | guus | 2001-11-05 00:29:50 +0100 (ma, 05 nov 2001) | 2 lines Be liberal in what you accept: allow unknown edges to be deleted. ------------------------------------------------------------------------ -r754 | guus | 2001-11-03 23:53:02 +0100 (Sat, 03 Nov 2001) | 2 lines +r754 | guus | 2001-11-03 23:53:02 +0100 (za, 03 nov 2001) | 2 lines *** empty log message *** ------------------------------------------------------------------------ -r753 | guus | 2001-11-03 22:22:02 +0100 (Sat, 03 Nov 2001) | 2 lines +r753 | guus | 2001-11-03 22:22:02 +0100 (za, 03 nov 2001) | 2 lines Several bugfixes. ------------------------------------------------------------------------ -r752 | guus | 2001-11-03 22:21:04 +0100 (Sat, 03 Nov 2001) | 2 lines +r752 | guus | 2001-11-03 22:21:04 +0100 (za, 03 nov 2001) | 2 lines Use PEM functions as suggested by OpenSSL docs. ------------------------------------------------------------------------ -r751 | guus | 2001-10-31 21:37:54 +0100 (Wed, 31 Oct 2001) | 2 lines +r751 | guus | 2001-10-31 21:37:54 +0100 (wo, 31 okt 2001) | 2 lines Some very small fixes ------------------------------------------------------------------------ -r750 | guus | 2001-10-31 21:22:52 +0100 (Wed, 31 Oct 2001) | 2 lines +r750 | guus | 2001-10-31 21:22:52 +0100 (wo, 31 okt 2001) | 2 lines Avoid connecting to another node twice, and check name of outgoing connections. ------------------------------------------------------------------------ -r749 | guus | 2001-10-31 21:07:17 +0100 (Wed, 31 Oct 2001) | 2 lines +r749 | guus | 2001-10-31 21:07:17 +0100 (wo, 31 okt 2001) | 2 lines Show cfg->variable instead of cfg->value when complaining about wrong type. ------------------------------------------------------------------------ -r748 | guus | 2001-10-31 21:02:06 +0100 (Wed, 31 Oct 2001) | 2 lines +r748 | guus | 2001-10-31 21:02:06 +0100 (wo, 31 okt 2001) | 2 lines Don't forget to read public RSA key when making an outgoing connection. ------------------------------------------------------------------------ -r747 | guus | 2001-10-31 13:50:24 +0100 (Wed, 31 Oct 2001) | 5 lines +r747 | guus | 2001-10-31 13:50:24 +0100 (wo, 31 okt 2001) | 5 lines - Small fixes to graph algorithms - More control over tap device, ability to set interface name to something @@ -2435,50 +2517,50 @@ r747 | guus | 2001-10-31 13:50:24 +0100 (Wed, 31 Oct 2001) | 5 lines - Export NETNAME, DEVICE and INTERFACE environment variables to scripts. ------------------------------------------------------------------------ -r746 | guus | 2001-10-30 17:34:32 +0100 (Tue, 30 Oct 2001) | 2 lines +r746 | guus | 2001-10-30 17:34:32 +0100 (di, 30 okt 2001) | 2 lines More updates to protocol handlers and reimplemented terminate_connection(). ------------------------------------------------------------------------ -r745 | guus | 2001-10-30 13:59:12 +0100 (Tue, 30 Oct 2001) | 2 lines +r745 | guus | 2001-10-30 13:59:12 +0100 (di, 30 okt 2001) | 2 lines Various fixes, tinc is now somewhat capable of actually working again. ------------------------------------------------------------------------ -r744 | guus | 2001-10-29 14:14:57 +0100 (Mon, 29 Oct 2001) | 2 lines +r744 | guus | 2001-10-29 14:14:57 +0100 (ma, 29 okt 2001) | 2 lines Working version of Kruskal's algorithm. The running time is very bad though. ------------------------------------------------------------------------ -r742 | guus | 2001-10-28 23:42:49 +0100 (Sun, 28 Oct 2001) | 4 lines +r742 | guus | 2001-10-28 23:42:49 +0100 (zo, 28 okt 2001) | 4 lines - More changes needed for Kruskal's algorithm - Implemented a breadth-first search algorithm as a cheap substitution for a single-source shortest path algorithm. ------------------------------------------------------------------------ -r741 | guus | 2001-10-28 11:16:18 +0100 (Sun, 28 Oct 2001) | 3 lines +r741 | guus | 2001-10-28 11:16:18 +0100 (zo, 28 okt 2001) | 3 lines - More s/vertex/edge/g - Implementation of Kruskal's minimum spanning tree algorithm. ------------------------------------------------------------------------ -r739 | guus | 2001-10-28 09:41:19 +0100 (Sun, 28 Oct 2001) | 2 lines +r739 | guus | 2001-10-28 09:41:19 +0100 (zo, 28 okt 2001) | 2 lines What was I thinking? s/vertex/edge/g. ------------------------------------------------------------------------ -r736 | guus | 2001-10-27 17:19:13 +0200 (Sat, 27 Oct 2001) | 2 lines +r736 | guus | 2001-10-27 17:19:13 +0200 (za, 27 okt 2001) | 2 lines Various small fixes to make tinc runnable again. ------------------------------------------------------------------------ -r735 | guus | 2001-10-27 15:13:35 +0200 (Sat, 27 Oct 2001) | 2 lines +r735 | guus | 2001-10-27 15:13:35 +0200 (za, 27 okt 2001) | 2 lines Make sure everything links. ------------------------------------------------------------------------ -r734 | guus | 2001-10-27 14:13:17 +0200 (Sat, 27 Oct 2001) | 8 lines +r734 | guus | 2001-10-27 14:13:17 +0200 (za, 27 okt 2001) | 8 lines Big bad commit: - Transition to new node/vertex/connection structures @@ -2489,49 +2571,49 @@ Big bad commit: It compiles, but it won't link. ------------------------------------------------------------------------ -r733 | guus | 2001-10-13 15:53:07 +0200 (Sat, 13 Oct 2001) | 2 lines +r733 | guus | 2001-10-13 15:53:07 +0200 (za, 13 okt 2001) | 2 lines Support new files (node/vertex/device.[ch]) and OpenBSD. ------------------------------------------------------------------------ -r732 | guus | 2001-10-12 17:52:03 +0200 (Fri, 12 Oct 2001) | 2 lines +r732 | guus | 2001-10-12 17:52:03 +0200 (vr, 12 okt 2001) | 2 lines Forgot the tun specific stuff. ------------------------------------------------------------------------ -r731 | guus | 2001-10-12 17:49:11 +0200 (Fri, 12 Oct 2001) | 2 lines +r731 | guus | 2001-10-12 17:49:11 +0200 (vr, 12 okt 2001) | 2 lines Added OpenBSD tun device handling. Untested though. ------------------------------------------------------------------------ -r729 | guus | 2001-10-12 17:38:35 +0200 (Fri, 12 Oct 2001) | 2 lines +r729 | guus | 2001-10-12 17:38:35 +0200 (vr, 12 okt 2001) | 2 lines Forgot to remove some old #ifdef stuff. ------------------------------------------------------------------------ -r728 | guus | 2001-10-12 17:33:21 +0200 (Fri, 12 Oct 2001) | 2 lines +r728 | guus | 2001-10-12 17:33:21 +0200 (vr, 12 okt 2001) | 2 lines Solaris tun device handling cleaned up a bit and added. ------------------------------------------------------------------------ -r726 | guus | 2001-10-12 17:22:59 +0200 (Fri, 12 Oct 2001) | 2 lines +r726 | guus | 2001-10-12 17:22:59 +0200 (vr, 12 okt 2001) | 2 lines Added FreeBSD tap device handling. ------------------------------------------------------------------------ -r724 | guus | 2001-10-12 17:16:03 +0200 (Fri, 12 Oct 2001) | 4 lines +r724 | guus | 2001-10-12 17:16:03 +0200 (vr, 12 okt 2001) | 4 lines - Split tap device stuff out of net.[ch] - Each OS gets it's own device.c to get rid of evil #ifdefs. - Cleaned up Linux ethertap and tun/tap handling. ------------------------------------------------------------------------ -r721 | guus | 2001-10-10 22:35:10 +0200 (Wed, 10 Oct 2001) | 2 lines +r721 | guus | 2001-10-10 22:35:10 +0200 (wo, 10 okt 2001) | 2 lines More updates to new node/vertex/connection combo. ------------------------------------------------------------------------ -r720 | guus | 2001-10-10 22:34:27 +0200 (Wed, 10 Oct 2001) | 6 lines +r720 | guus | 2001-10-10 22:34:27 +0200 (wo, 10 okt 2001) | 6 lines Revamp configuration handling: - Store everything in AVL trees (fast lookup) @@ -2540,203 +2622,203 @@ Revamp configuration handling: - This simplifies a lot of config variable lookups. ------------------------------------------------------------------------ -r719 | guus | 2001-10-10 11:42:29 +0200 (Wed, 10 Oct 2001) | 3 lines +r719 | guus | 2001-10-10 11:42:29 +0200 (wo, 10 okt 2001) | 3 lines Removed everything from connection.c that has already been moved to node.c and vertex.c. ------------------------------------------------------------------------ -r718 | guus | 2001-10-10 10:49:47 +0200 (Wed, 10 Oct 2001) | 3 lines +r718 | guus | 2001-10-10 10:49:47 +0200 (wo, 10 okt 2001) | 3 lines Further implementation of doc/CONNECTIVITY. connection.[ch] is now split into a node, vertex and connection part. ------------------------------------------------------------------------ -r715 | wsl | 2001-10-09 21:41:56 +0200 (Tue, 09 Oct 2001) | 2 lines +r715 | wsl | 2001-10-09 21:41:56 +0200 (di, 09 okt 2001) | 2 lines make is not always GNU make. ------------------------------------------------------------------------ -r714 | guus | 2001-10-09 21:37:10 +0200 (Tue, 09 Oct 2001) | 2 lines +r714 | guus | 2001-10-09 21:37:10 +0200 (di, 09 okt 2001) | 2 lines Small corrections. ------------------------------------------------------------------------ -r713 | guus | 2001-10-09 21:30:30 +0200 (Tue, 09 Oct 2001) | 2 lines +r713 | guus | 2001-10-09 21:30:30 +0200 (di, 09 okt 2001) | 2 lines Started implementing doc/CONNECTIVITY. ------------------------------------------------------------------------ -r710 | guus | 2001-10-08 17:47:30 +0200 (Mon, 08 Oct 2001) | 2 lines +r710 | guus | 2001-10-08 17:47:30 +0200 (ma, 08 okt 2001) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r709 | guus | 2001-10-08 17:37:14 +0200 (Mon, 08 Oct 2001) | 3 lines +r709 | guus | 2001-10-08 17:37:14 +0200 (ma, 08 okt 2001) | 3 lines Fix bug when dropping an old connection in favour of a new one from the same host. ------------------------------------------------------------------------ -r708 | guus | 2001-10-08 15:37:30 +0200 (Mon, 08 Oct 2001) | 4 lines +r708 | guus | 2001-10-08 15:37:30 +0200 (ma, 08 okt 2001) | 4 lines - Use ping timeout mechanism to close connections that don't authenticate in time. - Fix potential segmentation fault in check_dead_connections(). ------------------------------------------------------------------------ -r707 | guus | 2001-10-08 13:59:08 +0200 (Mon, 08 Oct 2001) | 3 lines +r707 | guus | 2001-10-08 13:59:08 +0200 (ma, 08 okt 2001) | 3 lines Fix bug where tinc would crash because of a portscan or a connection from a tinc daemon with a different version. ------------------------------------------------------------------------ -r706 | guus | 2001-10-08 13:47:55 +0200 (Mon, 08 Oct 2001) | 4 lines +r706 | guus | 2001-10-08 13:47:55 +0200 (ma, 08 okt 2001) | 4 lines - Renamed lastbutonehop to prevhop. - Added connection_t *via to connection_t, this keeps record of where to send UDP packets to. ------------------------------------------------------------------------ -r705 | guus | 2001-09-25 15:39:11 +0200 (Tue, 25 Sep 2001) | 2 lines +r705 | guus | 2001-09-25 15:39:11 +0200 (di, 25 sep 2001) | 2 lines Fill in next- and lastbutonehop for myself. ------------------------------------------------------------------------ -r704 | guus | 2001-09-25 15:35:45 +0200 (Tue, 25 Sep 2001) | 2 lines +r704 | guus | 2001-09-25 15:35:45 +0200 (di, 25 sep 2001) | 2 lines Try next connectto instead of the same over and over. ------------------------------------------------------------------------ -r703 | guus | 2001-09-24 16:16:29 +0200 (Mon, 24 Sep 2001) | 2 lines +r703 | guus | 2001-09-24 16:16:29 +0200 (ma, 24 sep 2001) | 2 lines Show next- and lastbutonehop when dumping connectionlist to syslog. ------------------------------------------------------------------------ -r702 | guus | 2001-09-24 16:12:00 +0200 (Mon, 24 Sep 2001) | 4 lines +r702 | guus | 2001-09-24 16:12:00 +0200 (ma, 24 sep 2001) | 4 lines Not only keep track of nexthop, but also of lastbutonehop. If destination cl wants indirectdata, send it to the lastbutonehop instead, unless it too has requested so, and so on. ------------------------------------------------------------------------ -r701 | guus | 2001-09-24 15:31:15 +0200 (Mon, 24 Sep 2001) | 3 lines +r701 | guus | 2001-09-24 15:31:15 +0200 (ma, 24 sep 2001) | 3 lines - Try old TUN/TAP ioctl() request if the one from if_tun.h fails. - Be more verbose about the kind of tap device used. ------------------------------------------------------------------------ -r700 | zarq | 2001-09-05 20:38:09 +0200 (Wed, 05 Sep 2001) | 3 lines +r700 | zarq | 2001-09-05 20:38:09 +0200 (wo, 05 sep 2001) | 3 lines Killing tincd with SIGINT causes it to toggle between the current debug level and level 5. Useful to debug a running tincd. ------------------------------------------------------------------------ -r699 | guus | 2001-09-01 14:46:49 +0200 (Sat, 01 Sep 2001) | 2 lines +r699 | guus | 2001-09-01 14:46:49 +0200 (za, 01 sep 2001) | 2 lines config_t* is a const parameter in get_config_val(). ------------------------------------------------------------------------ -r698 | guus | 2001-09-01 14:36:53 +0200 (Sat, 01 Sep 2001) | 2 lines +r698 | guus | 2001-09-01 14:36:53 +0200 (za, 01 sep 2001) | 2 lines Optional signal number for -k option. ------------------------------------------------------------------------ -r697 | guus | 2001-09-01 14:36:06 +0200 (Sat, 01 Sep 2001) | 2 lines +r697 | guus | 2001-09-01 14:36:06 +0200 (za, 01 sep 2001) | 2 lines Revised reconnection mechanism, always try out all ConnectTo lines. ------------------------------------------------------------------------ -r696 | guus | 2001-09-01 14:02:39 +0200 (Sat, 01 Sep 2001) | 3 lines +r696 | guus | 2001-09-01 14:02:39 +0200 (za, 01 sep 2001) | 3 lines Remove IndirectData support for now, new implementation will be added later. ------------------------------------------------------------------------ -r695 | guus | 2001-08-28 22:52:39 +0200 (Tue, 28 Aug 2001) | 2 lines +r695 | guus | 2001-08-28 22:52:39 +0200 (di, 28 aug 2001) | 2 lines Fix signed comparison bug in lookup_subnet_ipv4(). ------------------------------------------------------------------------ -r694 | guus | 2001-08-17 20:14:04 +0200 (Fri, 17 Aug 2001) | 2 lines +r694 | guus | 2001-08-17 20:14:04 +0200 (vr, 17 aug 2001) | 2 lines Don't send DEL_HOSTs when !status.meta ------------------------------------------------------------------------ -r693 | guus | 2001-07-24 22:14:30 +0200 (Tue, 24 Jul 2001) | 2 lines +r693 | guus | 2001-07-24 22:14:30 +0200 (di, 24 jul 2001) | 2 lines Explicitly log which type of tunnel device is used. ------------------------------------------------------------------------ -r692 | guus | 2001-07-24 22:13:42 +0200 (Tue, 24 Jul 2001) | 2 lines +r692 | guus | 2001-07-24 22:13:42 +0200 (di, 24 jul 2001) | 2 lines The val variable in a config_t is never used as a long. ------------------------------------------------------------------------ -r691 | guus | 2001-07-24 22:04:22 +0200 (Tue, 24 Jul 2001) | 3 lines +r691 | guus | 2001-07-24 22:04:22 +0200 (di, 24 jul 2001) | 3 lines Write public key to rsa_key.pub instead of rsa_key.priv (if not host configuration file is found). ------------------------------------------------------------------------ -r690 | guus | 2001-07-24 22:03:40 +0200 (Tue, 24 Jul 2001) | 2 lines +r690 | guus | 2001-07-24 22:03:40 +0200 (di, 24 jul 2001) | 2 lines Don't use %m in fprintf(). ------------------------------------------------------------------------ -r689 | guus | 2001-07-24 10:51:36 +0200 (Tue, 24 Jul 2001) | 2 lines +r689 | guus | 2001-07-24 10:51:36 +0200 (di, 24 jul 2001) | 2 lines More on edges. ------------------------------------------------------------------------ -r688 | guus | 2001-07-24 00:06:22 +0200 (Tue, 24 Jul 2001) | 2 lines +r688 | guus | 2001-07-24 00:06:22 +0200 (di, 24 jul 2001) | 2 lines Discuss how sending ADD_EDGEs would be better than sending ADD_HOSTs. ------------------------------------------------------------------------ -r687 | guus | 2001-07-22 19:41:52 +0200 (Sun, 22 Jul 2001) | 2 lines +r687 | guus | 2001-07-22 19:41:52 +0200 (zo, 22 jul 2001) | 2 lines Written down a possible solution. ------------------------------------------------------------------------ -r686 | guus | 2001-07-22 17:25:13 +0200 (Sun, 22 Jul 2001) | 2 lines +r686 | guus | 2001-07-22 17:25:13 +0200 (zo, 22 jul 2001) | 2 lines Correctie. ------------------------------------------------------------------------ -r685 | guus | 2001-07-22 16:58:18 +0200 (Sun, 22 Jul 2001) | 2 lines +r685 | guus | 2001-07-22 16:58:18 +0200 (zo, 22 jul 2001) | 2 lines Small update. ------------------------------------------------------------------------ -r684 | guus | 2001-07-22 16:46:11 +0200 (Sun, 22 Jul 2001) | 2 lines +r684 | guus | 2001-07-22 16:46:11 +0200 (zo, 22 jul 2001) | 2 lines Described problem in more detail. ------------------------------------------------------------------------ -r683 | guus | 2001-07-22 16:04:38 +0200 (Sun, 22 Jul 2001) | 2 lines +r683 | guus | 2001-07-22 16:04:38 +0200 (zo, 22 jul 2001) | 2 lines Started writing a document about how daemons connect to each other. ------------------------------------------------------------------------ -r681 | guus | 2001-07-21 22:21:25 +0200 (Sat, 21 Jul 2001) | 3 lines +r681 | guus | 2001-07-21 22:21:25 +0200 (za, 21 jul 2001) | 3 lines Woohoo! tinc now compiles, runs and actually *works* on Solaris! Tested on a SparcStation 20MP running Solaris 7. (Thanks, jiggel!) ------------------------------------------------------------------------ -r680 | guus | 2001-07-21 17:46:34 +0200 (Sat, 21 Jul 2001) | 2 lines +r680 | guus | 2001-07-21 17:46:34 +0200 (za, 21 jul 2001) | 2 lines Always close all sockets in terminate_connection(). ------------------------------------------------------------------------ -r679 | guus | 2001-07-21 17:34:18 +0200 (Sat, 21 Jul 2001) | 3 lines +r679 | guus | 2001-07-21 17:34:18 +0200 (za, 21 jul 2001) | 3 lines Updated terminate_connection() so you can choose if DEL_HOSTs should be sent or not. ------------------------------------------------------------------------ -r678 | guus | 2001-07-20 22:25:10 +0200 (Fri, 20 Jul 2001) | 6 lines +r678 | guus | 2001-07-20 22:25:10 +0200 (vr, 20 jul 2001) | 6 lines Added purge_tree for connection_t's which are no longer in the connection, active or id trees, but which may still be referenced. This tree is flushed @@ -2745,17 +2827,17 @@ when it is safe, this replaces purge_connection_tree(). Also lots of bugfixes related to the new trees. ------------------------------------------------------------------------ -r677 | guus | 2001-07-20 15:54:19 +0200 (Fri, 20 Jul 2001) | 2 lines +r677 | guus | 2001-07-20 15:54:19 +0200 (vr, 20 jul 2001) | 2 lines Remove all unnecessary status.meta and status.active checks. ------------------------------------------------------------------------ -r676 | guus | 2001-07-19 14:29:40 +0200 (Thu, 19 Jul 2001) | 2 lines +r676 | guus | 2001-07-19 14:29:40 +0200 (do, 19 jul 2001) | 2 lines Correctly use the active_tree. ------------------------------------------------------------------------ -r675 | guus | 2001-07-15 20:07:31 +0200 (Sun, 15 Jul 2001) | 6 lines +r675 | guus | 2001-07-15 20:07:31 +0200 (zo, 15 jul 2001) | 6 lines Split connection list into two lists: - one list to handle all incoming/outgoing TCP connections @@ -2764,84 +2846,84 @@ Split connection list into two lists: This will prevent race conditions. ------------------------------------------------------------------------ -r674 | guus | 2001-07-15 16:21:12 +0200 (Sun, 15 Jul 2001) | 2 lines +r674 | guus | 2001-07-15 16:21:12 +0200 (zo, 15 jul 2001) | 2 lines Correct inclusion of standard if_tun.h header file. ------------------------------------------------------------------------ -r673 | guus | 2001-07-04 10:43:32 +0200 (Wed, 04 Jul 2001) | 2 lines +r673 | guus | 2001-07-04 10:43:32 +0200 (wo, 04 jul 2001) | 2 lines Don't load table of verbose OpenSSL errormessages. ------------------------------------------------------------------------ -r672 | guus | 2001-07-04 10:41:36 +0200 (Wed, 04 Jul 2001) | 3 lines +r672 | guus | 2001-07-04 10:41:36 +0200 (wo, 04 jul 2001) | 3 lines - Always use instead of just - Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes() ------------------------------------------------------------------------ -r671 | guus | 2001-07-01 23:42:13 +0200 (Sun, 01 Jul 2001) | 2 lines +r671 | guus | 2001-07-01 23:42:13 +0200 (zo, 01 jul 2001) | 2 lines Check for all potential duplicate entries in the id tree. ------------------------------------------------------------------------ -r670 | guus | 2001-07-01 11:21:14 +0200 (Sun, 01 Jul 2001) | 2 lines +r670 | guus | 2001-07-01 11:21:14 +0200 (zo, 01 jul 2001) | 2 lines Fix compiler warning. ------------------------------------------------------------------------ -r669 | guus | 2001-07-01 11:21:01 +0200 (Sun, 01 Jul 2001) | 2 lines +r669 | guus | 2001-07-01 11:21:01 +0200 (zo, 01 jul 2001) | 2 lines Fix printf format bug. ------------------------------------------------------------------------ -r668 | guus | 2001-07-01 11:06:17 +0200 (Sun, 01 Jul 2001) | 2 lines +r668 | guus | 2001-07-01 11:06:17 +0200 (zo, 01 jul 2001) | 2 lines More items marked as done. ------------------------------------------------------------------------ -r667 | guus | 2001-06-29 17:38:40 +0200 (Fri, 29 Jun 2001) | 2 lines +r667 | guus | 2001-06-29 17:38:40 +0200 (vr, 29 jun 2001) | 2 lines Dutch translation updated. ------------------------------------------------------------------------ -r666 | guus | 2001-06-29 17:33:18 +0200 (Fri, 29 Jun 2001) | 2 lines +r666 | guus | 2001-06-29 17:33:18 +0200 (vr, 29 jun 2001) | 2 lines Update of RedHat build scripts. ------------------------------------------------------------------------ -r665 | guus | 2001-06-29 17:32:26 +0200 (Fri, 29 Jun 2001) | 3 lines +r665 | guus | 2001-06-29 17:32:26 +0200 (vr, 29 jun 2001) | 3 lines It appears that autogen.sh doesn't like es.po if it isn't mentioned in the makefile/configure scripts. ------------------------------------------------------------------------ -r663 | guus | 2001-06-29 16:15:46 +0200 (Fri, 29 Jun 2001) | 2 lines +r663 | guus | 2001-06-29 16:15:46 +0200 (vr, 29 jun 2001) | 2 lines Check for dlopen in standard libraries first (needed for DEC OSF). ------------------------------------------------------------------------ -r662 | guus | 2001-06-29 15:09:55 +0200 (Fri, 29 Jun 2001) | 2 lines +r662 | guus | 2001-06-29 15:09:55 +0200 (vr, 29 jun 2001) | 2 lines Fix gcc 3.0 warnings. ------------------------------------------------------------------------ -r661 | guus | 2001-06-29 15:09:32 +0200 (Fri, 29 Jun 2001) | 2 lines +r661 | guus | 2001-06-29 15:09:32 +0200 (vr, 29 jun 2001) | 2 lines Log error if two hosts connect with same IP/port tuple. ------------------------------------------------------------------------ -r660 | guus | 2001-06-29 13:09:13 +0200 (Fri, 29 Jun 2001) | 2 lines +r660 | guus | 2001-06-29 13:09:13 +0200 (vr, 29 jun 2001) | 2 lines Also remove po/Makefile.in.in, which is generated by autogen.sh. ------------------------------------------------------------------------ -r659 | guus | 2001-06-29 13:03:27 +0200 (Fri, 29 Jun 2001) | 2 lines +r659 | guus | 2001-06-29 13:03:27 +0200 (vr, 29 jun 2001) | 2 lines es.po revived. ------------------------------------------------------------------------ -r658 | guus | 2001-06-29 12:30:18 +0200 (Fri, 29 Jun 2001) | 5 lines +r658 | guus | 2001-06-29 12:30:18 +0200 (vr, 29 jun 2001) | 5 lines Execute tinc-down BEFORE tap device is closed. This is a. more symmetric (tinc-up is started after tap device is opened) and b. is needed for @@ -2849,45 +2931,45 @@ tun/tap device, where the interface does not exist anymore after the device file is closed. ------------------------------------------------------------------------ -r657 | guus | 2001-06-29 12:27:57 +0200 (Fri, 29 Jun 2001) | 2 lines +r657 | guus | 2001-06-29 12:27:57 +0200 (vr, 29 jun 2001) | 2 lines Don't build Spanish translation. ------------------------------------------------------------------------ -r656 | guus | 2001-06-29 12:27:33 +0200 (Fri, 29 Jun 2001) | 2 lines +r656 | guus | 2001-06-29 12:27:33 +0200 (vr, 29 jun 2001) | 2 lines ABOUT-NLS is created by autogen.sh. ------------------------------------------------------------------------ -r655 | guus | 2001-06-29 12:23:46 +0200 (Fri, 29 Jun 2001) | 3 lines +r655 | guus | 2001-06-29 12:23:46 +0200 (vr, 29 jun 2001) | 3 lines Spanish translation removed. Nobody maintains it, and it is severely outdated. ------------------------------------------------------------------------ -r654 | zarq | 2001-06-27 00:00:57 +0200 (Wed, 27 Jun 2001) | 2 lines +r654 | zarq | 2001-06-27 00:00:57 +0200 (wo, 27 jun 2001) | 2 lines Small fix to make it compile again ------------------------------------------------------------------------ -r653 | guus | 2001-06-21 20:28:52 +0200 (Thu, 21 Jun 2001) | 4 lines +r653 | guus | 2001-06-21 20:28:52 +0200 (do, 21 jun 2001) | 4 lines Reinstated search for if_tun.h in kernel source tree, because apparently /usr/include/linux does not always have the same contents as the include files from the currently running kernel. ------------------------------------------------------------------------ -r652 | guus | 2001-06-21 18:37:47 +0200 (Thu, 21 Jun 2001) | 2 lines +r652 | guus | 2001-06-21 18:37:47 +0200 (do, 21 jun 2001) | 2 lines Remove #warnings I used for debugging stuff. ------------------------------------------------------------------------ -r651 | guus | 2001-06-21 18:37:05 +0200 (Thu, 21 Jun 2001) | 2 lines +r651 | guus | 2001-06-21 18:37:05 +0200 (do, 21 jun 2001) | 2 lines Check for and add -ldl. ------------------------------------------------------------------------ -r650 | guus | 2001-06-21 18:16:32 +0200 (Thu, 21 Jun 2001) | 6 lines +r650 | guus | 2001-06-21 18:16:32 +0200 (do, 21 jun 2001) | 6 lines - Solaris compile fixes - Set mymac to broadcast MAC so that ifconfig hw ether <...> is really not @@ -2896,22 +2978,22 @@ r650 | guus | 2001-06-21 18:16:32 +0200 (Thu, 21 Jun 2001) | 6 lines will not do it for us then). ------------------------------------------------------------------------ -r649 | zarq | 2001-06-20 23:32:40 +0200 (Wed, 20 Jun 2001) | 2 lines +r649 | zarq | 2001-06-20 23:32:40 +0200 (wo, 20 jun 2001) | 2 lines Don't include the debian/ dir in a release ------------------------------------------------------------------------ -r648 | guus | 2001-06-09 12:00:34 +0200 (Sat, 09 Jun 2001) | 2 lines +r648 | guus | 2001-06-09 12:00:34 +0200 (za, 09 jun 2001) | 2 lines Woops - big bug in send_key_changed fixed. ------------------------------------------------------------------------ -r647 | guus | 2001-06-08 20:02:10 +0200 (Fri, 08 Jun 2001) | 2 lines +r647 | guus | 2001-06-08 20:02:10 +0200 (vr, 08 jun 2001) | 2 lines Only reset seconds_till_retry when we activate the outgoing connection. ------------------------------------------------------------------------ -r646 | guus | 2001-06-07 09:51:04 +0200 (Thu, 07 Jun 2001) | 6 lines +r646 | guus | 2001-06-07 09:51:04 +0200 (do, 07 jun 2001) | 6 lines Changed drastically because it didn't work correctly: - Don't cache the --with-openssl-* option arguments @@ -2920,27 +3002,27 @@ Changed drastically because it didn't work correctly: - Set CPPFLAGS before AC_CHECK_HEADERS ------------------------------------------------------------------------ -r645 | guus | 2001-06-07 09:48:11 +0200 (Thu, 07 Jun 2001) | 2 lines +r645 | guus | 2001-06-07 09:48:11 +0200 (do, 07 jun 2001) | 2 lines Save configure cache more often. ------------------------------------------------------------------------ -r644 | guus | 2001-06-06 21:12:38 +0200 (Wed, 06 Jun 2001) | 2 lines +r644 | guus | 2001-06-06 21:12:38 +0200 (wo, 06 jun 2001) | 2 lines Fixes to make switching work between hosts that have no meta-connection. ------------------------------------------------------------------------ -r643 | guus | 2001-06-06 21:11:16 +0200 (Wed, 06 Jun 2001) | 2 lines +r643 | guus | 2001-06-06 21:11:16 +0200 (wo, 06 jun 2001) | 2 lines Log and warn about duplicate subnet_add()'s for the same subnet. ------------------------------------------------------------------------ -r642 | guus | 2001-06-05 21:45:47 +0200 (Tue, 05 Jun 2001) | 2 lines +r642 | guus | 2001-06-05 21:45:47 +0200 (di, 05 jun 2001) | 2 lines Add missing? counting of total_socket_in. ------------------------------------------------------------------------ -r641 | guus | 2001-06-05 21:39:54 +0200 (Tue, 05 Jun 2001) | 6 lines +r641 | guus | 2001-06-05 21:39:54 +0200 (di, 05 jun 2001) | 6 lines You can now put an option "Mode" in tinc.conf, and choose from: @@ -2949,101 +3031,101 @@ You can now put an option "Mode" in tinc.conf, and choose from: - Mode = hub (work like a hub, broadcasting everything) ------------------------------------------------------------------------ -r640 | guus | 2001-06-05 20:07:14 +0200 (Tue, 05 Jun 2001) | 2 lines +r640 | guus | 2001-06-05 20:07:14 +0200 (di, 05 jun 2001) | 2 lines Fix bug where lookup_subnet_ipv4() could go into an infinite loop. ------------------------------------------------------------------------ -r639 | guus | 2001-06-05 18:31:59 +0200 (Tue, 05 Jun 2001) | 2 lines +r639 | guus | 2001-06-05 18:31:59 +0200 (di, 05 jun 2001) | 2 lines - This oneliner removes the need for ifconfig tap? hw ether fe:fd:0:0:0:0 ------------------------------------------------------------------------ -r638 | guus | 2001-06-05 18:15:48 +0200 (Tue, 05 Jun 2001) | 2 lines +r638 | guus | 2001-06-05 18:15:48 +0200 (di, 05 jun 2001) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r637 | guus | 2001-06-05 18:13:41 +0200 (Tue, 05 Jun 2001) | 3 lines +r637 | guus | 2001-06-05 18:13:41 +0200 (di, 05 jun 2001) | 3 lines Changed some stuff to allow correct generation of po/Makefile after a make cvs-clean. ------------------------------------------------------------------------ -r636 | guus | 2001-06-05 18:09:55 +0200 (Tue, 05 Jun 2001) | 3 lines +r636 | guus | 2001-06-05 18:09:55 +0200 (di, 05 jun 2001) | 3 lines - tinc can now act as a switch or a hub too (as opposed to a router only) - cleaner initialisation of "UNKNOWN" and "MYSELF" names ------------------------------------------------------------------------ -r635 | guus | 2001-06-04 13:14:35 +0200 (Mon, 04 Jun 2001) | 3 lines +r635 | guus | 2001-06-04 13:14:35 +0200 (ma, 04 jun 2001) | 3 lines Added proxy-arp support. No more ifconfig -arp needed. Works like a charm under FreeBSD now :). ------------------------------------------------------------------------ -r634 | guus | 2001-06-01 10:02:09 +0200 (Fri, 01 Jun 2001) | 2 lines +r634 | guus | 2001-06-01 10:02:09 +0200 (vr, 01 jun 2001) | 2 lines Fix subnet_lookup() for overlapping subnets. Needs rethinking. ------------------------------------------------------------------------ -r633 | guus | 2001-05-28 10:56:57 +0200 (Mon, 28 May 2001) | 2 lines +r633 | guus | 2001-05-28 10:56:57 +0200 (ma, 28 mei 2001) | 2 lines Make sure Solaris is happy too. ------------------------------------------------------------------------ -r632 | guus | 2001-05-28 10:21:43 +0200 (Mon, 28 May 2001) | 2 lines +r632 | guus | 2001-05-28 10:21:43 +0200 (ma, 28 mei 2001) | 2 lines Small fixes to allow correct compilation under FreeBSD (tested with 4.3) ------------------------------------------------------------------------ -r631 | zarq | 2001-05-26 11:35:28 +0200 (Sat, 26 May 2001) | 2 lines +r631 | zarq | 2001-05-26 11:35:28 +0200 (za, 26 mei 2001) | 2 lines Don't distribute autogen.sh in a release ------------------------------------------------------------------------ -r630 | zarq | 2001-05-26 11:35:00 +0200 (Sat, 26 May 2001) | 2 lines +r630 | zarq | 2001-05-26 11:35:00 +0200 (za, 26 mei 2001) | 2 lines Changed version number to 1.0-cvs ------------------------------------------------------------------------ -r629 | zarq | 2001-05-26 11:34:11 +0200 (Sat, 26 May 2001) | 2 lines +r629 | zarq | 2001-05-26 11:34:11 +0200 (za, 26 mei 2001) | 2 lines New make target: `make release' ------------------------------------------------------------------------ -r628 | guus | 2001-05-25 20:57:37 +0200 (Fri, 25 May 2001) | 2 lines +r628 | guus | 2001-05-25 20:57:37 +0200 (vr, 25 mei 2001) | 2 lines Fix sample configuration to show keys in PEM format and correct tapdevice. ------------------------------------------------------------------------ -r627 | guus | 2001-05-25 15:24:34 +0200 (Fri, 25 May 2001) | 3 lines +r627 | guus | 2001-05-25 15:24:34 +0200 (vr, 25 mei 2001) | 3 lines Documents are merged. Now we only need to check the ports and the TCPonly and IndirectData options. ------------------------------------------------------------------------ -r626 | guus | 2001-05-25 14:45:37 +0200 (Fri, 25 May 2001) | 2 lines +r626 | guus | 2001-05-25 14:45:37 +0200 (vr, 25 mei 2001) | 2 lines Merged PROTOCOL, NETWORK and SECURITY2 with the texinfo manual. ------------------------------------------------------------------------ -r625 | guus | 2001-05-25 13:54:28 +0200 (Fri, 25 May 2001) | 2 lines +r625 | guus | 2001-05-25 13:54:28 +0200 (vr, 25 mei 2001) | 2 lines TCPonly now works (in a relatively clean way too). ------------------------------------------------------------------------ -r624 | guus | 2001-05-25 12:08:11 +0200 (Fri, 25 May 2001) | 2 lines +r624 | guus | 2001-05-25 12:08:11 +0200 (vr, 25 mei 2001) | 2 lines With recent kernels the tun device file is located in /dev/net. ------------------------------------------------------------------------ -r623 | guus | 2001-05-25 12:06:13 +0200 (Fri, 25 May 2001) | 2 lines +r623 | guus | 2001-05-25 12:06:13 +0200 (vr, 25 mei 2001) | 2 lines Small corrections to the manuals. ------------------------------------------------------------------------ -r622 | guus | 2001-05-25 10:36:11 +0200 (Fri, 25 May 2001) | 6 lines +r622 | guus | 2001-05-25 10:36:11 +0200 (vr, 25 mei 2001) | 6 lines Small fixes: @@ -3052,35 +3134,35 @@ Small fixes: - Correctly terminate strings containing salt for PING/PONG packets ------------------------------------------------------------------------ -r621 | guus | 2001-05-24 23:52:26 +0200 (Thu, 24 May 2001) | 2 lines +r621 | guus | 2001-05-24 23:52:26 +0200 (do, 24 mei 2001) | 2 lines Only send key_changed if it was previously requested. ------------------------------------------------------------------------ -r620 | guus | 2001-05-24 23:32:30 +0200 (Thu, 24 May 2001) | 3 lines +r620 | guus | 2001-05-24 23:32:30 +0200 (do, 24 mei 2001) | 3 lines All features for 1.0 are implemented now, we just have to check the FreeBSD and Solaris ports and merge some docs. ------------------------------------------------------------------------ -r619 | guus | 2001-05-24 23:30:36 +0200 (Thu, 24 May 2001) | 3 lines +r619 | guus | 2001-05-24 23:30:36 +0200 (do, 24 mei 2001) | 3 lines Since this is incompatible with some earlier versions, PROT_CURRENT is increased. ------------------------------------------------------------------------ -r618 | guus | 2001-05-24 23:29:09 +0200 (Thu, 24 May 2001) | 3 lines +r618 | guus | 2001-05-24 23:29:09 +0200 (do, 24 mei 2001) | 3 lines Add randomness to PING/PONG packets to prevent crypto attacks on quiet tunnels. ------------------------------------------------------------------------ -r617 | guus | 2001-05-24 22:40:13 +0200 (Thu, 24 May 2001) | 2 lines +r617 | guus | 2001-05-24 22:40:13 +0200 (do, 24 mei 2001) | 2 lines Changed URL from kernelnotes.org to linuxdoc.org. ------------------------------------------------------------------------ -r616 | guus | 2001-05-24 22:24:12 +0200 (Thu, 24 May 2001) | 6 lines +r616 | guus | 2001-05-24 22:24:12 +0200 (do, 24 mei 2001) | 6 lines More revisions to the documentation: @@ -3089,7 +3171,7 @@ More revisions to the documentation: - Added small examples and hints about configuration files ------------------------------------------------------------------------ -r615 | guus | 2001-05-19 17:50:51 +0200 (Sat, 19 May 2001) | 5 lines +r615 | guus | 2001-05-19 17:50:51 +0200 (za, 19 mei 2001) | 5 lines - Make sure correct information is supplied for both old kernels (with ethertap) and for new kernels (with TUN/TAP driver). @@ -3097,57 +3179,57 @@ r615 | guus | 2001-05-19 17:50:51 +0200 (Sat, 19 May 2001) | 5 lines tinc. ------------------------------------------------------------------------ -r614 | guus | 2001-05-07 21:08:46 +0200 (Mon, 07 May 2001) | 4 lines +r614 | guus | 2001-05-07 21:08:46 +0200 (ma, 07 mei 2001) | 4 lines - s/ip_t/ipv4_t/g - Add "salt" to the beginning of UDP packets. Replaces length field which is not useful anyway. ------------------------------------------------------------------------ -r613 | guus | 2001-05-04 20:45:02 +0200 (Fri, 04 May 2001) | 2 lines +r613 | guus | 2001-05-04 20:45:02 +0200 (vr, 04 mei 2001) | 2 lines Correctly cycle through ConnectTo variables. ------------------------------------------------------------------------ -r612 | guus | 2001-04-13 12:30:04 +0200 (Fri, 13 Apr 2001) | 2 lines +r612 | guus | 2001-04-13 12:30:04 +0200 (vr, 13 apr 2001) | 2 lines Depend on new ssl package and install alias for universal TUN/TAP module. ------------------------------------------------------------------------ -r611 | guus | 2001-03-13 22:33:31 +0100 (Tue, 13 Mar 2001) | 2 lines +r611 | guus | 2001-03-13 22:33:31 +0100 (di, 13 mrt 2001) | 2 lines Check indirectdata option before forwarding certain requests. ------------------------------------------------------------------------ -r610 | guus | 2001-03-13 22:32:24 +0100 (Tue, 13 Mar 2001) | 2 lines +r610 | guus | 2001-03-13 22:32:24 +0100 (di, 13 mrt 2001) | 2 lines Ignore alarm signals if we do not need to respond to them. ------------------------------------------------------------------------ -r609 | guus | 2001-03-13 10:55:14 +0100 (Tue, 13 Mar 2001) | 3 lines +r609 | guus | 2001-03-13 10:55:14 +0100 (di, 13 mrt 2001) | 3 lines Fixed bug in setup_signals() that would make tinc die when unexpected signals were caught. ------------------------------------------------------------------------ -r608 | guus | 2001-03-13 00:58:19 +0100 (Tue, 13 Mar 2001) | 3 lines +r608 | guus | 2001-03-13 00:58:19 +0100 (di, 13 mrt 2001) | 3 lines Fixed a race condition triggered by receive_meta() and the new authentication scheme. ------------------------------------------------------------------------ -r607 | guus | 2001-03-04 15:00:24 +0100 (Sun, 04 Mar 2001) | 3 lines +r607 | guus | 2001-03-04 15:00:24 +0100 (zo, 04 mrt 2001) | 3 lines Added a description of what is going on in net.c and route.c, and how packets flow through tinc. ------------------------------------------------------------------------ -r606 | guus | 2001-03-04 14:59:53 +0100 (Sun, 04 Mar 2001) | 2 lines +r606 | guus | 2001-03-04 14:59:53 +0100 (zo, 04 mrt 2001) | 2 lines Updated translation. ------------------------------------------------------------------------ -r605 | guus | 2001-03-04 14:59:32 +0100 (Sun, 04 Mar 2001) | 5 lines +r605 | guus | 2001-03-04 14:59:32 +0100 (zo, 04 mrt 2001) | 5 lines - route.c is now used to determine destination - flags are removed, since they were not used at all. Use options instead. @@ -3155,196 +3237,196 @@ r605 | guus | 2001-03-04 14:59:32 +0100 (Sun, 04 Mar 2001) | 5 lines - made functions that don't return useful information void ------------------------------------------------------------------------ -r603 | guus | 2001-03-02 12:25:56 +0100 (Fri, 02 Mar 2001) | 2 lines +r603 | guus | 2001-03-02 12:25:56 +0100 (vr, 02 mrt 2001) | 2 lines Added explaination of our key exchange using RSA encryption. ------------------------------------------------------------------------ -r602 | guus | 2001-03-01 22:32:04 +0100 (Thu, 01 Mar 2001) | 2 lines +r602 | guus | 2001-03-01 22:32:04 +0100 (do, 01 mrt 2001) | 2 lines Various small fixes. ------------------------------------------------------------------------ -r601 | guus | 2001-02-27 17:50:29 +0100 (Tue, 27 Feb 2001) | 2 lines +r601 | guus | 2001-02-27 17:50:29 +0100 (di, 27 feb 2001) | 2 lines Removed compiler warning. ------------------------------------------------------------------------ -r600 | guus | 2001-02-27 17:37:31 +0100 (Tue, 27 Feb 2001) | 2 lines +r600 | guus | 2001-02-27 17:37:31 +0100 (di, 27 feb 2001) | 2 lines Removed lots of compiler warnings. ------------------------------------------------------------------------ -r599 | guus | 2001-02-27 17:17:04 +0100 (Tue, 27 Feb 2001) | 4 lines +r599 | guus | 2001-02-27 17:17:04 +0100 (di, 27 feb 2001) | 4 lines - Fixed Interface option (untested) - Removed error handling for non-critical socket options - Added TCP_NODELAY and IPTOS_LOWDELAY options for meta sockets. ------------------------------------------------------------------------ -r598 | zarq | 2001-02-27 17:15:14 +0100 (Tue, 27 Feb 2001) | 2 lines +r598 | zarq | 2001-02-27 17:15:14 +0100 (di, 27 feb 2001) | 2 lines Authentication done ------------------------------------------------------------------------ -r597 | guus | 2001-02-27 16:33:39 +0100 (Tue, 27 Feb 2001) | 3 lines +r597 | guus | 2001-02-27 16:33:39 +0100 (di, 27 feb 2001) | 3 lines Don't forget to reconnect if outgoing connection fails during authentication. ------------------------------------------------------------------------ -r596 | guus | 2001-02-26 12:37:20 +0100 (Mon, 26 Feb 2001) | 3 lines +r596 | guus | 2001-02-26 12:37:20 +0100 (ma, 26 feb 2001) | 3 lines - Make sure METAKEY is smaller than the modulus of the RSA key - Get symmetric key from the least significant bytes of the RSA message ------------------------------------------------------------------------ -r595 | guus | 2001-02-25 21:17:46 +0100 (Sun, 25 Feb 2001) | 2 lines +r595 | guus | 2001-02-25 21:17:46 +0100 (zo, 25 feb 2001) | 2 lines Added process.c to the translated files. ------------------------------------------------------------------------ -r594 | guus | 2001-02-25 20:09:45 +0100 (Sun, 25 Feb 2001) | 2 lines +r594 | guus | 2001-02-25 20:09:45 +0100 (zo, 25 feb 2001) | 2 lines Implemented new authentication scheme from doc/SECURITY2. ------------------------------------------------------------------------ -r593 | guus | 2001-02-25 17:34:19 +0100 (Sun, 25 Feb 2001) | 3 lines +r593 | guus | 2001-02-25 17:34:19 +0100 (zo, 25 feb 2001) | 3 lines Encrypt network packets in CBC mode instead of CFB mode. (This breaks compatibility with all previous versions!) ------------------------------------------------------------------------ -r592 | guus | 2001-02-25 17:04:00 +0100 (Sun, 25 Feb 2001) | 2 lines +r592 | guus | 2001-02-25 17:04:00 +0100 (zo, 25 feb 2001) | 2 lines Copy packets before putting them in the queue. ------------------------------------------------------------------------ -r591 | guus | 2001-02-25 16:34:50 +0100 (Sun, 25 Feb 2001) | 2 lines +r591 | guus | 2001-02-25 16:34:50 +0100 (zo, 25 feb 2001) | 2 lines Free node->data and node, not node->data twice. ------------------------------------------------------------------------ -r590 | guus | 2001-02-25 15:51:42 +0100 (Sun, 25 Feb 2001) | 2 lines +r590 | guus | 2001-02-25 15:51:42 +0100 (zo, 25 feb 2001) | 2 lines Add missing \n. ------------------------------------------------------------------------ -r589 | guus | 2001-02-25 12:09:29 +0100 (Sun, 25 Feb 2001) | 2 lines +r589 | guus | 2001-02-25 12:09:29 +0100 (zo, 25 feb 2001) | 2 lines Corrected check for errors after read() calls. ------------------------------------------------------------------------ -r588 | wsl | 2001-02-20 22:53:18 +0100 (Tue, 20 Feb 2001) | 2 lines +r588 | wsl | 2001-02-20 22:53:18 +0100 (di, 20 feb 2001) | 2 lines Important bugfix in avl_insert_before() and avl_insert_after() ------------------------------------------------------------------------ -r587 | zarq | 2001-02-18 03:13:26 +0100 (Sun, 18 Feb 2001) | 3 lines +r587 | zarq | 2001-02-18 03:13:26 +0100 (zo, 18 feb 2001) | 3 lines tinc_TUNTAP now substitutes the values outside the AC_CACHE_CHECK block. configure should now correctly set HAVE_TUNTAP. ------------------------------------------------------------------------ -r586 | guus | 2001-02-13 10:54:29 +0100 (Tue, 13 Feb 2001) | 2 lines +r586 | guus | 2001-02-13 10:54:29 +0100 (di, 13 feb 2001) | 2 lines Added description of the proposed new authentication scheme. ------------------------------------------------------------------------ -r584 | zarq | 2001-02-11 12:55:28 +0100 (Sun, 11 Feb 2001) | 2 lines +r584 | zarq | 2001-02-11 12:55:28 +0100 (zo, 11 feb 2001) | 2 lines More files to ignore in CVS ------------------------------------------------------------------------ -r582 | guus | 2001-02-11 12:50:09 +0100 (Sun, 11 Feb 2001) | 4 lines +r582 | guus | 2001-02-11 12:50:09 +0100 (zo, 11 feb 2001) | 4 lines - Updated CVS_CREATED to remove intl/ directory and some other autogenerated files. - Checked if all INCLUDES/LIBS/etc directives inherit the global variables. ------------------------------------------------------------------------ -r581 | guus | 2001-02-11 12:46:14 +0100 (Sun, 11 Feb 2001) | 2 lines +r581 | guus | 2001-02-11 12:46:14 +0100 (zo, 11 feb 2001) | 2 lines Ignore file for src/ ------------------------------------------------------------------------ -r580 | guus | 2001-02-11 12:44:32 +0100 (Sun, 11 Feb 2001) | 3 lines +r580 | guus | 2001-02-11 12:44:32 +0100 (zo, 11 feb 2001) | 3 lines Added .cvsignore files to get rid of warnings and prevent autogenerated files from being added accidentaly. ------------------------------------------------------------------------ -r578 | guus | 2001-02-06 11:42:27 +0100 (Tue, 06 Feb 2001) | 2 lines +r578 | guus | 2001-02-06 11:42:27 +0100 (di, 06 feb 2001) | 2 lines Removed another local definition of the variable "errno" ------------------------------------------------------------------------ -r577 | guus | 2001-02-06 11:13:44 +0100 (Tue, 06 Feb 2001) | 2 lines +r577 | guus | 2001-02-06 11:13:44 +0100 (di, 06 feb 2001) | 2 lines Updated dutch translation. ------------------------------------------------------------------------ -r576 | guus | 2001-02-06 11:13:22 +0100 (Tue, 06 Feb 2001) | 2 lines +r576 | guus | 2001-02-06 11:13:22 +0100 (di, 06 feb 2001) | 2 lines Fix memory leak in avl_insert() if item was already inserted. ------------------------------------------------------------------------ -r575 | guus | 2001-02-06 11:12:51 +0100 (Tue, 06 Feb 2001) | 2 lines +r575 | guus | 2001-02-06 11:12:51 +0100 (di, 06 feb 2001) | 2 lines FreeBSD compile fixes (thanks to XeF4) ------------------------------------------------------------------------ -r574 | zarq | 2001-01-18 14:02:34 +0100 (Thu, 18 Jan 2001) | 2 lines +r574 | zarq | 2001-01-18 14:02:34 +0100 (do, 18 jan 2001) | 2 lines Unpack sample-config.tar.gz when installing ------------------------------------------------------------------------ -r573 | zarq | 2001-01-18 14:01:42 +0100 (Thu, 18 Jan 2001) | 2 lines +r573 | zarq | 2001-01-18 14:01:42 +0100 (do, 18 jan 2001) | 2 lines Distribute the sample config as a .tar.gz ------------------------------------------------------------------------ -r572 | zarq | 2001-01-18 14:00:57 +0100 (Thu, 18 Jan 2001) | 2 lines +r572 | zarq | 2001-01-18 14:00:57 +0100 (do, 18 jan 2001) | 2 lines Fixed some errors ------------------------------------------------------------------------ -r570 | zarq | 2001-01-17 02:48:44 +0100 (Wed, 17 Jan 2001) | 2 lines +r570 | zarq | 2001-01-17 02:48:44 +0100 (wo, 17 jan 2001) | 2 lines Get the PO files up to date with the current source ------------------------------------------------------------------------ -r569 | zarq | 2001-01-17 02:47:39 +0100 (Wed, 17 Jan 2001) | 2 lines +r569 | zarq | 2001-01-17 02:47:39 +0100 (wo, 17 jan 2001) | 2 lines Get the Debian changelog up to date ------------------------------------------------------------------------ -r568 | zarq | 2001-01-17 02:40:46 +0100 (Wed, 17 Jan 2001) | 2 lines +r568 | zarq | 2001-01-17 02:40:46 +0100 (wo, 17 jan 2001) | 2 lines Merged documentation with various updates I had lying around ------------------------------------------------------------------------ -r567 | zarq | 2001-01-17 02:34:08 +0100 (Wed, 17 Jan 2001) | 2 lines +r567 | zarq | 2001-01-17 02:34:08 +0100 (wo, 17 jan 2001) | 2 lines Second draft of the release notes ------------------------------------------------------------------------ -r566 | zarq | 2001-01-17 02:31:56 +0100 (Wed, 17 Jan 2001) | 2 lines +r566 | zarq | 2001-01-17 02:31:56 +0100 (wo, 17 jan 2001) | 2 lines Change version to 1.0pre4 ------------------------------------------------------------------------ -r565 | zarq | 2001-01-17 02:30:32 +0100 (Wed, 17 Jan 2001) | 2 lines +r565 | zarq | 2001-01-17 02:30:32 +0100 (wo, 17 jan 2001) | 2 lines Set Architecture to `any' ------------------------------------------------------------------------ -r564 | zarq | 2001-01-17 02:30:05 +0100 (Wed, 17 Jan 2001) | 2 lines +r564 | zarq | 2001-01-17 02:30:05 +0100 (wo, 17 jan 2001) | 2 lines Fix error reporting of read_config ------------------------------------------------------------------------ -r563 | guus | 2001-01-13 17:36:23 +0100 (Sat, 13 Jan 2001) | 6 lines +r563 | guus | 2001-01-13 17:36:23 +0100 (za, 13 jan 2001) | 6 lines - Allow ASN1 style keys to be in the config files. Note: tinc ignores private key in the main config file, tinc.conf, @@ -3353,264 +3435,264 @@ r563 | guus | 2001-01-13 17:36:23 +0100 (Sat, 13 Jan 2001) | 6 lines the public key to the host configuration file (otherwise rsa_key.pub). ------------------------------------------------------------------------ -r562 | guus | 2001-01-13 15:56:46 +0100 (Sat, 13 Jan 2001) | 2 lines +r562 | guus | 2001-01-13 15:56:46 +0100 (za, 13 jan 2001) | 2 lines - Copy entire sample-config directory to /etc/tinc/example upon installing. ------------------------------------------------------------------------ -r561 | guus | 2001-01-13 15:38:18 +0100 (Sat, 13 Jan 2001) | 2 lines +r561 | guus | 2001-01-13 15:38:18 +0100 (za, 13 jan 2001) | 2 lines Added sample configuration directory. ------------------------------------------------------------------------ -r552 | guus | 2001-01-11 12:19:08 +0100 (Thu, 11 Jan 2001) | 2 lines +r552 | guus | 2001-01-11 12:19:08 +0100 (do, 11 jan 2001) | 2 lines - Only send out DEL_HOSTs for hosts with a meta connection ------------------------------------------------------------------------ -r551 | guus | 2001-01-08 22:32:30 +0100 (Mon, 08 Jan 2001) | 2 lines +r551 | guus | 2001-01-08 22:32:30 +0100 (ma, 08 jan 2001) | 2 lines - Cleaned up subnet_t ------------------------------------------------------------------------ -r550 | guus | 2001-01-08 22:32:00 +0100 (Mon, 08 Jan 2001) | 2 lines +r550 | guus | 2001-01-08 22:32:00 +0100 (ma, 08 jan 2001) | 2 lines - Sign was wrong in search_closest_smaller/greater ------------------------------------------------------------------------ -r549 | guus | 2001-01-08 21:35:30 +0100 (Mon, 08 Jan 2001) | 2 lines +r549 | guus | 2001-01-08 21:35:30 +0100 (ma, 08 jan 2001) | 2 lines - Squashed another nasty bug. ------------------------------------------------------------------------ -r548 | guus | 2001-01-07 21:19:35 +0100 (Sun, 07 Jan 2001) | 2 lines +r548 | guus | 2001-01-07 21:19:35 +0100 (zo, 07 jan 2001) | 2 lines - Added indirectdata and tcponly functionality. ------------------------------------------------------------------------ -r547 | guus | 2001-01-07 21:19:08 +0100 (Sun, 07 Jan 2001) | 2 lines +r547 | guus | 2001-01-07 21:19:08 +0100 (zo, 07 jan 2001) | 2 lines - Fixed IPv6 subnet lookup routine. ------------------------------------------------------------------------ -r546 | guus | 2001-01-07 18:09:07 +0100 (Sun, 07 Jan 2001) | 2 lines +r546 | guus | 2001-01-07 18:09:07 +0100 (zo, 07 jan 2001) | 2 lines - It's 2001, all copyright notices are updated. ------------------------------------------------------------------------ -r545 | guus | 2001-01-07 18:08:03 +0100 (Sun, 07 Jan 2001) | 2 lines +r545 | guus | 2001-01-07 18:08:03 +0100 (zo, 07 jan 2001) | 2 lines - Description of protocol and authentication updated. ------------------------------------------------------------------------ -r544 | guus | 2001-01-07 16:27:30 +0100 (Sun, 07 Jan 2001) | 3 lines +r544 | guus | 2001-01-07 16:27:30 +0100 (zo, 07 jan 2001) | 3 lines - Added header file for route.c. The routing routines in it are not used yet, but have a look at the source for the ideas behind it. ------------------------------------------------------------------------ -r543 | guus | 2001-01-07 16:25:49 +0100 (Sun, 07 Jan 2001) | 2 lines +r543 | guus | 2001-01-07 16:25:49 +0100 (zo, 07 jan 2001) | 2 lines - Reinstated a queue for outgoing packets. ------------------------------------------------------------------------ -r542 | guus | 2001-01-07 16:24:52 +0100 (Sun, 07 Jan 2001) | 3 lines +r542 | guus | 2001-01-07 16:24:52 +0100 (zo, 07 jan 2001) | 3 lines - Changed list routines to give it the same look'n'feel as the rbl and avl tree library. ------------------------------------------------------------------------ -r540 | guus | 2001-01-06 21:43:03 +0100 (Sat, 06 Jan 2001) | 2 lines +r540 | guus | 2001-01-06 21:43:03 +0100 (za, 06 jan 2001) | 2 lines - Typo. ------------------------------------------------------------------------ -r539 | guus | 2001-01-06 21:02:21 +0100 (Sat, 06 Jan 2001) | 2 lines +r539 | guus | 2001-01-06 21:02:21 +0100 (za, 06 jan 2001) | 2 lines - Updated texinfo manual. ------------------------------------------------------------------------ -r538 | guus | 2001-01-06 19:44:55 +0100 (Sat, 06 Jan 2001) | 2 lines +r538 | guus | 2001-01-06 19:44:55 +0100 (za, 06 jan 2001) | 2 lines - Updated manual pages. ------------------------------------------------------------------------ -r537 | guus | 2001-01-06 19:21:17 +0100 (Sat, 06 Jan 2001) | 2 lines +r537 | guus | 2001-01-06 19:21:17 +0100 (za, 06 jan 2001) | 2 lines - Changed license of AVL tree library to GPL. ------------------------------------------------------------------------ -r536 | guus | 2001-01-06 19:03:41 +0100 (Sat, 06 Jan 2001) | 4 lines +r536 | guus | 2001-01-06 19:03:41 +0100 (za, 06 jan 2001) | 4 lines - Check and follow symlinks in is_safe_path - By default write keys to tinc config directory - Small fix in protocol.c ------------------------------------------------------------------------ -r535 | guus | 2001-01-06 17:51:14 +0100 (Sat, 06 Jan 2001) | 2 lines +r535 | guus | 2001-01-06 17:51:14 +0100 (za, 06 jan 2001) | 2 lines - Updated dutch translation. ------------------------------------------------------------------------ -r534 | guus | 2001-01-06 00:53:53 +0100 (Sat, 06 Jan 2001) | 4 lines +r534 | guus | 2001-01-06 00:53:53 +0100 (za, 06 jan 2001) | 4 lines - Let user choose whether keys are in the config files or separate - Use AVL trees instead of RBL trees - Fixed a lot of annoying subtle bugs! Thanks to gdb... ------------------------------------------------------------------------ -r533 | guus | 2001-01-06 00:51:41 +0100 (Sat, 06 Jan 2001) | 2 lines +r533 | guus | 2001-01-06 00:51:41 +0100 (za, 06 jan 2001) | 2 lines - Doubled size of trace buffer for easier debugging. ------------------------------------------------------------------------ -r532 | guus | 2001-01-06 00:50:56 +0100 (Sat, 06 Jan 2001) | 2 lines +r532 | guus | 2001-01-06 00:50:56 +0100 (za, 06 jan 2001) | 2 lines - AVL tree routines: faster than RBL, and also more stable. ------------------------------------------------------------------------ -r529 | guus | 2000-12-22 22:34:24 +0100 (Fri, 22 Dec 2000) | 4 lines +r529 | guus | 2000-12-22 22:34:24 +0100 (vr, 22 dec 2000) | 4 lines - Don't even think about using sscanf with %as anymore - Allow keys to be inside the config files or in a seperate file - Small fixes ------------------------------------------------------------------------ -r528 | zarq | 2000-12-22 18:15:26 +0100 (Fri, 22 Dec 2000) | 2 lines +r528 | zarq | 2000-12-22 18:15:26 +0100 (vr, 22 dec 2000) | 2 lines Added lint target, requires lclint. ------------------------------------------------------------------------ -r527 | zarq | 2000-12-22 18:10:25 +0100 (Fri, 22 Dec 2000) | 2 lines +r527 | zarq | 2000-12-22 18:10:25 +0100 (vr, 22 dec 2000) | 2 lines Forget router.c ------------------------------------------------------------------------ -r526 | zarq | 2000-12-22 17:59:16 +0100 (Fri, 22 Dec 2000) | 2 lines +r526 | zarq | 2000-12-22 17:59:16 +0100 (vr, 22 dec 2000) | 2 lines Include autogen.sh (needed for the Debian package). ------------------------------------------------------------------------ -r525 | zarq | 2000-12-22 17:54:56 +0100 (Fri, 22 Dec 2000) | 2 lines +r525 | zarq | 2000-12-22 17:54:56 +0100 (vr, 22 dec 2000) | 2 lines Various small changes. ------------------------------------------------------------------------ -r524 | zarq | 2000-12-06 14:33:49 +0100 (Wed, 06 Dec 2000) | 2 lines +r524 | zarq | 2000-12-06 14:33:49 +0100 (wo, 06 dec 2000) | 2 lines Re-introduced MyVirtualIP and VpnMask, as dummy options. ------------------------------------------------------------------------ -r523 | zarq | 2000-12-05 10:04:32 +0100 (Tue, 05 Dec 2000) | 2 lines +r523 | zarq | 2000-12-05 10:04:32 +0100 (di, 05 dec 2000) | 2 lines Give a warning about having to re-create the keys ------------------------------------------------------------------------ -r522 | zarq | 2000-12-05 10:03:41 +0100 (Tue, 05 Dec 2000) | 2 lines +r522 | zarq | 2000-12-05 10:03:41 +0100 (di, 05 dec 2000) | 2 lines Ported it back to /bin/sh. ------------------------------------------------------------------------ -r521 | zarq | 2000-12-05 10:03:19 +0100 (Tue, 05 Dec 2000) | 3 lines +r521 | zarq | 2000-12-05 10:03:19 +0100 (di, 05 dec 2000) | 3 lines Install a file in /etc/modutils/tinc, containing all necessary aliases and options for kernel modules. ------------------------------------------------------------------------ -r520 | zarq | 2000-12-05 09:59:30 +0100 (Tue, 05 Dec 2000) | 2 lines +r520 | zarq | 2000-12-05 09:59:30 +0100 (di, 05 dec 2000) | 2 lines Tiny bits of code beautifying ------------------------------------------------------------------------ -r518 | zarq | 2000-12-05 09:56:44 +0100 (Tue, 05 Dec 2000) | 2 lines +r518 | zarq | 2000-12-05 09:56:44 +0100 (di, 05 dec 2000) | 2 lines Oops. I did some VERY wrong things with readline(). Fixed now. ------------------------------------------------------------------------ -r517 | zarq | 2000-12-05 09:54:22 +0100 (Tue, 05 Dec 2000) | 3 lines +r517 | zarq | 2000-12-05 09:54:22 +0100 (di, 05 dec 2000) | 3 lines Massive long awaited documentation update. It's not finished yet, most notably the example configuration is still old. ------------------------------------------------------------------------ -r516 | zarq | 2000-12-03 13:23:06 +0100 (Sun, 03 Dec 2000) | 2 lines +r516 | zarq | 2000-12-03 13:23:06 +0100 (zo, 03 dec 2000) | 2 lines Option -d accepts an argument to set the debug level immediately. ------------------------------------------------------------------------ -r515 | zarq | 2000-12-03 13:22:19 +0100 (Sun, 03 Dec 2000) | 2 lines +r515 | zarq | 2000-12-03 13:22:19 +0100 (zo, 03 dec 2000) | 2 lines Sort configuration directives ------------------------------------------------------------------------ -r514 | zarq | 2000-12-03 13:21:20 +0100 (Sun, 03 Dec 2000) | 2 lines +r514 | zarq | 2000-12-03 13:21:20 +0100 (zo, 03 dec 2000) | 2 lines Added documentation merger ------------------------------------------------------------------------ -r513 | zarq | 2000-12-01 14:46:26 +0100 (Fri, 01 Dec 2000) | 2 lines +r513 | zarq | 2000-12-01 14:46:26 +0100 (vr, 01 dec 2000) | 2 lines Include COPYING.README in the distribution. ------------------------------------------------------------------------ -r512 | zarq | 2000-12-01 14:45:46 +0100 (Fri, 01 Dec 2000) | 3 lines +r512 | zarq | 2000-12-01 14:45:46 +0100 (vr, 01 dec 2000) | 3 lines Stated that distributing executables linked with OpenSSL is permitted provided that all other requirements of the GPL are complied with. ------------------------------------------------------------------------ -r510 | zarq | 2000-12-01 13:38:42 +0100 (Fri, 01 Dec 2000) | 3 lines +r510 | zarq | 2000-12-01 13:38:42 +0100 (vr, 01 dec 2000) | 3 lines Use buffer instead of line in read_config_file(), line may be assigned NULL, so buffer always holds the pointer to the allocated space. ------------------------------------------------------------------------ -r509 | zarq | 2000-12-01 13:36:36 +0100 (Fri, 01 Dec 2000) | 3 lines +r509 | zarq | 2000-12-01 13:36:36 +0100 (vr, 01 dec 2000) | 3 lines readline() accepts two extra parameters, buf and buflen, to avoid mallocing and freeing for every line that is read. ------------------------------------------------------------------------ -r508 | zarq | 2000-12-01 00:44:07 +0100 (Fri, 01 Dec 2000) | 2 lines +r508 | zarq | 2000-12-01 00:44:07 +0100 (vr, 01 dec 2000) | 2 lines Tagged `Storing private key in separate file' as done. ------------------------------------------------------------------------ -r507 | zarq | 2000-12-01 00:39:55 +0100 (Fri, 01 Dec 2000) | 2 lines +r507 | zarq | 2000-12-01 00:39:55 +0100 (vr, 01 dec 2000) | 2 lines All full stops have two spaces after them. (Silly commit, I know.) ------------------------------------------------------------------------ -r506 | zarq | 2000-12-01 00:18:21 +0100 (Fri, 01 Dec 2000) | 4 lines +r506 | zarq | 2000-12-01 00:18:21 +0100 (vr, 01 dec 2000) | 4 lines New function read_rsa_public_key(); In net.c/setup_myself deleted old code to read the public key (which is now implicitly read in together with the private key). ------------------------------------------------------------------------ -r505 | zarq | 2000-11-30 23:48:48 +0100 (Thu, 30 Nov 2000) | 2 lines +r505 | zarq | 2000-11-30 23:48:48 +0100 (do, 30 nov 2000) | 2 lines Avoid printing duplicate messages from read_rsa_keys ------------------------------------------------------------------------ -r504 | zarq | 2000-11-30 23:33:16 +0100 (Thu, 30 Nov 2000) | 2 lines +r504 | zarq | 2000-11-30 23:33:16 +0100 (do, 30 nov 2000) | 2 lines Better error checking when reading the RSA private key. ------------------------------------------------------------------------ -r503 | zarq | 2000-11-30 23:32:14 +0100 (Thu, 30 Nov 2000) | 4 lines +r503 | zarq | 2000-11-30 23:32:14 +0100 (do, 30 nov 2000) | 4 lines In readline(): initialise the line to zero length; In read_config_file(): Test for EOF, and print the variable name that caused an error. ------------------------------------------------------------------------ -r502 | zarq | 2000-11-30 22:11:03 +0100 (Thu, 30 Nov 2000) | 2 lines +r502 | zarq | 2000-11-30 22:11:03 +0100 (do, 30 nov 2000) | 2 lines The file is safe if it doesn't exist. ------------------------------------------------------------------------ -r501 | zarq | 2000-11-30 21:08:41 +0100 (Thu, 30 Nov 2000) | 6 lines +r501 | zarq | 2000-11-30 21:08:41 +0100 (do, 30 nov 2000) | 6 lines Read the PEM file pointed to by the configuration directive PrivateKey. This means thatt he meaning of this variable has changed, @@ -3619,34 +3701,34 @@ it no longer should contain the private key directly. WARNING: This code is untested. ------------------------------------------------------------------------ -r500 | zarq | 2000-11-30 01:24:13 +0100 (Thu, 30 Nov 2000) | 4 lines +r500 | zarq | 2000-11-30 01:24:13 +0100 (do, 30 nov 2000) | 4 lines Implemented is_safe_path, and extended ask_and_safe_open. is_safe_path needs more work before it is useable. ------------------------------------------------------------------------ -r499 | zarq | 2000-11-29 16:22:04 +0100 (Wed, 29 Nov 2000) | 2 lines +r499 | zarq | 2000-11-29 16:22:04 +0100 (wo, 29 nov 2000) | 2 lines Updated Dutch translation ------------------------------------------------------------------------ -r498 | zarq | 2000-11-29 15:30:07 +0100 (Wed, 29 Nov 2000) | 2 lines +r498 | zarq | 2000-11-29 15:30:07 +0100 (wo, 29 nov 2000) | 2 lines Also free the pointer returned by readline(). ------------------------------------------------------------------------ -r497 | zarq | 2000-11-29 15:27:24 +0100 (Wed, 29 Nov 2000) | 2 lines +r497 | zarq | 2000-11-29 15:27:24 +0100 (wo, 29 nov 2000) | 2 lines Use readline() in read_config_file() instead of fgets. ------------------------------------------------------------------------ -r496 | zarq | 2000-11-29 15:23:08 +0100 (Wed, 29 Nov 2000) | 2 lines +r496 | zarq | 2000-11-29 15:23:08 +0100 (wo, 29 nov 2000) | 2 lines xstrdup now takes a const pointer as an argument. ------------------------------------------------------------------------ -r495 | zarq | 2000-11-29 15:24:40 +0100 (Wed, 29 Nov 2000) | 5 lines +r495 | zarq | 2000-11-29 15:24:40 +0100 (wo, 29 nov 2000) | 5 lines Implemented a readline() function that will read an entire line into a dynamically allocated buffer; @@ -3654,75 +3736,75 @@ dynamically allocated buffer; Ask for a file name in ask_and_safe_open(). ------------------------------------------------------------------------ -r494 | zarq | 2000-11-29 02:37:50 +0100 (Wed, 29 Nov 2000) | 2 lines +r494 | zarq | 2000-11-29 02:37:50 +0100 (wo, 29 nov 2000) | 2 lines Added a check for a scanf that knows about %as. ------------------------------------------------------------------------ -r492 | zarq | 2000-11-29 01:33:15 +0100 (Wed, 29 Nov 2000) | 3 lines +r492 | zarq | 2000-11-29 01:33:15 +0100 (wo, 29 nov 2000) | 3 lines Check for get_current_dir_name. There is a replacement function in dropin.c. ------------------------------------------------------------------------ -r491 | zarq | 2000-11-29 00:23:41 +0100 (Wed, 29 Nov 2000) | 3 lines +r491 | zarq | 2000-11-29 00:23:41 +0100 (wo, 29 nov 2000) | 3 lines dropin.c/h contain a set of drop-in replacements for non-standard C library functions (read: GNU extensions). ------------------------------------------------------------------------ -r488 | zarq | 2000-11-29 00:12:57 +0100 (Wed, 29 Nov 2000) | 3 lines +r488 | zarq | 2000-11-29 00:12:57 +0100 (wo, 29 nov 2000) | 3 lines Save RSA public and private keys to a separate file, instead of wanting to copy them into a configuration file. ------------------------------------------------------------------------ -r487 | zarq | 2000-11-28 09:59:27 +0100 (Tue, 28 Nov 2000) | 4 lines +r487 | zarq | 2000-11-28 09:59:27 +0100 (di, 28 nov 2000) | 4 lines Use sigaction to set signal handlers, the previous commit (1.1.2.16) already contained a large portion of what should have gone in this one. ------------------------------------------------------------------------ -r486 | zarq | 2000-11-27 21:52:55 +0100 (Mon, 27 Nov 2000) | 2 lines +r486 | zarq | 2000-11-27 21:52:55 +0100 (ma, 27 nov 2000) | 2 lines Sort items to either 1.0 or future release goals. ------------------------------------------------------------------------ -r485 | zarq | 2000-11-26 23:46:53 +0100 (Sun, 26 Nov 2000) | 3 lines +r485 | zarq | 2000-11-26 23:46:53 +0100 (zo, 26 nov 2000) | 3 lines Check for the function strsignal, and define it to "" if it is not available. ------------------------------------------------------------------------ -r484 | zarq | 2000-11-26 23:42:34 +0100 (Sun, 26 Nov 2000) | 2 lines +r484 | zarq | 2000-11-26 23:42:34 +0100 (zo, 26 nov 2000) | 2 lines Give an error message if daemon() failed. ------------------------------------------------------------------------ -r483 | zarq | 2000-11-26 23:32:52 +0100 (Sun, 26 Nov 2000) | 2 lines +r483 | zarq | 2000-11-26 23:32:52 +0100 (zo, 26 nov 2000) | 2 lines Updated Spanish translation, provided by Enrique Zanardi. ------------------------------------------------------------------------ -r482 | guus | 2000-11-25 14:33:33 +0100 (Sat, 25 Nov 2000) | 4 lines +r482 | guus | 2000-11-25 14:33:33 +0100 (za, 25 nov 2000) | 4 lines - Use only one socket for all UDP traffic (for compatibility) - Write pidfile again after detaching - Check OS (for handling FreeBSD/Solaris tun/tap stuff) ------------------------------------------------------------------------ -r481 | guus | 2000-11-25 00:30:50 +0100 (Sat, 25 Nov 2000) | 2 lines +r481 | guus | 2000-11-25 00:30:50 +0100 (za, 25 nov 2000) | 2 lines - Added daemon() replacement. ------------------------------------------------------------------------ -r478 | guus | 2000-11-25 00:14:52 +0100 (Sat, 25 Nov 2000) | 2 lines +r478 | guus | 2000-11-25 00:14:52 +0100 (za, 25 nov 2000) | 2 lines - Added Armijn to the list ------------------------------------------------------------------------ -r477 | guus | 2000-11-25 00:13:07 +0100 (Sat, 25 Nov 2000) | 11 lines +r477 | guus | 2000-11-25 00:13:07 +0100 (za, 25 nov 2000) | 11 lines Another big & bad commit: - Added some extra search functions to rbl routines @@ -3736,360 +3818,360 @@ Another big & bad commit: - Small fixes ------------------------------------------------------------------------ -r476 | zarq | 2000-11-24 17:52:57 +0100 (Fri, 24 Nov 2000) | 3 lines +r476 | zarq | 2000-11-24 17:52:57 +0100 (vr, 24 nov 2000) | 3 lines Add default tinc-up and tinc-down scripts for a Debian system. These do not yet work, it's just old code from init.d. ------------------------------------------------------------------------ -r473 | zarq | 2000-11-24 15:15:20 +0100 (Fri, 24 Nov 2000) | 4 lines +r473 | zarq | 2000-11-24 15:15:20 +0100 (vr, 24 nov 2000) | 4 lines Call autogen.sh instead of configure alone; and make cvs-clean instead of distclean. This way you can just cvs checkout && dpkg-buildpackage in one go. ------------------------------------------------------------------------ -r472 | zarq | 2000-11-24 15:13:51 +0100 (Fri, 24 Nov 2000) | 2 lines +r472 | zarq | 2000-11-24 15:13:51 +0100 (vr, 24 nov 2000) | 2 lines Explain how to tell configure where OpenSSL lives. ------------------------------------------------------------------------ -r471 | zarq | 2000-11-24 15:13:06 +0100 (Fri, 24 Nov 2000) | 2 lines +r471 | zarq | 2000-11-24 15:13:06 +0100 (vr, 24 nov 2000) | 2 lines Set errno to 0 before trying to kill the other process. ------------------------------------------------------------------------ -r470 | zarq | 2000-11-24 15:12:31 +0100 (Fri, 24 Nov 2000) | 3 lines +r470 | zarq | 2000-11-24 15:12:31 +0100 (vr, 24 nov 2000) | 3 lines Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still doesn't work exactly like it should, but getting there. ------------------------------------------------------------------------ -r469 | zarq | 2000-11-24 15:04:49 +0100 (Fri, 24 Nov 2000) | 2 lines +r469 | zarq | 2000-11-24 15:04:49 +0100 (vr, 24 nov 2000) | 2 lines Set CFLAGS to -O2 -Wall when running configure ------------------------------------------------------------------------ -r468 | zarq | 2000-11-24 15:00:32 +0100 (Fri, 24 Nov 2000) | 2 lines +r468 | zarq | 2000-11-24 15:00:32 +0100 (vr, 24 nov 2000) | 2 lines Use cvs2cl instead of rcs2log to generate the ChangeLog. ------------------------------------------------------------------------ -r467 | zarq | 2000-11-24 15:03:13 +0100 (Fri, 24 Nov 2000) | 2 lines +r467 | zarq | 2000-11-24 15:03:13 +0100 (vr, 24 nov 2000) | 2 lines Set localstatedir to /var ------------------------------------------------------------------------ -r465 | zarq | 2000-11-24 14:33:48 +0100 (Fri, 24 Nov 2000) | 3 lines +r465 | zarq | 2000-11-24 14:33:48 +0100 (vr, 24 nov 2000) | 3 lines Do not attempt to retreive ChangeLog information only from the CABAL tag, it doesn't work anyway. ------------------------------------------------------------------------ -r464 | zarq | 2000-11-24 14:32:26 +0100 (Fri, 24 Nov 2000) | 2 lines +r464 | zarq | 2000-11-24 14:32:26 +0100 (vr, 24 nov 2000) | 2 lines Do not check for the daemon() system call ------------------------------------------------------------------------ -r463 | zarq | 2000-11-24 13:44:39 +0100 (Fri, 24 Nov 2000) | 2 lines +r463 | zarq | 2000-11-24 13:44:39 +0100 (vr, 24 nov 2000) | 2 lines Do not use the C library's daemon() call. ------------------------------------------------------------------------ -r462 | guus | 2000-11-23 10:30:33 +0100 (Thu, 23 Nov 2000) | 4 lines +r462 | guus | 2000-11-23 10:30:33 +0100 (do, 23 nov 2000) | 4 lines - Don't link with -ldl anymore - Let's not use bash' built-in pwd function anymore... it does not follow symlinks. ------------------------------------------------------------------------ -r461 | guus | 2000-11-23 00:09:38 +0100 (Thu, 23 Nov 2000) | 2 lines +r461 | guus | 2000-11-23 00:09:38 +0100 (do, 23 nov 2000) | 2 lines - #include instead of ------------------------------------------------------------------------ -r460 | guus | 2000-11-22 23:18:03 +0100 (Wed, 22 Nov 2000) | 2 lines +r460 | guus | 2000-11-22 23:18:03 +0100 (wo, 22 nov 2000) | 2 lines - Fixed all (except 2) compiler warnings gcc -Wall gave. ------------------------------------------------------------------------ -r459 | guus | 2000-11-22 23:05:37 +0100 (Wed, 22 Nov 2000) | 2 lines +r459 | guus | 2000-11-22 23:05:37 +0100 (wo, 22 nov 2000) | 2 lines - More porting to FreeBSD and Solaris. ------------------------------------------------------------------------ -r458 | guus | 2000-11-22 21:25:27 +0100 (Wed, 22 Nov 2000) | 2 lines +r458 | guus | 2000-11-22 21:25:27 +0100 (wo, 22 nov 2000) | 2 lines - Work with the correct key buffer in ans_key_h ------------------------------------------------------------------------ -r457 | guus | 2000-11-22 20:55:53 +0100 (Wed, 22 Nov 2000) | 2 lines +r457 | guus | 2000-11-22 20:55:53 +0100 (wo, 22 nov 2000) | 2 lines - No more %as. ------------------------------------------------------------------------ -r456 | guus | 2000-11-22 20:14:09 +0100 (Wed, 22 Nov 2000) | 3 lines +r456 | guus | 2000-11-22 20:14:09 +0100 (wo, 22 nov 2000) | 3 lines - Write pidfile AFTER detaching... - Minor cleanups ------------------------------------------------------------------------ -r455 | guus | 2000-11-22 19:54:08 +0100 (Wed, 22 Nov 2000) | 4 lines +r455 | guus | 2000-11-22 19:54:08 +0100 (wo, 22 nov 2000) | 4 lines - Cleaned up and checked for some more NULL pointers in rbl.c - Two connection lists: one for incoming connections, sorted on ip/port, one for connections whose identity we know, sorted on id ofcourse... ------------------------------------------------------------------------ -r454 | zarq | 2000-11-22 18:49:16 +0100 (Wed, 22 Nov 2000) | 2 lines +r454 | zarq | 2000-11-22 18:49:16 +0100 (wo, 22 nov 2000) | 2 lines Declare fd. ------------------------------------------------------------------------ -r453 | zarq | 2000-11-22 18:48:15 +0100 (Wed, 22 Nov 2000) | 3 lines +r453 | zarq | 2000-11-22 18:48:15 +0100 (wo, 22 nov 2000) | 3 lines Add more checks to ensure that filedescriptors are right in _execute_script(). ------------------------------------------------------------------------ -r452 | zarq | 2000-11-22 17:19:07 +0100 (Wed, 22 Nov 2000) | 2 lines +r452 | zarq | 2000-11-22 17:19:07 +0100 (wo, 22 nov 2000) | 2 lines Honor the --localstatedir option to configure, instead of hardcoded /var. ------------------------------------------------------------------------ -r451 | guus | 2000-11-21 10:13:59 +0100 (Tue, 21 Nov 2000) | 3 lines +r451 | guus | 2000-11-21 10:13:59 +0100 (di, 21 nov 2000) | 3 lines - Check for NULL tree->delete callback - Add xstrdup() function ------------------------------------------------------------------------ -r450 | guus | 2000-11-21 00:29:47 +0100 (Tue, 21 Nov 2000) | 2 lines +r450 | guus | 2000-11-21 00:29:47 +0100 (di, 21 nov 2000) | 2 lines - More fixes. ------------------------------------------------------------------------ -r449 | guus | 2000-11-20 23:13:14 +0100 (Mon, 20 Nov 2000) | 2 lines +r449 | guus | 2000-11-20 23:13:14 +0100 (ma, 20 nov 2000) | 2 lines - Various small fixes. ------------------------------------------------------------------------ -r448 | zarq | 2000-11-20 20:56:01 +0100 (Mon, 20 Nov 2000) | 3 lines +r448 | zarq | 2000-11-20 20:56:01 +0100 (ma, 20 nov 2000) | 3 lines Get rid of all libtool references at once. libtool was only used by libblowfish, which was superseded by openssl. ------------------------------------------------------------------------ -r447 | guus | 2000-11-20 20:41:13 +0100 (Mon, 20 Nov 2000) | 2 lines +r447 | guus | 2000-11-20 20:41:13 +0100 (ma, 20 nov 2000) | 2 lines - Proper initialization of rbltree structures. ------------------------------------------------------------------------ -r446 | guus | 2000-11-20 20:12:17 +0100 (Mon, 20 Nov 2000) | 2 lines +r446 | guus | 2000-11-20 20:12:17 +0100 (ma, 20 nov 2000) | 2 lines - Integrate rbl trees into tinc. ------------------------------------------------------------------------ -r443 | zarq | 2000-11-20 19:06:17 +0100 (Mon, 20 Nov 2000) | 2 lines +r443 | zarq | 2000-11-20 19:06:17 +0100 (ma, 20 nov 2000) | 2 lines Also include process.h ------------------------------------------------------------------------ -r442 | zarq | 2000-11-20 19:05:34 +0100 (Mon, 20 Nov 2000) | 2 lines +r442 | zarq | 2000-11-20 19:05:34 +0100 (ma, 20 nov 2000) | 2 lines More function and header checks ------------------------------------------------------------------------ -r441 | zarq | 2000-11-20 19:02:15 +0100 (Mon, 20 Nov 2000) | 2 lines +r441 | zarq | 2000-11-20 19:02:15 +0100 (ma, 20 nov 2000) | 2 lines Added this release ------------------------------------------------------------------------ -r440 | guus | 2000-11-19 23:12:46 +0100 (Sun, 19 Nov 2000) | 2 lines +r440 | guus | 2000-11-19 23:12:46 +0100 (zo, 19 nov 2000) | 2 lines - Small fixes ------------------------------------------------------------------------ -r439 | guus | 2000-11-19 12:05:59 +0100 (Sun, 19 Nov 2000) | 2 lines +r439 | guus | 2000-11-19 12:05:59 +0100 (zo, 19 nov 2000) | 2 lines - Deletion also works now. ------------------------------------------------------------------------ -r438 | guus | 2000-11-19 03:04:29 +0100 (Sun, 19 Nov 2000) | 2 lines +r438 | guus | 2000-11-19 03:04:29 +0100 (zo, 19 nov 2000) | 2 lines - Fixed a lot of small things. Tested everything except deletions. ------------------------------------------------------------------------ -r437 | guus | 2000-11-19 00:22:44 +0100 (Sun, 19 Nov 2000) | 2 lines +r437 | guus | 2000-11-19 00:22:44 +0100 (zo, 19 nov 2000) | 2 lines - Fix tree head/tail upon insertion ------------------------------------------------------------------------ -r436 | guus | 2000-11-19 00:21:01 +0100 (Sun, 19 Nov 2000) | 3 lines +r436 | guus | 2000-11-19 00:21:01 +0100 (zo, 19 nov 2000) | 3 lines - Implemented deletions - Added rbl_foreach() function ------------------------------------------------------------------------ -r435 | guus | 2000-11-18 19:14:57 +0100 (Sat, 18 Nov 2000) | 3 lines +r435 | guus | 2000-11-18 19:14:57 +0100 (za, 18 nov 2000) | 3 lines - Fixed searching - Insertion implemented ------------------------------------------------------------------------ -r434 | guus | 2000-11-17 11:03:02 +0100 (Fri, 17 Nov 2000) | 3 lines +r434 | guus | 2000-11-17 11:03:02 +0100 (vr, 17 nov 2000) | 3 lines - Removed stray @INCLUDE@ (how did that get there?) - Use 0 instead of FALSE ------------------------------------------------------------------------ -r433 | guus | 2000-11-17 01:56:49 +0100 (Fri, 17 Nov 2000) | 2 lines +r433 | guus | 2000-11-17 01:56:49 +0100 (vr, 17 nov 2000) | 2 lines - Simplified do_detach ------------------------------------------------------------------------ -r432 | zarq | 2000-11-16 23:13:09 +0100 (Thu, 16 Nov 2000) | 2 lines +r432 | zarq | 2000-11-16 23:13:09 +0100 (do, 16 nov 2000) | 2 lines Use proper prototypes. ------------------------------------------------------------------------ -r431 | zarq | 2000-11-16 23:12:23 +0100 (Thu, 16 Nov 2000) | 2 lines +r431 | zarq | 2000-11-16 23:12:23 +0100 (do, 16 nov 2000) | 2 lines Move more functions from tincd.c into process.c. ------------------------------------------------------------------------ -r430 | zarq | 2000-11-16 23:11:40 +0100 (Thu, 16 Nov 2000) | 2 lines +r430 | zarq | 2000-11-16 23:11:40 +0100 (do, 16 nov 2000) | 2 lines Delete struct ifr ------------------------------------------------------------------------ -r429 | zarq | 2000-11-16 19:06:39 +0100 (Thu, 16 Nov 2000) | 3 lines +r429 | zarq | 2000-11-16 19:06:39 +0100 (do, 16 nov 2000) | 3 lines New function: xmalloc_and_zero, which initialises the allocated memory to all zeroes. ------------------------------------------------------------------------ -r428 | zarq | 2000-11-16 18:54:29 +0100 (Thu, 16 Nov 2000) | 2 lines +r428 | zarq | 2000-11-16 18:54:29 +0100 (do, 16 nov 2000) | 2 lines Move all process-related functions into process.c. ------------------------------------------------------------------------ -r425 | guus | 2000-11-16 10:18:38 +0100 (Thu, 16 Nov 2000) | 2 lines +r425 | guus | 2000-11-16 10:18:38 +0100 (do, 16 nov 2000) | 2 lines - Added balanced tree management stuff as well. (It is not finished yet.) ------------------------------------------------------------------------ -r422 | zarq | 2000-11-15 23:07:36 +0100 (Wed, 15 Nov 2000) | 3 lines +r422 | zarq | 2000-11-15 23:07:36 +0100 (wo, 15 nov 2000) | 3 lines Keep a list of running children, and in each loop in main_loop(), check if one has exited. ------------------------------------------------------------------------ -r421 | zarq | 2000-11-15 23:04:48 +0100 (Wed, 15 Nov 2000) | 2 lines +r421 | zarq | 2000-11-15 23:04:48 +0100 (wo, 15 nov 2000) | 2 lines List management and manipulation routines. ------------------------------------------------------------------------ -r420 | guus | 2000-11-15 14:33:27 +0100 (Wed, 15 Nov 2000) | 3 lines +r420 | guus | 2000-11-15 14:33:27 +0100 (wo, 15 nov 2000) | 3 lines Porting to FreeBSD: - Reorganized and added some #includes ------------------------------------------------------------------------ -r419 | zarq | 2000-11-15 02:28:21 +0100 (Wed, 15 Nov 2000) | 3 lines +r419 | zarq | 2000-11-15 02:28:21 +0100 (wo, 15 nov 2000) | 3 lines Let the output from an executed script in execute_script() go to syslog, with proper error detection. ------------------------------------------------------------------------ -r418 | zarq | 2000-11-15 02:06:13 +0100 (Wed, 15 Nov 2000) | 3 lines +r418 | zarq | 2000-11-15 02:06:13 +0100 (wo, 15 nov 2000) | 3 lines Use the HAVE_OPENSSL_xxx_H defined from m4/openssl.m4 during configure. ------------------------------------------------------------------------ -r417 | zarq | 2000-11-15 02:02:30 +0100 (Wed, 15 Nov 2000) | 2 lines +r417 | zarq | 2000-11-15 02:02:30 +0100 (wo, 15 nov 2000) | 2 lines Also check for sha.h. ------------------------------------------------------------------------ -r416 | zarq | 2000-11-15 01:57:26 +0100 (Wed, 15 Nov 2000) | 3 lines +r416 | zarq | 2000-11-15 01:57:26 +0100 (wo, 15 nov 2000) | 3 lines Also check for rand.h and err.h. If any of these files does not exist, try the next alternative path. ------------------------------------------------------------------------ -r415 | zarq | 2000-11-15 00:18:19 +0100 (Wed, 15 Nov 2000) | 2 lines +r415 | zarq | 2000-11-15 00:18:19 +0100 (wo, 15 nov 2000) | 2 lines Get rid of the annoying empty line ------------------------------------------------------------------------ -r414 | zarq | 2000-11-15 00:02:08 +0100 (Wed, 15 Nov 2000) | 2 lines +r414 | zarq | 2000-11-15 00:02:08 +0100 (wo, 15 nov 2000) | 2 lines Oops, small error. ------------------------------------------------------------------------ -r413 | zarq | 2000-11-14 23:57:19 +0100 (Tue, 14 Nov 2000) | 2 lines +r413 | zarq | 2000-11-14 23:57:19 +0100 (di, 14 nov 2000) | 2 lines Better checks for OpenSSL. I think it can now detect almost all conceivable installations. ------------------------------------------------------------------------ -r412 | zarq | 2000-11-13 23:29:22 +0100 (Mon, 13 Nov 2000) | 2 lines +r412 | zarq | 2000-11-13 23:29:22 +0100 (ma, 13 nov 2000) | 2 lines Identify version as 1.0pre4-cvs ------------------------------------------------------------------------ -r411 | zarq | 2000-11-13 23:01:27 +0100 (Mon, 13 Nov 2000) | 2 lines +r411 | zarq | 2000-11-13 23:01:27 +0100 (ma, 13 nov 2000) | 2 lines Add a check for openssl that accepts explicit file locations. ------------------------------------------------------------------------ -r409 | zarq | 2000-11-09 22:33:18 +0100 (Thu, 09 Nov 2000) | 2 lines +r409 | zarq | 2000-11-09 22:33:18 +0100 (do, 09 nov 2000) | 2 lines Add prototype for destroy_queue ------------------------------------------------------------------------ -r408 | zarq | 2000-11-09 22:29:58 +0100 (Thu, 09 Nov 2000) | 2 lines +r408 | zarq | 2000-11-09 22:29:58 +0100 (do, 09 nov 2000) | 2 lines Updates, updates ------------------------------------------------------------------------ -r407 | zarq | 2000-11-09 21:59:35 +0100 (Thu, 09 Nov 2000) | 2 lines +r407 | zarq | 2000-11-09 21:59:35 +0100 (do, 09 nov 2000) | 2 lines Bop version number to 1.0pre3-1 ------------------------------------------------------------------------ -r406 | zarq | 2000-11-09 21:42:16 +0100 (Thu, 09 Nov 2000) | 2 lines +r406 | zarq | 2000-11-09 21:42:16 +0100 (do, 09 nov 2000) | 2 lines Wrapped text to 70 (72?) columns for easy reading ------------------------------------------------------------------------ -r405 | zarq | 2000-11-09 21:41:13 +0100 (Thu, 09 Nov 2000) | 2 lines +r405 | zarq | 2000-11-09 21:41:13 +0100 (do, 09 nov 2000) | 2 lines Final release notes added, also edited release notes for 1.0pre2 to what the announcement on the mailing list looked like. ------------------------------------------------------------------------ -r404 | guus | 2000-11-08 21:52:37 +0100 (Wed, 08 Nov 2000) | 2 lines +r404 | guus | 2000-11-08 21:52:37 +0100 (wo, 08 nov 2000) | 2 lines - Make checkpoint tracing a compile time option (off by default) ------------------------------------------------------------------------ -r403 | guus | 2000-11-08 19:05:06 +0100 (Wed, 08 Nov 2000) | 2 lines +r403 | guus | 2000-11-08 19:05:06 +0100 (wo, 08 nov 2000) | 2 lines - Add Jamie :) ------------------------------------------------------------------------ -r402 | guus | 2000-11-08 18:56:34 +0100 (Wed, 08 Nov 2000) | 2 lines +r402 | guus | 2000-11-08 18:56:34 +0100 (wo, 08 nov 2000) | 2 lines - Applied Jamie Brigg's patch (close sockets after error) ------------------------------------------------------------------------ -r401 | guus | 2000-11-08 01:20:06 +0100 (Wed, 08 Nov 2000) | 3 lines +r401 | guus | 2000-11-08 01:20:06 +0100 (wo, 08 nov 2000) | 3 lines - Fixed --config - Show warning when both netname and config directory are given. ------------------------------------------------------------------------ -r400 | guus | 2000-11-08 01:10:50 +0100 (Wed, 08 Nov 2000) | 6 lines +r400 | guus | 2000-11-08 01:10:50 +0100 (wo, 08 nov 2000) | 6 lines Porting to SunOS 5.8: - More #includes Linux doesn't seem to need @@ -4098,19 +4180,19 @@ Porting to SunOS 5.8: It now compiles properly under SunOS. ------------------------------------------------------------------------ -r399 | guus | 2000-11-07 23:33:33 +0100 (Tue, 07 Nov 2000) | 4 lines +r399 | guus | 2000-11-07 23:33:33 +0100 (di, 07 nov 2000) | 4 lines Porting to SunOS 5.8: - Include all header files necessary - Check for flock() function ------------------------------------------------------------------------ -r398 | guus | 2000-11-07 23:02:14 +0100 (Tue, 07 Nov 2000) | 2 lines +r398 | guus | 2000-11-07 23:02:14 +0100 (di, 07 nov 2000) | 2 lines - Open UDP connection for all known hosts. Comments please. ------------------------------------------------------------------------ -r397 | guus | 2000-11-07 22:43:28 +0100 (Tue, 07 Nov 2000) | 8 lines +r397 | guus | 2000-11-07 22:43:28 +0100 (di, 07 nov 2000) | 8 lines Changed execution of tinc-up: - Do not free() strings that have been putenv()d, see man page of the @@ -4121,12 +4203,12 @@ Changed execution of tinc-up: need for it anyway... (though it would've simplified things). ------------------------------------------------------------------------ -r396 | zarq | 2000-11-05 03:19:58 +0100 (Sun, 05 Nov 2000) | 2 lines +r396 | zarq | 2000-11-05 03:19:58 +0100 (zo, 05 nov 2000) | 2 lines Build-Depends on gettext ------------------------------------------------------------------------ -r395 | guus | 2000-11-04 23:57:33 +0100 (Sat, 04 Nov 2000) | 5 lines +r395 | guus | 2000-11-04 23:57:33 +0100 (za, 04 nov 2000) | 5 lines - Prepended config_ to all configuration option names, because it confused everything (including myself). @@ -4134,89 +4216,89 @@ r395 | guus | 2000-11-04 23:57:33 +0100 (Sat, 04 Nov 2000) | 5 lines packets. ------------------------------------------------------------------------ -r394 | guus | 2000-11-04 21:44:28 +0100 (Sat, 04 Nov 2000) | 2 lines +r394 | guus | 2000-11-04 21:44:28 +0100 (za, 04 nov 2000) | 2 lines - Simplified ping mechanism. ------------------------------------------------------------------------ -r393 | zarq | 2000-11-04 18:29:45 +0100 (Sat, 04 Nov 2000) | 2 lines +r393 | zarq | 2000-11-04 18:29:45 +0100 (za, 04 nov 2000) | 2 lines Build-depends on libtool ------------------------------------------------------------------------ -r392 | guus | 2000-11-04 18:09:10 +0100 (Sat, 04 Nov 2000) | 2 lines +r392 | guus | 2000-11-04 18:09:10 +0100 (za, 04 nov 2000) | 2 lines - Check for packets that are looping back. ------------------------------------------------------------------------ -r391 | zarq | 2000-11-04 18:04:17 +0100 (Sat, 04 Nov 2000) | 2 lines +r391 | zarq | 2000-11-04 18:04:17 +0100 (za, 04 nov 2000) | 2 lines Updated Dutch translation ------------------------------------------------------------------------ -r390 | zarq | 2000-11-04 18:01:55 +0100 (Sat, 04 Nov 2000) | 2 lines +r390 | zarq | 2000-11-04 18:01:55 +0100 (za, 04 nov 2000) | 2 lines Add route.c to the list of source files. ------------------------------------------------------------------------ -r389 | guus | 2000-11-04 17:54:21 +0100 (Sat, 04 Nov 2000) | 2 lines +r389 | guus | 2000-11-04 17:54:21 +0100 (za, 04 nov 2000) | 2 lines - Forward keys in hex notation, not as binary data. ------------------------------------------------------------------------ -r388 | guus | 2000-11-04 17:39:19 +0100 (Sat, 04 Nov 2000) | 2 lines +r388 | guus | 2000-11-04 17:39:19 +0100 (za, 04 nov 2000) | 2 lines - Don't forget to set packet cipher for added hosts. ------------------------------------------------------------------------ -r387 | guus | 2000-11-04 16:34:07 +0100 (Sat, 04 Nov 2000) | 2 lines +r387 | guus | 2000-11-04 16:34:07 +0100 (za, 04 nov 2000) | 2 lines - connlist.c added to translation ------------------------------------------------------------------------ -r386 | zarq | 2000-11-04 16:32:05 +0100 (Sat, 04 Nov 2000) | 4 lines +r386 | zarq | 2000-11-04 16:32:05 +0100 (za, 04 nov 2000) | 4 lines In execute_script: - add an environment variable NETNAME. - chdir to the configuration directory before execing the script. ------------------------------------------------------------------------ -r385 | zarq | 2000-11-04 16:18:58 +0100 (Sat, 04 Nov 2000) | 2 lines +r385 | zarq | 2000-11-04 16:18:58 +0100 (za, 04 nov 2000) | 2 lines Do not include the passphrases directory ------------------------------------------------------------------------ -r384 | guus | 2000-11-04 16:17:02 +0100 (Sat, 04 Nov 2000) | 2 lines +r384 | guus | 2000-11-04 16:17:02 +0100 (za, 04 nov 2000) | 2 lines - Removed manpage for no longer existing genauth. ------------------------------------------------------------------------ -r383 | guus | 2000-11-04 15:52:40 +0100 (Sat, 04 Nov 2000) | 2 lines +r383 | guus | 2000-11-04 15:52:40 +0100 (za, 04 nov 2000) | 2 lines - Resolve scriptname after fork() ------------------------------------------------------------------------ -r382 | zarq | 2000-11-04 15:16:46 +0100 (Sat, 04 Nov 2000) | 2 lines +r382 | zarq | 2000-11-04 15:16:46 +0100 (za, 04 nov 2000) | 2 lines Use putenv() instead of clumsy do-it-yourself in execute_script. ------------------------------------------------------------------------ -r381 | zarq | 2000-11-04 14:25:15 +0100 (Sat, 04 Nov 2000) | 2 lines +r381 | zarq | 2000-11-04 14:25:15 +0100 (za, 04 nov 2000) | 2 lines Small change to the way the environment is copied. ------------------------------------------------------------------------ -r380 | guus | 2000-11-04 12:49:58 +0100 (Sat, 04 Nov 2000) | 2 lines +r380 | guus | 2000-11-04 12:49:58 +0100 (za, 04 nov 2000) | 2 lines - Removed even more warnings. ------------------------------------------------------------------------ -r379 | guus | 2000-11-04 11:37:27 +0100 (Sat, 04 Nov 2000) | 2 lines +r379 | guus | 2000-11-04 11:37:27 +0100 (za, 04 nov 2000) | 2 lines - Removed unused MAC strip/add functions. ------------------------------------------------------------------------ -r378 | zarq | 2000-11-03 23:35:12 +0100 (Fri, 03 Nov 2000) | 5 lines +r378 | zarq | 2000-11-03 23:35:12 +0100 (vr, 03 nov 2000) | 5 lines Warnings removal pass: always include config.h first; add a few prototypes in the header files. @@ -4224,23 +4306,23 @@ prototypes in the header files. This also fixes a few lint errors/warnings. ------------------------------------------------------------------------ -r377 | zarq | 2000-11-03 23:33:16 +0100 (Fri, 03 Nov 2000) | 3 lines +r377 | zarq | 2000-11-03 23:33:16 +0100 (vr, 03 nov 2000) | 3 lines Run the scripts tinc-up and tinc-down from a separate function, which sets the environment as it should be and checks for errors. ------------------------------------------------------------------------ -r376 | zarq | 2000-11-03 23:31:55 +0100 (Fri, 03 Nov 2000) | 2 lines +r376 | zarq | 2000-11-03 23:31:55 +0100 (vr, 03 nov 2000) | 2 lines Save the environment on startup. ------------------------------------------------------------------------ -r375 | zarq | 2000-11-03 00:02:49 +0100 (Fri, 03 Nov 2000) | 2 lines +r375 | zarq | 2000-11-03 00:02:49 +0100 (vr, 03 nov 2000) | 2 lines Minor cosmetic change. ------------------------------------------------------------------------ -r374 | zarq | 2000-11-02 23:51:16 +0100 (Thu, 02 Nov 2000) | 5 lines +r374 | zarq | 2000-11-02 23:51:16 +0100 (do, 02 nov 2000) | 5 lines - If necessary, patch po/Makefile.in from po-Makefile.in.in.diff to get DESTDIR installation (required to get locales installed @@ -4248,57 +4330,57 @@ correctly). - Use dh_perl to get accurate perl dependencies. ------------------------------------------------------------------------ -r372 | zarq | 2000-11-02 23:11:18 +0100 (Thu, 02 Nov 2000) | 2 lines +r372 | zarq | 2000-11-02 23:11:18 +0100 (do, 02 nov 2000) | 2 lines Oops, and include doc-base.tinc (new file). ------------------------------------------------------------------------ -r371 | zarq | 2000-11-02 23:10:09 +0100 (Thu, 02 Nov 2000) | 2 lines +r371 | zarq | 2000-11-02 23:10:09 +0100 (do, 02 nov 2000) | 2 lines Don't include shlibs, as it no longer exists. ------------------------------------------------------------------------ -r370 | zarq | 2000-11-02 23:05:36 +0100 (Thu, 02 Nov 2000) | 2 lines +r370 | zarq | 2000-11-02 23:05:36 +0100 (do, 02 nov 2000) | 2 lines Changed a few messages wrt. system calls; updated and changed the Dutch translation a bit. ------------------------------------------------------------------------ -r369 | zarq | 2000-11-02 22:43:03 +0100 (Thu, 02 Nov 2000) | 2 lines +r369 | zarq | 2000-11-02 22:43:03 +0100 (do, 02 nov 2000) | 2 lines Mention fileutils, add a pointer to THANKS for more details ------------------------------------------------------------------------ -r368 | zarq | 2000-11-02 22:41:53 +0100 (Thu, 02 Nov 2000) | 2 lines +r368 | zarq | 2000-11-02 22:41:53 +0100 (do, 02 nov 2000) | 2 lines Change wsl to Wessel's name and email address in the ChangeLog creation ------------------------------------------------------------------------ -r367 | zarq | 2000-11-02 22:40:33 +0100 (Thu, 02 Nov 2000) | 2 lines +r367 | zarq | 2000-11-02 22:40:33 +0100 (do, 02 nov 2000) | 2 lines More exhaustive list of changes - perhaps it can be worded differently? ------------------------------------------------------------------------ -r366 | zarq | 2000-11-02 22:39:57 +0100 (Thu, 02 Nov 2000) | 2 lines +r366 | zarq | 2000-11-02 22:39:57 +0100 (do, 02 nov 2000) | 2 lines Changed `I' to `We' - small change, lots of difference :) ------------------------------------------------------------------------ -r365 | zarq | 2000-11-02 22:38:55 +0100 (Thu, 02 Nov 2000) | 2 lines +r365 | zarq | 2000-11-02 22:38:55 +0100 (do, 02 nov 2000) | 2 lines Only check for linux/if_tun.h once ------------------------------------------------------------------------ -r364 | zarq | 2000-11-02 22:34:45 +0100 (Thu, 02 Nov 2000) | 2 lines +r364 | zarq | 2000-11-02 22:34:45 +0100 (do, 02 nov 2000) | 2 lines Added a perl example to turn an IP address into a MAC address. ------------------------------------------------------------------------ -r363 | zarq | 2000-11-02 22:26:51 +0100 (Thu, 02 Nov 2000) | 2 lines +r363 | zarq | 2000-11-02 22:26:51 +0100 (do, 02 nov 2000) | 2 lines Do not include $(top_srcdir)/cipher, it does no longer exist. ------------------------------------------------------------------------ -r362 | zarq | 2000-11-02 21:29:03 +0100 (Thu, 02 Nov 2000) | 5 lines +r362 | zarq | 2000-11-02 21:29:03 +0100 (do, 02 nov 2000) | 5 lines - Synchronized changelog with the package's changelog. - Changed maintainer email address. @@ -4306,45 +4388,45 @@ r362 | zarq | 2000-11-02 21:29:03 +0100 (Thu, 02 Nov 2000) | 5 lines - Better Build-Depends and Depends lines. ------------------------------------------------------------------------ -r361 | zarq | 2000-11-02 21:25:35 +0100 (Thu, 02 Nov 2000) | 2 lines +r361 | zarq | 2000-11-02 21:25:35 +0100 (do, 02 nov 2000) | 2 lines This file is no longer needed. ------------------------------------------------------------------------ -r359 | guus | 2000-10-31 17:22:49 +0100 (Tue, 31 Oct 2000) | 3 lines +r359 | guus | 2000-10-31 17:22:49 +0100 (di, 31 okt 2000) | 3 lines Removed config file parsing and interface setup. This will be handled by the tinc-up and tinc-down scripts from now on. ------------------------------------------------------------------------ -r358 | guus | 2000-10-31 17:10:17 +0100 (Tue, 31 Oct 2000) | 2 lines +r358 | guus | 2000-10-31 17:10:17 +0100 (di, 31 okt 2000) | 2 lines - Update. ------------------------------------------------------------------------ -r357 | guus | 2000-10-30 11:19:06 +0100 (Mon, 30 Oct 2000) | 2 lines +r357 | guus | 2000-10-30 11:19:06 +0100 (ma, 30 okt 2000) | 2 lines - Fixed some spelling mistakes and terminology here and there. ------------------------------------------------------------------------ -r356 | guus | 2000-10-30 01:22:54 +0100 (Mon, 30 Oct 2000) | 4 lines +r356 | guus | 2000-10-30 01:22:54 +0100 (ma, 30 okt 2000) | 4 lines - Small cleanups - Updated dutch translation - Updated man pages ------------------------------------------------------------------------ -r355 | guus | 2000-10-29 23:55:15 +0100 (Sun, 29 Oct 2000) | 2 lines +r355 | guus | 2000-10-29 23:55:15 +0100 (zo, 29 okt 2000) | 2 lines - Finishing touch: encrypt the meta connections ------------------------------------------------------------------------ -r354 | guus | 2000-10-29 23:10:44 +0100 (Sun, 29 Oct 2000) | 2 lines +r354 | guus | 2000-10-29 23:10:44 +0100 (zo, 29 okt 2000) | 2 lines - Use CFB mode for encrypting packets: it works and we don't need padding. ------------------------------------------------------------------------ -r353 | guus | 2000-10-29 11:39:08 +0100 (Sun, 29 Oct 2000) | 5 lines +r353 | guus | 2000-10-29 11:39:08 +0100 (zo, 29 okt 2000) | 5 lines - Small fixes - Do proper key exchange @@ -4352,56 +4434,56 @@ r353 | guus | 2000-10-29 11:39:08 +0100 (Sun, 29 Oct 2000) | 5 lines header after decryption... ------------------------------------------------------------------------ -r352 | guus | 2000-10-29 10:19:27 +0100 (Sun, 29 Oct 2000) | 2 lines +r352 | guus | 2000-10-29 10:19:27 +0100 (zo, 29 okt 2000) | 2 lines - Removed old encr stuff ------------------------------------------------------------------------ -r351 | guus | 2000-10-29 03:07:41 +0100 (Sun, 29 Oct 2000) | 3 lines +r351 | guus | 2000-10-29 03:07:41 +0100 (zo, 29 okt 2000) | 3 lines - Updated dutch translation. - Shutdown properly. ------------------------------------------------------------------------ -r350 | guus | 2000-10-29 02:27:23 +0100 (Sun, 29 Oct 2000) | 2 lines +r350 | guus | 2000-10-29 02:27:23 +0100 (zo, 29 okt 2000) | 2 lines - Moved connlist stuff to the proper header file. ------------------------------------------------------------------------ -r349 | guus | 2000-10-29 02:08:09 +0100 (Sun, 29 Oct 2000) | 2 lines +r349 | guus | 2000-10-29 02:08:09 +0100 (zo, 29 okt 2000) | 2 lines - Enforce correct order of authentication requests ------------------------------------------------------------------------ -r348 | guus | 2000-10-29 02:46:43 +0200 (Sun, 29 Oct 2000) | 3 lines +r348 | guus | 2000-10-29 02:46:43 +0200 (zo, 29 okt 2000) | 3 lines - Hit people who can't figure out subnet address/mask pairs with a (clue)bat. ------------------------------------------------------------------------ -r347 | guus | 2000-10-29 02:24:31 +0200 (Sun, 29 Oct 2000) | 3 lines +r347 | guus | 2000-10-29 02:24:31 +0200 (zo, 29 okt 2000) | 3 lines - Fixed ans_key_h - Removed tapsubnet configuration option. ------------------------------------------------------------------------ -r346 | guus | 2000-10-29 02:02:20 +0200 (Sun, 29 Oct 2000) | 2 lines +r346 | guus | 2000-10-29 02:02:20 +0200 (zo, 29 okt 2000) | 2 lines - Very big cleanup. ------------------------------------------------------------------------ -r345 | guus | 2000-10-28 23:52:22 +0200 (Sat, 28 Oct 2000) | 3 lines +r345 | guus | 2000-10-28 23:52:22 +0200 (za, 28 okt 2000) | 3 lines - Override destination ethernet address on incoming packets with FE:FD:00:00:00:00 ------------------------------------------------------------------------ -r344 | guus | 2000-10-28 23:25:21 +0200 (Sat, 28 Oct 2000) | 2 lines +r344 | guus | 2000-10-28 23:25:21 +0200 (za, 28 okt 2000) | 2 lines - Fixed offsets when reading/writing from/to tap device ------------------------------------------------------------------------ -r343 | guus | 2000-10-28 23:05:20 +0200 (Sat, 28 Oct 2000) | 5 lines +r343 | guus | 2000-10-28 23:05:20 +0200 (za, 28 okt 2000) | 5 lines - Lots of small fixes - Exchange subnets on acknowledgement of connection @@ -4409,53 +4491,53 @@ r343 | guus | 2000-10-28 23:05:20 +0200 (Sat, 28 Oct 2000) | 5 lines - off-by-a small number-error when reading/sending tap packets ------------------------------------------------------------------------ -r342 | zarq | 2000-10-28 21:34:53 +0200 (Sat, 28 Oct 2000) | 2 lines +r342 | zarq | 2000-10-28 21:34:53 +0200 (za, 28 okt 2000) | 2 lines Skip the check for Linux kernel sources ------------------------------------------------------------------------ -r341 | guus | 2000-10-28 18:41:40 +0200 (Sat, 28 Oct 2000) | 4 lines +r341 | guus | 2000-10-28 18:41:40 +0200 (za, 28 okt 2000) | 4 lines - Updated subnet list handling. Subnets are added to two lists now, the owner's list and a global list. It is all fucked up but it probably works anyway, good enough for pre3 :). ------------------------------------------------------------------------ -r340 | guus | 2000-10-24 17:46:18 +0200 (Tue, 24 Oct 2000) | 4 lines +r340 | guus | 2000-10-24 17:46:18 +0200 (di, 24 okt 2000) | 4 lines - Lots of little stuff modified - Succesfully reads in subnets from host config file now and adds them to the list. ------------------------------------------------------------------------ -r339 | zarq | 2000-10-23 23:56:56 +0200 (Mon, 23 Oct 2000) | 2 lines +r339 | zarq | 2000-10-23 23:56:56 +0200 (ma, 23 okt 2000) | 2 lines Oops, echelon change committed to cabal... :) ------------------------------------------------------------------------ -r338 | guus | 2000-10-23 15:52:54 +0200 (Mon, 23 Oct 2000) | 2 lines +r338 | guus | 2000-10-23 15:52:54 +0200 (ma, 23 okt 2000) | 2 lines - route.c will contain the routing logic. ------------------------------------------------------------------------ -r336 | zarq | 2000-10-22 15:47:41 +0200 (Sun, 22 Oct 2000) | 2 lines +r336 | zarq | 2000-10-22 15:47:41 +0200 (zo, 22 okt 2000) | 2 lines read_server_config: Check for result of read_config_file. ------------------------------------------------------------------------ -r335 | zarq | 2000-10-22 15:37:15 +0200 (Sun, 22 Oct 2000) | 2 lines +r335 | zarq | 2000-10-22 15:37:15 +0200 (zo, 22 okt 2000) | 2 lines Include linux/sockios.h and net/if.h anyway, regardless of the value of HAVE_TUNTAP. ------------------------------------------------------------------------ -r334 | guus | 2000-10-21 13:52:08 +0200 (Sat, 21 Oct 2000) | 4 lines +r334 | guus | 2000-10-21 13:52:08 +0200 (za, 21 okt 2000) | 4 lines - Fixed all debug levels. - Seed PRNG before generating a challenge - Strange thing in challenge decryption: it fails if first bit is set!? ------------------------------------------------------------------------ -r333 | guus | 2000-10-20 21:46:58 +0200 (Fri, 20 Oct 2000) | 5 lines +r333 | guus | 2000-10-20 21:46:58 +0200 (vr, 20 okt 2000) | 5 lines - Removed last reference to genauth from Makefile.am - Tinc spawns tinc-up and tinc-down scripts which can be used to configure @@ -4463,86 +4545,86 @@ r333 | guus | 2000-10-20 21:46:58 +0200 (Fri, 20 Oct 2000) | 5 lines of the interface. ------------------------------------------------------------------------ -r332 | guus | 2000-10-20 18:49:20 +0200 (Fri, 20 Oct 2000) | 4 lines +r332 | guus | 2000-10-20 18:49:20 +0200 (vr, 20 okt 2000) | 4 lines - Made Makefile.am stub for doc/es/ - Merged genauth into tincd - Updated dutch translation ------------------------------------------------------------------------ -r327 | guus | 2000-10-20 17:34:38 +0200 (Fri, 20 Oct 2000) | 2 lines +r327 | guus | 2000-10-20 17:34:38 +0200 (vr, 20 okt 2000) | 2 lines - tinc now really does public/private key encryption! It even works, whee! ------------------------------------------------------------------------ -r324 | zarq | 2000-10-19 19:29:22 +0200 (Thu, 19 Oct 2000) | 2 lines +r324 | zarq | 2000-10-19 19:29:22 +0200 (do, 19 okt 2000) | 2 lines Changed changelog ------------------------------------------------------------------------ -r323 | guus | 2000-10-19 16:42:00 +0200 (Thu, 19 Oct 2000) | 2 lines +r323 | guus | 2000-10-19 16:42:00 +0200 (do, 19 okt 2000) | 2 lines - Seed the PRNG using /dev/random before generating the keys. ------------------------------------------------------------------------ -r321 | zarq | 2000-10-18 21:44:11 +0200 (Wed, 18 Oct 2000) | 2 lines +r321 | zarq | 2000-10-18 21:44:11 +0200 (wo, 18 okt 2000) | 2 lines Get the head revision up to date with cabal ------------------------------------------------------------------------ -r320 | zarq | 2000-10-17 12:15:20 +0200 (Tue, 17 Oct 2000) | 2 lines +r320 | zarq | 2000-10-17 12:15:20 +0200 (di, 17 okt 2000) | 2 lines Don't declare cp_file and cp_line in xmalloc() ------------------------------------------------------------------------ -r319 | zarq | 2000-10-17 12:14:25 +0200 (Tue, 17 Oct 2000) | 2 lines +r319 | zarq | 2000-10-17 12:14:25 +0200 (di, 17 okt 2000) | 2 lines Process subdir es/ ------------------------------------------------------------------------ -r318 | guus | 2000-10-16 21:04:47 +0200 (Mon, 16 Oct 2000) | 2 lines +r318 | guus | 2000-10-16 21:04:47 +0200 (ma, 16 okt 2000) | 2 lines - More fixing. Tinc daemons can now even create activated connections. ------------------------------------------------------------------------ -r317 | guus | 2000-10-16 18:33:30 +0200 (Mon, 16 Oct 2000) | 4 lines +r317 | guus | 2000-10-16 18:33:30 +0200 (ma, 16 okt 2000) | 4 lines - Fixing little things - Two tinc daemons can connect to eachother now (but they disconnect right after the ACKs). ------------------------------------------------------------------------ -r316 | zarq | 2000-10-16 13:35:10 +0200 (Mon, 16 Oct 2000) | 2 lines +r316 | zarq | 2000-10-16 13:35:10 +0200 (ma, 16 okt 2000) | 2 lines Output doc/es/Makefile ------------------------------------------------------------------------ -r315 | guus | 2000-10-15 22:30:39 +0200 (Sun, 15 Oct 2000) | 2 lines +r315 | guus | 2000-10-15 22:30:39 +0200 (zo, 15 okt 2000) | 2 lines Corrected #ifdefs for tun/tap support. ------------------------------------------------------------------------ -r314 | zarq | 2000-10-15 22:21:27 +0200 (Sun, 15 Oct 2000) | 2 lines +r314 | zarq | 2000-10-15 22:21:27 +0200 (zo, 15 okt 2000) | 2 lines Really #include the if_tun.h files now ------------------------------------------------------------------------ -r313 | zarq | 2000-10-15 22:13:55 +0200 (Sun, 15 Oct 2000) | 2 lines +r313 | zarq | 2000-10-15 22:13:55 +0200 (zo, 15 okt 2000) | 2 lines Linearized checks for if_tun.h ------------------------------------------------------------------------ -r312 | zarq | 2000-10-15 21:53:15 +0200 (Sun, 15 Oct 2000) | 2 lines +r312 | zarq | 2000-10-15 21:53:15 +0200 (zo, 15 okt 2000) | 2 lines Wrap the tun/tap code in #ifdef HAVE_TUNTAP ------------------------------------------------------------------------ -r311 | zarq | 2000-10-15 19:26:31 +0200 (Sun, 15 Oct 2000) | 2 lines +r311 | zarq | 2000-10-15 19:26:31 +0200 (zo, 15 okt 2000) | 2 lines Add checks for the presence of the universal tun/tap device driver. ------------------------------------------------------------------------ -r309 | guus | 2000-10-15 02:59:37 +0200 (Sun, 15 Oct 2000) | 5 lines +r309 | guus | 2000-10-15 02:59:37 +0200 (zo, 15 okt 2000) | 5 lines - The daemon actually runs now (somewhat) - Added support for tun/tap driver (autodetect!) @@ -4550,60 +4632,60 @@ r309 | guus | 2000-10-15 02:59:37 +0200 (Sun, 15 Oct 2000) | 5 lines - Updated dutch translation ------------------------------------------------------------------------ -r308 | zarq | 2000-10-15 00:22:06 +0200 (Sun, 15 Oct 2000) | 2 lines +r308 | zarq | 2000-10-15 00:22:06 +0200 (zo, 15 okt 2000) | 2 lines Add CVS id lines ------------------------------------------------------------------------ -r307 | zarq | 2000-10-15 00:17:29 +0200 (Sun, 15 Oct 2000) | 2 lines +r307 | zarq | 2000-10-15 00:17:29 +0200 (zo, 15 okt 2000) | 2 lines Fix `Requirements'-section for GMP and OpenSSL libraries. ------------------------------------------------------------------------ -r306 | zarq | 2000-10-15 00:00:09 +0200 (Sun, 15 Oct 2000) | 2 lines +r306 | zarq | 2000-10-15 00:00:09 +0200 (zo, 15 okt 2000) | 2 lines Update Depends lines to reflect the dependencies on OpenSSL ------------------------------------------------------------------------ -r305 | guus | 2000-10-14 19:04:16 +0200 (Sat, 14 Oct 2000) | 3 lines +r305 | guus | 2000-10-14 19:04:16 +0200 (za, 14 okt 2000) | 3 lines - Second fixing-things pass: it even links now. - Lots of FIXME comments added to the source code. ------------------------------------------------------------------------ -r304 | zarq | 2000-10-14 01:34:56 +0200 (Sat, 14 Oct 2000) | 2 lines +r304 | zarq | 2000-10-14 01:34:56 +0200 (za, 14 okt 2000) | 2 lines Don't look for GMP header files ------------------------------------------------------------------------ -r303 | zarq | 2000-10-14 01:30:11 +0200 (Sat, 14 Oct 2000) | 2 lines +r303 | zarq | 2000-10-14 01:30:11 +0200 (za, 14 okt 2000) | 2 lines Updated new requirements, pointers to the manual ------------------------------------------------------------------------ -r302 | zarq | 2000-10-14 01:29:35 +0200 (Sat, 14 Oct 2000) | 2 lines +r302 | zarq | 2000-10-14 01:29:35 +0200 (za, 14 okt 2000) | 2 lines Link with OpenSSL, forget libGMP ------------------------------------------------------------------------ -r301 | guus | 2000-10-12 00:01:02 +0200 (Thu, 12 Oct 2000) | 4 lines +r301 | guus | 2000-10-12 00:01:02 +0200 (do, 12 okt 2000) | 4 lines - Fixing-things pass: every source file compiles into an object file now, but linking tincd does not work yet (must link with openssl libs and define some missing functions). ------------------------------------------------------------------------ -r300 | guus | 2000-10-11 15:42:52 +0200 (Wed, 11 Oct 2000) | 2 lines +r300 | guus | 2000-10-11 15:42:52 +0200 (wo, 11 okt 2000) | 2 lines - Generalized config file parsing to support multiple configuration trees. ------------------------------------------------------------------------ -r299 | guus | 2000-10-11 14:07:27 +0200 (Wed, 11 Oct 2000) | 2 lines +r299 | guus | 2000-10-11 14:07:27 +0200 (wo, 11 okt 2000) | 2 lines - Changed genauth to produce rsa keypairs instead of random passphrases. ------------------------------------------------------------------------ -r298 | guus | 2000-10-11 12:35:17 +0200 (Wed, 11 Oct 2000) | 6 lines +r298 | guus | 2000-10-11 12:35:17 +0200 (wo, 11 okt 2000) | 6 lines Big and bad commit of my current tree... - Added seperate file for connection list handling @@ -4612,23 +4694,23 @@ Big and bad commit of my current tree... - Lots of other stuff... ------------------------------------------------------------------------ -r295 | guus | 2000-10-04 17:09:57 +0200 (Wed, 04 Oct 2000) | 2 lines +r295 | guus | 2000-10-04 17:09:57 +0200 (wo, 04 okt 2000) | 2 lines Removing cipher directory (all will be covered by OpenSSL). ------------------------------------------------------------------------ -r294 | guus | 2000-10-01 05:21:49 +0200 (Sun, 01 Oct 2000) | 3 lines +r294 | guus | 2000-10-01 05:21:49 +0200 (zo, 01 okt 2000) | 3 lines - Added subnet handling code - Other small changes to header files ------------------------------------------------------------------------ -r291 | zarq | 2000-09-27 22:32:29 +0200 (Wed, 27 Sep 2000) | 2 lines +r291 | zarq | 2000-09-27 22:32:29 +0200 (wo, 27 sep 2000) | 2 lines Many updates, parts rewritten, added, shuffled around. ------------------------------------------------------------------------ -r290 | guus | 2000-09-26 16:06:11 +0200 (Tue, 26 Sep 2000) | 5 lines +r290 | guus | 2000-09-26 16:06:11 +0200 (di, 26 sep 2000) | 5 lines - Added meta.c which contains functions to send, receive and broadcast metadata. It will also handle encryption and decryption, and possibly @@ -4636,166 +4718,166 @@ r290 | guus | 2000-09-26 16:06:11 +0200 (Tue, 26 Sep 2000) | 5 lines - Moved request dispatcher to protocol.c. ------------------------------------------------------------------------ -r287 | guus | 2000-09-25 22:08:50 +0200 (Mon, 25 Sep 2000) | 2 lines +r287 | guus | 2000-09-25 22:08:50 +0200 (ma, 25 sep 2000) | 2 lines - Very detailed example of the authentication phase. ------------------------------------------------------------------------ -r286 | guus | 2000-09-22 18:20:07 +0200 (Fri, 22 Sep 2000) | 3 lines +r286 | guus | 2000-09-22 18:20:07 +0200 (vr, 22 sep 2000) | 3 lines - Removed options "string" stuff. It was a bad idea... - free() everything that is allocated. ------------------------------------------------------------------------ -r285 | guus | 2000-09-22 17:06:28 +0200 (Fri, 22 Sep 2000) | 4 lines +r285 | guus | 2000-09-22 17:06:28 +0200 (vr, 22 sep 2000) | 4 lines - Severe code reduction and simplification of challenge requests - "Finished" [add|del]_subnet_h - Added lots of sanity checks to [add|del]_host_h ------------------------------------------------------------------------ -r284 | guus | 2000-09-17 23:42:05 +0200 (Sun, 17 Sep 2000) | 4 lines +r284 | guus | 2000-09-17 23:42:05 +0200 (zo, 17 sep 2000) | 4 lines - Updated authentication scheme. - Removed all trailing spaces from all lines. - Added things to add_ and del_subnet_h. ------------------------------------------------------------------------ -r283 | guus | 2000-09-17 22:11:59 +0200 (Sun, 17 Sep 2000) | 3 lines +r283 | guus | 2000-09-17 22:11:59 +0200 (zo, 17 sep 2000) | 3 lines - Included authentication scheme from protocol.c - Added a few comments about the symmetric cipher. ------------------------------------------------------------------------ -r282 | guus | 2000-09-17 21:57:39 +0200 (Sun, 17 Sep 2000) | 3 lines +r282 | guus | 2000-09-17 21:57:39 +0200 (zo, 17 sep 2000) | 3 lines Added document about the used cryptographic algorithms and the reasons behind them. Feel very free to comment on this! ------------------------------------------------------------------------ -r280 | zarq | 2000-09-17 12:28:57 +0200 (Sun, 17 Sep 2000) | 2 lines +r280 | zarq | 2000-09-17 12:28:57 +0200 (zo, 17 sep 2000) | 2 lines Added Spanish translation of the docs by Matias Carrasco ------------------------------------------------------------------------ -r277 | zarq | 2000-09-15 14:58:40 +0200 (Fri, 15 Sep 2000) | 2 lines +r277 | zarq | 2000-09-15 14:58:40 +0200 (vr, 15 sep 2000) | 2 lines Second round of fixes ------------------------------------------------------------------------ -r276 | zarq | 2000-09-14 23:51:21 +0200 (Thu, 14 Sep 2000) | 2 lines +r276 | zarq | 2000-09-14 23:51:21 +0200 (do, 14 sep 2000) | 2 lines First round of needed fixes after the overhaul ------------------------------------------------------------------------ -r275 | zarq | 2000-09-14 16:34:38 +0200 (Thu, 14 Sep 2000) | 2 lines +r275 | zarq | 2000-09-14 16:34:38 +0200 (do, 14 sep 2000) | 2 lines New directive: Name. ------------------------------------------------------------------------ -r274 | zarq | 2000-09-14 16:32:34 +0200 (Thu, 14 Sep 2000) | 2 lines +r274 | zarq | 2000-09-14 16:32:34 +0200 (do, 14 sep 2000) | 2 lines Added some structures and types that are needed for the overhaul. ------------------------------------------------------------------------ -r273 | guus | 2000-09-14 13:54:51 +0200 (Thu, 14 Sep 2000) | 2 lines +r273 | guus | 2000-09-14 13:54:51 +0200 (do, 14 sep 2000) | 2 lines - Lots of small changes. ------------------------------------------------------------------------ -r272 | zarq | 2000-09-11 13:40:46 +0200 (Mon, 11 Sep 2000) | 2 lines +r272 | zarq | 2000-09-11 13:40:46 +0200 (ma, 11 sep 2000) | 2 lines Better checks for SunOS libraries ------------------------------------------------------------------------ -r271 | guus | 2000-09-11 12:05:35 +0200 (Mon, 11 Sep 2000) | 3 lines +r271 | guus | 2000-09-11 12:05:35 +0200 (ma, 11 sep 2000) | 3 lines - Fixed modulo in keylength check - Updated header file to reflect new protocol code ------------------------------------------------------------------------ -r270 | guus | 2000-09-11 01:11:37 +0200 (Mon, 11 Sep 2000) | 2 lines +r270 | guus | 2000-09-11 01:11:37 +0200 (ma, 11 sep 2000) | 2 lines - Some key exchange stuff. (Last commit before going to bed.) ------------------------------------------------------------------------ -r269 | guus | 2000-09-11 00:49:46 +0200 (Mon, 11 Sep 2000) | 2 lines +r269 | guus | 2000-09-11 00:49:46 +0200 (ma, 11 sep 2000) | 2 lines - Lots of functions added for the new protocol. ------------------------------------------------------------------------ -r268 | zarq | 2000-09-10 23:57:11 +0200 (Sun, 10 Sep 2000) | 2 lines +r268 | zarq | 2000-09-10 23:57:11 +0200 (zo, 10 sep 2000) | 2 lines Add Guus' name and shift out old protocol requests ------------------------------------------------------------------------ -r267 | zarq | 2000-09-10 20:37:46 +0200 (Sun, 10 Sep 2000) | 2 lines +r267 | zarq | 2000-09-10 20:37:46 +0200 (zo, 10 sep 2000) | 2 lines Correct filenames for passphrases given in the example ------------------------------------------------------------------------ -r266 | guus | 2000-09-10 18:15:35 +0200 (Sun, 10 Sep 2000) | 2 lines +r266 | guus | 2000-09-10 18:15:35 +0200 (zo, 10 sep 2000) | 2 lines - Added more function skeletons for the new protocol. ------------------------------------------------------------------------ -r265 | guus | 2000-09-10 17:18:03 +0200 (Sun, 10 Sep 2000) | 2 lines +r265 | guus | 2000-09-10 17:18:03 +0200 (zo, 10 sep 2000) | 2 lines - New protocol. Will break everything else for now. ------------------------------------------------------------------------ -r264 | zarq | 2000-09-10 17:16:07 +0200 (Sun, 10 Sep 2000) | 2 lines +r264 | zarq | 2000-09-10 17:16:07 +0200 (zo, 10 sep 2000) | 2 lines Support for -lsocket and -lnsl on SunOS ------------------------------------------------------------------------ -r263 | zarq | 2000-09-10 17:15:38 +0200 (Sun, 10 Sep 2000) | 2 lines +r263 | zarq | 2000-09-10 17:15:38 +0200 (zo, 10 sep 2000) | 2 lines Include openssl/blowfish.h ------------------------------------------------------------------------ -r262 | zarq | 2000-09-10 17:07:41 +0200 (Sun, 10 Sep 2000) | 2 lines +r262 | zarq | 2000-09-10 17:07:41 +0200 (zo, 10 sep 2000) | 2 lines Updated text, removed protocol flowchart ------------------------------------------------------------------------ -r261 | zarq | 2000-09-10 17:05:45 +0200 (Sun, 10 Sep 2000) | 2 lines +r261 | zarq | 2000-09-10 17:05:45 +0200 (zo, 10 sep 2000) | 2 lines Link with OpenSSL crypto libraries instead of own blowfish library ------------------------------------------------------------------------ -r260 | guus | 2000-09-06 13:49:05 +0200 (Wed, 06 Sep 2000) | 3 lines +r260 | guus | 2000-09-06 13:49:05 +0200 (wo, 06 sep 2000) | 3 lines - Use strerror() instead of sys_errlist[] for increased portability (Needed for SunOS) ------------------------------------------------------------------------ -r259 | zarq | 2000-08-27 13:05:47 +0200 (Sun, 27 Aug 2000) | 2 lines +r259 | zarq | 2000-08-27 13:05:47 +0200 (zo, 27 aug 2000) | 2 lines Changed CVSROOT path in `make ChangeLog' ------------------------------------------------------------------------ -r258 | guus | 2000-08-22 16:55:04 +0200 (Tue, 22 Aug 2000) | 2 lines +r258 | guus | 2000-08-22 16:55:04 +0200 (di, 22 aug 2000) | 2 lines Fix rules (thanks to Laurence) ------------------------------------------------------------------------ -r257 | zarq | 2000-08-21 22:35:47 +0200 (Mon, 21 Aug 2000) | 2 lines +r257 | zarq | 2000-08-21 22:35:47 +0200 (ma, 21 aug 2000) | 2 lines Added a rule to create an rpm ------------------------------------------------------------------------ -r256 | guus | 2000-08-21 14:50:15 +0200 (Mon, 21 Aug 2000) | 2 lines +r256 | guus | 2000-08-21 14:50:15 +0200 (ma, 21 aug 2000) | 2 lines Updated tinc.conf manual. ------------------------------------------------------------------------ -r255 | zarq | 2000-08-21 01:08:17 +0200 (Mon, 21 Aug 2000) | 2 lines +r255 | zarq | 2000-08-21 01:08:17 +0200 (ma, 21 aug 2000) | 2 lines Also chomp $VPNMASK ------------------------------------------------------------------------ -r254 | zarq | 2000-08-21 01:07:18 +0200 (Mon, 21 Aug 2000) | 6 lines +r254 | zarq | 2000-08-21 01:07:18 +0200 (ma, 21 aug 2000) | 6 lines (Quoting Laurence Lane:) @@ -4804,7 +4886,7 @@ overridden with the current make install. DESTDIR is the clean way to relocate the installation into the debian/tmp build dir. ------------------------------------------------------------------------ -r253 | guus | 2000-08-18 16:45:38 +0200 (Fri, 18 Aug 2000) | 5 lines +r253 | guus | 2000-08-18 16:45:38 +0200 (vr, 18 aug 2000) | 5 lines Updated the manual: - incorporated comments from Stefan Hartsuiker @@ -4812,136 +4894,136 @@ Updated the manual: - added some text about key types ------------------------------------------------------------------------ -r252 | guus | 2000-08-18 13:17:09 +0200 (Fri, 18 Aug 2000) | 2 lines +r252 | guus | 2000-08-18 13:17:09 +0200 (vr, 18 aug 2000) | 2 lines Commented on some size calculations. ------------------------------------------------------------------------ -r251 | guus | 2000-08-17 19:22:01 +0200 (Thu, 17 Aug 2000) | 2 lines +r251 | guus | 2000-08-17 19:22:01 +0200 (do, 17 aug 2000) | 2 lines Ran update-po and updated dutch translation. ------------------------------------------------------------------------ -r250 | guus | 2000-08-17 18:51:08 +0200 (Thu, 17 Aug 2000) | 2 lines +r250 | guus | 2000-08-17 18:51:08 +0200 (do, 17 aug 2000) | 2 lines Fixed all sprintf() spl01ts. ------------------------------------------------------------------------ -r249 | guus | 2000-08-09 16:02:16 +0200 (Wed, 09 Aug 2000) | 3 lines +r249 | guus | 2000-08-09 16:02:16 +0200 (wo, 09 aug 2000) | 3 lines - Added two extra configuration options, Interface and InterfaceIP, to bind the listen socket to a network device or a specific IP. ------------------------------------------------------------------------ -r248 | guus | 2000-08-09 11:34:21 +0200 (Wed, 09 Aug 2000) | 3 lines +r248 | guus | 2000-08-09 11:34:21 +0200 (wo, 09 aug 2000) | 3 lines - Reinstated O_NONBLOCK for meta socket - Set SO_KEEPALIVE on meta socket ------------------------------------------------------------------------ -r247 | guus | 2000-08-08 19:07:48 +0200 (Tue, 08 Aug 2000) | 2 lines +r247 | guus | 2000-08-08 19:07:48 +0200 (di, 08 aug 2000) | 2 lines - Moved TCP packet reception to meta handler: less kludgy and less buggy! ------------------------------------------------------------------------ -r246 | guus | 2000-08-08 16:54:57 +0200 (Tue, 08 Aug 2000) | 2 lines +r246 | guus | 2000-08-08 16:54:57 +0200 (di, 08 aug 2000) | 2 lines - Added date/time of build and protocol number to --version output. ------------------------------------------------------------------------ -r245 | guus | 2000-08-08 15:47:57 +0200 (Tue, 08 Aug 2000) | 2 lines +r245 | guus | 2000-08-08 15:47:57 +0200 (di, 08 aug 2000) | 2 lines Removed calling add_queue for tcponly packets. ------------------------------------------------------------------------ -r244 | guus | 2000-08-08 10:48:50 +0200 (Tue, 08 Aug 2000) | 2 lines +r244 | guus | 2000-08-08 10:48:50 +0200 (di, 08 aug 2000) | 2 lines Fixed PACKET read loop. ------------------------------------------------------------------------ -r243 | guus | 2000-08-07 18:27:29 +0200 (Mon, 07 Aug 2000) | 3 lines +r243 | guus | 2000-08-07 18:27:29 +0200 (ma, 07 aug 2000) | 3 lines - Lots o' buglets fixed (-Wall helps) - Made TCPonly work :) ------------------------------------------------------------------------ -r242 | guus | 2000-08-07 16:52:16 +0200 (Mon, 07 Aug 2000) | 3 lines +r242 | guus | 2000-08-07 16:52:16 +0200 (ma, 07 aug 2000) | 3 lines - Added experimental hackish tunneling-over-TCP support. Just use TCPonly = true in the configuration file. ------------------------------------------------------------------------ -r241 | guus | 2000-07-02 15:40:57 +0200 (Sun, 02 Jul 2000) | 2 lines +r241 | guus | 2000-07-02 15:40:57 +0200 (zo, 02 jul 2000) | 2 lines - Fixed typo. ------------------------------------------------------------------------ -r240 | guus | 2000-07-02 15:36:18 +0200 (Sun, 02 Jul 2000) | 3 lines +r240 | guus | 2000-07-02 15:36:18 +0200 (zo, 02 jul 2000) | 3 lines - Delayed address resolving for ConnectTo lines in configuration file to allow DynDNS to work without restarting tincd. ------------------------------------------------------------------------ -r239 | guus | 2000-07-02 14:48:04 +0200 (Sun, 02 Jul 2000) | 2 lines +r239 | guus | 2000-07-02 14:48:04 +0200 (zo, 02 jul 2000) | 2 lines - Updated THANKS file ------------------------------------------------------------------------ -r238 | zarq | 2000-07-02 14:41:03 +0200 (Sun, 02 Jul 2000) | 2 lines +r238 | zarq | 2000-07-02 14:41:03 +0200 (zo, 02 jul 2000) | 2 lines Include the Spanish translation in the distribution/build process. ------------------------------------------------------------------------ -r237 | guus | 2000-07-02 14:35:28 +0200 (Sun, 02 Jul 2000) | 2 lines +r237 | guus | 2000-07-02 14:35:28 +0200 (zo, 02 jul 2000) | 2 lines - Added Spanish translation from Enrique Zanardi. ------------------------------------------------------------------------ -r235 | guus | 2000-07-01 16:40:56 +0200 (Sat, 01 Jul 2000) | 2 lines +r235 | guus | 2000-07-01 16:40:56 +0200 (za, 01 jul 2000) | 2 lines - Forgot to mention ourselves in the tincd manual page! :) ------------------------------------------------------------------------ -r234 | guus | 2000-07-01 16:32:24 +0200 (Sat, 01 Jul 2000) | 4 lines +r234 | guus | 2000-07-01 16:32:24 +0200 (za, 01 jul 2000) | 4 lines - Updated PROTOCOL (a bit) - Included a real tincd.8 describing the options, signals, debug levels and files used by tincd. ------------------------------------------------------------------------ -r231 | guus | 2000-07-01 09:49:21 +0200 (Sat, 01 Jul 2000) | 2 lines +r231 | guus | 2000-07-01 09:49:21 +0200 (za, 01 jul 2000) | 2 lines - Removed a single unused bit from status_bits_t. ------------------------------------------------------------------------ -r230 | wsl | 2000-07-01 09:29:32 +0200 (Sat, 01 Jul 2000) | 3 lines +r230 | wsl | 2000-07-01 09:29:32 +0200 (za, 01 jul 2000) | 3 lines Added architecture section, made a start with the kernel section. ToDo: install tinc myself to see if everything is as I say =) ------------------------------------------------------------------------ -r229 | guus | 2000-07-01 00:38:58 +0200 (Sat, 01 Jul 2000) | 3 lines +r229 | guus | 2000-07-01 00:38:58 +0200 (za, 01 jul 2000) | 3 lines - Added documentation for the protocols (most important the meta protocol) used by tinc. ------------------------------------------------------------------------ -r227 | wsl | 2000-06-30 23:16:52 +0200 (Fri, 30 Jun 2000) | 2 lines +r227 | wsl | 2000-06-30 23:16:52 +0200 (vr, 30 jun 2000) | 2 lines Grrr, recommit ------------------------------------------------------------------------ -r224 | guus | 2000-06-30 23:03:51 +0200 (Fri, 30 Jun 2000) | 2 lines +r224 | guus | 2000-06-30 23:03:51 +0200 (vr, 30 jun 2000) | 2 lines - Made tinc even more silent if no -d flag is given at all. ------------------------------------------------------------------------ -r222 | wsl | 2000-06-30 22:50:47 +0200 (Fri, 30 Jun 2000) | 2 lines +r222 | wsl | 2000-06-30 22:50:47 +0200 (vr, 30 jun 2000) | 2 lines File added to CABAL (hopefully) ------------------------------------------------------------------------ -r219 | guus | 2000-06-30 14:41:06 +0200 (Fri, 30 Jun 2000) | 5 lines +r219 | guus | 2000-06-30 14:41:06 +0200 (vr, 30 jun 2000) | 5 lines - Instead of logging an error when remote end closes the connection, we print a nice message if appropiate debug level is set. @@ -4949,7 +5031,7 @@ r219 | guus | 2000-06-30 14:41:06 +0200 (Fri, 30 Jun 2000) | 5 lines are really messed up. We restart, and hope our problems go away. ------------------------------------------------------------------------ -r218 | guus | 2000-06-30 13:45:16 +0200 (Fri, 30 Jun 2000) | 6 lines +r218 | guus | 2000-06-30 13:45:16 +0200 (vr, 30 jun 2000) | 6 lines - Removed segfault bug in conf.c (must have been there for ages!) - Made main_loop() signal proof @@ -4958,21 +5040,21 @@ r218 | guus | 2000-06-30 13:45:16 +0200 (Fri, 30 Jun 2000) | 6 lines for MAXTIMEOUT seconds, and then restart tinc ------------------------------------------------------------------------ -r217 | guus | 2000-06-29 21:47:04 +0200 (Thu, 29 Jun 2000) | 4 lines +r217 | guus | 2000-06-29 21:47:04 +0200 (do, 29 jun 2000) | 4 lines - Fixed memory leak. - Implemented SIGHUP configuration file reloading. - Other small changes. ------------------------------------------------------------------------ -r216 | guus | 2000-06-29 19:09:08 +0200 (Thu, 29 Jun 2000) | 4 lines +r216 | guus | 2000-06-29 19:09:08 +0200 (do, 29 jun 2000) | 4 lines - New semantics for BASIC_INFO, ADD_HOST and DEL_HOST requests. This will improve connection list consistency, ensures the tree property, and allows for recovery from situations where track of connections is lost. ------------------------------------------------------------------------ -r215 | guus | 2000-06-29 15:04:15 +0200 (Thu, 29 Jun 2000) | 5 lines +r215 | guus | 2000-06-29 15:04:15 +0200 (do, 29 jun 2000) | 5 lines - Removed all IP_ADDR_S macros, because gettext doesn't like them. Each connection now has two hostnames: real_hostname (replacing the old), @@ -4980,135 +5062,135 @@ r215 | guus | 2000-06-29 15:04:15 +0200 (Thu, 29 Jun 2000) | 5 lines IP_ADDR_S has been replaced by %d.%d.%d.%d. ------------------------------------------------------------------------ -r214 | guus | 2000-06-29 09:11:23 +0200 (Thu, 29 Jun 2000) | 2 lines +r214 | guus | 2000-06-29 09:11:23 +0200 (do, 29 jun 2000) | 2 lines - Updated Dutch translation. ------------------------------------------------------------------------ -r213 | zarq | 2000-06-28 23:06:40 +0200 (Wed, 28 Jun 2000) | 2 lines +r213 | zarq | 2000-06-28 23:06:40 +0200 (wo, 28 jun 2000) | 2 lines Oops, and mention Guus too. ------------------------------------------------------------------------ -r212 | zarq | 2000-06-28 23:01:45 +0200 (Wed, 28 Jun 2000) | 2 lines +r212 | zarq | 2000-06-28 23:01:45 +0200 (wo, 28 jun 2000) | 2 lines Removed Free Software Foundation copyright, because Guus Sliepen contributed significantly. ------------------------------------------------------------------------ -r211 | guus | 2000-06-28 16:34:40 +0200 (Wed, 28 Jun 2000) | 2 lines +r211 | guus | 2000-06-28 16:34:40 +0200 (wo, 28 jun 2000) | 2 lines - Added log message when SIGCHLD is received ("thanks" to Ivo van Dong) ------------------------------------------------------------------------ -r210 | guus | 2000-06-28 15:41:02 +0200 (Wed, 28 Jun 2000) | 4 lines +r210 | guus | 2000-06-28 15:41:02 +0200 (wo, 28 jun 2000) | 4 lines - Fixed a message in nl.po - Woops, we forgot to send our connection list to our uplink when we connect to it... Fixed. ------------------------------------------------------------------------ -r209 | guus | 2000-06-28 13:39:40 +0200 (Wed, 28 Jun 2000) | 2 lines +r209 | guus | 2000-06-28 13:39:40 +0200 (wo, 28 jun 2000) | 2 lines - Fixed missing " in nl.po ------------------------------------------------------------------------ -r208 | guus | 2000-06-28 13:38:01 +0200 (Wed, 28 Jun 2000) | 4 lines +r208 | guus | 2000-06-28 13:38:01 +0200 (wo, 28 jun 2000) | 4 lines - Fixed some spelling errors. - Paar zpelvautjes gerepareerd, en de Nederlandse vertaling weer bij de tijd gebracht. ------------------------------------------------------------------------ -r207 | guus | 2000-06-28 12:11:10 +0200 (Wed, 28 Jun 2000) | 2 lines +r207 | guus | 2000-06-28 12:11:10 +0200 (wo, 28 jun 2000) | 2 lines - Extra check op EINTR bij inlezen requests ------------------------------------------------------------------------ -r206 | guus | 2000-06-27 23:05:07 +0200 (Tue, 27 Jun 2000) | 2 lines +r206 | guus | 2000-06-27 23:05:07 +0200 (di, 27 jun 2000) | 2 lines - Fixes a silly little insignificant buglet. ------------------------------------------------------------------------ -r205 | guus | 2000-06-27 22:55:12 +0200 (Tue, 27 Jun 2000) | 2 lines +r205 | guus | 2000-06-27 22:55:12 +0200 (di, 27 jun 2000) | 2 lines - Purge old connections that are ADD_HOSTed. ------------------------------------------------------------------------ -r204 | guus | 2000-06-27 22:10:48 +0200 (Tue, 27 Jun 2000) | 2 lines +r204 | guus | 2000-06-27 22:10:48 +0200 (di, 27 jun 2000) | 2 lines - Improved handling of errors on connection attempts. ------------------------------------------------------------------------ -r203 | guus | 2000-06-27 17:08:58 +0200 (Tue, 27 Jun 2000) | 3 lines +r203 | guus | 2000-06-27 17:08:58 +0200 (di, 27 jun 2000) | 3 lines - Fixed indirectdata=no problem - Added support for multiple ConnectTo lines in tinc.conf. ------------------------------------------------------------------------ -r202 | guus | 2000-06-27 14:58:04 +0200 (Tue, 27 Jun 2000) | 4 lines +r202 | guus | 2000-06-27 14:58:04 +0200 (di, 27 jun 2000) | 4 lines - Fixed KEY_CHANGED notification. A lot of notify_others() calls were wrong (first two arguments swapped). Should probably be doublechecked. - Don't retry to connect to hosts with different protocol versions. ------------------------------------------------------------------------ -r201 | guus | 2000-06-26 22:30:21 +0200 (Mon, 26 Jun 2000) | 4 lines +r201 | guus | 2000-06-26 22:30:21 +0200 (ma, 26 jun 2000) | 4 lines - Moved all connection messages to debug level 1, without -d's only the startup message will be logged. - Fixed DEL_HOST rebound. ------------------------------------------------------------------------ -r200 | guus | 2000-06-26 21:39:34 +0200 (Mon, 26 Jun 2000) | 3 lines +r200 | guus | 2000-06-26 21:39:34 +0200 (ma, 26 jun 2000) | 3 lines - Indirectdata finally REALLY REALLY works now! - More precise debug messages ------------------------------------------------------------------------ -r199 | guus | 2000-06-26 19:20:58 +0200 (Mon, 26 Jun 2000) | 2 lines +r199 | guus | 2000-06-26 19:20:58 +0200 (ma, 26 jun 2000) | 2 lines Fixes some hostlookups. Fixes indirectdata for real now (hopefully). ------------------------------------------------------------------------ -r198 | zarq | 2000-06-25 22:52:29 +0200 (Sun, 25 Jun 2000) | 2 lines +r198 | zarq | 2000-06-25 22:52:29 +0200 (zo, 25 jun 2000) | 2 lines Version 1.0pre3. ------------------------------------------------------------------------ -r197 | guus | 2000-06-25 18:39:17 +0200 (Sun, 25 Jun 2000) | 3 lines +r197 | guus | 2000-06-25 18:39:17 +0200 (zo, 25 jun 2000) | 3 lines - More verbose connection list - Added "myself" as hostname when logging indirect ADD_HOSTs ------------------------------------------------------------------------ -r196 | guus | 2000-06-25 18:20:27 +0200 (Sun, 25 Jun 2000) | 2 lines +r196 | guus | 2000-06-25 18:20:27 +0200 (zo, 25 jun 2000) | 2 lines Hostlookup() is actually being called now. ------------------------------------------------------------------------ -r195 | guus | 2000-06-25 18:01:12 +0200 (Sun, 25 Jun 2000) | 2 lines +r195 | guus | 2000-06-25 18:01:12 +0200 (zo, 25 jun 2000) | 2 lines Hostnames are back! ------------------------------------------------------------------------ -r194 | guus | 2000-06-25 17:45:09 +0200 (Sun, 25 Jun 2000) | 4 lines +r194 | guus | 2000-06-25 17:45:09 +0200 (zo, 25 jun 2000) | 4 lines - Log possible spoofing attacks. - Don't broadcast DEL_HOSTs for hosts that haven't been activated yet. - If a host sends a TERMREQ, deactivate them. ------------------------------------------------------------------------ -r193 | zarq | 2000-06-25 17:42:40 +0200 (Sun, 25 Jun 2000) | 2 lines +r193 | zarq | 2000-06-25 17:42:40 +0200 (zo, 25 jun 2000) | 2 lines Changed version number to 1.0pre3. ------------------------------------------------------------------------ -r192 | guus | 2000-06-25 17:22:16 +0200 (Sun, 25 Jun 2000) | 2 lines +r192 | guus | 2000-06-25 17:22:16 +0200 (zo, 25 jun 2000) | 2 lines Added CVS Id tags to header files. ------------------------------------------------------------------------ -r191 | guus | 2000-06-25 17:16:12 +0200 (Sun, 25 Jun 2000) | 12 lines +r191 | guus | 2000-06-25 17:16:12 +0200 (zo, 25 jun 2000) | 12 lines Large cleanup: - Removed hostname lookup (it blocks, and you can always do it yourself) @@ -5123,12 +5205,12 @@ Large cleanup: - Made log messages more consistent ------------------------------------------------------------------------ -r190 | guus | 2000-06-24 14:35:42 +0200 (Sat, 24 Jun 2000) | 2 lines +r190 | guus | 2000-06-24 14:35:42 +0200 (za, 24 jun 2000) | 2 lines If we have "indirectdata" flag set, we only send data to our uplink. ------------------------------------------------------------------------ -r189 | guus | 2000-06-23 21:27:03 +0200 (Fri, 23 Jun 2000) | 5 lines +r189 | guus | 2000-06-23 21:27:03 +0200 (vr, 23 jun 2000) | 5 lines First step for implementation of the "indirectdata" directive. This should allow _leaf_ tincds to be behind firewalls. @@ -5136,163 +5218,163 @@ The protocol has changed and is INCOMPATIBLE with previous versions. The PROT_CURRENT value has been incremented. ------------------------------------------------------------------------ -r188 | zarq | 2000-06-17 22:55:54 +0200 (Sat, 17 Jun 2000) | 2 lines +r188 | zarq | 2000-06-17 22:55:54 +0200 (za, 17 jun 2000) | 2 lines Configuration directive `IndirectData'. ------------------------------------------------------------------------ -r187 | zarq | 2000-06-17 22:30:44 +0200 (Sat, 17 Jun 2000) | 2 lines +r187 | zarq | 2000-06-17 22:30:44 +0200 (za, 17 jun 2000) | 2 lines Merge changes from 1.6-1.8. ------------------------------------------------------------------------ -r184 | zarq | 2000-06-06 12:24:33 +0200 (Tue, 06 Jun 2000) | 2 lines +r184 | zarq | 2000-06-06 12:24:33 +0200 (di, 06 jun 2000) | 2 lines Include ../intl in the include path, and add @INTLLIBS@ to the list of libraries. ------------------------------------------------------------------------ -r183 | zarq | 2000-06-04 14:14:31 +0200 (Sun, 04 Jun 2000) | 2 lines +r183 | zarq | 2000-06-04 14:14:31 +0200 (zo, 04 jun 2000) | 2 lines These files are created by gettextize (run by autogen.sh) (should have known that). ------------------------------------------------------------------------ -r180 | zarq | 2000-06-04 01:32:03 +0200 (Sun, 04 Jun 2000) | 2 lines +r180 | zarq | 2000-06-04 01:32:03 +0200 (zo, 04 jun 2000) | 2 lines Don't touch VPNMASK if it's defined, otherwise use $MSK. ------------------------------------------------------------------------ -r178 | zarq | 2000-06-02 19:30:33 +0200 (Fri, 02 Jun 2000) | 2 lines +r178 | zarq | 2000-06-02 19:30:33 +0200 (vr, 02 jun 2000) | 2 lines Alphabetized the list, added Lubom�r Bulej, removed Sander Smeenk and Tijs van Bakel, put merits after all names. ------------------------------------------------------------------------ -r177 | guus | 2000-06-01 22:21:27 +0200 (Thu, 01 Jun 2000) | 2 lines +r177 | guus | 2000-06-01 22:21:27 +0200 (do, 01 jun 2000) | 2 lines Debian init.d script automatically sets tap device's MTU to 1448 now. ------------------------------------------------------------------------ -r176 | zarq | 2000-05-31 20:23:06 +0200 (Wed, 31 May 2000) | 2 lines +r176 | zarq | 2000-05-31 20:23:06 +0200 (wo, 31 mei 2000) | 2 lines Miscellaneous copyright updates. ------------------------------------------------------------------------ -r175 | zarq | 2000-05-31 20:21:27 +0200 (Wed, 31 May 2000) | 2 lines +r175 | zarq | 2000-05-31 20:21:27 +0200 (wo, 31 mei 2000) | 2 lines Handle locale settings. ------------------------------------------------------------------------ -r174 | zarq | 2000-05-31 20:19:33 +0200 (Wed, 31 May 2000) | 2 lines +r174 | zarq | 2000-05-31 20:19:33 +0200 (wo, 31 mei 2000) | 2 lines Version 1.0pre2-1. ------------------------------------------------------------------------ -r173 | zarq | 2000-05-31 20:18:21 +0200 (Wed, 31 May 2000) | 2 lines +r173 | zarq | 2000-05-31 20:18:21 +0200 (wo, 31 mei 2000) | 2 lines Updated Dutch translation. ------------------------------------------------------------------------ -r172 | zarq | 2000-05-31 20:17:45 +0200 (Wed, 31 May 2000) | 2 lines +r172 | zarq | 2000-05-31 20:17:45 +0200 (wo, 31 mei 2000) | 2 lines Tell about /etc/tinc/nets.boot. ------------------------------------------------------------------------ -r171 | zarq | 2000-05-31 20:17:27 +0200 (Wed, 31 May 2000) | 2 lines +r171 | zarq | 2000-05-31 20:17:27 +0200 (wo, 31 mei 2000) | 2 lines Include news for 1.0pre2. ------------------------------------------------------------------------ -r170 | zarq | 2000-05-30 23:36:16 +0200 (Tue, 30 May 2000) | 2 lines +r170 | zarq | 2000-05-30 23:36:16 +0200 (di, 30 mei 2000) | 2 lines Only accept an ADD_HOST request for a host that already exists in our conn_list if the nexthop field matches the sender. This is a workaround for older clients. ------------------------------------------------------------------------ -r169 | zarq | 2000-05-30 14:38:15 +0200 (Tue, 30 May 2000) | 2 lines +r169 | zarq | 2000-05-30 14:38:15 +0200 (di, 30 mei 2000) | 2 lines In terminate_connection, only send a notification to hosts that are directly connected to us. (DEL_HOST gets forwarded automatically.) ------------------------------------------------------------------------ -r168 | zarq | 2000-05-30 14:31:41 +0200 (Tue, 30 May 2000) | 2 lines +r168 | zarq | 2000-05-30 14:31:41 +0200 (di, 30 mei 2000) | 2 lines When a connection is terminated, all hosts that are still connected get notified of the lost connections. ------------------------------------------------------------------------ -r167 | zarq | 2000-05-30 13:18:12 +0200 (Tue, 30 May 2000) | 2 lines +r167 | zarq | 2000-05-30 13:18:12 +0200 (di, 30 mei 2000) | 2 lines Added new configuration directive `Hostnames', which controls the resolving of IP addresses to hostnames. ------------------------------------------------------------------------ -r166 | guus | 2000-05-30 01:40:05 +0200 (Tue, 30 May 2000) | 3 lines +r166 | guus | 2000-05-30 01:40:05 +0200 (di, 30 mei 2000) | 3 lines Only activate a connection upon receiving it's public key if it's an incoming connection. When it's outgoing, we need to receive an ack first. ------------------------------------------------------------------------ -r165 | zarq | 2000-05-30 00:27:15 +0200 (Tue, 30 May 2000) | 2 lines +r165 | zarq | 2000-05-30 00:27:15 +0200 (di, 30 mei 2000) | 2 lines Updated changes list for version 1.0pre2. ------------------------------------------------------------------------ -r164 | zarq | 2000-05-30 00:20:04 +0200 (Tue, 30 May 2000) | 2 lines +r164 | zarq | 2000-05-30 00:20:04 +0200 (di, 30 mei 2000) | 2 lines Bounds check for request id (between 0 and 255). ------------------------------------------------------------------------ -r163 | zarq | 2000-05-30 00:15:38 +0200 (Tue, 30 May 2000) | 2 lines +r163 | zarq | 2000-05-30 00:15:38 +0200 (di, 30 mei 2000) | 2 lines Dutch translation of tinc. ------------------------------------------------------------------------ -r162 | zarq | 2000-05-29 23:40:51 +0200 (Mon, 29 May 2000) | 2 lines +r162 | zarq | 2000-05-29 23:40:51 +0200 (ma, 29 mei 2000) | 2 lines Define LOCALEDIR in CFLAGS. ------------------------------------------------------------------------ -r161 | zarq | 2000-05-29 23:40:20 +0200 (Mon, 29 May 2000) | 2 lines +r161 | zarq | 2000-05-29 23:40:20 +0200 (ma, 29 mei 2000) | 2 lines Include GNU gettext checks. ------------------------------------------------------------------------ -r160 | zarq | 2000-05-29 23:38:02 +0200 (Mon, 29 May 2000) | 2 lines +r160 | zarq | 2000-05-29 23:38:02 +0200 (ma, 29 mei 2000) | 2 lines Update acconfig.h to include values for gettext inclusion. ------------------------------------------------------------------------ -r159 | zarq | 2000-05-29 23:36:28 +0200 (Mon, 29 May 2000) | 2 lines +r159 | zarq | 2000-05-29 23:36:28 +0200 (ma, 29 mei 2000) | 2 lines Include system.h and ABOUT-NLS. ------------------------------------------------------------------------ -r158 | zarq | 2000-05-29 23:04:55 +0200 (Mon, 29 May 2000) | 2 lines +r158 | zarq | 2000-05-29 23:04:55 +0200 (ma, 29 mei 2000) | 2 lines Include intl/ directory in the list of subdirs. ------------------------------------------------------------------------ -r157 | zarq | 2000-05-29 23:01:26 +0200 (Mon, 29 May 2000) | 2 lines +r157 | zarq | 2000-05-29 23:01:26 +0200 (ma, 29 mei 2000) | 2 lines Internationalization of tinc. ------------------------------------------------------------------------ -r156 | guus | 2000-05-27 22:23:01 +0200 (Sat, 27 May 2000) | 4 lines +r156 | guus | 2000-05-27 22:23:01 +0200 (za, 27 mei 2000) | 4 lines Terminate a connection on any error. Furthermore, disallow del_host, add_host and other important requests until remote host has properly authenticated itself. ------------------------------------------------------------------------ -r155 | guus | 2000-05-27 21:44:04 +0200 (Sat, 27 May 2000) | 4 lines +r155 | guus | 2000-05-27 21:44:04 +0200 (za, 27 mei 2000) | 4 lines Made tinc persistent. If no outgoing connection can be established right after the start of the daemon, it won't quit anymore but will retry in 5 minutes. Also, 5 minutes is now the maximum time to wait for a retry. ------------------------------------------------------------------------ -r154 | guus | 2000-05-27 21:23:20 +0200 (Sat, 27 May 2000) | 3 lines +r154 | guus | 2000-05-27 21:23:20 +0200 (za, 27 mei 2000) | 3 lines Fixed typos. When terminating a connection, it's status is not only set to remove=1 but also active=0. ------------------------------------------------------------------------ -r153 | guus | 2000-05-27 21:04:12 +0200 (Sat, 27 May 2000) | 11 lines +r153 | guus | 2000-05-27 21:04:12 +0200 (za, 27 mei 2000) | 11 lines Fix for a DoS attack: A remote user could telnet to the tinc daemon and type only this line: @@ -5306,111 +5388,111 @@ Fixed potential conn_list table corruption: terminated. ------------------------------------------------------------------------ -r152 | guus | 2000-05-27 15:21:20 +0200 (Sat, 27 May 2000) | 4 lines +r152 | guus | 2000-05-27 15:21:20 +0200 (za, 27 mei 2000) | 4 lines Documentation updates. Removed all references to configuration variable "AllowConnect", since it is NOT used in tinc. Added information about "VpnMask". Elaborated a bit about "private" and "virtual" networks. ------------------------------------------------------------------------ -r151 | zarq | 2000-05-26 13:25:59 +0200 (Fri, 26 May 2000) | 2 lines +r151 | zarq | 2000-05-26 13:25:59 +0200 (vr, 26 mei 2000) | 2 lines Updated by Lubomir Bulej and Mads Kiilerich: it uses /etc/tinc/nets.boot and the VpnMask directive in the config files. ------------------------------------------------------------------------ -r150 | zarq | 2000-05-22 01:01:28 +0200 (Mon, 22 May 2000) | 2 lines +r150 | zarq | 2000-05-22 01:01:28 +0200 (ma, 22 mei 2000) | 2 lines Create an empty /etc/tinc/nets.boot. ------------------------------------------------------------------------ -r149 | zarq | 2000-05-22 00:40:41 +0200 (Mon, 22 May 2000) | 2 lines +r149 | zarq | 2000-05-22 00:40:41 +0200 (ma, 22 mei 2000) | 2 lines Use /etc/tinc/example as a base directory for an example. /etc/tinc/example/README points to /usr/share/doc/tinc/README.Debian. ------------------------------------------------------------------------ -r148 | zarq | 2000-05-22 00:38:01 +0200 (Mon, 22 May 2000) | 2 lines +r148 | zarq | 2000-05-22 00:38:01 +0200 (ma, 22 mei 2000) | 2 lines Add an example of using VpnMask. ------------------------------------------------------------------------ -r147 | zarq | 2000-05-22 00:27:31 +0200 (Mon, 22 May 2000) | 2 lines +r147 | zarq | 2000-05-22 00:27:31 +0200 (ma, 22 mei 2000) | 2 lines When VpnMask is not present in the config file, silently use $MSK as vpnmask. ------------------------------------------------------------------------ -r146 | guus | 2000-05-22 00:21:38 +0200 (Mon, 22 May 2000) | 4 lines +r146 | guus | 2000-05-22 00:21:38 +0200 (ma, 22 mei 2000) | 4 lines Fixed last typo. Init.d now uses ifconfig command to set both the tap's IP address as well as the correct route. Furthermore, if no VpnMask is given, a default of 255.255.0.0 is chosen and a warning issued. ------------------------------------------------------------------------ -r145 | guus | 2000-05-22 00:08:21 +0200 (Mon, 22 May 2000) | 2 lines +r145 | guus | 2000-05-22 00:08:21 +0200 (ma, 22 mei 2000) | 2 lines Typo. ------------------------------------------------------------------------ -r144 | guus | 2000-05-22 00:04:56 +0200 (Mon, 22 May 2000) | 2 lines +r144 | guus | 2000-05-22 00:04:56 +0200 (ma, 22 mei 2000) | 2 lines VpnMask truely works now. ------------------------------------------------------------------------ -r143 | zarq | 2000-05-19 03:17:32 +0200 (Fri, 19 May 2000) | 2 lines +r143 | zarq | 2000-05-19 03:17:32 +0200 (vr, 19 mei 2000) | 2 lines Mask the vpn net with the vpn netmask, route would give an error if the netmask didn't match the net. ------------------------------------------------------------------------ -r142 | zarq | 2000-05-19 02:58:01 +0200 (Fri, 19 May 2000) | 2 lines +r142 | zarq | 2000-05-19 02:58:01 +0200 (vr, 19 mei 2000) | 2 lines Fixed typo. ------------------------------------------------------------------------ -r141 | zarq | 2000-05-19 02:33:44 +0200 (Fri, 19 May 2000) | 2 lines +r141 | zarq | 2000-05-19 02:33:44 +0200 (vr, 19 mei 2000) | 2 lines Updated copyright notice. ------------------------------------------------------------------------ -r140 | zarq | 2000-05-19 02:15:37 +0200 (Fri, 19 May 2000) | 2 lines +r140 | zarq | 2000-05-19 02:15:37 +0200 (vr, 19 mei 2000) | 2 lines Errors will not terminate the script or result in a nonzero exit code. ------------------------------------------------------------------------ -r139 | zarq | 2000-05-19 02:14:34 +0200 (Fri, 19 May 2000) | 2 lines +r139 | zarq | 2000-05-19 02:14:34 +0200 (vr, 19 mei 2000) | 2 lines Include postinst in the distribution. ------------------------------------------------------------------------ -r138 | zarq | 2000-05-19 02:09:20 +0200 (Fri, 19 May 2000) | 2 lines +r138 | zarq | 2000-05-19 02:09:20 +0200 (vr, 19 mei 2000) | 2 lines Find networks in instead of . ------------------------------------------------------------------------ -r137 | zarq | 2000-05-19 01:33:44 +0200 (Fri, 19 May 2000) | 2 lines +r137 | zarq | 2000-05-19 01:33:44 +0200 (vr, 19 mei 2000) | 2 lines Don't distribute the file files. ------------------------------------------------------------------------ -r136 | zarq | 2000-05-19 01:28:51 +0200 (Fri, 19 May 2000) | 2 lines +r136 | zarq | 2000-05-19 01:28:51 +0200 (vr, 19 mei 2000) | 2 lines Version 1.0pre2-0.3 ------------------------------------------------------------------------ -r135 | zarq | 2000-05-19 01:18:54 +0200 (Fri, 19 May 2000) | 2 lines +r135 | zarq | 2000-05-19 01:18:54 +0200 (vr, 19 mei 2000) | 2 lines Create a default /etc/tinc/nets.boot after installation, containing all directories under /etc/tinc by default. ------------------------------------------------------------------------ -r134 | zarq | 2000-05-19 01:09:31 +0200 (Fri, 19 May 2000) | 2 lines +r134 | zarq | 2000-05-19 01:09:31 +0200 (vr, 19 mei 2000) | 2 lines Read /etc/tinc/nets.boot to find the networks that have to be started. ------------------------------------------------------------------------ -r133 | zarq | 2000-05-18 01:13:51 +0200 (Thu, 18 May 2000) | 2 lines +r133 | zarq | 2000-05-18 01:13:51 +0200 (do, 18 mei 2000) | 2 lines This file is generated with dpkg-buildpackage. ------------------------------------------------------------------------ -r132 | guus | 2000-05-16 18:07:15 +0200 (Tue, 16 May 2000) | 5 lines +r132 | guus | 2000-05-16 18:07:15 +0200 (di, 16 mei 2000) | 5 lines TODO file reinstated: - Append your name to items if you're working on them. @@ -5418,119 +5500,119 @@ TODO file reinstated: - Add any (suspected) bugs. ------------------------------------------------------------------------ -r131 | zarq | 2000-05-16 16:34:44 +0200 (Tue, 16 May 2000) | 2 lines +r131 | zarq | 2000-05-16 16:34:44 +0200 (di, 16 mei 2000) | 2 lines Use the new VpnMask directive to add a route to the rest of the VPN. ------------------------------------------------------------------------ -r130 | guus | 2000-05-16 15:09:15 +0200 (Tue, 16 May 2000) | 2 lines +r130 | guus | 2000-05-16 15:09:15 +0200 (di, 16 mei 2000) | 2 lines Stub for VpnMask config directive. ------------------------------------------------------------------------ -r129 | zarq | 2000-05-16 15:03:32 +0200 (Tue, 16 May 2000) | 2 lines +r129 | zarq | 2000-05-16 15:03:32 +0200 (di, 16 mei 2000) | 2 lines Look if the tap devices exist before bluntly remaking them. ------------------------------------------------------------------------ -r128 | zarq | 2000-05-16 09:56:05 +0200 (Tue, 16 May 2000) | 2 lines +r128 | zarq | 2000-05-16 09:56:05 +0200 (di, 16 mei 2000) | 2 lines *** empty log message *** ------------------------------------------------------------------------ -r127 | zarq | 2000-05-15 21:48:46 +0200 (Mon, 15 May 2000) | 2 lines +r127 | zarq | 2000-05-15 21:48:46 +0200 (ma, 15 mei 2000) | 2 lines Depend on perl5. ------------------------------------------------------------------------ -r126 | zarq | 2000-05-15 20:28:45 +0200 (Mon, 15 May 2000) | 2 lines +r126 | zarq | 2000-05-15 20:28:45 +0200 (ma, 15 mei 2000) | 2 lines Unlimited length in the config file, thanks to Cris van Pelt. ------------------------------------------------------------------------ -r125 | zarq | 2000-05-15 19:15:52 +0200 (Mon, 15 May 2000) | 2 lines +r125 | zarq | 2000-05-15 19:15:52 +0200 (ma, 15 mei 2000) | 2 lines Exit with zero status if is empty. ------------------------------------------------------------------------ -r124 | zarq | 2000-05-15 17:54:37 +0200 (Mon, 15 May 2000) | 2 lines +r124 | zarq | 2000-05-15 17:54:37 +0200 (ma, 15 mei 2000) | 2 lines Updated to newer version. ------------------------------------------------------------------------ -r123 | guus | 2000-05-15 11:41:34 +0200 (Mon, 15 May 2000) | 3 lines +r123 | guus | 2000-05-15 11:41:34 +0200 (ma, 15 mei 2000) | 3 lines Test for existence of configured tinc networks. This will also make first install of tinc possible without errors. ------------------------------------------------------------------------ -r122 | zarq | 2000-05-15 01:03:37 +0200 (Mon, 15 May 2000) | 2 lines +r122 | zarq | 2000-05-15 01:03:37 +0200 (ma, 15 mei 2000) | 2 lines .deb version number 1.0pre2-0.4. ------------------------------------------------------------------------ -r121 | zarq | 2000-05-15 01:00:44 +0200 (Mon, 15 May 2000) | 3 lines +r121 | zarq | 2000-05-15 01:00:44 +0200 (ma, 15 mei 2000) | 3 lines tincd->tinc Delete libblowfish.y not be in the .deb. ------------------------------------------------------------------------ -r120 | zarq | 2000-05-15 00:59:47 +0200 (Mon, 15 May 2000) | 2 lines +r120 | zarq | 2000-05-15 00:59:47 +0200 (ma, 15 mei 2000) | 2 lines Mention both upstream authors. ------------------------------------------------------------------------ -r119 | zarq | 2000-05-15 00:59:19 +0200 (Mon, 15 May 2000) | 2 lines +r119 | zarq | 2000-05-15 00:59:19 +0200 (ma, 15 mei 2000) | 2 lines Add description, better dependancies. ------------------------------------------------------------------------ -r118 | zarq | 2000-05-15 00:58:47 +0200 (Mon, 15 May 2000) | 2 lines +r118 | zarq | 2000-05-15 00:58:47 +0200 (ma, 15 mei 2000) | 2 lines Add initscript, tincd->tinc. ------------------------------------------------------------------------ -r117 | zarq | 2000-05-14 23:18:10 +0200 (Sun, 14 May 2000) | 2 lines +r117 | zarq | 2000-05-14 23:18:10 +0200 (zo, 14 mei 2000) | 2 lines Inserted useful content. ------------------------------------------------------------------------ -r116 | zarq | 2000-05-14 23:14:23 +0200 (Sun, 14 May 2000) | 2 lines +r116 | zarq | 2000-05-14 23:14:23 +0200 (zo, 14 mei 2000) | 2 lines Add shlibs control file for the blowfish library. ------------------------------------------------------------------------ -r115 | zarq | 2000-05-14 23:07:16 +0200 (Sun, 14 May 2000) | 2 lines +r115 | zarq | 2000-05-14 23:07:16 +0200 (zo, 14 mei 2000) | 2 lines Give IP address instead of hex number when connecting tcp socket failed. ------------------------------------------------------------------------ -r114 | zarq | 2000-05-14 23:04:53 +0200 (Sun, 14 May 2000) | 2 lines +r114 | zarq | 2000-05-14 23:04:53 +0200 (zo, 14 mei 2000) | 2 lines Changed version to 1.0pre2. ------------------------------------------------------------------------ -r113 | zarq | 2000-05-14 22:58:34 +0200 (Sun, 14 May 2000) | 2 lines +r113 | zarq | 2000-05-14 22:58:34 +0200 (zo, 14 mei 2000) | 2 lines Version 1.0pre1-0.1. ------------------------------------------------------------------------ -r112 | zarq | 2000-05-14 22:56:41 +0200 (Sun, 14 May 2000) | 2 lines +r112 | zarq | 2000-05-14 22:56:41 +0200 (zo, 14 mei 2000) | 2 lines Add check for mpz_powm in libgmp3. ------------------------------------------------------------------------ -r111 | zarq | 2000-05-14 15:50:10 +0200 (Sun, 14 May 2000) | 2 lines +r111 | zarq | 2000-05-14 15:50:10 +0200 (zo, 14 mei 2000) | 2 lines Only print an error with send_termreq if debug_lvl is 2 or more. ------------------------------------------------------------------------ -r110 | guus | 2000-05-14 15:06:52 +0200 (Sun, 14 May 2000) | 2 lines +r110 | guus | 2000-05-14 15:06:52 +0200 (zo, 14 mei 2000) | 2 lines Fixed typos. ------------------------------------------------------------------------ -r109 | guus | 2000-05-14 15:02:20 +0200 (Sun, 14 May 2000) | 6 lines +r109 | guus | 2000-05-14 15:02:20 +0200 (zo, 14 mei 2000) | 6 lines Changed ping behaviour (backwards compatible). If we don't have any data to send, we don't need to check if the connection is still alive. @@ -5539,140 +5621,140 @@ it's alive, so we don't need to check it either. So, PING requests are only sent if we send packets but there is no response. ------------------------------------------------------------------------ -r108 | guus | 2000-05-14 14:22:42 +0200 (Sun, 14 May 2000) | 2 lines +r108 | guus | 2000-05-14 14:22:42 +0200 (zo, 14 mei 2000) | 2 lines Cleanups. ------------------------------------------------------------------------ -r107 | guus | 2000-05-14 13:39:18 +0200 (Sun, 14 May 2000) | 2 lines +r107 | guus | 2000-05-14 13:39:18 +0200 (zo, 14 mei 2000) | 2 lines Proxymode removed. ------------------------------------------------------------------------ -r106 | zarq | 2000-05-13 02:54:27 +0200 (Sat, 13 May 2000) | 2 lines +r106 | zarq | 2000-05-13 02:54:27 +0200 (za, 13 mei 2000) | 2 lines Perl version of the system startup script. ------------------------------------------------------------------------ -r105 | zarq | 2000-05-12 15:31:00 +0200 (Fri, 12 May 2000) | 2 lines +r105 | zarq | 2000-05-12 15:31:00 +0200 (vr, 12 mei 2000) | 2 lines Deleted the protocol description. ------------------------------------------------------------------------ -r104 | guus | 2000-05-08 20:44:15 +0200 (Mon, 08 May 2000) | 4 lines +r104 | guus | 2000-05-08 20:44:15 +0200 (ma, 08 mei 2000) | 4 lines Added new config variable "ProxyMode". If enabled, all outgoing packets are sent to the uplink (ConnectTo), which will have to forward them for us (kernel should do that). This is for people behind firewalls. ------------------------------------------------------------------------ -r103 | zarq | 2000-05-05 12:48:54 +0200 (Fri, 05 May 2000) | 2 lines +r103 | zarq | 2000-05-05 12:48:54 +0200 (vr, 05 mei 2000) | 2 lines Added semicolons required by bash2 (Mads Kiilerich). ------------------------------------------------------------------------ -r102 | zarq | 2000-05-05 01:26:24 +0200 (Fri, 05 May 2000) | 2 lines +r102 | zarq | 2000-05-05 01:26:24 +0200 (vr, 05 mei 2000) | 2 lines Copied most of the code from the redhat script. ------------------------------------------------------------------------ -r101 | zarq | 2000-05-05 01:17:02 +0200 (Fri, 05 May 2000) | 2 lines +r101 | zarq | 2000-05-05 01:17:02 +0200 (vr, 05 mei 2000) | 2 lines Include sys/types.h. ------------------------------------------------------------------------ -r100 | zarq | 2000-05-05 01:16:43 +0200 (Fri, 05 May 2000) | 2 lines +r100 | zarq | 2000-05-05 01:16:43 +0200 (vr, 05 mei 2000) | 2 lines Don't link in libdl. ------------------------------------------------------------------------ -r99 | zarq | 2000-05-04 02:01:05 +0200 (Thu, 04 May 2000) | 2 lines +r99 | zarq | 2000-05-04 02:01:05 +0200 (do, 04 mei 2000) | 2 lines Check for the existance of libdl. ------------------------------------------------------------------------ -r98 | zarq | 2000-05-04 02:00:50 +0200 (Thu, 04 May 2000) | 2 lines +r98 | zarq | 2000-05-04 02:00:50 +0200 (do, 04 mei 2000) | 2 lines More for getopt support. ------------------------------------------------------------------------ -r97 | zarq | 2000-05-04 02:00:06 +0200 (Thu, 04 May 2000) | 2 lines +r97 | zarq | 2000-05-04 02:00:06 +0200 (do, 04 mei 2000) | 2 lines Include stdio.h for fprintf. ------------------------------------------------------------------------ -r96 | zarq | 2000-05-04 01:47:06 +0200 (Thu, 04 May 2000) | 2 lines +r96 | zarq | 2000-05-04 01:47:06 +0200 (do, 04 mei 2000) | 2 lines getopt_long() support for platforms that don't have it. ------------------------------------------------------------------------ -r95 | zarq | 2000-05-04 01:00:38 +0200 (Thu, 04 May 2000) | 2 lines +r95 | zarq | 2000-05-04 01:00:38 +0200 (do, 04 mei 2000) | 2 lines Don't use error.h or error(), put #error in front of cpp errors. ------------------------------------------------------------------------ -r94 | guus | 2000-05-03 20:02:15 +0200 (Wed, 03 May 2000) | 2 lines +r94 | guus | 2000-05-03 20:02:15 +0200 (wo, 03 mei 2000) | 2 lines Squashed gcc warning. ------------------------------------------------------------------------ -r93 | guus | 2000-05-03 19:59:07 +0200 (Wed, 03 May 2000) | 2 lines +r93 | guus | 2000-05-03 19:59:07 +0200 (wo, 03 mei 2000) | 2 lines Fixes typo and UDP network byte order. ------------------------------------------------------------------------ -r92 | guus | 2000-05-03 17:37:32 +0200 (Wed, 03 May 2000) | 2 lines +r92 | guus | 2000-05-03 17:37:32 +0200 (wo, 03 mei 2000) | 2 lines Outgoing packets now use network byte order in header. ------------------------------------------------------------------------ -r91 | zarq | 2000-05-03 17:01:54 +0200 (Wed, 03 May 2000) | 2 lines +r91 | zarq | 2000-05-03 17:01:54 +0200 (wo, 03 mei 2000) | 2 lines Fix a typo, better handling of the info document. (from Mads Kiilerich) ------------------------------------------------------------------------ -r90 | guus | 2000-05-02 12:16:50 +0200 (Tue, 02 May 2000) | 3 lines +r90 | guus | 2000-05-02 12:16:50 +0200 (di, 02 mei 2000) | 3 lines Replaced sprintf() by safer snprintf(), removed possible buffer overflow by one byte. ------------------------------------------------------------------------ -r89 | guus | 2000-05-02 11:55:34 +0200 (Tue, 02 May 2000) | 2 lines +r89 | guus | 2000-05-02 11:55:34 +0200 (di, 02 mei 2000) | 2 lines Previous fix fixed. Meta protocol should be really flawless from now on! ------------------------------------------------------------------------ -r88 | guus | 2000-05-02 11:10:33 +0200 (Tue, 02 May 2000) | 2 lines +r88 | guus | 2000-05-02 11:10:33 +0200 (di, 02 mei 2000) | 2 lines Fixed small mistake that would prevent forwarding requests. ------------------------------------------------------------------------ -r87 | zarq | 2000-05-02 00:00:02 +0200 (Tue, 02 May 2000) | 2 lines +r87 | zarq | 2000-05-02 00:00:02 +0200 (di, 02 mei 2000) | 2 lines Mentioned new metaprotocol. ------------------------------------------------------------------------ -r86 | zarq | 2000-05-01 23:47:12 +0200 (Mon, 01 May 2000) | 2 lines +r86 | zarq | 2000-05-01 23:47:12 +0200 (ma, 01 mei 2000) | 2 lines More tincd->tinc updates. ------------------------------------------------------------------------ -r85 | zarq | 2000-05-01 23:31:59 +0200 (Mon, 01 May 2000) | 2 lines +r85 | zarq | 2000-05-01 23:31:59 +0200 (ma, 01 mei 2000) | 2 lines Fixed meta protocol. ------------------------------------------------------------------------ -r84 | zarq | 2000-05-01 23:31:17 +0200 (Mon, 01 May 2000) | 2 lines +r84 | zarq | 2000-05-01 23:31:17 +0200 (ma, 01 mei 2000) | 2 lines Committed by Mads Kiilerich. ------------------------------------------------------------------------ -r83 | zarq | 2000-05-01 21:17:09 +0200 (Mon, 01 May 2000) | 2 lines +r83 | zarq | 2000-05-01 21:17:09 +0200 (ma, 01 mei 2000) | 2 lines Updates by Mads Kiilerich. ------------------------------------------------------------------------ -r82 | guus | 2000-05-01 20:07:12 +0200 (Mon, 01 May 2000) | 6 lines +r82 | guus | 2000-05-01 20:07:12 +0200 (ma, 01 mei 2000) | 6 lines Meta protocol overhaul. Tinc is now incompatible with previous versions, furthermore this version does NOT work yet because of a problem with @@ -5681,413 +5763,413 @@ It is possible to telnet to the tinc daemon now and type some commands by hand though :). ------------------------------------------------------------------------ -r81 | zarq | 2000-05-01 18:28:28 +0200 (Mon, 01 May 2000) | 2 lines +r81 | zarq | 2000-05-01 18:28:28 +0200 (ma, 01 mei 2000) | 2 lines Committed by Lubom�r Bulej. ------------------------------------------------------------------------ -r80 | zarq | 2000-04-30 22:48:48 +0200 (Sun, 30 Apr 2000) | 2 lines +r80 | zarq | 2000-04-30 22:48:48 +0200 (zo, 30 apr 2000) | 2 lines Key forwarding, write one byte extra. ------------------------------------------------------------------------ -r79 | zarq | 2000-04-30 21:49:49 +0200 (Sun, 30 Apr 2000) | 2 lines +r79 | zarq | 2000-04-30 21:49:49 +0200 (zo, 30 apr 2000) | 2 lines Protocol fix (ANS_KEY). This breaks 0.3.3 protocol compatibility. ------------------------------------------------------------------------ -r78 | zarq | 2000-04-30 21:03:00 +0200 (Sun, 30 Apr 2000) | 2 lines +r78 | zarq | 2000-04-30 21:03:00 +0200 (zo, 30 apr 2000) | 2 lines Send one less byte from an ANS_KEY request. ------------------------------------------------------------------------ -r77 | zarq | 2000-04-30 20:57:16 +0200 (Sun, 30 Apr 2000) | 2 lines +r77 | zarq | 2000-04-30 20:57:16 +0200 (zo, 30 apr 2000) | 2 lines Read one less byte from an ANS_KEY request. ------------------------------------------------------------------------ -r76 | zarq | 2000-04-30 18:34:31 +0200 (Sun, 30 Apr 2000) | 2 lines +r76 | zarq | 2000-04-30 18:34:31 +0200 (zo, 30 apr 2000) | 2 lines Removed debug messages. ------------------------------------------------------------------------ -r75 | zarq | 2000-04-30 18:31:23 +0200 (Sun, 30 Apr 2000) | 2 lines +r75 | zarq | 2000-04-30 18:31:23 +0200 (zo, 30 apr 2000) | 2 lines Read public keys the right way (tm). ------------------------------------------------------------------------ -r74 | zarq | 2000-04-30 18:11:05 +0200 (Sun, 30 Apr 2000) | 2 lines +r74 | zarq | 2000-04-30 18:11:05 +0200 (zo, 30 apr 2000) | 2 lines New way of handling the meta protocol. ------------------------------------------------------------------------ -r73 | zarq | 2000-04-30 15:23:53 +0200 (Sun, 30 Apr 2000) | 2 lines +r73 | zarq | 2000-04-30 15:23:53 +0200 (zo, 30 apr 2000) | 2 lines Replaced check for status.active by status.dataopen in check_network_activity. ------------------------------------------------------------------------ -r72 | zarq | 2000-04-30 03:16:51 +0200 (Sun, 30 Apr 2000) | 2 lines +r72 | zarq | 2000-04-30 03:16:51 +0200 (zo, 30 apr 2000) | 2 lines Initially, the vpn_mask of a connection is 255.255.255.255 to avoid confusion with lookup_conn. ------------------------------------------------------------------------ -r71 | zarq | 2000-04-30 03:15:47 +0200 (Sun, 30 Apr 2000) | 2 lines +r71 | zarq | 2000-04-30 03:15:47 +0200 (zo, 30 apr 2000) | 2 lines Got rid of the nasty hacks... and replaced it by another one. ------------------------------------------------------------------------ -r70 | zarq | 2000-04-29 22:39:36 +0200 (Sat, 29 Apr 2000) | 2 lines +r70 | zarq | 2000-04-29 22:39:36 +0200 (za, 29 apr 2000) | 2 lines Filled up the protocol structs with unused bytes. ------------------------------------------------------------------------ -r69 | zarq | 2000-04-29 22:38:23 +0200 (Sat, 29 Apr 2000) | 2 lines +r69 | zarq | 2000-04-29 22:38:23 +0200 (za, 29 apr 2000) | 2 lines Added `deb' target. ------------------------------------------------------------------------ -r68 | zarq | 2000-04-29 15:56:06 +0200 (Sat, 29 Apr 2000) | 2 lines +r68 | zarq | 2000-04-29 15:56:06 +0200 (za, 29 apr 2000) | 2 lines More updates wrt. the change from tincd->tinc. ------------------------------------------------------------------------ -r67 | guus | 2000-04-28 13:33:25 +0200 (Fri, 28 Apr 2000) | 2 lines +r67 | guus | 2000-04-28 13:33:25 +0200 (vr, 28 apr 2000) | 2 lines Oops! Reference to write_n() removed and changed into neat write() call. ------------------------------------------------------------------------ -r66 | guus | 2000-04-27 22:57:18 +0200 (Thu, 27 Apr 2000) | 2 lines +r66 | guus | 2000-04-27 22:57:18 +0200 (do, 27 apr 2000) | 2 lines Removed write_n() function. ------------------------------------------------------------------------ -r65 | zarq | 2000-04-27 15:47:51 +0200 (Thu, 27 Apr 2000) | 2 lines +r65 | zarq | 2000-04-27 15:47:51 +0200 (do, 27 apr 2000) | 2 lines Default config file name is tinc.conf, and pidfile is tinc.pid. ------------------------------------------------------------------------ -r64 | zarq | 2000-04-27 02:07:17 +0200 (Thu, 27 Apr 2000) | 2 lines +r64 | zarq | 2000-04-27 02:07:17 +0200 (do, 27 apr 2000) | 2 lines Updated version number to 1.0. ------------------------------------------------------------------------ -r63 | zarq | 2000-04-27 02:01:00 +0200 (Thu, 27 Apr 2000) | 2 lines +r63 | zarq | 2000-04-27 02:01:00 +0200 (do, 27 apr 2000) | 2 lines Filled in the details, license from libblowfish copied. ------------------------------------------------------------------------ -r62 | zarq | 2000-04-27 01:56:22 +0200 (Thu, 27 Apr 2000) | 3 lines +r62 | zarq | 2000-04-27 01:56:22 +0200 (do, 27 apr 2000) | 3 lines Version to 1.0pre1; Create Makefile and build in debian/. ------------------------------------------------------------------------ -r61 | zarq | 2000-04-27 01:23:01 +0200 (Thu, 27 Apr 2000) | 2 lines +r61 | zarq | 2000-04-27 01:23:01 +0200 (do, 27 apr 2000) | 2 lines Omit TODO. ------------------------------------------------------------------------ -r60 | zarq | 2000-04-27 00:42:15 +0200 (Thu, 27 Apr 2000) | 2 lines +r60 | zarq | 2000-04-27 00:42:15 +0200 (do, 27 apr 2000) | 2 lines Add an entry to dir. ------------------------------------------------------------------------ -r59 | zarq | 2000-04-27 00:01:01 +0200 (Thu, 27 Apr 2000) | 2 lines +r59 | zarq | 2000-04-27 00:01:01 +0200 (do, 27 apr 2000) | 2 lines The make command is in /usr/bin. ------------------------------------------------------------------------ -r58 | guus | 2000-04-26 19:42:55 +0200 (Wed, 26 Apr 2000) | 4 lines +r58 | guus | 2000-04-26 19:42:55 +0200 (wo, 26 apr 2000) | 4 lines Cleanups: - Changed recv/send calls into read/write calls for streams - Made all sizeof() functions use a variable name instead of type ------------------------------------------------------------------------ -r57 | zarq | 2000-04-26 16:54:43 +0200 (Wed, 26 Apr 2000) | 2 lines +r57 | zarq | 2000-04-26 16:54:43 +0200 (wo, 26 apr 2000) | 2 lines From Mads Kiilerich. ------------------------------------------------------------------------ -r56 | guus | 2000-04-26 00:15:28 +0200 (Wed, 26 Apr 2000) | 2 lines +r56 | guus | 2000-04-26 00:15:28 +0200 (wo, 26 apr 2000) | 2 lines Converted every &variable[0] to variable. ------------------------------------------------------------------------ -r55 | zarq | 2000-04-26 00:00:49 +0200 (Wed, 26 Apr 2000) | 2 lines +r55 | zarq | 2000-04-26 00:00:49 +0200 (wo, 26 apr 2000) | 2 lines Debug level tweaking. ------------------------------------------------------------------------ -r54 | guus | 2000-04-25 22:50:59 +0200 (Tue, 25 Apr 2000) | 4 lines +r54 | guus | 2000-04-25 22:50:59 +0200 (di, 25 apr 2000) | 4 lines When trying to talk to a host that is in the netmask of a tinc server but not the tinc server itself, and no keys have been exchanged yet, the key request would be directed to the host instead of the server. Fixed. ------------------------------------------------------------------------ -r53 | zarq | 2000-04-25 22:42:54 +0200 (Tue, 25 Apr 2000) | 2 lines +r53 | zarq | 2000-04-25 22:42:54 +0200 (di, 25 apr 2000) | 2 lines *** empty log message *** ------------------------------------------------------------------------ -r52 | guus | 2000-04-25 22:17:44 +0200 (Tue, 25 Apr 2000) | 2 lines +r52 | guus | 2000-04-25 22:17:44 +0200 (di, 25 apr 2000) | 2 lines Fixed typo and removed some unnecessary variables. ------------------------------------------------------------------------ -r51 | guus | 2000-04-25 22:10:37 +0200 (Tue, 25 Apr 2000) | 2 lines +r51 | guus | 2000-04-25 22:10:37 +0200 (di, 25 apr 2000) | 2 lines Packet queues fixed. They caused the trouble when resending keys. ------------------------------------------------------------------------ -r50 | zarq | 2000-04-25 21:23:23 +0200 (Tue, 25 Apr 2000) | 2 lines +r50 | zarq | 2000-04-25 21:23:23 +0200 (di, 25 apr 2000) | 2 lines Create a ChangeLog file, automake requires it. ------------------------------------------------------------------------ -r49 | zarq | 2000-04-25 21:21:19 +0200 (Tue, 25 Apr 2000) | 2 lines +r49 | zarq | 2000-04-25 21:21:19 +0200 (di, 25 apr 2000) | 2 lines *** empty log message *** ------------------------------------------------------------------------ -r48 | zarq | 2000-04-25 21:11:02 +0200 (Tue, 25 Apr 2000) | 2 lines +r48 | zarq | 2000-04-25 21:11:02 +0200 (di, 25 apr 2000) | 2 lines Initial CVS. ------------------------------------------------------------------------ -r47 | guus | 2000-04-25 20:57:23 +0200 (Tue, 25 Apr 2000) | 2 lines +r47 | guus | 2000-04-25 20:57:23 +0200 (di, 25 apr 2000) | 2 lines Added checkpoints to beginning and ending of every function. ------------------------------------------------------------------------ -r46 | zarq | 2000-04-25 19:38:54 +0200 (Tue, 25 Apr 2000) | 2 lines +r46 | zarq | 2000-04-25 19:38:54 +0200 (di, 25 apr 2000) | 2 lines Remove ChangeLog with a `make cvs-clean'. ------------------------------------------------------------------------ -r45 | zarq | 2000-04-25 19:35:45 +0200 (Tue, 25 Apr 2000) | 2 lines +r45 | zarq | 2000-04-25 19:35:45 +0200 (di, 25 apr 2000) | 2 lines Don't include TODO in the dist. ------------------------------------------------------------------------ -r44 | zarq | 2000-04-25 17:08:10 +0200 (Tue, 25 Apr 2000) | 2 lines +r44 | zarq | 2000-04-25 17:08:10 +0200 (di, 25 apr 2000) | 2 lines Propagate CFLAGS from configure to gcc. ------------------------------------------------------------------------ -r43 | zarq | 2000-04-25 17:07:21 +0200 (Tue, 25 Apr 2000) | 2 lines +r43 | zarq | 2000-04-25 17:07:21 +0200 (di, 25 apr 2000) | 2 lines Delete all the files that are created by autogen.sh on a `make cvs-clean'. ------------------------------------------------------------------------ -r42 | zarq | 2000-04-25 12:40:08 +0200 (Tue, 25 Apr 2000) | 2 lines +r42 | zarq | 2000-04-25 12:40:08 +0200 (di, 25 apr 2000) | 2 lines Spelling fixes. ------------------------------------------------------------------------ -r41 | zarq | 2000-04-25 12:27:44 +0200 (Tue, 25 Apr 2000) | 2 lines +r41 | zarq | 2000-04-25 12:27:44 +0200 (di, 25 apr 2000) | 2 lines Contributed by Mads Kiilerich. ------------------------------------------------------------------------ -r40 | zarq | 2000-04-25 12:22:26 +0200 (Tue, 25 Apr 2000) | 2 lines +r40 | zarq | 2000-04-25 12:22:26 +0200 (di, 25 apr 2000) | 2 lines Generate this Makefile.am from Makefile.am.in. ------------------------------------------------------------------------ -r39 | zarq | 2000-04-25 11:43:50 +0200 (Tue, 25 Apr 2000) | 2 lines +r39 | zarq | 2000-04-25 11:43:50 +0200 (di, 25 apr 2000) | 2 lines *** empty log message *** ------------------------------------------------------------------------ -r38 | zarq | 2000-04-25 11:42:52 +0200 (Tue, 25 Apr 2000) | 2 lines +r38 | zarq | 2000-04-25 11:42:52 +0200 (di, 25 apr 2000) | 2 lines Added Mads Kiilerich, removed Guus Sliepen. ------------------------------------------------------------------------ -r37 | zarq | 2000-04-25 03:45:34 +0200 (Tue, 25 Apr 2000) | 3 lines +r37 | zarq | 2000-04-25 03:45:34 +0200 (di, 25 apr 2000) | 3 lines Changes largely from Mads Kiilerich. Removed section about encryption. ------------------------------------------------------------------------ -r36 | zarq | 2000-04-25 03:26:35 +0200 (Tue, 25 Apr 2000) | 2 lines +r36 | zarq | 2000-04-25 03:26:35 +0200 (di, 25 apr 2000) | 2 lines Remove test for GNOME. ------------------------------------------------------------------------ -r35 | zarq | 2000-04-25 03:25:18 +0200 (Tue, 25 Apr 2000) | 2 lines +r35 | zarq | 2000-04-25 03:25:18 +0200 (di, 25 apr 2000) | 2 lines Use `make ChangeLog' to create this file from the CVS logs. ------------------------------------------------------------------------ -r34 | zarq | 2000-04-25 03:23:31 +0200 (Tue, 25 Apr 2000) | 2 lines +r34 | zarq | 2000-04-25 03:23:31 +0200 (di, 25 apr 2000) | 2 lines Don't define HAVE_NAMESPACES and HAVE_STL. ------------------------------------------------------------------------ -r33 | zarq | 2000-04-25 03:22:01 +0200 (Tue, 25 Apr 2000) | 2 lines +r33 | zarq | 2000-04-25 03:22:01 +0200 (di, 25 apr 2000) | 2 lines Remove check for bigendianness. ------------------------------------------------------------------------ -r32 | zarq | 2000-04-25 03:15:28 +0200 (Tue, 25 Apr 2000) | 2 lines +r32 | zarq | 2000-04-25 03:15:28 +0200 (di, 25 apr 2000) | 2 lines This file is obsolete, most of the ideas are already in echelon. ------------------------------------------------------------------------ -r31 | zarq | 2000-04-25 03:10:38 +0200 (Tue, 25 Apr 2000) | 2 lines +r31 | zarq | 2000-04-25 03:10:38 +0200 (di, 25 apr 2000) | 2 lines s/Gnome/tinc/g ------------------------------------------------------------------------ -r30 | zarq | 2000-04-25 02:50:48 +0200 (Tue, 25 Apr 2000) | 3 lines +r30 | zarq | 2000-04-25 02:50:48 +0200 (di, 25 apr 2000) | 3 lines The shell script autogen.sh can create all these removed files, but be sure to have autoconf, automake, libtool and more installed. ------------------------------------------------------------------------ -r29 | zarq | 2000-04-25 02:11:33 +0200 (Tue, 25 Apr 2000) | 2 lines +r29 | zarq | 2000-04-25 02:11:33 +0200 (di, 25 apr 2000) | 2 lines Don't try to create cipher/idea/Makefile. ------------------------------------------------------------------------ -r28 | zarq | 2000-04-24 23:12:32 +0200 (Mon, 24 Apr 2000) | 2 lines +r28 | zarq | 2000-04-24 23:12:32 +0200 (ma, 24 apr 2000) | 2 lines Don't include idea/idea.h. ------------------------------------------------------------------------ -r27 | zarq | 2000-04-24 23:10:33 +0200 (Mon, 24 Apr 2000) | 2 lines +r27 | zarq | 2000-04-24 23:10:33 +0200 (ma, 24 apr 2000) | 2 lines Don't compile in `idea'. ------------------------------------------------------------------------ -r26 | zarq | 2000-04-24 22:57:22 +0200 (Mon, 24 Apr 2000) | 2 lines +r26 | zarq | 2000-04-24 22:57:22 +0200 (ma, 24 apr 2000) | 2 lines These files are not needed in release 1.0. ------------------------------------------------------------------------ -r25 | guus | 2000-04-24 11:39:50 +0200 (Mon, 24 Apr 2000) | 3 lines +r25 | guus | 2000-04-24 11:39:50 +0200 (ma, 24 apr 2000) | 3 lines Bug found! Wrong pointer was used for handling multiple ADD_HOST requests at once. (See line 606.) ------------------------------------------------------------------------ -r24 | guus | 2000-04-24 10:32:57 +0200 (Mon, 24 Apr 2000) | 3 lines +r24 | guus | 2000-04-24 10:32:57 +0200 (ma, 24 apr 2000) | 3 lines Added extra checks for desynchronized connection lists. Hopefully this will fix those strange segmentation faults. ------------------------------------------------------------------------ -r23 | zarq | 2000-04-21 00:50:48 +0200 (Fri, 21 Apr 2000) | 2 lines +r23 | zarq | 2000-04-21 00:50:48 +0200 (vr, 21 apr 2000) | 2 lines Added cvs-clean. ------------------------------------------------------------------------ -r22 | zarq | 2000-04-20 21:14:09 +0200 (Thu, 20 Apr 2000) | 2 lines +r22 | zarq | 2000-04-20 21:14:09 +0200 (do, 20 apr 2000) | 2 lines Keep make dist(dir) happy. ------------------------------------------------------------------------ -r21 | zarq | 2000-04-18 22:44:29 +0200 (Tue, 18 Apr 2000) | 2 lines +r21 | zarq | 2000-04-18 22:44:29 +0200 (di, 18 apr 2000) | 2 lines A short notice from Mads Kiilerich. ------------------------------------------------------------------------ -r20 | zarq | 2000-04-18 22:43:24 +0200 (Tue, 18 Apr 2000) | 2 lines +r20 | zarq | 2000-04-18 22:43:24 +0200 (di, 18 apr 2000) | 2 lines Submitted changes by Mads Kiilerich. ------------------------------------------------------------------------ -r19 | zarq | 2000-04-18 22:30:20 +0200 (Tue, 18 Apr 2000) | 2 lines +r19 | zarq | 2000-04-18 22:30:20 +0200 (di, 18 apr 2000) | 2 lines Include genauth.8 in the distribution. ------------------------------------------------------------------------ -r18 | zarq | 2000-04-18 22:26:49 +0200 (Tue, 18 Apr 2000) | 2 lines +r18 | zarq | 2000-04-18 22:26:49 +0200 (di, 18 apr 2000) | 2 lines Include the directory redhat in the build process. ------------------------------------------------------------------------ -r17 | zarq | 2000-04-18 18:04:10 +0200 (Tue, 18 Apr 2000) | 2 lines +r17 | zarq | 2000-04-18 18:04:10 +0200 (di, 18 apr 2000) | 2 lines Address for bugreports changed to tinc@nl.linux.org. ------------------------------------------------------------------------ -r16 | zarq | 2000-04-18 17:59:42 +0200 (Tue, 18 Apr 2000) | 2 lines +r16 | zarq | 2000-04-18 17:59:42 +0200 (di, 18 apr 2000) | 2 lines Updated manpages. ------------------------------------------------------------------------ -r15 | zarq | 2000-04-18 17:59:22 +0200 (Tue, 18 Apr 2000) | 2 lines +r15 | zarq | 2000-04-18 17:59:22 +0200 (di, 18 apr 2000) | 2 lines New manpage for genauth. ------------------------------------------------------------------------ -r14 | zarq | 2000-04-18 17:09:11 +0200 (Tue, 18 Apr 2000) | 2 lines +r14 | zarq | 2000-04-18 17:09:11 +0200 (di, 18 apr 2000) | 2 lines Submitted by Mads Kiilerich. ------------------------------------------------------------------------ -r13 | zarq | 2000-04-17 19:04:33 +0200 (Mon, 17 Apr 2000) | 2 lines +r13 | zarq | 2000-04-17 19:04:33 +0200 (ma, 17 apr 2000) | 2 lines Default passphrase length of 1024, added -h/--help options. ------------------------------------------------------------------------ -r12 | zarq | 2000-04-17 18:59:42 +0200 (Mon, 17 Apr 2000) | 2 lines +r12 | zarq | 2000-04-17 18:59:42 +0200 (ma, 17 apr 2000) | 2 lines Check if stdout is a terminal, if so, print a verbose message. ------------------------------------------------------------------------ -r11 | zarq | 2000-04-17 18:52:58 +0200 (Mon, 17 Apr 2000) | 2 lines +r11 | zarq | 2000-04-17 18:52:58 +0200 (ma, 17 apr 2000) | 2 lines Check for an illegal length of passphrase in read_passphrase(). ------------------------------------------------------------------------ -r10 | zarq | 2000-04-17 18:23:29 +0200 (Mon, 17 Apr 2000) | 2 lines +r10 | zarq | 2000-04-17 18:23:29 +0200 (ma, 17 apr 2000) | 2 lines Pass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func() ------------------------------------------------------------------------ -r9 | zarq | 2000-04-17 17:38:47 +0200 (Mon, 17 Apr 2000) | 4 lines +r9 | zarq | 2000-04-17 17:38:47 +0200 (ma, 17 apr 2000) | 4 lines Only one round of reading bits out of urandom; Reading `bytes' bytes out of it; Print a newline after completion. ------------------------------------------------------------------------ -r8 | zarq | 2000-04-12 18:22:39 +0200 (Wed, 12 Apr 2000) | 2 lines +r8 | zarq | 2000-04-12 18:22:39 +0200 (wo, 12 apr 2000) | 2 lines Moved to version number 1.0. ------------------------------------------------------------------------ -r7 | zarq | 2000-04-06 20:28:29 +0200 (Thu, 06 Apr 2000) | 2 lines +r7 | zarq | 2000-04-06 20:28:29 +0200 (do, 06 apr 2000) | 2 lines New option -D, don't detach. ------------------------------------------------------------------------ -r6 | zarq | 2000-03-28 21:16:27 +0200 (Tue, 28 Mar 2000) | 2 lines +r6 | zarq | 2000-03-28 21:16:27 +0200 (di, 28 mrt 2000) | 2 lines Ignore SIGCHLD. ------------------------------------------------------------------------ -r5 | zarq | 2000-03-28 21:09:52 +0200 (Tue, 28 Mar 2000) | 2 lines +r5 | zarq | 2000-03-28 21:09:52 +0200 (di, 28 mrt 2000) | 2 lines Kill the parent after any error conditions in detach(). ------------------------------------------------------------------------ -r4 | zarq | 2000-03-28 00:59:16 +0200 (Tue, 28 Mar 2000) | 2 lines +r4 | zarq | 2000-03-28 00:59:16 +0200 (di, 28 mrt 2000) | 2 lines Upon regeneration, free the old encryption key `securely\' by overwriting it. ------------------------------------------------------------------------ -r3 | zarq | 2000-03-28 00:30:27 +0200 (Tue, 28 Mar 2000) | 2 lines +r3 | zarq | 2000-03-28 00:30:27 +0200 (di, 28 mrt 2000) | 2 lines Get rid of the message `zxnrbl\'. ------------------------------------------------------------------------ -r1 | zarq | 2000-03-26 01:33:07 +0100 (Sun, 26 Mar 2000) | 2 lines +r1 | zarq | 2000-03-26 01:33:07 +0100 (zo, 26 mrt 2000) | 2 lines Initial revision diff --git a/INSTALL b/INSTALL index 54caf7c..56b077d 100644 --- a/INSTALL +++ b/INSTALL @@ -1,13 +1,16 @@ -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software -Foundation, Inc. +Installation Instructions +************************* - This file is free documentation; the Free Software Foundation gives +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free +Software Foundation, Inc. + +This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== - These are generic installation instructions. +These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -67,9 +70,9 @@ The simplest way to compile this package is: Compilers and Options ===================== - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here @@ -82,7 +85,7 @@ is an example: Compiling For Multiple Architectures ==================================== - You can compile the package for more than one kind of computer at the +You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the @@ -99,19 +102,19 @@ for another architecture. Installation Names ================== - By default, `make install' will install the package's files in +By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. +option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. +give `configure' the option `--exec-prefix=PREFIX', the package will +use PREFIX as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular +options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. @@ -122,7 +125,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= - Some packages pay attention to `--enable-FEATURE' options to +Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The @@ -137,11 +140,11 @@ you can use the `configure' options `--x-includes=DIR' and Specifying the System Type ========================== - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the +There may be some features `configure' cannot figure out automatically, +but needs to determine by the type of machine the package will run on. +Usually, assuming the package is built to be run on the _same_ +architectures, `configure' can figure that out, but if it prints a +message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: @@ -167,9 +170,9 @@ eventually be run) with `--host=TYPE'. Sharing Defaults ================ - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. +If you want to set default values for `configure' scripts to share, you +can create a site shell script called `config.site' that gives default +values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. @@ -178,7 +181,7 @@ A warning: not all `configure' scripts look for a site script. Defining Variables ================== - Variables not defined in a site shell script can be set in the +Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set @@ -186,14 +189,18 @@ them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc -will cause the specified gcc to be used as the C compiler (unless it is -overridden in the site shell script). +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). Here is a another example: + + /bin/bash ./configure CONFIG_SHELL=/bin/bash + +Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent +configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== - `configure' recognizes the following options to control how it -operates. +`configure' recognizes the following options to control how it operates. `--help' `-h' diff --git a/Makefile.in b/Makefile.in index bb2fbc9..746f610 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -33,6 +33,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +build_triplet = @build@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ @@ -150,6 +151,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -245,7 +248,13 @@ uninstall-info-am: # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -257,7 +266,7 @@ $(RECURSIVE_TARGETS): local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -265,7 +274,13 @@ $(RECURSIVE_TARGETS): mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -286,7 +301,7 @@ maintainer-clean-recursive: local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -388,15 +403,17 @@ distdir: $(DISTFILES) || exit 1; \ fi; \ done - list='$(SUBDIRS)'; for subdir in $$list; do \ + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ - || mkdir "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="../$(top_distdir)" \ - distdir="../$(distdir)/$$subdir" \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ @@ -407,15 +424,15 @@ distdir: $(DISTFILES) ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir - $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir - $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir @@ -428,7 +445,7 @@ dist-zip: distdir $(am__remove_distdir) dist dist-all: distdir - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then @@ -437,11 +454,11 @@ dist dist-all: distdir distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ @@ -522,7 +539,7 @@ mostlyclean-generic: clean-generic: distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" diff --git a/NEWS b/NEWS index 19a097f..665dd79 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +version 1.0.4 May 4 2005 + + * Fix switch and hub modes. + + * Optionally start scripts when a Subnet becomes (un)reachable. + version 1.0.3 Nov 11 2004 * Show error message when failing to write a PID file. diff --git a/README b/README index a3d447c..6c9b93b 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ -This is the README file for tinc version 1.0.3. Installation +This is the README file for tinc version 1.0.4. Installation instructions may be found in the INSTALL file. -tinc is Copyright (C) 1998-2004 by: +tinc is Copyright (C) 1998-2005 by: Ivo Timmermans , Guus Sliepen , @@ -55,7 +55,7 @@ should be changed into "Device", and "Device" should be changed into Compatibility ------------- -Version 1.0.3 is compatible with 1.0pre8, 1.0 and later, but not with older +Version 1.0.4 is compatible with 1.0pre8, 1.0 and later, but not with older versions of tinc. diff --git a/aclocal.m4 b/aclocal.m4 index 21a3464..cfeedf1 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.8.5 -*- Autoconf -*- +# generated automatically by aclocal 1.9.5 -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,55 +11,32 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -# -*- Autoconf -*- -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. -# Generated from amversion.in; do not edit by hand. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.8.5])]) + [AM_AUTOMAKE_VERSION([1.9.5])]) -# AM_AUX_DIR_EXPAND +# AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to @@ -106,26 +83,16 @@ AC_PREREQ([2.50])dnl am_aux_dir=`cd $ac_aux_dir && pwd` ]) -# AM_CONDITIONAL -*- Autoconf -*- +# AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 6 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -145,30 +112,19 @@ else fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]) + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) fi])]) -# serial 7 -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -177,7 +133,6 @@ fi])]) # CC etc. in the Makefile, will ask for an AC_PROG_CC use... - # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. @@ -317,26 +272,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) -# Generate code to set up dependency tracking. -*- Autoconf -*- +# Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -#serial 2 +#serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ @@ -355,27 +300,21 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], else continue fi - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue - # Extract the definition of DEP_FILES from the Makefile without - # running `make'. + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" - # We invoke sed twice because it is the simplest approach to - # changing $(DEPDIR) to its actual value in the expansion. - for file in `sed -n ' - /^DEP_FILES = .*\\\\$/ { - s/^DEP_FILES = // - :loop - s/\\\\$// - p - n - /\\\\$/ b loop - p - } - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue @@ -401,30 +340,19 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) -# Do all the work for Automake. -*- Autoconf -*- +# Do all the work for Automake. -*- Autoconf -*- -# This macro actually does too much some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# serial 12 -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 11 +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) @@ -482,7 +410,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) -AM_MISSING_PROG(AMTAR, tar) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl @@ -491,7 +418,9 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl - +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], @@ -525,51 +454,27 @@ for _am_header in $config_headers :; do done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) -# -*- Autoconf -*- -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 1 +# serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. @@ -584,28 +489,17 @@ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) -# Add --enable-maintainer-mode option to configure. +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 +# serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) @@ -624,26 +518,15 @@ AC_DEFUN([AM_MAINTAINER_MODE], AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) -# Check to see how 'make' treats includes. -*- Autoconf -*- +# Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 2 +# serial 3 # AM_MAKE_INCLUDE() # ----------------- @@ -687,27 +570,16 @@ AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) -# -*- Autoconf -*- +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -733,27 +605,16 @@ else fi ]) +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. - -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). @@ -774,13 +635,21 @@ fi # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # Keeping the `.' argument allows $(mkdir_p) to be used without - # argument. Indeed, we sometimes output rules like + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more - # expensive solution, as it forces Make to start a sub-shell.) - mkdir_p='mkdir -p -- .' + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as @@ -799,26 +668,15 @@ else fi AC_SUBST([mkdir_p])]) -# Helper functions for option handling. -*- Autoconf -*- +# Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 2 +# serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -843,28 +701,16 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. # -# Check to make sure that the build environment is sane. -# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 +# serial 4 # AM_SANITY_CHECK # --------------- @@ -907,25 +753,14 @@ Check your system clock]) fi AC_MSG_RESULT(yes)]) +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_INSTALL_STRIP - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip @@ -946,6 +781,102 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + m4_include([m4/aclocal-include.m4]) m4_include([m4/attribute.m4]) m4_include([m4/gettext.m4]) diff --git a/config.guess b/config.guess index 77c7cba..45bee13 100755 --- a/config.guess +++ b/config.guess @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2004-08-13' +timestamp='2005-04-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -319,6 +319,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit 0 ;; *:OS400:*:*) echo powerpc-ibm-os400 exit 0 ;; @@ -342,7 +345,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit 0 ;; - DRS?6000:UNIX_SV:4.2*:7*) + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; @@ -801,6 +804,9 @@ EOF i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; + amd64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; @@ -824,6 +830,12 @@ EOF cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit 0 ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; @@ -1128,6 +1140,10 @@ EOF # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos @@ -1188,6 +1204,9 @@ EOF *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit 0 ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; @@ -1241,7 +1260,10 @@ EOF A*) echo alpha-dec-vms && exit 0 ;; I*) echo ia64-dec-vms && exit 0 ;; V*) echo vax-dec-vms && exit 0 ;; - esac + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 @@ -1401,7 +1423,9 @@ This script, last modified $timestamp, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from - ftp://ftp.gnu.org/pub/gnu/config/ + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess +and + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub If the version you run ($0) is already up to date, please send the following data and any information you think might be diff --git a/config.sub b/config.sub index ac6de98..87a1ee4 100755 --- a/config.sub +++ b/config.sub @@ -1,9 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2004-06-24' +timestamp='2005-04-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -70,7 +70,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -231,13 +231,14 @@ case $basic_machine in | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -262,12 +263,13 @@ case $basic_machine in | pyramid \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; @@ -298,7 +300,7 @@ case $basic_machine in | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ - | bs2000-* \ + | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ @@ -310,7 +312,7 @@ case $basic_machine in | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -336,15 +338,16 @@ case $basic_machine in | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; @@ -457,6 +460,9 @@ case $basic_machine in crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; @@ -486,6 +492,10 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx @@ -1026,6 +1036,10 @@ case $basic_machine in basic_machine=hppa1.1-winbond os=-proelf ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; xps | xps100) basic_machine=xps100-honeywell ;; @@ -1294,6 +1308,9 @@ case $os in -kaos*) os=-kaos ;; + -zvmoe) + os=-zvmoe + ;; -none) ;; *) diff --git a/configure b/configure index f00dc83..a9a152c 100755 --- a/configure +++ b/configure @@ -309,7 +309,7 @@ ac_includes_default="\ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP EGREP LN_S RANLIB ac_ct_RANLIB LIBOBJS ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP EGREP LN_S RANLIB ac_ct_RANLIB LIBOBJS ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1329,7 +1329,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version="1.8" +am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then @@ -1506,13 +1506,21 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # Keeping the `.' argument allows $(mkdir_p) to be used without - # argument. Indeed, we sometimes output rules like + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more - # expensive solution, as it forces Make to start a sub-shell.) - mkdir_p='mkdir -p -- .' + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as @@ -1628,7 +1636,7 @@ fi # Define the identity of the package. PACKAGE=tinc - VERSION=1.0.3 + VERSION=1.0.4 cat >>confdefs.h <<_ACEOF @@ -1656,9 +1664,6 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -AMTAR=${AMTAR-"${am_missing_run}tar"} - install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user @@ -1751,6 +1756,13 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + @@ -11838,7 +11850,6 @@ s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t -s,@AMTAR@,$AMTAR,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t @@ -11847,6 +11858,9 @@ s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t +s,@AMTAR@,$AMTAR,;t t +s,@am__tar@,$am__tar,;t t +s,@am__untar@,$am__untar,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t @@ -12621,27 +12635,21 @@ echo X"$mf" | else continue fi - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue - # Extract the definition of DEP_FILES from the Makefile without - # running `make'. + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" - # We invoke sed twice because it is the simplest approach to - # changing $(DEPDIR) to its actual value in the expansion. - for file in `sed -n ' - /^DEP_FILES = .*\\\\$/ { - s/^DEP_FILES = // - :loop - s/\\\\$// - p - n - /\\\\$/ b loop - p - } - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue diff --git a/configure.in b/configure.in index e639862..77e98ad 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ dnl $Id: configure.in 1415 2004-11-10 23:20:59Z guus $ AC_PREREQ(2.59) AC_INIT AC_CONFIG_SRCDIR([src/tincd.c]) -AM_INIT_AUTOMAKE(tinc, 1.0.3) +AM_INIT_AUTOMAKE(tinc, 1.0.4) AC_CONFIG_HEADERS([config.h]) AM_MAINTAINER_MODE diff --git a/depcomp b/depcomp index 25bdb18..ffcd540 100755 --- a/depcomp +++ b/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2004-04-25.13 +scriptversion=2005-02-09.22 -# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -43,17 +43,18 @@ Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF - exit 0 + exit $? ;; -v | --v*) echo "depcomp $scriptversion" - exit 0 + exit $? ;; esac @@ -61,18 +62,10 @@ if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi -# `libtool' can also be set to `yes' or `no'. - -if test -z "$depfile"; then - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` - dir=`echo "$object" | sed 's,/.*$,/,'` - if test "$dir" = "$object"; then - dir= - fi - # FIXME: should be _deps on DOS. - depfile="$dir.deps/$base" -fi +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" @@ -294,33 +287,43 @@ tru64) base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then - # Dependencies are output in .lo.d with libtool 1.4. - # They are output in .o.d with libtool 1.5. - tmpdepfile1="$dir.libs/$base.lo.d" - tmpdepfile2="$dir.libs/$base.o.d" - tmpdepfile3="$dir.libs/$base.d" + # With Tru64 cc, shared objects can also be used to make a + # static library. This mecanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else - tmpdepfile1="$dir$base.o.d" - tmpdepfile2="$dir$base.d" - tmpdepfile3="$dir$base.d" + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi - if test -f "$tmpdepfile1"; then - tmpdepfile="$tmpdepfile1" - elif test -f "$tmpdepfile2"; then - tmpdepfile="$tmpdepfile2" - else - tmpdepfile="$tmpdepfile3" - fi + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. diff --git a/doc/Makefile.in b/doc/Makefile.in index ea2c80d..d5fec11 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -32,6 +32,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +build_triplet = @build@ host_triplet = @host@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in texinfo.tex @@ -64,7 +65,8 @@ TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) DVIPS = dvips -am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" +am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man5dir)" \ + "$(DESTDIR)$(man8dir)" man5dir = $(mandir)/man5 man8dir = $(mandir)/man8 NROFF = nroff @@ -146,6 +148,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -219,14 +223,10 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tinc.info: tinc.texi - restore=: && \ - backupdir="$(am__leading_dot)am$$$$" && \ + restore=: && backupdir="$(am__leading_dot)am$$$$" && \ rm -rf $$backupdir && mkdir $$backupdir && \ for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ - if test -f $$f; then \ - mv $$f $$backupdir; \ - restore=mv; \ - fi; \ + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ done; \ if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $@ `test -f 'tinc.texi' || echo '$(srcdir)/'`tinc.texi; \ @@ -236,8 +236,7 @@ tinc.info: tinc.texi rc=$$?; \ $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ fi; \ - rm -rf $$backupdir; \ - exit $$rc + rm -rf $$backupdir; exit $$rc tinc.dvi: tinc.texi TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ @@ -250,15 +249,23 @@ tinc.pdf: tinc.texi $(TEXI2PDF) -o $@ `test -f 'tinc.texi' || echo '$(srcdir)/'`tinc.texi tinc.html: tinc.texi - $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ - -o $@ `test -f 'tinc.texi' || echo '$(srcdir)/'`tinc.texi - if test ! -d $@ && test -d $(@:.html=); then \ - mv $(@:.html=) $@; else :; fi + rm -rf $(@:.html=.htp) + if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $(@:.html=.htp) `test -f 'tinc.texi' || echo '$(srcdir)/'`tinc.texi; \ + then \ + rm -rf $@; \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \ + else \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \ + exit 1; \ + fi .dvi.ps: $(DVIPS) -o $@ $< uninstall-info-am: - $(PRE_UNINSTALL) + @$(PRE_UNINSTALL) @if (install-info --version && \ install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ @@ -274,7 +281,7 @@ uninstall-info-am: relfile=`echo "$$file" | sed 's|^.*/||'`; \ relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ (if cd "$(DESTDIR)$(infodir)"; then \ - echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \ + echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \ rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ else :; fi); \ done @@ -459,7 +466,7 @@ clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" diff --git a/doc/sample-config.tar.gz b/doc/sample-config.tar.gz index 511e5c6f82a479d9f701ab39e12aca77cc523b6d..539a56f9549899afc5e8261e244f8e0d5e319f82 100644 GIT binary patch delta 17 Ycmcb@d4-chzMF$#qj06uMvgNq05WL>eEi_@% diff --git a/doc/texinfo.tex b/doc/texinfo.tex index 6c8536c..58bea4d 100644 --- a/doc/texinfo.tex +++ b/doc/texinfo.tex @@ -3,10 +3,10 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2004-05-16.08} +\def\texinfoversion{2005-01-30.17} % % Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, -% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software +% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software % Foundation, Inc. % % This texinfo.tex file is free software; you can redistribute it and/or @@ -89,10 +89,11 @@ \let\ptexhat=^ \let\ptexi=\i \let\ptexindent=\indent -\let\ptexnoindent=\noindent \let\ptexinsert=\insert \let\ptexlbrace=\{ \let\ptexless=< +\let\ptexnewwrite\newwrite +\let\ptexnoindent=\noindent \let\ptexplus=+ \let\ptexrbrace=\} \let\ptexslash=\/ @@ -608,7 +609,7 @@ % The \TeX{} logo, as in plain, but resetting the spacing so that a % period following counts as ending a sentence. (Idea found in latex.) % -\edef\TeX{\TeX \spacefactor=3000 } +\edef\TeX{\TeX \spacefactor=1000 } % @LaTeX{} logo. Not quite the same results as the definition in % latex.ltx, since we use a different font for the raised A; it's most @@ -1242,13 +1243,13 @@ where each line of input produces a line of output.} % Read toc silently, to get counts of subentries for \pdfoutline. \def\numchapentry##1##2##3##4{% \def\thischapnum{##2}% - \let\thissecnum\empty - \let\thissubsecnum\empty + \def\thissecnum{0}% + \def\thissubsecnum{0}% }% \def\numsecentry##1##2##3##4{% \advancenumber{chap\thischapnum}% \def\thissecnum{##2}% - \let\thissubsecnum\empty + \def\thissubsecnum{0}% }% \def\numsubsecentry##1##2##3##4{% \advancenumber{sec\thissecnum}% @@ -1257,9 +1258,9 @@ where each line of input produces a line of output.} \def\numsubsubsecentry##1##2##3##4{% \advancenumber{subsec\thissubsecnum}% }% - \let\thischapnum\empty - \let\thissecnum\empty - \let\thissubsecnum\empty + \def\thischapnum{0}% + \def\thissecnum{0}% + \def\thissubsecnum{0}% % % use \def rather than \let here because we redefine \chapentry et % al. a second time, below. @@ -1406,7 +1407,7 @@ where each line of input produces a line of output.} \def\rm{\fam=0 \setfontstyle{rm}} \def\it{\fam=\itfam \setfontstyle{it}} \def\sl{\fam=\slfam \setfontstyle{sl}} -\def\bf{\fam=\bffam \setfontstyle{bf}} +\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} \def\tt{\fam=\ttfam \setfontstyle{tt}} % Texinfo sort of supports the sans serif font style, which plain TeX does not. @@ -1468,17 +1469,10 @@ where each line of input produces a line of output.} \def\scbshape{csc} % Text fonts (11.2pt, magstep1). -\newcount\mainmagstep -\ifx\bigger\relax - % not really supported. - \mainmagstep=\magstep1 - \setfont\textrm\rmshape{12}{1000} - \setfont\texttt\ttshape{12}{1000} -\else - \mainmagstep=\magstephalf - \setfont\textrm\rmshape{10}{\mainmagstep} - \setfont\texttt\ttshape{10}{\mainmagstep} -\fi +\def\textnominalsize{11pt} +\edef\mainmagstep{\magstephalf} +\setfont\textrm\rmshape{10}{\mainmagstep} +\setfont\texttt\ttshape{10}{\mainmagstep} \setfont\textbf\bfshape{10}{\mainmagstep} \setfont\textit\itshape{10}{\mainmagstep} \setfont\textsl\slshape{10}{\mainmagstep} @@ -1495,6 +1489,7 @@ where each line of input produces a line of output.} \def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} % Fonts for indices, footnotes, small examples (9pt). +\def\smallnominalsize{9pt} \setfont\smallrm\rmshape{9}{1000} \setfont\smalltt\ttshape{9}{1000} \setfont\smallbf\bfshape{10}{900} @@ -1507,6 +1502,7 @@ where each line of input produces a line of output.} \font\smallsy=cmsy9 % Fonts for small examples (8pt). +\def\smallernominalsize{8pt} \setfont\smallerrm\rmshape{8}{1000} \setfont\smallertt\ttshape{8}{1000} \setfont\smallerbf\bfshape{10}{800} @@ -1519,6 +1515,7 @@ where each line of input produces a line of output.} \font\smallersy=cmsy8 % Fonts for title page (20.4pt): +\def\titlenominalsize{20pt} \setfont\titlerm\rmbshape{12}{\magstep3} \setfont\titleit\itbshape{10}{\magstep4} \setfont\titlesl\slbshape{10}{\magstep4} @@ -1533,6 +1530,7 @@ where each line of input produces a line of output.} \def\authortt{\sectt} % Chapter (and unnumbered) fonts (17.28pt). +\def\chapnominalsize{17pt} \setfont\chaprm\rmbshape{12}{\magstep2} \setfont\chapit\itbshape{10}{\magstep3} \setfont\chapsl\slbshape{10}{\magstep3} @@ -1545,6 +1543,7 @@ where each line of input produces a line of output.} \font\chapsy=cmsy10 scaled \magstep3 % Section fonts (14.4pt). +\def\secnominalsize{14pt} \setfont\secrm\rmbshape{12}{\magstep1} \setfont\secit\itbshape{10}{\magstep2} \setfont\secsl\slbshape{10}{\magstep2} @@ -1557,6 +1556,7 @@ where each line of input produces a line of output.} \font\secsy=cmsy10 scaled \magstep2 % Subsection fonts (13.15pt). +\def\ssecnominalsize{13pt} \setfont\ssecrm\rmbshape{12}{\magstephalf} \setfont\ssecit\itbshape{10}{1315} \setfont\ssecsl\slbshape{10}{1315} @@ -1569,6 +1569,7 @@ where each line of input produces a line of output.} \font\ssecsy=cmsy10 scaled 1315 % Reduced fonts for @acro in text (10pt). +\def\reducednominalsize{10pt} \setfont\reducedrm\rmshape{10}{1000} \setfont\reducedtt\ttshape{10}{1000} \setfont\reducedbf\bfshape{10}{1000} @@ -1608,6 +1609,7 @@ where each line of input produces a line of output.} \let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc \let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy \let\tenttsl=\textttsl + \def\curfontsize{text}% \def\lsize{reduced}\def\lllsize{smaller}% \resetmathfonts \setleading{\textleading}} \def\titlefonts{% @@ -1615,13 +1617,16 @@ where each line of input produces a line of output.} \let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc \let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy \let\tenttsl=\titlettsl + \def\curfontsize{title}% \def\lsize{chap}\def\lllsize{subsec}% \resetmathfonts \setleading{25pt}} \def\titlefont#1{{\titlefonts\rm #1}} \def\chapfonts{% \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc - \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy \let\tenttsl=\chapttsl + \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy + \let\tenttsl=\chapttsl + \def\curfontsize{chap}% \def\lsize{sec}\def\lllsize{text}% \resetmathfonts \setleading{19pt}} \def\secfonts{% @@ -1629,6 +1634,7 @@ where each line of input produces a line of output.} \let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc \let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy \let\tenttsl=\secttsl + \def\curfontsize{sec}% \def\lsize{subsec}\def\lllsize{reduced}% \resetmathfonts \setleading{16pt}} \def\subsecfonts{% @@ -1636,6 +1642,7 @@ where each line of input produces a line of output.} \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc \let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy \let\tenttsl=\ssecttsl + \def\curfontsize{ssec}% \def\lsize{text}\def\lllsize{small}% \resetmathfonts \setleading{15pt}} \let\subsubsecfonts = \subsecfonts @@ -1644,6 +1651,7 @@ where each line of input produces a line of output.} \let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc \let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy \let\tenttsl=\reducedttsl + \def\curfontsize{reduced}% \def\lsize{small}\def\lllsize{smaller}% \resetmathfonts \setleading{10.5pt}} \def\smallfonts{% @@ -1651,6 +1659,7 @@ where each line of input produces a line of output.} \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy \let\tenttsl=\smallttsl + \def\curfontsize{small}% \def\lsize{smaller}\def\lllsize{smaller}% \resetmathfonts \setleading{10.5pt}} \def\smallerfonts{% @@ -1658,6 +1667,7 @@ where each line of input produces a line of output.} \let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc \let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy \let\tenttsl=\smallerttsl + \def\curfontsize{smaller}% \def\lsize{smaller}\def\lllsize{smaller}% \resetmathfonts \setleading{9.5pt}} @@ -1715,13 +1725,18 @@ where each line of input produces a line of output.} \def\cite#1{{\sl #1}\futurelet\next\smartitalicx} \let\i=\smartitalic +\let\slanted=\smartslanted \let\var=\smartslanted \let\dfn=\smartslanted \let\emph=\smartitalic +% @b, explicit bold. \def\b#1{{\bf #1}} \let\strong=\b +% @sansserif, explicit sans. +\def\sansserif#1{{\sf #1}} + % We can't just use \exhyphenpenalty, because that only has effect at % the end of a paragraph. Restore normal hyphenation at the end of the % group within which \nohyphenation is presumably called. @@ -1929,6 +1944,10 @@ where each line of input produces a line of output.} \def\sc#1{{\smallcaps#1}} % smallcaps font \def\ii#1{{\it #1}} % italic font +% @acronym for "FBI", "NATO", and the like. +% We print this one point size smaller, since it's intended for +% all-uppercase. +% \def\acronym#1{\doacronym #1,,\finish} \def\doacronym#1,#2,#3\finish{% {\selectfonts\lsize #1}% @@ -1938,10 +1957,70 @@ where each line of input produces a line of output.} \fi } -% @pounds{} is a sterling sign, which is in the CM italic font. +% @abbr for "Comput. J." and the like. +% No font change, but don't do end-of-sentence spacing. +% +\def\abbr#1{\doabbr #1,,\finish} +\def\doabbr#1,#2,#3\finish{% + {\frenchspacing #1}% + \def\temp{#2}% + \ifx\temp\empty \else + \space ({\unsepspaces \ignorespaces \temp \unskip})% + \fi +} + +% @pounds{} is a sterling sign, which Knuth put in the CM italic font. % \def\pounds{{\it\$}} +% @euro{} comes from a separate font, depending on the current style. +% We use the free feym* fonts from the eurosym package by Henrik +% Theiling, which support regular, slanted, bold and bold slanted (and +% "outlined" (blackboard board, sort of) versions, which we don't need). +% It is available from http://www.ctan.org/tex-archive/fonts/eurosym. +% +% Although only regular is the truly official Euro symbol, we ignore +% that. The Euro is designed to be slightly taller than the regular +% font height. +% +% feymr - regular +% feymo - slanted +% feybr - bold +% feybo - bold slanted +% +% There is no good (free) typewriter version, to my knowledge. +% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. +% Hmm. +% +% Also doesn't work in math. Do we need to do math with euro symbols? +% Hope not. +% +% +\def\euro{{\eurofont e}} +\def\eurofont{% + % We set the font at each command, rather than predefining it in + % \textfonts and the other font-switching commands, so that + % installations which never need the symbol don't have to have the + % font installed. + % + % There is only one designed size (nominal 10pt), so we always scale + % that to the current nominal size. + % + % By the way, simply using "at 1em" works for cmr10 and the like, but + % does not work for cmbx10 and other extended/shrunken fonts. + % + \def\eurosize{\csname\curfontsize nominalsize\endcsname}% + % + \ifx\curfontstyle\bfstylename + % bold: + \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize + \else + % regular: + \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize + \fi + \thiseurofont +} + % @registeredsymbol - R in a circle. The font for the R should really % be smaller yet, but lllsize is the best we can do for now. % Adapted from the plain.tex definition of \copyright. @@ -2265,17 +2344,13 @@ where each line of input produces a line of output.} % \parskip glue -- logically it's part of the @item we just started. \nobreak \vskip-\parskip % - % Stop a page break at the \parskip glue coming up. (Unfortunately - % we can't prevent a possible page break at the following - % \baselineskip glue.) However, if what follows is an environment - % such as @example, there will be no \parskip glue; then - % the negative vskip we just would cause the example and the item to - % crash together. So we use this bizarre value of 10001 as a signal - % to \aboveenvbreak to insert \parskip glue after all. - % (Possibly there are other commands that could be followed by - % @example which need the same treatment, but not section titles; or - % maybe section titles are the only special case and they should be - % penalty 10001...) + % Stop a page break at the \parskip glue coming up. However, if + % what follows is an environment such as @example, there will be no + % \parskip glue; then the negative vskip we just inserted would + % cause the example and the item to crash together. So we use this + % bizarre value of 10001 as a signal to \aboveenvbreak to insert + % \parskip glue after all. Section titles are handled this way also. + % \penalty 10001 \endgroup \itemxneedsnegativevskipfalse @@ -2301,15 +2376,26 @@ where each line of input produces a line of output.} % @table, @ftable, @vtable. \envdef\table{% \let\itemindex\gobble - \tablex + \tablecheck{table}% } \envdef\ftable{% \def\itemindex ##1{\doind {fn}{\code{##1}}}% - \tablex + \tablecheck{ftable}% } \envdef\vtable{% \def\itemindex ##1{\doind {vr}{\code{##1}}}% - \tablex + \tablecheck{vtable}% +} +\def\tablecheck#1{% + \ifnum \the\catcode`\^^M=\active + \endgroup + \errmessage{This command won't work in this context; perhaps the problem is + that we are \inenvironment\thisenv}% + \def\next{\doignore{#1}}% + \else + \let\next\tablex + \fi + \next } \def\tablex#1{% \def\itemindicate{#1}% @@ -2620,7 +2706,10 @@ where each line of input produces a line of output.} \startsavinginserts % % @item within a multitable starts a normal row. - \let\item\crcr + % We use \def instead of \let so that if one of the multitable entries + % contains an @itemize, we don't choke on the \item (seen as \crcr aka + % \endtemplate) expanding \doitemize. + \def\item{\crcr}% % \tolerance=9500 \hbadness=9500 @@ -2705,19 +2794,17 @@ where each line of input produces a line of output.} \global\setpercentfalse } -\def\setmultitablespacing{% test to see if user has set \multitablelinespace. -% If so, do nothing. If not, give it an appropriate dimension based on -% current baselineskip. +\def\setmultitablespacing{% + \def\multistrut{\strut}% just use the standard line spacing + % + % Compute \multitablelinespace (if not defined by user) for use in + % \multitableparskip calculation. We used define \multistrut based on + % this, but (ironically) that caused the spacing to be off. + % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100. \ifdim\multitablelinespace=0pt \setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip \global\advance\multitablelinespace by-\ht0 -%% strut to put in table in case some entry doesn't have descenders, -%% to keep lines equally spaced -\let\multistrut = \strut -\else -%% FIXME: what is \box0 supposed to be? -\gdef\multistrut{\vrule height\multitablelinespace depth\dp0 -width0pt\relax} \fi +\fi %% Test to see if parskip is larger than space between lines of %% table. If not, do nothing. %% If so, set to same dimension as multitablelinespace. @@ -2786,14 +2873,14 @@ width0pt\relax} \fi \doignorecount = 0 % % Swallow text until we reach the matching `@end #1'. - \dodoignore {#1}% + \dodoignore{#1}% } { \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source. \obeylines % % \gdef\dodoignore#1{% - % #1 contains the string `ifinfo'. + % #1 contains the command name as a string, e.g., `ifinfo'. % % Define a command to find the next `@end #1', which must be on a line % by itself. @@ -2947,9 +3034,8 @@ width0pt\relax} \fi % Index generation facilities % Define \newwrite to be identical to plain tex's \newwrite -% except not \outer, so it can be used within \newindex. -{\catcode`\@=11 -\gdef\newwrite{\alloc@7\write\chardef\sixt@@n}} +% except not \outer, so it can be used within macros and \if's. +\edef\newwrite{\makecsname{ptexnewwrite}} % \newindex {foo} defines an index named foo. % It automatically defines \fooindex such that @@ -3134,12 +3220,14 @@ width0pt\relax} \fi % % Assorted special characters. \definedummyword{bullet}% + \definedummyword{comma}% \definedummyword{copyright}% \definedummyword{registeredsymbol}% \definedummyword{dots}% \definedummyword{enddots}% \definedummyword{equiv}% \definedummyword{error}% + \definedummyword{euro}% \definedummyword{expansion}% \definedummyword{minus}% \definedummyword{pounds}% @@ -3271,12 +3359,14 @@ width0pt\relax} \fi % Assorted special characters. % (The following {} will end up in the sort string, but that's ok.) \def\bullet{bullet}% + \def\comma{,}% \def\copyright{copyright}% \def\registeredsymbol{R}% \def\dots{...}% \def\enddots{...}% \def\equiv{==}% \def\error{error}% + \def\euro{euro}% \def\expansion{==>}% \def\minus{-}% \def\pounds{pounds}% @@ -3406,17 +3496,18 @@ width0pt\relax} \fi \dosubindwrite % \ifx\lastskipmacro\zeroskipmacro - % if \lastskip was zero, perhaps the last item was a - % penalty, and perhaps it was >=10000, e.g., a \nobreak. - % In that case, we want to re-insert the penalty; since we - % just inserted a non-discardable item, any following glue - % (such as a \parskip) would be a breakpoint. For example: + % If \lastskip was zero, perhaps the last item was a penalty, and + % perhaps it was >=10000, e.g., a \nobreak. In that case, we want + % to re-insert the same penalty (values >10000 are used for various + % signals); since we just inserted a non-discardable item, any + % following glue (such as a \parskip) would be a breakpoint. For example: + % % @deffn deffn-whatever % @vindex index-whatever % Description. % would allow a break between the index-whatever whatsit % and the "Description." paragraph. - \ifnum\count255>9999 \nobreak \fi + \ifnum\count255>9999 \penalty\count255 \fi \else % On the other hand, if we had a nonzero \lastskip, % this make-up glue would be preceded by a non-discardable item @@ -3514,7 +3605,10 @@ width0pt\relax} \fi \removelastskip % % We like breaks before the index initials, so insert a bonus. - \penalty -300 + \nobreak + \vskip 0pt plus 3\baselineskip + \penalty 0 + \vskip 0pt plus -3\baselineskip % % Typeset the initial. Making this add up to a whole number of % baselineskips increases the chance of the dots lining up from column @@ -3524,10 +3618,9 @@ width0pt\relax} \fi % No shrink because it confuses \balancecolumns. \vskip 1.67\baselineskip plus .5\baselineskip \leftline{\secbf #1}% - \vskip .33\baselineskip plus .1\baselineskip - % % Do our best not to break after the initial. \nobreak + \vskip .33\baselineskip plus .1\baselineskip }} % \entry typesets a paragraph consisting of the text (#1), dot leaders, and @@ -4196,11 +4289,11 @@ width0pt\relax} \fi \ifx\temptype\Ynothingkeyword \setbox0 = \hbox{}% \def\toctype{unnchap}% - \def\thischapter{#1}% + \gdef\thischapter{#1}% \else\ifx\temptype\Yomitfromtockeyword \setbox0 = \hbox{}% contents like unnumbered, but no toc entry \def\toctype{omit}% - \xdef\thischapter{}% + \gdef\thischapter{}% \else\ifx\temptype\Yappendixkeyword \setbox0 = \hbox{\putwordAppendix{} #3\enspace}% \def\toctype{app}% @@ -4348,14 +4441,14 @@ width0pt\relax} \fi % glue accumulate. (Not a breakpoint because it's preceded by a % discardable item.) \vskip-\parskip - % - % This \nobreak is purely so the last item on the list is a \penalty - % of 10000. This is so other code, for instance \parsebodycommon, can - % check for and avoid allowing breakpoints. Otherwise, it would - % insert a valid breakpoint between: + % + % This is purely so the last item on the list is a known \penalty > + % 10000. This is so \startdefun can avoid allowing breakpoints after + % section headings. Otherwise, it would insert a valid breakpoint between: + % % @section sec-whatever % @deffn def-whatever - \nobreak + \penalty 10001 } @@ -4700,7 +4793,8 @@ width0pt\relax} \fi % start of the next paragraph will insert \parskip. % \def\aboveenvbreak{{% - % =10000 instead of <10000 because of a special case in \itemzzz, q.v. + % =10000 instead of <10000 because of a special case in \itemzzz and + % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else \advance\envskipamount by \parskip \endgraf @@ -5061,8 +5155,7 @@ width0pt\relax} \fi } % @copying ... @end copying. -% Save the text away for @insertcopying later. Many commands won't be -% allowed in this context, but that's ok. +% Save the text away for @insertcopying later. % % We save the uninterpreted tokens, rather than creating a box. % Saving the text in a box would be much easier, but then all the @@ -5071,62 +5164,14 @@ width0pt\relax} \fi % file; b) letting users define the frontmatter in as flexible order as % possible is very desirable. % -\def\copying{\begingroup - % Define a command to swallow text until we reach `@end copying'. - % \ is the escape char in this texinfo.tex file, so it is the - % delimiter for the command; @ will be the escape char when we read - % it, but that doesn't matter. - \long\def\docopying##1\end copying{\gdef\copyingtext{##1}\enddocopying}% - % - % We must preserve ^^M's in the input file; see \insertcopying below. - \catcode`\^^M = \active - \docopying -} - -% What we do to finish off the copying text. +\def\copying{\checkenv{}\begingroup\scanargctxt\docopying} +\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}} % -\def\enddocopying{\endgroup\ignorespaces} - -% @insertcopying. Here we must play games with ^^M's. On the one hand, -% we need them to delimit commands such as `@end quotation', so they -% must be active. On the other hand, we certainly don't want every -% end-of-line to be a \par, as would happen with the normal active -% definition of ^^M. On the third hand, two ^^M's in a row should still -% generate a \par. -% -% Our approach is to make ^^M insert a space and a penalty1 normally; -% then it can also check if \lastpenalty=1. If it does, then manually -% do \par. -% -% This messes up the normal definitions of @c[omment], so we redefine -% it. Similarly for @ignore. (These commands are used in the gcc -% manual for man page generation.) -% -% Seems pretty fragile, most line-oriented commands will presumably -% fail, but for the limited use of getting the copying text (which -% should be quite simple) inserted, we can hope it's ok. -% -{\catcode`\^^M=\active % -\gdef\insertcopying{\begingroup % - \parindent = 0pt % looks wrong on title page - \def^^M{% - \ifnum \lastpenalty=1 % - \par % - \else % - \space \penalty 1 % - \fi % - }% - % - % Fix @c[omment] for catcode 13 ^^M's. - \def\c##1^^M{\ignorespaces}% - \let\comment = \c % - % - % Don't bother jumping through all the hoops that \doignore does, it - % would be very hard since the catcodes are already set. - \long\def\ignore##1\end ignore{\ignorespaces}% - % - \copyingtext % -\endgroup}% +\def\insertcopying{% + \begingroup + \parindent = 0pt % paragraph indentation looks wrong on title page + \scanexp\copyingtext + \endgroup } \message{defuns,} @@ -5144,10 +5189,11 @@ width0pt\relax} \fi % If there are two @def commands in a row, we'll have a \nobreak, % which is there to keep the function description together with its % header. But if there's nothing but headers, we need to allow a - % break somewhere. Check for penalty 10002 (inserted by - % \defargscommonending) instead of 10000, since the sectioning - % commands insert a \penalty10000, and we don't want to allow a break - % between a section heading and a defun. + % break somewhere. Check specifically for penalty 10002, inserted + % by \defargscommonending, instead of 10000, since the sectioning + % commands also insert a nobreak penalty, and we don't want to allow + % a break between a section heading and a defun. + % \ifnum\lastpenalty=10002 \penalty2000 \fi % % Similarly, after a section heading, do not allow a break. @@ -5471,7 +5517,7 @@ width0pt\relax} \fi \ifx\eTeXversion\undefined \newwrite\macscribble \def\scantokens#1{% - \toks0={#1\endinput}% + \toks0={#1}% \immediate\openout\macscribble=\jobname.tmp \immediate\write\macscribble{\the\toks0}% \immediate\closeout\macscribble @@ -5484,7 +5530,11 @@ width0pt\relax} \fi \newlinechar`\^^M \let\xeatspaces\eatspaces % Undo catcode changes of \startcontents and \doprintindex - \catcode`\@=0 \catcode`\\=\other \escapechar=`\@ + % When called from @insertcopying or (short)caption, we need active + % backslash to get it printed correctly. Previously, we had + % \catcode`\\=\other instead. We'll see whether a problem appears + % with macro expansion. --kasal, 19aug04 + \catcode`\@=0 \catcode`\\=\active \escapechar=`\@ % ... and \example \spaceisspace % @@ -5496,6 +5546,11 @@ width0pt\relax} \fi \endgroup } +\def\scanexp#1{% + \edef\temp{\noexpand\scanmacro{#1}}% + \temp +} + \newcount\paramno % Count of parameters \newtoks\macname % Macro name \newif\ifrecursive % Is it recursive? @@ -5503,13 +5558,15 @@ width0pt\relax} \fi % \do\macro1\do\macro2... % Utility routines. -% This does \let #1 = #2, except with \csnames. +% This does \let #1 = #2, with \csnames; that is, +% \let \csname#1\endcsname = \csname#2\endcsname +% (except of course we have to play expansion games). +% \def\cslet#1#2{% -\expandafter\expandafter -\expandafter\let -\expandafter\expandafter -\csname#1\endcsname -\csname#2\endcsname} + \expandafter\let + \csname#1\expandafter\endcsname + \csname#2\endcsname +} % Trim leading and trailing spaces off a string. % Concepts from aro-bend problem 15 (see CTAN). @@ -5536,30 +5593,36 @@ width0pt\relax} \fi % done by making ^^M (\endlinechar) catcode 12 when reading the macro % body, and then making it the \newlinechar in \scanmacro. -\def\macrobodyctxt{% - \catcode`\~=\other +\def\scanctxt{% + \catcode`\"=\other + \catcode`\+=\other + \catcode`\<=\other + \catcode`\>=\other + \catcode`\@=\other \catcode`\^=\other \catcode`\_=\other \catcode`\|=\other - \catcode`\<=\other - \catcode`\>=\other - \catcode`\+=\other + \catcode`\~=\other +} + +\def\scanargctxt{% + \scanctxt + \catcode`\\=\other + \catcode`\^^M=\other +} + +\def\macrobodyctxt{% + \scanctxt \catcode`\{=\other \catcode`\}=\other - \catcode`\@=\other \catcode`\^^M=\other - \usembodybackslash} + \usembodybackslash +} \def\macroargctxt{% - \catcode`\~=\other - \catcode`\^=\other - \catcode`\_=\other - \catcode`\|=\other - \catcode`\<=\other - \catcode`\>=\other - \catcode`\+=\other - \catcode`\@=\other - \catcode`\\=\other} + \scanctxt + \catcode`\\=\other +} % \mbodybackslash is the definition of \ in @macro bodies. % It maps \foo\ => \csname macarg.foo\endcsname => #N @@ -6365,11 +6428,14 @@ width0pt\relax} \fi \endgroup} -% @float FLOATTYPE,LOC ... @end float for displayed figures, tables, etc. -% We don't actually implement floating yet, we just plop the float "here". -% But it seemed the best name for the future. +% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables, +% etc. We don't actually implement floating yet, we always include the +% float "here". But it seemed the best name for the future. % -\envparseargdef\float{\dofloat #1,,,\finish} +\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish} + +% There may be a space before second and/or third parameter; delete it. +\def\eatcommaspace#1, {#1,} % #1 is the optional FLOATTYPE, the text label for this float, typically % "Figure", "Table", "Example", etc. Can't contain commas. If omitted, @@ -6390,6 +6456,10 @@ width0pt\relax} \fi \let\thisshortcaption=\empty % % don't lose footnotes inside @float. + % + % BEWARE: when the floats start float, we have to issue warning whenever an + % insert appears inside a float which could possibly float. --kasal, 26may04 + % \startsavinginserts % % We can't be used inside a paragraph. @@ -6474,7 +6544,7 @@ width0pt\relax} \fi \fi % % caption text. - \appendtomacro\captionline\thiscaption + \appendtomacro\captionline{\scanexp\thiscaption}% \fi % % If we have anything to print, print it, with space before. @@ -6482,6 +6552,9 @@ width0pt\relax} \fi \ifx\captionline\empty \else \vskip.5\parskip \captionline + % + % Space below caption. + \vskip\parskip \fi % % If have an xref label, write the list of floats info. Do this @@ -6492,37 +6565,44 @@ width0pt\relax} \fi % caption if specified, else the full caption if specified, else nothing. {% \atdummies \turnoffactive \otherbackslash - \immediate\write\auxfile{@xrdef{\floatlabel-lof}{% - \floatident - \ifx\thisshortcaption\empty - \ifx\thiscaption\empty \else : \thiscaption \fi - \else - : \thisshortcaption - \fi - }}% + % since we read the caption text in the macro world, where ^^M + % is turned into a normal character, we have to scan it back, so + % we don't write the literal three characters "^^M" into the aux file. + \scanexp{% + \xdef\noexpand\gtemp{% + \ifx\thisshortcaption\empty + \thiscaption + \else + \thisshortcaption + \fi + }% + }% + \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident + \ifx\gtemp\empty \else : \gtemp \fi}}% }% \fi - % - % Space below caption, if we printed anything. - \ifx\printedsomething\empty \else \vskip\parskip \fi \egroup % end of \vtop + % + % place the captured inserts + % + % BEWARE: when the floats start float, we have to issue warning whenever an + % insert appears inside a float which could possibly float. --kasal, 26may04 + % \checkinserts } % Append the tokens #2 to the definition of macro #1, not expanding either. % -\newtoks\appendtomacroAtoks -\newtoks\appendtomacroBtoks \def\appendtomacro#1#2{% - \appendtomacroAtoks = \expandafter{#1}% - \appendtomacroBtoks = {#2}% - \edef#1{\the\appendtomacroAtoks \the\appendtomacroBtoks}% + \expandafter\def\expandafter#1\expandafter{#1#2}% } -% @caption, @shortcaption are easy. +% @caption, @shortcaption % -\long\def\caption#1{\checkenv\float \def\thiscaption{#1}} -\def\shortcaption#1{\checkenv\float \def\thisshortcaption{#1}} +\def\caption{\docaption\thiscaption} +\def\shortcaption{\docaption\thisshortcaption} +\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption} +\def\defcaption#1#2{\egroup \def#1{#2}} % The parameter is the control sequence identifying the counter we are % going to use. Create it if it doesn't exist and assign it to \floatno. diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 1797aa7..0f3cc2f 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -351,6 +351,11 @@ becomes reachable. This script is started when the tinc daemon with name .Ar HOST becomes unreachable. +.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /subnet-up +This script is started when a Subnet becomes reachable. +The Subnet and the node it belongs to are passed in environment variables. +.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /subnet-down +This script is started when a Subnet becomes unreachable. .El .Pp The scripts are started without command line arguments, but can make use of certain environment variables. @@ -375,10 +380,13 @@ This should be used for commands like .Pa ifconfig . .It Ev NODE When a host becomes (un)reachable, this is set to its name. +If a subnet becomes (un)reachable, this is set to the owner of that subnet. .It Ev REMOTEADDRESS When a host becomes (un)reachable, this is set to its real address. .It Ev REMOTEPORT When a host becomes (un)reachable, this is set to the port number it uses for communication with other tinc daemons. +.It Ev SUBNET +When a subnet becomes (un)reachable, this is set to the subnet. .El .Sh FILES The most important files are: diff --git a/doc/tinc.info b/doc/tinc.info index 5a03ae6..5669744 100644 --- a/doc/tinc.info +++ b/doc/tinc.info @@ -5,13 +5,13 @@ START-INFO-DIR-ENTRY * tinc: (tinc). The tinc Manual. END-INFO-DIR-ENTRY - This is the info manual for tinc version 1.0.3, a Virtual Private + This is the info manual for tinc version 1.0.4, a Virtual Private Network daemon. - Copyright (C) 1998-2004 Ivo Timmermans , Guus + Copyright (C) 1998-2005 Ivo Timmermans , Guus Sliepen and Wessel Dankers . - $Id: tinc.texi 1416 2004-11-10 23:21:41Z guus $ + $Id: tinc.texi 1439 2005-05-04 18:09:30Z guus $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -998,6 +998,14 @@ scripts should have the extension .bat. This script is started when the tinc daemon with name HOST becomes unreachable. +`/usr/local/etc/tinc/NETNAME/subnet-up' + This script is started when a Subnet becomes reachable. The + Subnet and the node it belongs to are passed in environment + variables. + +`/usr/local/etc/tinc/NETNAME/subnet-down' + This script is started when a Subnet becomes unreachable. + The scripts are started without command line arguments, but can make use of certain environment variables. Under UNIX like operating systems the names of environment variables must be preceded by a $ in @@ -1018,7 +1026,9 @@ signs. This should be used for commands like ifconfig. `NODE' - When a host becomes (un)reachable, this is set to its name. + When a host becomes (un)reachable, this is set to its name. If a + subnet becomes (un)reachable, this is set to the owner of that + subnet. `REMOTEADDRESS' When a host becomes (un)reachable, this is set to its real address. @@ -1027,6 +1037,10 @@ signs. When a host becomes (un)reachable, this is set to the port number it uses for communication with other tinc daemons. +`SUBNET' + When a subnet becomes (un)reachable, this is set to the subnet. + +  File: tinc.info, Node: How to configure, Prev: Scripts, Up: Configuration files @@ -2217,7 +2231,7 @@ Concept Index * debug levels: Debug levels. (line 6) * DEL_EDGE: The meta-protocol. (line 47) * DEL_SUBNET: The meta-protocol. (line 47) -* DEVICE: Scripts. (line 41) +* DEVICE: Scripts. (line 49) * Device: Main configuration variables. (line 47) * device files: Device files. (line 6) @@ -2226,7 +2240,7 @@ Concept Index * encapsulating: The UDP tunnel. (line 30) * encryption: Encryption of network packets. (line 6) -* environment variables: Scripts. (line 29) +* environment variables: Scripts. (line 37) * ethertap: Configuration of Linux kernels 2.1.60 up to 2.4.0. (line 6) * example: Example configuration. @@ -2240,7 +2254,7 @@ Concept Index (line 10) * IndirectData: Host configuration variables. (line 27) -* INTERFACE: Scripts. (line 44) +* INTERFACE: Scripts. (line 52) * Interface: Main configuration variables. (line 64) * IRC: Contact information. (line 9) @@ -2261,15 +2275,15 @@ Concept Index * Mode: Main configuration variables. (line 72) * multiple networks: Multiple networks. (line 6) -* NAME: Scripts. (line 38) +* NAME: Scripts. (line 46) * Name: Main configuration variables. (line 111) * netmask: Network interfaces. (line 34) -* NETNAME: Scripts. (line 35) +* NETNAME: Scripts. (line 43) * netname: Multiple networks. (line 6) * Network Administrators Guide: Configuration introduction. (line 15) -* NODE: Scripts. (line 48) +* NODE: Scripts. (line 56) * OpenSSL: OpenSSL. (line 6) * options: Runtime options. (line 9) * PEM format: Host configuration variables. @@ -2295,8 +2309,8 @@ Concept Index * PublicKeyFile: Host configuration variables. (line 47) * release: Supported platforms. (line 14) -* REMOTEADDRESS: Scripts. (line 51) -* REMOTEPORT: Scripts. (line 54) +* REMOTEADDRESS: Scripts. (line 61) +* REMOTEPORT: Scripts. (line 64) * REQ_KEY: The meta-protocol. (line 64) * requirements: Libraries. (line 6) * router: Main configuration variables. @@ -2307,6 +2321,7 @@ Concept Index * server: How connections work. (line 18) * signals: Signals. (line 6) +* SUBNET: Scripts. (line 68) * Subnet: Host configuration variables. (line 59) * SVPN: Security. (line 11) @@ -2376,32 +2391,32 @@ Node: Configuration files26448 Node: Main configuration variables27475 Node: Host configuration variables33939 Node: Scripts38235 -Node: How to configure40329 -Node: Generating keypairs41612 -Node: Network interfaces42111 -Node: Example configuration43979 -Node: Running tinc49431 -Node: Runtime options50021 -Node: Signals52058 -Node: Debug levels53127 -Node: Solving problems54063 -Node: Error messages55493 -Node: Sending bug reports59815 -Node: Technical information60767 -Node: The connection60998 -Node: The UDP tunnel61310 -Node: The meta-connection64371 -Node: The meta-protocol65840 -Node: Security70849 -Node: Authentication protocol71979 -Node: Encryption of network packets76983 -Node: Security issues78356 -Node: Platform specific information79973 -Node: Interface configuration80201 -Node: Routes82100 -Node: About us84016 -Node: Contact information84191 -Node: Authors84595 -Node: Concept Index85021 +Node: How to configure40790 +Node: Generating keypairs42073 +Node: Network interfaces42572 +Node: Example configuration44440 +Node: Running tinc49892 +Node: Runtime options50482 +Node: Signals52519 +Node: Debug levels53588 +Node: Solving problems54524 +Node: Error messages55954 +Node: Sending bug reports60276 +Node: Technical information61228 +Node: The connection61459 +Node: The UDP tunnel61771 +Node: The meta-connection64832 +Node: The meta-protocol66301 +Node: Security71310 +Node: Authentication protocol72440 +Node: Encryption of network packets77444 +Node: Security issues78817 +Node: Platform specific information80434 +Node: Interface configuration80662 +Node: Routes82561 +Node: About us84477 +Node: Contact information84652 +Node: Authors85056 +Node: Concept Index85482  End Tag Table diff --git a/doc/tinc.texi b/doc/tinc.texi index 7514cc4..a9deba1 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1,5 +1,5 @@ \input texinfo @c -*-texinfo-*- -@c $Id: tinc.texi 1416 2004-11-10 23:21:41Z guus $ +@c $Id: tinc.texi 1439 2005-05-04 18:09:30Z guus $ @c %**start of header @setfilename tinc.info @settitle tinc Manual @@ -16,11 +16,11 @@ This is the info manual for @value{PACKAGE} version @value{VERSION}, a Virtual Private Network daemon. -Copyright @copyright{} 1998-2004 Ivo Timmermans +Copyright @copyright{} 1998-2005 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi 1416 2004-11-10 23:21:41Z guus $ +$Id: tinc.texi 1439 2005-05-04 18:09:30Z guus $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -43,11 +43,11 @@ permission notice identical to this one. @cindex copyright This is the info manual for @value{PACKAGE} version @value{VERSION}, a Virtual Private Network daemon. -Copyright @copyright{} 1998-2004 Ivo Timmermans +Copyright @copyright{} 1998-2005 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi 1416 2004-11-10 23:21:41Z guus $ +$Id: tinc.texi 1439 2005-05-04 18:09:30Z guus $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -1100,6 +1100,13 @@ This script is started when the tinc daemon with name @var{host} becomes reachab @item @value{sysconfdir}/tinc/@var{netname}/hosts/@var{host}-down This script is started when the tinc daemon with name @var{host} becomes unreachable. + +@item @value{sysconfdir}/tinc/@var{netname}/subnet-up +This script is started when a Subnet becomes reachable. +The Subnet and the node it belongs to are passed in environment variables. + +@item @value{sysconfdir}/tinc/@var{netname}/subnet-down +This script is started when a Subnet becomes unreachable. @end table @cindex environment variables @@ -1129,6 +1136,7 @@ This should be used for commands like ifconfig. @cindex NODE @item NODE When a host becomes (un)reachable, this is set to its name. +If a subnet becomes (un)reachable, this is set to the owner of that subnet. @cindex REMOTEADDRESS @item REMOTEADDRESS @@ -1138,6 +1146,11 @@ When a host becomes (un)reachable, this is set to its real address. @item REMOTEPORT When a host becomes (un)reachable, this is set to the port number it uses for communication with other tinc daemons. + +@cindex SUBNET +@item SUBNET +When a subnet becomes (un)reachable, this is set to the subnet. + @end table diff --git a/have.h b/have.h index 45acb36..db92058 100644 --- a/have.h +++ b/have.h @@ -1,7 +1,7 @@ /* have.h -- include headers which are known to exist - Copyright (C) 1998-2004 Ivo Timmermans - 2003-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2003-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/install-sh b/install-sh index e4160c9..1a83534 100755 --- a/install-sh +++ b/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2004-04-01.17 +scriptversion=2005-02-02.21 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -58,9 +58,6 @@ stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -transformbasename= -transform_arg= -instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= @@ -70,23 +67,27 @@ mvcmd="$mvprog" src= dst= dir_arg= +dstarg= +no_target_directory= -usage="Usage: $0 [OPTION]... SRCFILE DSTFILE +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 -d DIRECTORIES... + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... -In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default. -In the second, create the directory path DIR. +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. Options: --b=TRANSFORMBASENAME --c copy source (using $cpprog) instead of moving (using $mvprog). +-c (ignored) -d create directories instead of installing files. --g GROUP $chgrp installed files to GROUP. --m MODE $chmod installed files to MODE. --o USER $chown installed files to USER. --s strip installed files (using $stripprog). --t=TRANSFORM +-g GROUP $chgrpprog installed files to GROUP. +-m MODE $chmodprog installed files to MODE. +-o USER $chownprog installed files to USER. +-s $stripprog installed files. +-t DIRECTORY install into DIRECTORY. +-T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. @@ -96,12 +97,7 @@ Environment variables override the default commands: while test -n "$1"; do case $1 in - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - -c) instcmd=$cpprog - shift + -c) shift continue;; -d) dir_arg=true @@ -113,7 +109,7 @@ while test -n "$1"; do shift continue;; - --help) echo "$usage"; exit 0;; + --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift @@ -129,14 +125,20 @@ while test -n "$1"; do shift continue;; - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; + -t) dstarg=$2 + shift + shift + continue;; - --version) echo "$0 $scriptversion"; exit 0;; + -T) no_target_directory=true + shift + continue;; + + --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. - test -n "$dir_arg" && break + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do @@ -174,13 +176,13 @@ do src= if test -d "$dst"; then - instcmd=: + mkdircmd=: chmodcmd= else - instcmd=$mkdirprog + mkdircmd=$mkdirprog fi else - # Waiting for this to be detected by the "$instcmd $src $dsttmp" command + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then @@ -202,12 +204,16 @@ do # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dstarg: Is a directory" >&2 + exit 1 + fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. @@ -220,7 +226,8 @@ do oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' - set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift IFS=$oIFS pathcomp= @@ -229,51 +236,42 @@ do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" || lasterr=$? + $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. - test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; } + test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then - $doit $instcmd "$dst" \ + $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else - # If we're going to rename the final executable, determine the name now. - if test -z "$transformarg"; then - dstfile=`basename "$dst"` - else - dstfile=`basename "$dst" $transformbasename \ - | sed $transformarg`$transformbasename - fi - - # don't allow the sed command to completely eliminate the filename. - test -z "$dstfile" && dstfile=`basename "$dst"` + dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 - # Move or copy the file name to the temp name - $doit $instcmd "$src" "$dsttmp" && + # Copy the file name to the temp name. + $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $instcmd $src $dsttmp" command. + # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ @@ -298,7 +296,7 @@ do || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit + (exit 1); exit 1 } else : @@ -309,12 +307,12 @@ do $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } - fi || { (exit 1); exit; } + fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { - (exit 0); exit + (exit 0); exit 0 } # Local variables: diff --git a/lib/Makefile.in b/lib/Makefile.in index 4e29a89..4858a1f 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -39,6 +39,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +build_triplet = @build@ host_triplet = @host@ subdir = lib DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ @@ -70,14 +71,6 @@ libvpn_a_OBJECTS = $(am_libvpn_a_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/alloca.Po $(DEPDIR)/malloc.Po \ -@AMDEP_TRUE@ $(DEPDIR)/memcmp.Po $(DEPDIR)/realloc.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/avl_tree.Po ./$(DEPDIR)/dropin.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/fake-getaddrinfo.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/fake-getnameinfo.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/getopt.Po ./$(DEPDIR)/getopt1.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/list.Po ./$(DEPDIR)/pidfile.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/utils.Po ./$(DEPDIR)/xmalloc.Po COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) @@ -159,6 +152,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -259,16 +254,14 @@ distclean-compile: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: @@ -370,7 +363,7 @@ mostlyclean-generic: clean-generic: distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" diff --git a/lib/avl_tree.c b/lib/avl_tree.c index efcb080..c8c2a1c 100644 --- a/lib/avl_tree.c +++ b/lib/avl_tree.c @@ -1,9 +1,9 @@ /* avl_tree.c -- avl_ tree and linked list convenience Copyright (C) 1998 Michael H. Buselli - 2000-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen - 2000-2004 Wessel Dankers + 2000-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen + 2000-2005 Wessel Dankers This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ library for inclusion into tinc (http://www.tinc-vpn.org/) by Guus Sliepen . - $Id: avl_tree.c 1374 2004-03-21 14:21:22Z guus $ + $Id: avl_tree.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/lib/avl_tree.h b/lib/avl_tree.h index 405f450..8b4f26c 100644 --- a/lib/avl_tree.h +++ b/lib/avl_tree.h @@ -1,9 +1,9 @@ /* avl_tree.h -- header file for avl_tree.c Copyright (C) 1998 Michael H. Buselli - 2000-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen - 2000-2004 Wessel Dankers + 2000-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen + 2000-2005 Wessel Dankers This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ library for inclusion into tinc (http://www.tinc-vpn.org/) by Guus Sliepen . - $Id: avl_tree.h 1374 2004-03-21 14:21:22Z guus $ + $Id: avl_tree.h 1439 2005-05-04 18:09:30Z guus $ */ diff --git a/lib/dropin.c b/lib/dropin.c index 4007c14..cc20834 100644 --- a/lib/dropin.c +++ b/lib/dropin.c @@ -1,7 +1,7 @@ /* dropin.c -- a set of drop-in replacements for libc functions - Copyright (C) 2000-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: dropin.c 1374 2004-03-21 14:21:22Z guus $ + $Id: dropin.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/lib/dropin.h b/lib/dropin.h index cedfb44..c2fc8a4 100644 --- a/lib/dropin.h +++ b/lib/dropin.h @@ -1,7 +1,7 @@ /* dropin.h -- header file for dropin.c - Copyright (C) 2000-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: dropin.h 1374 2004-03-21 14:21:22Z guus $ + $Id: dropin.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __DROPIN_H__ diff --git a/lib/ethernet.h b/lib/ethernet.h index c59c7c3..0b5ff2d 100644 --- a/lib/ethernet.h +++ b/lib/ethernet.h @@ -1,7 +1,7 @@ /* ethernet.h -- missing Ethernet related definitions - Copyright (C) 2004 Ivo Timmermans - 2004 Guus Sliepen + Copyright (C) 2005 Ivo Timmermans + 2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ethernet.h 1374 2004-03-21 14:21:22Z guus $ + $Id: ethernet.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_ETHERNET_H__ diff --git a/lib/ipv4.h b/lib/ipv4.h index 2b71e1b..afbcb70 100644 --- a/lib/ipv4.h +++ b/lib/ipv4.h @@ -1,7 +1,7 @@ /* ipv4.h -- missing IPv4 related definitions - Copyright (C) 2004 Ivo Timmermans - 2004 Guus Sliepen + Copyright (C) 2005 Ivo Timmermans + 2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ipv4.h 1412 2004-11-10 21:14:08Z guus $ + $Id: ipv4.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_IPV4_H__ diff --git a/lib/ipv6.h b/lib/ipv6.h index b6ab4bf..8516a2f 100644 --- a/lib/ipv6.h +++ b/lib/ipv6.h @@ -1,7 +1,7 @@ /* ipv6.h -- missing IPv6 related definitions - Copyright (C) 2004 Ivo Timmermans - 2004 Guus Sliepen + Copyright (C) 2005 Ivo Timmermans + 2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ipv6.h 1374 2004-03-21 14:21:22Z guus $ + $Id: ipv6.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_IPV6_H__ diff --git a/lib/list.c b/lib/list.c index ffb62fc..7c94a85 100644 --- a/lib/list.c +++ b/lib/list.c @@ -1,7 +1,7 @@ /* list.c -- functions to deal with double linked lists - Copyright (C) 2000-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: list.c 1374 2004-03-21 14:21:22Z guus $ + $Id: list.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/lib/list.h b/lib/list.h index f5a9297..d1b507d 100644 --- a/lib/list.h +++ b/lib/list.h @@ -1,7 +1,7 @@ /* list.h -- header file for list.c - Copyright (C) 2000-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: list.h 1374 2004-03-21 14:21:22Z guus $ + $Id: list.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_LIST_H__ diff --git a/lib/utils.c b/lib/utils.c index 19c86a9..eee62a4 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -1,7 +1,7 @@ /* utils.c -- gathering of some stupid small functions - Copyright (C) 1999-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/lib/utils.h b/lib/utils.h index a47f91a..c9c8324 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -1,7 +1,7 @@ /* utils.h -- header file for utils.c - Copyright (C) 1999-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/m4/Makefile.in b/m4/Makefile.in index 864141c..bef092c 100644 --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -33,6 +33,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +build_triplet = @build@ host_triplet = @host@ subdir = m4 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in @@ -125,6 +126,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -244,7 +247,7 @@ mostlyclean-generic: clean-generic: distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" diff --git a/missing b/missing index e7ef83a..09edd88 100755 --- a/missing +++ b/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2003-09-02.23 +scriptversion=2005-02-08.22 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -60,11 +60,6 @@ case "$1" in msg="probably too old" fi ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case "$1" in -h|--h|--he|--hel|--help) echo "\ @@ -92,10 +87,12 @@ Supported PROGRAM values: yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." + exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" + exit $? ;; -*) @@ -104,12 +101,42 @@ Send bug reports to ." exit 1 ;; - aclocal*) +esac + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). +case "$1" in + lex|yacc) + # Not GNU programs, they don't have --version. + ;; + + tar) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 fi + ;; +esac +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case "$1" in + aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want @@ -119,11 +146,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; autoconf) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the @@ -133,11 +155,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; autoheader) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want @@ -157,11 +174,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; automake*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. @@ -173,11 +185,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; autom4te) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the @@ -254,11 +261,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; help2man) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the @@ -279,11 +281,6 @@ WARNING: \`$1' is $msg. You should only need it if ;; makeinfo) - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then - # We have makeinfo, but it failed. - exit 1 - fi - echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file @@ -291,20 +288,20 @@ WARNING: \`$1' is $msg. You should only need it if call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi touch $file ;; tar) shift - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - fi # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error diff --git a/mkinstalldirs b/mkinstalldirs index 6fbe5e1..5d26a48 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2004-02-15.20 +scriptversion=2005-02-02.21 # Original author: Noah Friedman # Created: 1993-05-16 @@ -27,7 +27,7 @@ while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" - exit 0 + exit $? ;; -m) # -m PERM arg shift @@ -37,7 +37,7 @@ while test $# -gt 0 ; do ;; --version) echo "$0 $scriptversion" - exit 0 + exit $? ;; --) # stop option processing shift diff --git a/po/nl.gmo b/po/nl.gmo index 707092145632823972cc2b166dd71e455f05e40c..813374294bde4ea31d5ab15621cf503d81a6bd4b 100644 GIT binary patch delta 6571 zcmZ|Td0f{;9>?*45>X&P4nYup+=`%x;6Wl@2;PdB<&k-trFdXjNZ)F4D=V!$((Nv@ zVv|xb%d#@fv|P7LDbtirwbo;;wzSfHy_s@(2^1#C0Bp&J;A#p=!X%s2i%V13rdBa5qlGxMX8;@pkNq>#-Qm z;8g6IVl(h0mQt@ry)ZG=zNZM4@vG2NYUfbk*`^wG;ab$(?!Zt#V?ITt?i=!`5d^0j z(+b<5>U~i6jmJXtkXbQXoCi_Yoy91O%CPsh%OL;VXy`|Syu+Q?j10!?N8R`v>IISX zLLJHDM;RK2*|-q(!W#79PSgmGqXrhhLeTYXoF%CCsck*GcR>!-8+Ai(s18MrQV)=K2^8!~hnE z23m$1$PL(?^=F=;pcfrMUHB``z&@-Ty|5P5!4EJB&mmbfVGOGW_C&RNsI|1hxe-ID z??+A9cc?Ys&)c=g)6i2-viQ;5OhGMH&G|QDtH{va`%gS6_*G@dngl z+lwT}oW68n+Co3G%A&G>_u6K>hX9~kMBZ_=w8$pZ#8Q1 z9zh0Ynsm3BDMYRCdeO>uYB9F}7wK7z6M66%3FP}}Q! z)GCf3|4pz6HGpE&gJ-+?YSat2V=HWM{*D@0v{z(%)(v&z7}SfZQK?*m>d;51IsOUN zp=Lep`4rUo0jNyOMIWw0-Twx*zy@r*AC>WDz3d-1FPj3{GesDTm8c%ygSv4ICg3Jl zug7bsAIBi<%>?VaF$8_M5S59?Q61Qc@puYZMkbiOs$Eu$Jl``jDCoi})Qi_3-x~8S zCgCZ}$8h!>>&cX$=K4--iEp4D{0Zts%~=>e%s^$T)HxA#{X(SgW;wRd{;#Ltqv1FP zV)K4%EsQ{ABo&pqj;N89Am1W07g?|7S=6FDjQX&g#OC-XGH4T6VjYNDj7w0@dmZC> zzu7}!w4X6Q;@kfGHRSVkEA34N*%x}K7t~+|ZbnVX*G|8|_6z94MA|1~I98*+8!Is# zcVRM~#$b%#^Xh31eH4_cEL6|>q2_+9vm7<@yD$LPVG6#A9q@BZ!oZ<+cVwcbWE4i@ zgQ(r~Jl=qBVKYo0M*jJjnVezv#nVvRqzY4Um8)+-l43r`EKDA5GcgpEiCdg2QTJ^` zAAW&t@pn{a(#q_1FGh8EQW^QzK3+tF7S(#xi;m+s>@>o*KZGm~vkM1c=vBtth@-I= z?m$kNz>zk^V^Nv(Tzv(GQ-9snKSXu>gf0l75PUV;$dA#ZMp!z^_H;gKS1d!#-OK31 zy~xHeKcPm}g*~YUjzV2`GsfU*)cqTfkDl3sJu&E7+wKjbpt+omy5W9Te-0ZL4eAA_ zu?L2Yw)LT?^W~`fS7I7&cIO*V9Wi6<`4ntQwFKFzW+<|jJhPlaOBx=kAm6rh{|nV5!K zu>g-^2TY!AUr>hasn11q_-WVvA?8y5!PQ&OvG*4uyT>yNC}^%~FafutQu_@mMFGr@ z7E2)p;2hM87obx40xBbWQ6q0U&t@(a)scQk(o8v~;vrOq{VMc6=0A->CJlWtOBbS2 z{aE7#>}yo&>M;lX=i7QGR7S?5?q7tF_zG(6ypNi~!x)9;X8Q?_#t^C_(8v4D1PWnz z7izASVJOxi-yE|IgE09PJL2}JRez1ESD-rZ1p06n7U2)53}h~_f6hms=6ovZ{w3&j zqEJIYDLIVY(EnE3)9zSE{Z@>{P1p-RL8Ut4Hv7UH)Ch+=r(q2BDlEm7sLUL}bo?0u zF|LyQhf_$cw2Q4XwxnK+xi}8<@j>j1J1_!+7TO0UVsq+wH~@=qATCCYv>vsl&ZA!3 zx{7(n2Z?jUM9sgBHneJyln`8FSbOGcLdQ~~AJL3R3NUp)XdVD(<)ke{$s~a2%lp)>PqM zpp|_MF_pNIc#P2Tjl~?n=3M(O{zv;?$8*Hrh;NC@IXM{LB6KVwnh+loKKGKA&epVD zPUwGL4nw}$CWf*WR{^1?pCTG3UAm*;V&UTaYx_lU<4|`ZgYs6&uMmEebxb2JBW@(( z2pvBVL7aaQwPkk^{fSM47G5{vI1$Y?eNe~qgck8U;&(fKyU(dNZX5Y9F`XDo3?L2@ z=ZQ|l)r5`-#1%aFuZ=akgUTpp(iT9hqWqLQ_qMYaMsRKrwjjLi{5(qhL8Nfv8T2Rk z=9rDd?ZlMe4MY;1e+iek_IvRv;!anek4?Bn$0!TGbYg>a0iO-0$u5FC-ek>v)dF~6E|1<7HJoY7gM4apCddgdf z-Nb%k1ksAPc$}p0rK^009f*Gt9f>`}wL~VN<22E|v1I>}9;NI};wPM!wIvEEx5iZb z3-K@Fd!nAGAQCzEZ#+o6PW(vdm`S7)4-x+$bd(c;T(6^+NO$E!lwT!w5IM^K3JN-| zCuXa_5pHSx^O@>yOrvci@hLHj_=?c6j%da;Jymf>3wMvIzqz(4&X=9yfF|M-*YGAL zaAPUXB^D6R68`RCv3MKxT;dDjL&DUZh&dGGm%prGWJ2As)as<@SyL+JRm?3+o1NvG zH-92Eib>7uhWD%W3(L>W;lDgzZcagNe!HC9y3o>(L;UjV8b;op_Wy3|QR(^p7qi9r AUjP6A delta 6497 zcmZA54}8zn9>?*sVaE1jn_**rely!|{`;|%G4pRI4Iwq#7|q{^M7GecvQ%nZ+!T?d zKPrjF6h)Dwe-bJbUANqn?j?Uxr2BgR&T+3t-^V_`=Q-#1{eI8+e$F}H?XmZM4|)5y zkie0c>W>?a<{`!;;DlPnR8W2^MyoaB?JOVH)>*62S8a;`@_JHY3fi_cswXxJW8)K=@LycvXv&y*}o6-I?hG7`JB%=pA zU@O%3C8z<;!wlSj4e=X{H34JJQ5Z-=ZLa3wO%ZB@V=x*QBM)y@qZi*rJ?Sy*fxlr( z%=X$R9gjNy5$Ch6eG8I2a|pS_oX5BTg$611N!y?L=D4u>@{ zrYkPMT>KnIV_d4uKmhwtuR?YBCn}@KO>M?AF`(4mM1gyn64Z%vP;>hN)(tVH5|z3g z5*uN7x~-?8uFJt}9FEM2S?=6|y6zy>$8)IbBYfn)BZYLI30jQ$Vkz=4W+Upt zuTUMFMGYjD4`nDDTVWxp!@20i)u=VK8}(qvQRj!VAfyk~-m6)_E}pS8bfRGrhT$t% z4_`+QzVF=c+K(akH0LoBlbaiJ4Gu<4*<4rOj9QGRus!H*6F6!c`vT*F(a zksn2V%q2d!)?~24m_9QI>C;R{t?HH77I&c*?FHn=_(+S+AB<$%l%hIZfx6#zR3-vH zQ_zhfxtgMBhe}N`dhr45iK|c<`2jV+OQ>xW&*N&Ke$?VBLQUZmX9cRG)u@5*LY;pa zP$3-DT8j2iH# zSO<@zC%FG9@MEemK`eCB0l9}MKwVIQT7=J|w&%O3j2v<%GYVy_1X-VE4)SDXEo!bm zz`l4K^`PxoD0-0Vu`}z>JU~GmZ9|>-C632bR*pKHhZ^9ESRW4|*)ylG3wn7xwGT(F zrD@K`u`czEs43ftS_8*Wi@XM-2xugcd}wZRQHx^|YR;D8P<#`0gIM;eGT}$9{ybN| z8`beb)M9%bNsc*)-O~{F z8u<&T?e#ut6`#Qxn9Mxr0n$)69^mR_s1BdQM);2NFzUh12PkM{@j3RwPNgbG#2VpcC%ch+Zs3UB3il@Er_ZkIMK7jK+Ycn|<>oVYD##Tf1X zDhgg2c4IjHh*5Y3m67VbZ0e#>Pv%3`rx}P^j1{OC%5toYYmkRDo1DL+7GZX8d!I3= zfzHCAfe^MCg{`6dTI|D$=8Fxy1k_RM8*K;q=%YRkH5Ch->yV_FJ(!I3^6Z?pM=j=D zOvh4ef-5i*x1*+R4+fN?!xXeQ&Y|W!g7>aWLJh=^VOWT%cpGY)J%lN^30vYp)KrA^ zw{N-})Giu={Hx;z1MK!_iA|~ZcJ&E(J@toB9qdJA;xZ}|={H$( zQP-8A7au{T{AE;T_G2QRMGZJ+pxwTi1DSsUQW)^nE&940-YAOQ_^X&zlPz{4IxM)xv ztiUd~&DAfv?~{hw^K&tc@5iCepN|^IYwr8cu_pEN$j&sEQERD3L2x^=|0zV#Fw%LK z{lb)ETiTalCVqnLF|^Ry0kw$6qrPA1>R+Ijx`%lT?jqD$$VUxuHnzf5*g^Y$FNN!9 z2p?u&Jl#-JF&VYkmZLh_iPz#K^ke35o2k*x3iQ&x0rflJ0Jgx(sEjl(wjJl8>N7Ac zK;dZ$ylc#RSPyHDu&X%<8&mIr8qjdmqInFHaVf^*W=zEWs3-dcJE3=^trw!so9lcI zW2tY&KyM2BC}?gP-)0v{F{V&oiAwDb)at*0nt~oB_79cmsLbuaY`lbVm^I2y=^$qb z=FmP3b^S)veNT)c|49^*M%$ERV*>SJ%)?p8mNg%t7Zb9qignH7m z*c0oFwXfnq*pT{STAGbs+#I05`ZI?y6+2F_H!4EiD1eP{H3p{webg`D zjp&`oO>rXXL3UwN{0_B7YTaQMVKdZjx*2u-9A{uH1wH8(7=~e!>~Av<4x*lbX*e0P za51*Qy{HaCCfi+;f*SAuRC^h=!zHf%G3xr0sNLhcGdNWNlTSfw;4V~Z7ot+M5w%!O zq6X$=!ql-3mC9RC8MzKU&1tV}T>WRNWt@@hNZ9Ns6Q_n*$mSPSrL1o||#$afvo%8yr>$9;v=A-^c zU@9nd#Pz6={)F1k8D(}mjmB=&??a_}J9_ab>Iuy~)&>|ywI%k!TvTS}VLGnDaQqOX zao;`UzYc}(X=sRNu^mRvu=_U$>rpR9-RMcIjj!Sj_y+dHYBTK<_D4J)No&$3)^Gq7(5xaph3$ zkE_RW-5$yxUG=?}wr8lng;)5JyMd!jB;PNZ^^1mauD zI=&=M5yy!c1Z&s4LA*dz5W9&ILObaU(Sq1Wgm91G{-+##@$dpPf2hK-lsHB-CLSQ# z6TDG_i|;o~<6<5Ch|R>4#A5^-!u}r!*?s>z3SDU&K2C&ly>`eY)?e_CiYWYVHoPDK`bEp68hI(;5G_F zh#LtX;U!)s))CFzMgO9_iqKZofOY(nm_nRag`@VEK890Cbq(p5;mU8}99K@JqmGpIQflSeR$?vU z9Pxx6Cy9do`(2x;L+A*%n5{UMs7`w#G03&A#aNYT8|m75;x|Mnv5;s@=y;RR+wSV) z-&8&${;qVU5Z4je#MMVlZhqx>gu-6pRpP-bjn4UaAMrKeC*rxTC3l{R+=hXiE&e(%@W-BmUAh^Dp&Z zsmC!G`yzK=eu$woeu~{(ThmHU{MQj7nTz~Gk}AW~%2O)e?zJc+DzlZ}&yUyNJ}a|r ei?;sC;y#~wLNY7;L+(vmv~Fg4WyH*mA^!yeo#{dV diff --git a/po/nl.po b/po/nl.po index d6e0fd8..7f9f3c3 100644 --- a/po/nl.po +++ b/po/nl.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: tinc 1.0-svn\n" "Report-Msgid-Bugs-To: tinc-devel@tinc-vpn.org\n" -"POT-Creation-Date: 2004-11-11 13:40+0100\n" +"POT-Creation-Date: 2005-05-04 20:25+0200\n" "PO-Revision-Date: 2004-03-15 19:28+0100\n" "Last-Translator: Guus Sliepen \n" "Language-Team: Dutch \n" @@ -268,7 +268,7 @@ msgstr "Fout tijdens versleutelen pakket naar %s (%s): %s" msgid "Setting outgoing packet priority to %d" msgstr "Instellen prioriteit uitgaand pakket op %d" -#: src/net_packet.c:392 src/net_setup.c:477 src/net_socket.c:73 +#: src/net_packet.c:392 src/net_setup.c:481 src/net_socket.c:73 #: src/net_socket.c:124 src/net_socket.c:153 src/tincd.c:434 src/tincd.c:468 #: src/process.c:198 src/process.c:231 src/process.c:428 src/bsd/device.c:93 #: src/bsd/device.c:112 src/cygwin/device.c:140 src/cygwin/device.c:171 @@ -306,17 +306,17 @@ msgstr "Verzending pakket naar %s via %s (%s)" msgid "Broadcasting packet of %d bytes from %s (%s)" msgstr "Verspreiding pakket van %d bytes van %s (%s)" -#: src/net_packet.c:474 +#: src/net_packet.c:480 #, c-format msgid "Flushing queue for %s (%s)" msgstr "Legen van wachtrij voor %s (%s)" -#: src/net_packet.c:496 +#: src/net_packet.c:502 #, c-format msgid "Receiving packet failed: %s" msgstr "Ontvangst pakket mislukt: %s" -#: src/net_packet.c:506 +#: src/net_packet.c:512 #, c-format msgid "Received UDP packet from unknown source %s" msgstr "Ontvangst UDP pakket van onbekende oorsprong %s" @@ -397,7 +397,7 @@ msgstr "Ongeldige adresfamilie!" msgid "Unrecognized cipher type!" msgstr "Onbekend cipher type!" -#: src/net_setup.c:383 src/protocol_auth.c:189 +#: src/net_setup.c:383 src/protocol_auth.c:192 #, c-format msgid "Error during initialisation of cipher for %s (%s): %s" msgstr "Fout tijdens initialisatie van cipher voor %s (%s): %s" @@ -418,16 +418,16 @@ msgstr "Onzinnige MAC lengte!" msgid "Bogus compression level!" msgstr "Onzinnig compressieniveau!" -#: src/net_setup.c:499 +#: src/net_setup.c:503 #, c-format msgid "Listening on %s" msgstr "Luisterend op %s" -#: src/net_setup.c:510 +#: src/net_setup.c:514 msgid "Ready" msgstr "Gereed" -#: src/net_setup.c:512 +#: src/net_setup.c:516 msgid "Unable to create any listening socket!" msgstr "Kon geen enkele luistersocket aanmaken!" @@ -470,7 +470,7 @@ msgstr "Poging tot herstellen van uitgaande verbinding over %d seconden" msgid "Connected to %s (%s)" msgstr "Verbonden met %s (%s)" -#: src/net_socket.c:249 src/net_socket.c:333 src/net_socket.c:444 +#: src/net_socket.c:249 src/net_socket.c:333 src/net_socket.c:445 #, c-format msgid "fcntl for %s: %s" msgstr "fcntl voor %s: %s" @@ -510,7 +510,7 @@ msgstr "Geen adres gespecificeerd voor %s" msgid "Accepting a new connection failed: %s" msgstr "Aanname van nieuwe verbinding is mislukt: %s" -#: src/net_socket.c:437 +#: src/net_socket.c:438 #, c-format msgid "Connection from %s" msgstr "Verbinding van %s" @@ -615,19 +615,19 @@ msgstr "Verzoek reeds gezien" msgid "Aging past requests: deleted %d, left %d" msgstr "Veroudering vorige verzoeken: %d gewist, %d overgebleven" -#: src/protocol_auth.c:58 src/protocol_auth.c:209 src/protocol_auth.c:338 -#: src/protocol_auth.c:405 src/protocol_auth.c:531 src/protocol_edge.c:73 +#: src/protocol_auth.c:58 src/protocol_auth.c:212 src/protocol_auth.c:341 +#: src/protocol_auth.c:408 src/protocol_auth.c:534 src/protocol_edge.c:73 #: src/protocol_edge.c:188 src/protocol_key.c:62 src/protocol_key.c:105 #: src/protocol_key.c:172 src/protocol_misc.c:54 src/protocol_misc.c:83 -#: src/protocol_misc.c:171 src/protocol_subnet.c:58 src/protocol_subnet.c:167 +#: src/protocol_misc.c:171 src/protocol_subnet.c:58 src/protocol_subnet.c:170 #, c-format msgid "Got bad %s from %s (%s)" msgstr "Kreeg verkeerde %s van %s (%s)" #: src/protocol_auth.c:66 src/protocol_edge.c:81 src/protocol_edge.c:87 #: src/protocol_edge.c:196 src/protocol_edge.c:202 src/protocol_subnet.c:66 -#: src/protocol_subnet.c:74 src/protocol_subnet.c:175 -#: src/protocol_subnet.c:196 +#: src/protocol_subnet.c:74 src/protocol_subnet.c:178 +#: src/protocol_subnet.c:199 #, c-format msgid "Got bad %s from %s (%s): %s" msgstr "Kreeg verkeerde %s van %s (%s): %s" @@ -637,92 +637,92 @@ msgstr "Kreeg verkeerde %s van %s (%s): %s" msgid "Peer %s is %s instead of %s" msgstr "Ander %s is %s in plaats van %s" -#: src/protocol_auth.c:85 +#: src/protocol_auth.c:88 #, c-format msgid "Peer %s (%s) uses incompatible version %d" msgstr "Ander %s (%s) gebruikt incompatibele versie %d" -#: src/protocol_auth.c:101 +#: src/protocol_auth.c:104 #, c-format msgid "Peer %s had unknown identity (%s)" msgstr "Ander %s heeft onbekende identiteit (%s)" -#: src/protocol_auth.c:153 +#: src/protocol_auth.c:156 #, c-format msgid "Generated random meta key (unencrypted): %s" msgstr "Willekeurige meta sleutel aangemaakt (niet versleuteld): %s" -#: src/protocol_auth.c:165 src/protocol_auth.c:238 +#: src/protocol_auth.c:168 src/protocol_auth.c:241 #, c-format msgid "Error during encryption of meta key for %s (%s)" msgstr "Fout tijdens versleutelen van meta key voor %s (%s)" -#: src/protocol_auth.c:219 src/protocol_auth.c:348 src/protocol_auth.c:413 -#: src/protocol_auth.c:435 +#: src/protocol_auth.c:222 src/protocol_auth.c:351 src/protocol_auth.c:416 +#: src/protocol_auth.c:438 #, c-format msgid "Possible intruder %s (%s): %s" msgstr "Mogelijke indringer %s (%s): %s" -#: src/protocol_auth.c:246 +#: src/protocol_auth.c:249 #, c-format msgid "Received random meta key (unencrypted): %s" msgstr "Ontving willekeurige meta key (niet versleuteld): %s" -#: src/protocol_auth.c:257 +#: src/protocol_auth.c:260 #, c-format msgid "%s (%s) uses unknown cipher!" msgstr "%s (%s) gebruikt onbekende cipher!" -#: src/protocol_auth.c:265 +#: src/protocol_auth.c:268 #, c-format msgid "Error during initialisation of cipher from %s (%s): %s" msgstr "Fout tijdens initalisatie van cipher van %s (%s): %s" -#: src/protocol_auth.c:281 src/protocol_key.c:242 +#: src/protocol_auth.c:284 src/protocol_key.c:242 #, c-format msgid "Node %s (%s) uses unknown digest!" msgstr "Node %s (%s) gebruikt onbekende digest!" -#: src/protocol_auth.c:286 +#: src/protocol_auth.c:289 #, c-format msgid "%s (%s) uses bogus MAC length!" msgstr "%s (%s) gebruikt onzinnige MAC lengte!" -#: src/protocol_auth.c:381 +#: src/protocol_auth.c:384 #, c-format msgid "Error during calculation of response for %s (%s): %s" msgstr "Fout tijdens berekenen van antwoord voor %s (%s): %s" -#: src/protocol_auth.c:414 +#: src/protocol_auth.c:417 msgid "wrong challenge reply length" msgstr "verkeerde lengte antwoord op uitdaging" -#: src/protocol_auth.c:427 +#: src/protocol_auth.c:430 #, c-format msgid "Error during calculation of response from %s (%s): %s" msgstr "Fout tijdens narekenen van antwoord van %s (%s): %s" -#: src/protocol_auth.c:436 +#: src/protocol_auth.c:439 msgid "wrong challenge reply" msgstr "verkeerd antwoord op uitdaging" -#: src/protocol_auth.c:441 +#: src/protocol_auth.c:444 #, c-format msgid "Expected challenge reply: %s" msgstr "Verwachtte antwoord op uitdaging: %s" -#: src/protocol_auth.c:547 +#: src/protocol_auth.c:550 #, c-format msgid "Established a second connection with %s (%s), closing old connection" msgstr "Tweede verbinding met %s (%s) gemaakt, oude verbinding wordt gesloten" -#: src/protocol_auth.c:570 +#: src/protocol_auth.c:573 #, c-format msgid "Connection with %s (%s) activated" msgstr "Verbinding met %s (%s) geactiveerd" #: src/protocol_edge.c:82 src/protocol_edge.c:88 src/protocol_edge.c:197 -#: src/protocol_edge.c:203 src/protocol_subnet.c:67 src/protocol_subnet.c:176 +#: src/protocol_edge.c:203 src/protocol_subnet.c:67 src/protocol_subnet.c:179 msgid "invalid name" msgstr "ongeldige naam" @@ -747,7 +747,7 @@ msgstr "Kreeg %s van %s (%s) voor onszelf welke niet bestaat" msgid "Got %s from %s (%s) which does not appear in the edge tree" msgstr "Kreeg %s van %s (%s) welke niet voorkomt in de edge tree" -#: src/protocol_edge.c:242 src/protocol_subnet.c:103 src/protocol_subnet.c:219 +#: src/protocol_edge.c:242 src/protocol_subnet.c:103 src/protocol_subnet.c:222 #, c-format msgid "Got %s from %s (%s) for ourself" msgstr "Kreeg %s van %s (%s) voor onszelf" @@ -807,41 +807,46 @@ msgstr "Statusmelding van %s (%s): %d: %s" msgid "Error message from %s (%s): %d: %s" msgstr "Foutmelding van %s (%s): %d: %s" -#: src/protocol_subnet.c:75 src/protocol_subnet.c:197 +#: src/protocol_subnet.c:75 src/protocol_subnet.c:200 msgid "invalid subnet string" msgstr "ongeldige subnet string" -#: src/protocol_subnet.c:185 +#: src/protocol_subnet.c:188 #, c-format msgid "Got %s from %s (%s) for %s which is not in our node tree" msgstr "Kreeg %s van %s (%s) voor %s welke niet voorkomt in de node boom" -#: src/protocol_subnet.c:211 +#: src/protocol_subnet.c:214 #, c-format msgid "Got %s from %s (%s) for %s which does not appear in his subnet tree" msgstr "Kreeg %s van %s (%s) voor %s welke niet voorkomt in zijn subnet boom" -#: src/subnet.c:103 +#: src/subnet.c:105 #, c-format msgid "subnet_compare() was called with unknown subnet type %d, exitting!" msgstr "" "subnet_compare() werd aangeroepen met onbekend subnet type %d, beëindigen!" -#: src/subnet.c:281 +#: src/subnet.c:251 +#, c-format +msgid "net2str() was called with netstr=%p, subnet=%p!\n" +msgstr "net2str() werd aangeroepen met netstr=%p, subnet=%p!\n" + +#: src/subnet.c:288 #, c-format msgid "net2str() was called with unknown subnet type %d, exiting!" msgstr "net2str() werd aangeroepen met onbekend subnet type %d, beëindigen!" -#: src/subnet.c:396 +#: src/subnet.c:449 msgid "Subnet list:" msgstr "Subnet lijst:" -#: src/subnet.c:402 +#: src/subnet.c:455 #, c-format msgid " %s owner %s" msgstr " %s eigenaar %s" -#: src/subnet.c:405 +#: src/subnet.c:458 msgid "End of subnet list." msgstr "Einde van subnet lijst." @@ -958,14 +963,14 @@ msgstr "%s versie %s (gemaakt %s %s, protocol %d)\n" #: src/tincd.c:410 #, c-format msgid "" -"Copyright (C) 1998-2004 Ivo Timmermans, Guus Sliepen and others.\n" +"Copyright (C) 1998-2005 Ivo Timmermans, Guus Sliepen and others.\n" "See the AUTHORS file for a complete list.\n" "\n" "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" "and you are welcome to redistribute it under certain conditions;\n" "see the file COPYING for details.\n" msgstr "" -"Copyright (C) 1998-2004 Ivo Timmermans, Guus Sliepen en anderen.\n" +"Copyright (C) 1998-2005 Ivo Timmermans, Guus Sliepen en anderen.\n" "Zie het bestand AUTHORS voor een volledige lijst.\n" "\n" "tinc wordt gedistribueerd ZONDER ENIGE GARANTIE. Dit is vrije " @@ -1273,11 +1278,11 @@ msgstr "Kan pakket niet routeren: ARP verzoek voor onbekend adres %d.%d.%d.%d" msgid "Cannot route packet from %s (%s): unknown type %hx" msgstr "Kan pakket van %s (%s) niet routeren: onbekend type %hx" -#: src/node.c:183 +#: src/node.c:181 msgid "Nodes:" msgstr "Nodes:" -#: src/node.c:187 +#: src/node.c:185 #, c-format msgid "" " %s at %s cipher %d digest %d maclength %d compression %d options %lx status " @@ -1286,7 +1291,7 @@ msgstr "" " %s op %s cipher %d digest %d maclengte %d compressie %d opties %lx status %" "04x nexthop %s via %s pmtu %d (min %d max %d)" -#: src/node.c:194 +#: src/node.c:192 msgid "End of nodes." msgstr "Einde van nodes." @@ -1303,12 +1308,12 @@ msgstr " %s naar %s op %s opties %lx gewicht %d" msgid "End of edges." msgstr "Einde van edges." -#: src/graph.c:263 +#: src/graph.c:261 #, c-format msgid "Node %s (%s) became reachable" msgstr "Node %s (%s) werd bereikbaar" -#: src/graph.c:266 +#: src/graph.c:265 #, c-format msgid "Node %s (%s) became unreachable" msgstr "Node %s (%s) is niet meer bereikbaar" diff --git a/po/tinc.pot b/po/tinc.pot index 1aad6a1..4f83aeb 100644 --- a/po/tinc.pot +++ b/po/tinc.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: tinc-devel@tinc-vpn.org\n" -"POT-Creation-Date: 2004-11-11 13:40+0100\n" +"POT-Creation-Date: 2005-05-04 20:25+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -260,7 +260,7 @@ msgstr "" msgid "Setting outgoing packet priority to %d" msgstr "" -#: src/net_packet.c:392 src/net_setup.c:477 src/net_socket.c:73 +#: src/net_packet.c:392 src/net_setup.c:481 src/net_socket.c:73 #: src/net_socket.c:124 src/net_socket.c:153 src/tincd.c:434 src/tincd.c:468 #: src/process.c:198 src/process.c:231 src/process.c:428 src/bsd/device.c:93 #: src/bsd/device.c:112 src/cygwin/device.c:140 src/cygwin/device.c:171 @@ -298,17 +298,17 @@ msgstr "" msgid "Broadcasting packet of %d bytes from %s (%s)" msgstr "" -#: src/net_packet.c:474 +#: src/net_packet.c:480 #, c-format msgid "Flushing queue for %s (%s)" msgstr "" -#: src/net_packet.c:496 +#: src/net_packet.c:502 #, c-format msgid "Receiving packet failed: %s" msgstr "" -#: src/net_packet.c:506 +#: src/net_packet.c:512 #, c-format msgid "Received UDP packet from unknown source %s" msgstr "" @@ -388,7 +388,7 @@ msgstr "" msgid "Unrecognized cipher type!" msgstr "" -#: src/net_setup.c:383 src/protocol_auth.c:189 +#: src/net_setup.c:383 src/protocol_auth.c:192 #, c-format msgid "Error during initialisation of cipher for %s (%s): %s" msgstr "" @@ -409,16 +409,16 @@ msgstr "" msgid "Bogus compression level!" msgstr "" -#: src/net_setup.c:499 +#: src/net_setup.c:503 #, c-format msgid "Listening on %s" msgstr "" -#: src/net_setup.c:510 +#: src/net_setup.c:514 msgid "Ready" msgstr "" -#: src/net_setup.c:512 +#: src/net_setup.c:516 msgid "Unable to create any listening socket!" msgstr "" @@ -461,7 +461,7 @@ msgstr "" msgid "Connected to %s (%s)" msgstr "" -#: src/net_socket.c:249 src/net_socket.c:333 src/net_socket.c:444 +#: src/net_socket.c:249 src/net_socket.c:333 src/net_socket.c:445 #, c-format msgid "fcntl for %s: %s" msgstr "" @@ -501,7 +501,7 @@ msgstr "" msgid "Accepting a new connection failed: %s" msgstr "" -#: src/net_socket.c:437 +#: src/net_socket.c:438 #, c-format msgid "Connection from %s" msgstr "" @@ -605,19 +605,19 @@ msgstr "" msgid "Aging past requests: deleted %d, left %d" msgstr "" -#: src/protocol_auth.c:58 src/protocol_auth.c:209 src/protocol_auth.c:338 -#: src/protocol_auth.c:405 src/protocol_auth.c:531 src/protocol_edge.c:73 +#: src/protocol_auth.c:58 src/protocol_auth.c:212 src/protocol_auth.c:341 +#: src/protocol_auth.c:408 src/protocol_auth.c:534 src/protocol_edge.c:73 #: src/protocol_edge.c:188 src/protocol_key.c:62 src/protocol_key.c:105 #: src/protocol_key.c:172 src/protocol_misc.c:54 src/protocol_misc.c:83 -#: src/protocol_misc.c:171 src/protocol_subnet.c:58 src/protocol_subnet.c:167 +#: src/protocol_misc.c:171 src/protocol_subnet.c:58 src/protocol_subnet.c:170 #, c-format msgid "Got bad %s from %s (%s)" msgstr "" #: src/protocol_auth.c:66 src/protocol_edge.c:81 src/protocol_edge.c:87 #: src/protocol_edge.c:196 src/protocol_edge.c:202 src/protocol_subnet.c:66 -#: src/protocol_subnet.c:74 src/protocol_subnet.c:175 -#: src/protocol_subnet.c:196 +#: src/protocol_subnet.c:74 src/protocol_subnet.c:178 +#: src/protocol_subnet.c:199 #, c-format msgid "Got bad %s from %s (%s): %s" msgstr "" @@ -627,92 +627,92 @@ msgstr "" msgid "Peer %s is %s instead of %s" msgstr "" -#: src/protocol_auth.c:85 +#: src/protocol_auth.c:88 #, c-format msgid "Peer %s (%s) uses incompatible version %d" msgstr "" -#: src/protocol_auth.c:101 +#: src/protocol_auth.c:104 #, c-format msgid "Peer %s had unknown identity (%s)" msgstr "" -#: src/protocol_auth.c:153 +#: src/protocol_auth.c:156 #, c-format msgid "Generated random meta key (unencrypted): %s" msgstr "" -#: src/protocol_auth.c:165 src/protocol_auth.c:238 +#: src/protocol_auth.c:168 src/protocol_auth.c:241 #, c-format msgid "Error during encryption of meta key for %s (%s)" msgstr "" -#: src/protocol_auth.c:219 src/protocol_auth.c:348 src/protocol_auth.c:413 -#: src/protocol_auth.c:435 +#: src/protocol_auth.c:222 src/protocol_auth.c:351 src/protocol_auth.c:416 +#: src/protocol_auth.c:438 #, c-format msgid "Possible intruder %s (%s): %s" msgstr "" -#: src/protocol_auth.c:246 +#: src/protocol_auth.c:249 #, c-format msgid "Received random meta key (unencrypted): %s" msgstr "" -#: src/protocol_auth.c:257 +#: src/protocol_auth.c:260 #, c-format msgid "%s (%s) uses unknown cipher!" msgstr "" -#: src/protocol_auth.c:265 +#: src/protocol_auth.c:268 #, c-format msgid "Error during initialisation of cipher from %s (%s): %s" msgstr "" -#: src/protocol_auth.c:281 src/protocol_key.c:242 +#: src/protocol_auth.c:284 src/protocol_key.c:242 #, c-format msgid "Node %s (%s) uses unknown digest!" msgstr "" -#: src/protocol_auth.c:286 +#: src/protocol_auth.c:289 #, c-format msgid "%s (%s) uses bogus MAC length!" msgstr "" -#: src/protocol_auth.c:381 +#: src/protocol_auth.c:384 #, c-format msgid "Error during calculation of response for %s (%s): %s" msgstr "" -#: src/protocol_auth.c:414 +#: src/protocol_auth.c:417 msgid "wrong challenge reply length" msgstr "" -#: src/protocol_auth.c:427 +#: src/protocol_auth.c:430 #, c-format msgid "Error during calculation of response from %s (%s): %s" msgstr "" -#: src/protocol_auth.c:436 +#: src/protocol_auth.c:439 msgid "wrong challenge reply" msgstr "" -#: src/protocol_auth.c:441 +#: src/protocol_auth.c:444 #, c-format msgid "Expected challenge reply: %s" msgstr "" -#: src/protocol_auth.c:547 +#: src/protocol_auth.c:550 #, c-format msgid "Established a second connection with %s (%s), closing old connection" msgstr "" -#: src/protocol_auth.c:570 +#: src/protocol_auth.c:573 #, c-format msgid "Connection with %s (%s) activated" msgstr "" #: src/protocol_edge.c:82 src/protocol_edge.c:88 src/protocol_edge.c:197 -#: src/protocol_edge.c:203 src/protocol_subnet.c:67 src/protocol_subnet.c:176 +#: src/protocol_edge.c:203 src/protocol_subnet.c:67 src/protocol_subnet.c:179 msgid "invalid name" msgstr "" @@ -736,7 +736,7 @@ msgstr "" msgid "Got %s from %s (%s) which does not appear in the edge tree" msgstr "" -#: src/protocol_edge.c:242 src/protocol_subnet.c:103 src/protocol_subnet.c:219 +#: src/protocol_edge.c:242 src/protocol_subnet.c:103 src/protocol_subnet.c:222 #, c-format msgid "Got %s from %s (%s) for ourself" msgstr "" @@ -794,40 +794,45 @@ msgstr "" msgid "Error message from %s (%s): %d: %s" msgstr "" -#: src/protocol_subnet.c:75 src/protocol_subnet.c:197 +#: src/protocol_subnet.c:75 src/protocol_subnet.c:200 msgid "invalid subnet string" msgstr "" -#: src/protocol_subnet.c:185 +#: src/protocol_subnet.c:188 #, c-format msgid "Got %s from %s (%s) for %s which is not in our node tree" msgstr "" -#: src/protocol_subnet.c:211 +#: src/protocol_subnet.c:214 #, c-format msgid "Got %s from %s (%s) for %s which does not appear in his subnet tree" msgstr "" -#: src/subnet.c:103 +#: src/subnet.c:105 #, c-format msgid "subnet_compare() was called with unknown subnet type %d, exitting!" msgstr "" -#: src/subnet.c:281 +#: src/subnet.c:251 +#, c-format +msgid "net2str() was called with netstr=%p, subnet=%p!\n" +msgstr "" + +#: src/subnet.c:288 #, c-format msgid "net2str() was called with unknown subnet type %d, exiting!" msgstr "" -#: src/subnet.c:396 +#: src/subnet.c:449 msgid "Subnet list:" msgstr "" -#: src/subnet.c:402 +#: src/subnet.c:455 #, c-format msgid " %s owner %s" msgstr "" -#: src/subnet.c:405 +#: src/subnet.c:458 msgid "End of subnet list." msgstr "" @@ -920,7 +925,7 @@ msgstr "" #: src/tincd.c:410 #, c-format msgid "" -"Copyright (C) 1998-2004 Ivo Timmermans, Guus Sliepen and others.\n" +"Copyright (C) 1998-2005 Ivo Timmermans, Guus Sliepen and others.\n" "See the AUTHORS file for a complete list.\n" "\n" "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" @@ -1215,18 +1220,18 @@ msgstr "" msgid "Cannot route packet from %s (%s): unknown type %hx" msgstr "" -#: src/node.c:183 +#: src/node.c:181 msgid "Nodes:" msgstr "" -#: src/node.c:187 +#: src/node.c:185 #, c-format msgid "" " %s at %s cipher %d digest %d maclength %d compression %d options %lx status " "%04x nexthop %s via %s pmtu %d (min %d max %d)" msgstr "" -#: src/node.c:194 +#: src/node.c:192 msgid "End of nodes." msgstr "" @@ -1243,12 +1248,12 @@ msgstr "" msgid "End of edges." msgstr "" -#: src/graph.c:263 +#: src/graph.c:261 #, c-format msgid "Node %s (%s) became reachable" msgstr "" -#: src/graph.c:266 +#: src/graph.c:265 #, c-format msgid "Node %s (%s) became unreachable" msgstr "" diff --git a/src/Makefile.in b/src/Makefile.in index 4725086..4f4f44a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -39,6 +39,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +build_triplet = @build@ host_triplet = @host@ sbin_PROGRAMS = tincd$(EXEEXT) subdir = src @@ -76,21 +77,6 @@ tincd_OBJECTS = $(am_tincd_OBJECTS) $(nodist_tincd_OBJECTS) tincd_DEPENDENCIES = $(top_builddir)/lib/libvpn.a depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/conf.Po ./$(DEPDIR)/connection.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/device.Po ./$(DEPDIR)/edge.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/event.Po ./$(DEPDIR)/graph.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/logger.Po ./$(DEPDIR)/meta.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/net.Po ./$(DEPDIR)/net_packet.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/net_setup.Po ./$(DEPDIR)/net_socket.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/netutl.Po ./$(DEPDIR)/node.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/process.Po ./$(DEPDIR)/protocol.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/protocol_auth.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/protocol_edge.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/protocol_key.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/protocol_misc.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/protocol_subnet.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/route.Po ./$(DEPDIR)/subnet.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/tincd.Po COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) @@ -172,6 +158,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -310,16 +298,14 @@ distclean-compile: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: @@ -428,7 +414,7 @@ mostlyclean-generic: clean-generic: distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -483,7 +469,7 @@ ps-am: uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-sbinPROGRAMS ctags distclean distclean-compile \ + clean-sbinPROGRAMS ctags dist-hook distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ diff --git a/src/bsd/device.c b/src/bsd/device.c index 5e7a198..803ca5c 100644 --- a/src/bsd/device.c +++ b/src/bsd/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction BSD tun/tap device - Copyright (C) 2001-2004 Ivo Timmermans , - 2001-2004 Guus Sliepen + Copyright (C) 2001-2005 Ivo Timmermans , + 2001-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/conf.c b/src/conf.c index de005d3..00c3750 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1,8 +1,8 @@ /* conf.c -- configuration code Copyright (C) 1998 Robert van der Meulen - 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen 2000 Cris van Pelt This program is free software; you can redistribute it and/or modify @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.c 1374 2004-03-21 14:21:22Z guus $ + $Id: conf.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -99,7 +99,7 @@ void config_add(avl_tree_t *config_tree, config_t *cfg) avl_insert(config_tree, cfg); } -config_t *lookup_config(const avl_tree_t *config_tree, char *variable) +config_t *lookup_config(avl_tree_t *config_tree, char *variable) { config_t cfg, *found; @@ -120,7 +120,7 @@ config_t *lookup_config(const avl_tree_t *config_tree, char *variable) return found; } -config_t *lookup_config_next(const avl_tree_t *config_tree, const config_t *cfg) +config_t *lookup_config_next(avl_tree_t *config_tree, const config_t *cfg) { avl_node_t *node; config_t *found; diff --git a/src/conf.h b/src/conf.h index d6a2f2a..4a32089 100644 --- a/src/conf.h +++ b/src/conf.h @@ -1,7 +1,7 @@ /* conf.h -- header for conf.c - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.h 1374 2004-03-21 14:21:22Z guus $ + $Id: conf.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_CONF_H__ @@ -47,8 +47,8 @@ extern void exit_configuration(avl_tree_t **); extern config_t *new_config(void) __attribute__ ((__malloc__)); extern void free_config(config_t *); extern void config_add(avl_tree_t *, config_t *); -extern config_t *lookup_config(const avl_tree_t *, char *); -extern config_t *lookup_config_next(const avl_tree_t *, const config_t *); +extern config_t *lookup_config(avl_tree_t *, char *); +extern config_t *lookup_config_next(avl_tree_t *, const config_t *); extern bool get_config_bool(const config_t *, bool *); extern bool get_config_int(const config_t *, int *); extern bool get_config_string(const config_t *, char **); diff --git a/src/connection.c b/src/connection.c index 8161dfd..8262ab2 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1,7 +1,7 @@ /* connection.c -- connection list management - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.c 1374 2004-03-21 14:21:22Z guus $ + $Id: connection.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -44,7 +44,7 @@ void init_connections(void) { cp(); - connection_tree = avl_alloc_tree((avl_compare_t) connection_compare, NULL); + connection_tree = avl_alloc_tree((avl_compare_t) connection_compare, (avl_action_t) free_connection); broadcast = new_connection(); broadcast->name = xstrdup(_("everyone")); broadcast->hostname = xstrdup(_("BROADCAST")); diff --git a/src/connection.h b/src/connection.h index 3e28d67..002be59 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,7 +1,7 @@ /* connection.h -- header for connection.c - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.h 1374 2004-03-21 14:21:22Z guus $ + $Id: connection.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_CONNECTION_H__ diff --git a/src/cygwin/device.c b/src/cygwin/device.c index c184362..7ee40bb 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a Cygwin environment - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans , + 2002-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c 1400 2004-11-01 17:02:19Z guus $ + $Id: device.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/device.h b/src/device.h index 6ecbd92..4fadc73 100644 --- a/src/device.h +++ b/src/device.h @@ -1,7 +1,7 @@ /* net.h -- generic header for device.c - Copyright (C) 2001-2004 Ivo Timmermans - 2001-2004 Guus Sliepen + Copyright (C) 2001-2005 Ivo Timmermans + 2001-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.h 1374 2004-03-21 14:21:22Z guus $ + $Id: device.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_DEVICE_H__ diff --git a/src/edge.c b/src/edge.c index be4cd4b..e606188 100644 --- a/src/edge.c +++ b/src/edge.c @@ -1,7 +1,7 @@ /* edge.c -- edge tree management - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: edge.c 1374 2004-03-21 14:21:22Z guus $ + $Id: edge.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/edge.h b/src/edge.h index 0755376..dfafc4d 100644 --- a/src/edge.h +++ b/src/edge.h @@ -1,7 +1,7 @@ /* edge.h -- header for edge.c - Copyright (C) 2001-2004 Guus Sliepen , - 2001-2004 Ivo Timmermans + Copyright (C) 2001-2005 Guus Sliepen , + 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: edge.h 1374 2004-03-21 14:21:22Z guus $ + $Id: edge.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_EDGE_H__ diff --git a/src/event.c b/src/event.c index 8c54e22..4f5b929 100644 --- a/src/event.c +++ b/src/event.c @@ -1,7 +1,7 @@ /* event.c -- event queue - Copyright (C) 2002-2004 Guus Sliepen , - 2002-2004 Ivo Timmermans + Copyright (C) 2002-2005 Guus Sliepen , + 2002-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: event.c 1374 2004-03-21 14:21:22Z guus $ + $Id: event.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/event.h b/src/event.h index a09544a..02853ff 100644 --- a/src/event.h +++ b/src/event.h @@ -1,7 +1,7 @@ /* event.h -- header for event.c - Copyright (C) 2002-2004 Guus Sliepen , - 2002-2004 Ivo Timmermans + Copyright (C) 2002-2005 Guus Sliepen , + 2002-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: event.h 1374 2004-03-21 14:21:22Z guus $ + $Id: event.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_EVENT_H__ diff --git a/src/graph.c b/src/graph.c index d115eca..263f2c4 100644 --- a/src/graph.c +++ b/src/graph.c @@ -1,7 +1,7 @@ /* graph.c -- graph algorithms - Copyright (C) 2001-2004 Guus Sliepen , - 2001-2004 Ivo Timmermans + Copyright (C) 2001-2005 Guus Sliepen , + 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: graph.c 1374 2004-03-21 14:21:22Z guus $ + $Id: graph.c 1439 2005-05-04 18:09:30Z guus $ */ /* We need to generate two trees from the graph: @@ -54,6 +54,7 @@ #include "netutl.h" #include "node.h" #include "process.h" +#include "subnet.h" #include "utils.h" /* Implementation of Kruskal's algorithm. @@ -141,10 +142,11 @@ void mst_kruskal(void) void sssp_bfs(void) { - avl_node_t *node, *from, *next, *to; + avl_node_t *node, *next, *to; edge_t *e; node_t *n; - avl_tree_t *todo_tree; + list_t *todo_list; + list_node_t *from, *todonext; bool indirect; char *name; char *address, *port; @@ -153,7 +155,7 @@ void sssp_bfs(void) cp(); - todo_tree = avl_alloc_tree(NULL, NULL); + todo_list = list_alloc(NULL); /* Clear visited status on nodes */ @@ -169,86 +171,82 @@ void sssp_bfs(void) myself->status.indirect = false; myself->nexthop = myself; myself->via = myself; - node = avl_alloc_node(); - node->data = myself; - avl_insert_top(todo_tree, node); + list_insert_head(todo_list, myself); - /* Loop while todo_tree is filled */ + /* Loop while todo_list is filled */ - while(todo_tree->head) { - for(from = todo_tree->head; from; from = next) { /* "from" is the node from which we start */ - next = from->next; - n = from->data; + for(from = todo_list->head; from; from = todonext) { /* "from" is the node from which we start */ + n = from->data; - for(to = n->edge_tree->head; to; to = to->next) { /* "to" is the edge connected to "from" */ - e = to->data; + for(to = n->edge_tree->head; to; to = to->next) { /* "to" is the edge connected to "from" */ + e = to->data; - if(!e->reverse) - continue; + if(!e->reverse) + continue; - /* Situation: + /* Situation: - / - / - ----->(n)---e-->(e->to) - \ - \ + / + / + ----->(n)---e-->(e->to) + \ + \ - Where e is an edge, (n) and (e->to) are nodes. - n->address is set to the e->address of the edge left of n to n. - We are currently examining the edge e right of n from n: + Where e is an edge, (n) and (e->to) are nodes. + n->address is set to the e->address of the edge left of n to n. + We are currently examining the edge e right of n from n: - - If e->reverse->address != n->address, then e->to is probably - not reachable for the nodes left of n. We do as if the indirectdata - flag is set on edge e. - - If edge e provides for better reachability of e->to, update - e->to and (re)add it to the todo_tree to (re)examine the reachability - of nodes behind it. - */ + - If e->reverse->address != n->address, then e->to is probably + not reachable for the nodes left of n. We do as if the indirectdata + flag is set on edge e. + - If edge e provides for better reachability of e->to, update + e->to and (re)add it to the todo_list to (re)examine the reachability + of nodes behind it. + */ - indirect = n->status.indirect || e->options & OPTION_INDIRECT - || ((n != myself) && sockaddrcmp(&n->address, &e->reverse->address)); + indirect = n->status.indirect || e->options & OPTION_INDIRECT + || ((n != myself) && sockaddrcmp(&n->address, &e->reverse->address)); - if(e->to->status.visited - && (!e->to->status.indirect || indirect)) - continue; + if(e->to->status.visited + && (!e->to->status.indirect || indirect)) + continue; - e->to->status.visited = true; - e->to->status.indirect = indirect; - e->to->nexthop = (n->nexthop == myself) ? e->to : n->nexthop; - e->to->via = indirect ? n->via : e->to; - e->to->options = e->options; + e->to->status.visited = true; + e->to->status.indirect = indirect; + e->to->nexthop = (n->nexthop == myself) ? e->to : n->nexthop; + e->to->via = indirect ? n->via : e->to; + e->to->options = e->options; - if(sockaddrcmp(&e->to->address, &e->address)) { - node = avl_unlink(node_udp_tree, e->to); - sockaddrfree(&e->to->address); - sockaddrcpy(&e->to->address, &e->address); + if(sockaddrcmp(&e->to->address, &e->address)) { + node = avl_unlink(node_udp_tree, e->to); + sockaddrfree(&e->to->address); + sockaddrcpy(&e->to->address, &e->address); - if(e->to->hostname) - free(e->to->hostname); + if(e->to->hostname) + free(e->to->hostname); - e->to->hostname = sockaddr2hostname(&e->to->address); + e->to->hostname = sockaddr2hostname(&e->to->address); + + if(node) avl_insert_node(node_udp_tree, node); - if(e->to->options & OPTION_PMTU_DISCOVERY) { - e->to->mtuprobes = 0; - e->to->minmtu = 0; - e->to->maxmtu = MTU; - if(e->to->status.validkey) - send_mtu_probe(e->to); - } + if(e->to->options & OPTION_PMTU_DISCOVERY) { + e->to->mtuprobes = 0; + e->to->minmtu = 0; + e->to->maxmtu = MTU; + if(e->to->status.validkey) + send_mtu_probe(e->to); } - - node = avl_alloc_node(); - node->data = e->to; - avl_insert_before(todo_tree, from, node); } - avl_delete_node(todo_tree, from); + list_insert_tail(todo_list, e->to); } + + todonext = from->next; + list_delete_node(todo_list, from); } - avl_free_tree(todo_tree); + list_free(todo_list); /* Check reachability status. */ @@ -262,9 +260,11 @@ void sssp_bfs(void) if(n->status.reachable) { ifdebug(TRAFFIC) logger(LOG_DEBUG, _("Node %s (%s) became reachable"), n->name, n->hostname); + avl_insert(node_udp_tree, n); } else { ifdebug(TRAFFIC) logger(LOG_DEBUG, _("Node %s (%s) became unreachable"), n->name, n->hostname); + avl_delete(node_udp_tree, n); } n->status.validkey = false; @@ -292,8 +292,10 @@ void sssp_bfs(void) free(address); free(port); - for(i = 0; i < 7; i++) + for(i = 0; i < 6; i++) free(envp[i]); + + subnet_update(n, NULL, n->status.reachable); } } } diff --git a/src/graph.h b/src/graph.h index d968f17..822c469 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,7 +1,7 @@ /* graph.h -- header for graph.c - Copyright (C) 2001-2004 Guus Sliepen , - 2001-2004 Ivo Timmermans + Copyright (C) 2001-2005 Guus Sliepen , + 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: graph.h 1374 2004-03-21 14:21:22Z guus $ + $Id: graph.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_GRAPH_H__ diff --git a/src/linux/device.c b/src/linux/device.c index 63c9d7c..1286f37 100644 --- a/src/linux/device.c +++ b/src/linux/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Linux ethertap and tun/tap device - Copyright (C) 2001-2004 Ivo Timmermans , - 2001-2004 Guus Sliepen + Copyright (C) 2001-2005 Ivo Timmermans , + 2001-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c 1400 2004-11-01 17:02:19Z guus $ + $Id: device.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/logger.c b/src/logger.c index d2d3a28..037bb3f 100644 --- a/src/logger.c +++ b/src/logger.c @@ -1,7 +1,7 @@ /* logger.c -- logging code - Copyright (C) 2004 Guus Sliepen - 2004 Ivo Timmermans + Copyright (C) 2004-2005 Guus Sliepen + 2004-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: logger.c 1374 2004-03-21 14:21:22Z guus $ + $Id: logger.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/meta.c b/src/meta.c index f3283f3..afb7448 100644 --- a/src/meta.c +++ b/src/meta.c @@ -1,7 +1,7 @@ /* meta.c -- handle the meta communication - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: meta.c 1391 2004-09-20 20:56:14Z guus $ + $Id: meta.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/meta.h b/src/meta.h index b0132c0..e39ebaa 100644 --- a/src/meta.h +++ b/src/meta.h @@ -1,7 +1,7 @@ /* meta.h -- header for meta.c - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: meta.h 1374 2004-03-21 14:21:22Z guus $ + $Id: meta.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_META_H__ diff --git a/src/mingw/device.c b/src/mingw/device.c index 363455a..1b94c2c 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a MinGW environment - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans , + 2002-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c 1400 2004-11-01 17:02:19Z guus $ + $Id: device.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/net.c b/src/net.c index 6c27948..a9008b4 100644 --- a/src/net.c +++ b/src/net.c @@ -1,7 +1,7 @@ /* net.c -- most of the network code - Copyright (C) 1998-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c 1387 2004-06-21 14:37:52Z guus $ + $Id: net.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/net.h b/src/net.h index 2728f76..cd956d3 100644 --- a/src/net.h +++ b/src/net.h @@ -1,7 +1,7 @@ /* net.h -- header for net.c - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.h 1413 2004-11-10 21:56:31Z guus $ + $Id: net.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_NET_H__ diff --git a/src/net_packet.c b/src/net_packet.c index 550294c..09bbaba 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1,7 +1,7 @@ /* net_packet.c -- Handles in- and outgoing VPN packets - Copyright (C) 1998-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_packet.c 1407 2004-11-09 09:51:35Z guus $ + $Id: net_packet.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -457,6 +457,12 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) ifdebug(TRAFFIC) logger(LOG_INFO, _("Broadcasting packet of %d bytes from %s (%s)"), packet->len, from->name, from->hostname); + if(from != myself) { + if(overwrite_mac) + memcpy(packet->data, mymac.x, ETH_ALEN); + write_packet(packet); + } + for(node = connection_tree->head; node; node = node->next) { c = node->data; diff --git a/src/net_setup.c b/src/net_setup.c index adab035..aa92404 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -1,7 +1,7 @@ /* net_setup.c -- Setup. - Copyright (C) 1998-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_setup.c 1413 2004-11-10 21:56:31Z guus $ + $Id: net_setup.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -462,6 +462,10 @@ bool setup_myself(void) for(i = 0; i < 5; i++) free(envp[i]); + /* Run subnet-up scripts for our own subnets */ + + subnet_update(myself, NULL, true); + /* Open sockets */ get_config_string(lookup_config(config_tree, "BindToAddress"), &address); @@ -568,8 +572,10 @@ void close_network_connections(void) terminate_connection(c, false); } - if(myself && myself->connection) + if(myself && myself->connection) { + subnet_update(myself, NULL, false); terminate_connection(myself->connection, false); + } for(i = 0; i < listen_sockets; i++) { close(listen_socket[i].tcp); diff --git a/src/net_socket.c b/src/net_socket.c index 8dddd2b..fb8103b 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -1,7 +1,7 @@ /* net_socket.c -- Handle various kinds of sockets. - Copyright (C) 1998-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_socket.c 1413 2004-11-10 21:56:31Z guus $ + $Id: net_socket.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -424,6 +424,7 @@ bool handle_new_meta_connection(int sock) sockaddrunmap(&sa); c = new_connection(); + c->name = NULL; c->outcipher = myself->connection->outcipher; c->outdigest = myself->connection->outdigest; c->outmaclength = myself->connection->outmaclength; @@ -462,8 +463,7 @@ void try_outgoing_connections(void) cp(); - for(cfg = lookup_config(config_tree, "ConnectTo"); cfg; - cfg = lookup_config_next(config_tree, cfg)) { + for(cfg = lookup_config(config_tree, "ConnectTo"); cfg; cfg = lookup_config_next(config_tree, cfg)) { get_config_string(cfg, &name); if(!check_id(name)) { diff --git a/src/netutl.c b/src/netutl.c index 3f3570c..1e5490d 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -1,7 +1,7 @@ /* netutl.c -- some supporting network utility code - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: netutl.c 1374 2004-03-21 14:21:22Z guus $ + $Id: netutl.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/netutl.h b/src/netutl.h index 9e3ad50..deacbb6 100644 --- a/src/netutl.h +++ b/src/netutl.h @@ -1,7 +1,7 @@ /* netutl.h -- header file for netutl.c - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: netutl.h 1374 2004-03-21 14:21:22Z guus $ + $Id: netutl.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_NETUTL_H__ diff --git a/src/node.c b/src/node.c index e064ed7..6c02ec6 100644 --- a/src/node.c +++ b/src/node.c @@ -1,7 +1,7 @@ /* node.c -- node tree management - Copyright (C) 2001-2004 Guus Sliepen , - 2001-2004 Ivo Timmermans + Copyright (C) 2001-2005 Guus Sliepen , + 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: node.c 1374 2004-03-21 14:21:22Z guus $ + $Id: node.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -123,7 +123,6 @@ void node_add(node_t *n) cp(); avl_insert(node_tree, n); - avl_insert(node_udp_tree, n); } void node_del(node_t *n) @@ -147,7 +146,6 @@ void node_del(node_t *n) } avl_delete(node_tree, n); - avl_delete(node_udp_tree, n); } node_t *lookup_node(char *name) diff --git a/src/node.h b/src/node.h index 6715d31..8b548b3 100644 --- a/src/node.h +++ b/src/node.h @@ -1,7 +1,7 @@ /* node.h -- header for node.c - Copyright (C) 2001-2004 Guus Sliepen , - 2001-2004 Ivo Timmermans + Copyright (C) 2001-2005 Guus Sliepen , + 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: node.h 1374 2004-03-21 14:21:22Z guus $ + $Id: node.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_NODE_H__ diff --git a/src/process.c b/src/process.c index cac1dd5..eccbfe9 100644 --- a/src/process.c +++ b/src/process.c @@ -1,7 +1,7 @@ /* process.c -- process management functions - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: process.c 1397 2004-11-01 15:18:22Z guus $ + $Id: process.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -81,25 +81,25 @@ bool install_service(void) { } if(!strchr(program_name, '\\')) { - GetCurrentDirectory(sizeof(command) - 1, command + 1); - strncat(command, "\\", sizeof(command)); + GetCurrentDirectory(sizeof command - 1, command + 1); + strncat(command, "\\", sizeof command - strlen(command)); } - strncat(command, program_name, sizeof(command)); + strncat(command, program_name, sizeof command - strlen(command)); - strncat(command, "\"", sizeof(command)); + strncat(command, "\"", sizeof command - strlen(command)); for(argp = g_argv + 1; *argp; argp++) { space = strchr(*argp, ' '); - strncat(command, " ", sizeof(command)); + strncat(command, " ", sizeof command - strlen(command)); if(space) - strncat(command, "\"", sizeof(command)); + strncat(command, "\"", sizeof command - strlen(command)); - strncat(command, *argp, sizeof(command)); + strncat(command, *argp, sizeof command - strlen(command)); if(space) - strncat(command, "\"", sizeof(command)); + strncat(command, "\"", sizeof command - strlen(command)); } service = CreateService(manager, identname, identname, diff --git a/src/process.h b/src/process.h index 83f73fd..955d336 100644 --- a/src/process.h +++ b/src/process.h @@ -1,7 +1,7 @@ /* process.h -- header file for process.c - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: process.h 1374 2004-03-21 14:21:22Z guus $ + $Id: process.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_PROCESS_H__ diff --git a/src/protocol.c b/src/protocol.c index 8ccdd10..63ceb75 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -1,7 +1,7 @@ /* protocol.c -- handle the meta-protocol, basic functions - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/protocol.h b/src/protocol.h index fcc4a5a..7d2a540 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -1,7 +1,7 @@ /* protocol.h -- header for protocol.c - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol.h 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_PROTOCOL_H__ diff --git a/src/protocol_auth.c b/src/protocol_auth.c index a8398ad..ad244eb 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -1,7 +1,7 @@ /* protocol_auth.c -- handle the meta-protocol, authentication - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_auth.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol_auth.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -76,8 +76,11 @@ bool id_h(connection_t *c) c->name); return false; } - } else + } else { + if(c->name) + free(c->name); c->name = xstrdup(name); + } /* Check if version matches */ diff --git a/src/protocol_edge.c b/src/protocol_edge.c index e6f4731..766d81f 100644 --- a/src/protocol_edge.c +++ b/src/protocol_edge.c @@ -1,7 +1,7 @@ /* protocol_edge.c -- handle the meta-protocol, edges - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_edge.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol_edge.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/protocol_key.c b/src/protocol_key.c index dd8341a..ae72de6 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -1,7 +1,7 @@ /* protocol_key.c -- handle the meta-protocol, key exchange - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_key.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol_key.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/protocol_misc.c b/src/protocol_misc.c index 247c379..6c68690 100644 --- a/src/protocol_misc.c +++ b/src/protocol_misc.c @@ -1,7 +1,7 @@ /* protocol_misc.c -- handle the meta-protocol, miscellaneous functions - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_misc.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol_misc.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/protocol_subnet.c b/src/protocol_subnet.c index 2fe66db..a03bb0b 100644 --- a/src/protocol_subnet.c +++ b/src/protocol_subnet.c @@ -1,7 +1,7 @@ /* protocol_subnet.c -- handle the meta-protocol, subnets - Copyright (C) 1999-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 1999-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_subnet.c 1374 2004-03-21 14:21:22Z guus $ + $Id: protocol_subnet.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -134,6 +134,9 @@ bool add_subnet_h(connection_t *c) *(new = new_subnet()) = s; subnet_add(owner, new); + if(owner->status.reachable) + subnet_update(owner, new, true); + /* Tell the rest */ if(!tunnelserver) @@ -229,6 +232,9 @@ bool del_subnet_h(connection_t *c) /* Finally, delete it. */ + if(owner->status.reachable) + subnet_update(owner, find, false); + subnet_del(owner, find); return true; diff --git a/src/raw_socket/device.c b/src/raw_socket/device.c index 82d70ad..35e2567 100644 --- a/src/raw_socket/device.c +++ b/src/raw_socket/device.c @@ -1,7 +1,7 @@ /* device.c -- raw socket - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans , + 2002-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c 1405 2004-11-08 22:11:33Z guus $ + $Id: device.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/route.c b/src/route.c index 0ee5e45..61d6d1f 100644 --- a/src/route.c +++ b/src/route.c @@ -1,7 +1,7 @@ /* route.c -- routing - Copyright (C) 2000-2004 Ivo Timmermans , - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans , + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: route.c 1411 2004-11-10 19:36:02Z guus $ + $Id: route.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" diff --git a/src/route.h b/src/route.h index 51bb93e..526c22a 100644 --- a/src/route.h +++ b/src/route.h @@ -1,7 +1,7 @@ /* route.h -- header file for route.c - Copyright (C) 2000-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 2000-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: route.h 1374 2004-03-21 14:21:22Z guus $ + $Id: route.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_ROUTE_H__ diff --git a/src/solaris/device.c b/src/solaris/device.c index e286fd3..3dadff7 100644 --- a/src/solaris/device.c +++ b/src/solaris/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Solaris tun device - Copyright (C) 2001-2004 Ivo Timmermans , - 2001-2004 Guus Sliepen + Copyright (C) 2001-2005 Ivo Timmermans , + 2001-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c 1412 2004-11-10 21:14:08Z guus $ + $Id: device.c 1439 2005-05-04 18:09:30Z guus $ */ diff --git a/src/subnet.c b/src/subnet.c index ccdada1..3aa8011 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -1,7 +1,7 @@ /* subnet.c -- handle subnet lookups and lists - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,16 +17,18 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: subnet.c 1396 2004-11-01 15:16:12Z guus $ + $Id: subnet.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" #include "avl_tree.h" +#include "device.h" #include "logger.h" #include "net.h" #include "netutl.h" #include "node.h" +#include "process.h" #include "subnet.h" #include "utils.h" #include "xalloc.h" @@ -245,6 +247,11 @@ bool net2str(char *netstr, int len, const subnet_t *subnet) { cp(); + if(!netstr || !subnet) { + logger(LOG_ERR, _("net2str() was called with netstr=%p, subnet=%p!\n"), netstr, subnet); + return false; + } + switch (subnet->type) { case SUBNET_MAC: snprintf(netstr, len, "%hx:%hx:%hx:%hx:%hx:%hx", @@ -385,6 +392,52 @@ subnet_t *lookup_subnet_ipv6(const ipv6_t *address) return p; } +void subnet_update(node_t *owner, subnet_t *subnet, bool up) { + avl_node_t *node; + int i; + char *envp[8]; + char netstr[MAXNETSTR + 7] = "SUBNET="; + char *name, *address, *port; + + asprintf(&envp[0], "NETNAME=%s", netname ? : ""); + asprintf(&envp[1], "DEVICE=%s", device ? : ""); + asprintf(&envp[2], "INTERFACE=%s", iface ? : ""); + asprintf(&envp[3], "NODE=%s", owner->name); + + if(owner != myself) { + sockaddr2str(&owner->address, &address, &port); + asprintf(&envp[4], "REMOTEADDRESS=%s", address); + asprintf(&envp[5], "REMOTEPORT=%s", port); + envp[6] = netstr; + envp[7] = NULL; + } else { + envp[4] = netstr; + envp[5] = NULL; + } + + name = up ? "subnet-up" : "subnet-down"; + + if(!subnet) { + for(node = owner->subnet_tree->head; node; node = node->next) { + subnet = node->data; + if(!net2str(netstr + 7, sizeof netstr - 7, subnet)) + continue; + execute_script(name, envp); + } + } else { + if(net2str(netstr + 7, sizeof netstr - 7, subnet)) + execute_script(name, envp); + } + + for(i = 0; i < (owner != myself ? 6 : 4); i++) + free(envp[i]); + + if(owner != myself) { + free(address); + free(port); + } +} + void dump_subnets(void) { char netstr[MAXNETSTR]; diff --git a/src/subnet.h b/src/subnet.h index b535af3..fe670e6 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -1,7 +1,7 @@ /* subnet.h -- header for subnet.c - Copyright (C) 2000-2004 Guus Sliepen , - 2000-2004 Ivo Timmermans + Copyright (C) 2000-2005 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: subnet.h 1374 2004-03-21 14:21:22Z guus $ + $Id: subnet.h 1439 2005-05-04 18:09:30Z guus $ */ #ifndef __TINC_SUBNET_H__ @@ -74,6 +74,7 @@ extern avl_tree_t *new_subnet_tree(void) __attribute__ ((__malloc__)); extern void free_subnet_tree(avl_tree_t *); extern void subnet_add(struct node_t *, subnet_t *); extern void subnet_del(struct node_t *, subnet_t *); +extern void subnet_update(struct node_t *, subnet_t *, bool); extern bool net2str(char *, int, const subnet_t *); extern bool str2net(subnet_t *, const char *); extern subnet_t *lookup_subnet(const struct node_t *, const subnet_t *); diff --git a/src/tincd.c b/src/tincd.c index 312d78c..f2a6dbe 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -1,7 +1,7 @@ /* tincd.c -- the main file for tincd - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: tincd.c 1393 2004-10-01 18:23:08Z guus $ + $Id: tincd.c 1439 2005-05-04 18:09:30Z guus $ */ #include "system.h" @@ -407,7 +407,7 @@ int main(int argc, char **argv) if(show_version) { printf(_("%s version %s (built %s %s, protocol %d)\n"), PACKAGE, VERSION, __DATE__, __TIME__, PROT_CURRENT); - printf(_("Copyright (C) 1998-2004 Ivo Timmermans, Guus Sliepen and others.\n" + printf(_("Copyright (C) 1998-2005 Ivo Timmermans, Guus Sliepen and others.\n" "See the AUTHORS file for a complete list.\n\n" "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" "and you are welcome to redistribute it under certain conditions;\n" diff --git a/src/uml_socket/device.c b/src/uml_socket/device.c index 9d8bb49..18fae95 100644 --- a/src/uml_socket/device.c +++ b/src/uml_socket/device.c @@ -1,7 +1,7 @@ /* device.c -- UML network socket - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans , + 2002-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/system.h b/system.h index 02fc2ee..8f4e652 100644 --- a/system.h +++ b/system.h @@ -1,7 +1,7 @@ /* system.h -- system headers - Copyright (C) 1998-2004 Ivo Timmermans - 2003-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2003-2005 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by