Ivo Timmermans [Sun, 20 Aug 2000 23:07:18 +0000 (23:07 +0000)]
(Quoting Laurence Lane:)
The prefix is correctly set for /usr, but is
overridden with the current make install. DESTDIR is the clean way to
relocate the installation into the debian/tmp build dir.
Guus Sliepen [Fri, 30 Jun 2000 12:41:06 +0000 (12:41 +0000)]
- Instead of logging an error when remote end closes the connection,
we print a nice message if appropiate debug level is set.
- If we get ADD_HOSTs or DEL_HOSTs for ourself, then connection lists
are really messed up. We restart, and hope our problems go away.
Guus Sliepen [Fri, 30 Jun 2000 11:45:16 +0000 (11:45 +0000)]
- Removed segfault bug in conf.c (must have been there for ages!)
- Made main_loop() signal proof
- #defined MAXTIMEOUT (15 minutes)
- If something really really bad happens, close all connections, wait
for MAXTIMEOUT seconds, and then restart tinc
Guus Sliepen [Thu, 29 Jun 2000 17:09:08 +0000 (17:09 +0000)]
- 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.
Guus Sliepen [Thu, 29 Jun 2000 13:04:15 +0000 (13:04 +0000)]
- Removed all IP_ADDR_S macros, because gettext doesn't like them. Each
connection now has two hostnames: real_hostname (replacing the old),
and vpn_hostname. In those places where hostnames really aren't usefull
IP_ADDR_S has been replaced by %d.%d.%d.%d.
Guus Sliepen [Tue, 27 Jun 2000 12:58:04 +0000 (12:58 +0000)]
- 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.
Guus Sliepen [Sun, 25 Jun 2000 15:16:12 +0000 (15:16 +0000)]
Large cleanup:
- Removed hostname lookup (it blocks, and you can always do it yourself)
- Reorganized debug levels (after hints from Axel M�ller):
0 Startup message and errors
1 Connection logging
2 Meta protocol information
3 Verbose meta protocol (includes copy of transmitted requests)
4 Packet information (logs transmission/errors of UDP packets)
5 Verbose packet information (every single byte, not implemented yet
to protect ourselves from filling up /var/log directories)
- Made log messages more consistent
Guus Sliepen [Fri, 23 Jun 2000 19:27:03 +0000 (19:27 +0000)]
First step for implementation of the "indirectdata" directive. This should
allow _leaf_ tincds to be behind firewalls.
The protocol has changed and is INCOMPATIBLE with previous versions. The
PROT_CURRENT value has been incremented.
Ivo Timmermans [Tue, 30 May 2000 21:36:16 +0000 (21:36 +0000)]
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.
Guus Sliepen [Sat, 27 May 2000 20:23:01 +0000 (20:23 +0000)]
Terminate a connection on any error. Furthermore, disallow del_host,
add_host and other important requests until remote host has properly
authenticated itself.
Guus Sliepen [Sat, 27 May 2000 19:44:04 +0000 (19:44 +0000)]
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.
Guus Sliepen [Sat, 27 May 2000 19:04:12 +0000 (19:04 +0000)]
Fix for a DoS attack:
A remote user could telnet to the tinc daemon and type only this line:
61 6 00000000/00000000:28f
This would deny any packets to be sent to other tinc networks (except
for to the hosts that run tincd's themselves). Solution is to skip
hosts in lookup_conn() that have not been activated yet.
Fixed potential conn_list table corruption:
If a new connection is accepted but a connection with the same subnet
would already exist in the connection list, the OLD connection is
terminated.
Guus Sliepen [Sat, 27 May 2000 13:21:20 +0000 (13:21 +0000)]
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.
Guus Sliepen [Sun, 21 May 2000 22:21:38 +0000 (22:21 +0000)]
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.