tinc
19 years agoUpdated dutch translation.
Guus Sliepen [Tue, 9 Apr 2002 11:43:45 +0000 (11:43 +0000)]
Updated dutch translation.

19 years agomasklength is better known as prefixlength
Guus Sliepen [Tue, 9 Apr 2002 11:43:29 +0000 (11:43 +0000)]
masklength is better known as prefixlength

19 years agomasklength is better known as prefixlength.
Guus Sliepen [Tue, 9 Apr 2002 11:42:48 +0000 (11:42 +0000)]
masklength is better known as prefixlength.

19 years agoAutomake forgets about depcomp, remind it.
Guus Sliepen [Mon, 8 Apr 2002 13:27:09 +0000 (13:27 +0000)]
Automake forgets about depcomp, remind it.

19 years agoFix maskcheck() and maskcmp().
Guus Sliepen [Fri, 5 Apr 2002 09:11:38 +0000 (09:11 +0000)]
Fix maskcheck() and maskcmp().

19 years agocheck_rsa() is broken, I don't know why, just remove it for now.
Guus Sliepen [Mon, 1 Apr 2002 21:28:39 +0000 (21:28 +0000)]
check_rsa() is broken, I don't know why, just remove it for now.

19 years agoDon't check_network_activity() if select() is interrupted by a signal.
Guus Sliepen [Mon, 1 Apr 2002 21:28:05 +0000 (21:28 +0000)]
Don't check_network_activity() if select() is interrupted by a signal.

19 years agoMake configure --help output look nicer.
Guus Sliepen [Wed, 27 Mar 2002 19:43:50 +0000 (19:43 +0000)]
Make configure --help output look nicer.

19 years agoUpdate with information about the pre6 release. release-1.0pre6
Guus Sliepen [Wed, 27 Mar 2002 16:26:26 +0000 (16:26 +0000)]
Update with information about the pre6 release.

19 years agoUpdate dutch translation.
Guus Sliepen [Wed, 27 Mar 2002 16:00:49 +0000 (16:00 +0000)]
Update dutch translation.

19 years agoFix format strings.
Guus Sliepen [Wed, 27 Mar 2002 16:00:38 +0000 (16:00 +0000)]
Fix format strings.

19 years agoRemove symlink to device.c when doing a make dist.
Guus Sliepen [Wed, 27 Mar 2002 15:47:06 +0000 (15:47 +0000)]
Remove symlink to device.c when doing a make dist.

19 years agoRecent automake uses $(AMTAR) instead of $(TAR)
Guus Sliepen [Wed, 27 Mar 2002 15:35:07 +0000 (15:35 +0000)]
Recent automake uses $(AMTAR) instead of $(TAR)

19 years agoRemove cruft.
Guus Sliepen [Wed, 27 Mar 2002 15:26:44 +0000 (15:26 +0000)]
Remove cruft.

19 years agoSmall updates.
Guus Sliepen [Wed, 27 Mar 2002 15:26:29 +0000 (15:26 +0000)]
Small updates.

19 years agoLimit the amount of packets in a queue to 8.
Guus Sliepen [Wed, 27 Mar 2002 15:01:37 +0000 (15:01 +0000)]
Limit the amount of packets in a queue to 8.

19 years agoExtend list_t with the number of elements in the list.
Guus Sliepen [Wed, 27 Mar 2002 15:01:16 +0000 (15:01 +0000)]
Extend list_t with the number of elements in the list.

19 years agoMerge do_prune() with build_fdset(). Probably fixes the invalid filedescriptor error.
Guus Sliepen [Wed, 27 Mar 2002 14:02:36 +0000 (14:02 +0000)]
Merge do_prune() with build_fdset(). Probably fixes the invalid filedescriptor error.

19 years agoSmall correction.
Guus Sliepen [Tue, 26 Mar 2002 13:19:56 +0000 (13:19 +0000)]
Small correction.

19 years agoFix execute_script().
Guus Sliepen [Tue, 26 Mar 2002 12:00:38 +0000 (12:00 +0000)]
Fix execute_script().

19 years agoSend REQ_KEY only once until ANS_KEY has arrived.
Guus Sliepen [Mon, 25 Mar 2002 15:51:58 +0000 (15:51 +0000)]
Send REQ_KEY only once until ANS_KEY has arrived.

19 years agoTell a little bit more about security.
Guus Sliepen [Mon, 25 Mar 2002 15:12:09 +0000 (15:12 +0000)]
Tell a little bit more about security.

19 years agoUpdated documentation.
Guus Sliepen [Mon, 25 Mar 2002 15:01:32 +0000 (15:01 +0000)]
Updated documentation.

19 years agoSet myself->status.reachable.
Guus Sliepen [Mon, 25 Mar 2002 13:54:49 +0000 (13:54 +0000)]
Set myself->status.reachable.

19 years agoConfiguration variables were still handled case sensitively.
Guus Sliepen [Sun, 24 Mar 2002 17:14:01 +0000 (17:14 +0000)]
Configuration variables were still handled case sensitively.

19 years agoOpenBSD tun device uses address family number instead of Ethernet type.
Guus Sliepen [Sun, 24 Mar 2002 17:08:38 +0000 (17:08 +0000)]
OpenBSD tun device uses address family number instead of Ethernet type.

19 years agoRespect type field.
Guus Sliepen [Sun, 24 Mar 2002 16:50:58 +0000 (16:50 +0000)]
Respect type field.

19 years agoUpdated dutch translation.
Guus Sliepen [Sun, 24 Mar 2002 16:40:14 +0000 (16:40 +0000)]
Updated dutch translation.

19 years agoSet $INTERFACE correctly when using ethertap while compiled with tun/tap support.
Guus Sliepen [Sun, 24 Mar 2002 16:36:56 +0000 (16:36 +0000)]
Set $INTERFACE correctly when using ethertap while compiled with tun/tap support.

19 years agoExecute hosts/name-up when a node becomes reachable, and hosts/name-down
Guus Sliepen [Sun, 24 Mar 2002 16:28:27 +0000 (16:28 +0000)]
Execute hosts/name-up when a node becomes reachable, and hosts/name-down
when it becomes unreachable.

19 years agoDon't try to execute scripts unless they exist.
Guus Sliepen [Sun, 24 Mar 2002 16:22:59 +0000 (16:22 +0000)]
Don't try to execute scripts unless they exist.

19 years agoReset retry timeout when receiving the first PONG, not right after receiving the...
Guus Sliepen [Sat, 23 Mar 2002 20:21:10 +0000 (20:21 +0000)]
Reset retry timeout when receiving the first PONG, not right after receiving the ACK.

19 years agoDon't run graph algorithms if no edge is deleted in terminate_connection().
Guus Sliepen [Sat, 23 Mar 2002 20:13:56 +0000 (20:13 +0000)]
Don't run graph algorithms if no edge is deleted in terminate_connection().

19 years agofree() request strings when deleting past requests from the tree.
Guus Sliepen [Sat, 23 Mar 2002 20:12:29 +0000 (20:12 +0000)]
free() request strings when deleting past requests from the tree.

19 years agosend_ack() was broken.
Guus Sliepen [Sat, 23 Mar 2002 20:01:05 +0000 (20:01 +0000)]
send_ack() was broken.

19 years agoFix compiler warnings, strictly use long int and %lx for options.
Guus Sliepen [Fri, 22 Mar 2002 13:31:18 +0000 (13:31 +0000)]
Fix compiler warnings, strictly use long int and %lx for options.

19 years agoFix add_edge_h().
Guus Sliepen [Fri, 22 Mar 2002 12:41:54 +0000 (12:41 +0000)]
Fix add_edge_h().

19 years ago- Added support for jumbograms.
Guus Sliepen [Fri, 22 Mar 2002 11:43:48 +0000 (11:43 +0000)]
- Added support for jumbograms.
- Remove tcpaddress from edges, it is not used at all.
- Last bits of code to prevent looping requests.

19 years agoPut a break on requests that run around in circles.
Guus Sliepen [Thu, 21 Mar 2002 23:11:53 +0000 (23:11 +0000)]
Put a break on requests that run around in circles.

19 years agoUpdated SSSP algorithm to automatically detect indirect links (if a node uses
Guus Sliepen [Tue, 19 Mar 2002 22:48:25 +0000 (22:48 +0000)]
Updated SSSP algorithm to automatically detect indirect links (if a node uses
different addresses for connections to other nodes).

19 years agoUpdated dutch translation.
Guus Sliepen [Tue, 19 Mar 2002 00:08:34 +0000 (00:08 +0000)]
Updated dutch translation.

19 years agoDon't use s6_addr[16|32] anymore.
Guus Sliepen [Tue, 19 Mar 2002 00:08:23 +0000 (00:08 +0000)]
Don't use s6_addr[16|32] anymore.

19 years agoCleanup.
Guus Sliepen [Tue, 19 Mar 2002 00:07:09 +0000 (00:07 +0000)]
Cleanup.

19 years agoRemember sockaddrs of listening sockets, use appropriate one when sending
Guus Sliepen [Mon, 18 Mar 2002 22:47:20 +0000 (22:47 +0000)]
Remember sockaddrs of listening sockets, use appropriate one when sending
UDP packets.

19 years agoFix #define s6_addr32.
Guus Sliepen [Mon, 18 Mar 2002 14:39:37 +0000 (14:39 +0000)]
Fix #define s6_addr32.

19 years ago#define s6_addr32, needed for FreeBSD.
Guus Sliepen [Mon, 18 Mar 2002 14:19:02 +0000 (14:19 +0000)]
#define s6_addr32, needed for FreeBSD.

19 years agoOnly unmap IPv6 addresses.
Guus Sliepen [Sun, 17 Mar 2002 16:08:39 +0000 (16:08 +0000)]
Only unmap IPv6 addresses.

19 years agoUnmap v4mapped sockaddrs.
Guus Sliepen [Sun, 17 Mar 2002 15:59:29 +0000 (15:59 +0000)]
Unmap v4mapped sockaddrs.

19 years agoTypo.
Guus Sliepen [Fri, 15 Mar 2002 15:50:14 +0000 (15:50 +0000)]
Typo.

19 years agoDifferent way of detecting neighbor solicitation requests.
Guus Sliepen [Fri, 15 Mar 2002 15:40:40 +0000 (15:40 +0000)]
Different way of detecting neighbor solicitation requests.

19 years agoOops, don't forget to actually put the checksum in the response packet.
Guus Sliepen [Fri, 15 Mar 2002 15:08:21 +0000 (15:08 +0000)]
Oops, don't forget to actually put the checksum in the response packet.

19 years agoNeighbor solicitation requests now work (I think).
Guus Sliepen [Fri, 15 Mar 2002 14:41:57 +0000 (14:41 +0000)]
Neighbor solicitation requests now work (I think).

19 years agoRevert changes to Kruskal's algo.
Guus Sliepen [Tue, 12 Mar 2002 16:30:15 +0000 (16:30 +0000)]
Revert changes to Kruskal's algo.

19 years agoPut #ifdef NEIGHBORSOL around corresponding code.
Guus Sliepen [Tue, 12 Mar 2002 14:25:04 +0000 (14:25 +0000)]
Put #ifdef NEIGHBORSOL around corresponding code.

19 years agoRemove silly cache thingy.
Guus Sliepen [Tue, 12 Mar 2002 14:20:44 +0000 (14:20 +0000)]
Remove silly cache thingy.

19 years agoPacket sequence number/authentication warnings only if debug_lvl >= 5.
Guus Sliepen [Tue, 12 Mar 2002 14:19:51 +0000 (14:19 +0000)]
Packet sequence number/authentication warnings only if debug_lvl >= 5.

19 years agoSimplified implementation of Kruskal's minimum spanning tree algorithm.
Guus Sliepen [Tue, 12 Mar 2002 13:42:23 +0000 (13:42 +0000)]
Simplified implementation of Kruskal's minimum spanning tree algorithm.

19 years agoNew strategy: forward icmp6 neighbor solicitations to intended target.
Guus Sliepen [Mon, 11 Mar 2002 13:56:00 +0000 (13:56 +0000)]
New strategy: forward icmp6 neighbor solicitations to intended target.

19 years agoTry to reply to neighbor solicitation requests.
Guus Sliepen [Mon, 11 Mar 2002 13:14:53 +0000 (13:14 +0000)]
Try to reply to neighbor solicitation requests.

19 years agoprune_connections() before build_fdset().
Guus Sliepen [Mon, 11 Mar 2002 11:45:12 +0000 (11:45 +0000)]
prune_connections() before build_fdset().

19 years agoCleanups, spelling fixes, allow symbol names for signals (-k option),
Guus Sliepen [Mon, 11 Mar 2002 11:23:04 +0000 (11:23 +0000)]
Cleanups, spelling fixes, allow symbol names for signals (-k option),
don't remove pidfile if other tincd is still running.

19 years agoDon't retry to make outgoing connections when exitting.
Guus Sliepen [Sun, 10 Mar 2002 16:09:15 +0000 (16:09 +0000)]
Don't retry to make outgoing connections when exitting.

19 years agoSmall fixes to improve portability.
Guus Sliepen [Sun, 10 Mar 2002 15:40:27 +0000 (15:40 +0000)]
Small fixes to improve portability.

19 years agoAutodetect $MAKE/gmake/make.
Guus Sliepen [Sun, 10 Mar 2002 14:07:08 +0000 (14:07 +0000)]
Autodetect $MAKE/gmake/make.

19 years agopo/POTFILES and po/Makefile should not be generated by configure.
Guus Sliepen [Sun, 10 Mar 2002 14:05:35 +0000 (14:05 +0000)]
po/POTFILES and po/Makefile should not be generated by configure.

19 years agoFix forwarding of IPv6 packets.
Guus Sliepen [Sun, 10 Mar 2002 14:04:48 +0000 (14:04 +0000)]
Fix forwarding of IPv6 packets.

19 years agoCheck if BindToDevice and PriorityInheritance are supported.
Guus Sliepen [Fri, 1 Mar 2002 15:14:29 +0000 (15:14 +0000)]
Check if BindToDevice and PriorityInheritance are supported.

19 years agoWoops.
Guus Sliepen [Fri, 1 Mar 2002 14:33:48 +0000 (14:33 +0000)]
Woops.

19 years agoDocument and clean up MAC address expiry.
Guus Sliepen [Fri, 1 Mar 2002 14:25:10 +0000 (14:25 +0000)]
Document and clean up MAC address expiry.

19 years ago- Global time_t now, so that we don't have to call time() too often.
Guus Sliepen [Fri, 1 Mar 2002 14:09:31 +0000 (14:09 +0000)]
- 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)

19 years agoUpdated dutch translation.
Guus Sliepen [Fri, 1 Mar 2002 13:38:15 +0000 (13:38 +0000)]
Updated dutch translation.

19 years agoUpdated documentation.
Guus Sliepen [Fri, 1 Mar 2002 13:38:02 +0000 (13:38 +0000)]
Updated documentation.

19 years agoCreate/bind TCP and UDP listening sockets in pairs.
Guus Sliepen [Fri, 1 Mar 2002 13:18:54 +0000 (13:18 +0000)]
Create/bind TCP and UDP listening sockets in pairs.

19 years agoIf "PriorityInheritance = yes" is specified in tinc.conf, the value of the
Guus Sliepen [Fri, 1 Mar 2002 12:26:56 +0000 (12:26 +0000)]
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.

19 years agoFix listening sockets.
Guus Sliepen [Fri, 1 Mar 2002 12:25:58 +0000 (12:25 +0000)]
Fix listening sockets.

19 years agoMake BindToInterface work.
Guus Sliepen [Fri, 1 Mar 2002 11:18:34 +0000 (11:18 +0000)]
Make BindToInterface work.

19 years agoFix send_request() bug.
Guus Sliepen [Wed, 27 Feb 2002 22:37:55 +0000 (22:37 +0000)]
Fix send_request() bug.

19 years agoAllow multiple listening sockets.
Guus Sliepen [Tue, 26 Feb 2002 23:26:41 +0000 (23:26 +0000)]
Allow multiple listening sockets.

19 years agoTweaking IPv6 support.
Guus Sliepen [Tue, 26 Feb 2002 22:47:51 +0000 (22:47 +0000)]
Tweaking IPv6 support.

19 years ago- Change SA_LEN to SALEN, former one is already defined on some platforms.
Guus Sliepen [Wed, 20 Feb 2002 22:37:38 +0000 (22:37 +0000)]
- Change SA_LEN to SALEN, former one is already defined on some platforms.
- Use SALEN everywhere appropriate.

19 years ago- Use gai_strerror() where appropriate
Guus Sliepen [Wed, 20 Feb 2002 22:15:32 +0000 (22:15 +0000)]
- Use gai_strerror() where appropriate
- Clear hints before using them with getaddrinfo()
- Use sa_len on platforms that support them

19 years agoPreserve inpkt->len, needed for broadcasts.
Guus Sliepen [Wed, 20 Feb 2002 19:31:15 +0000 (19:31 +0000)]
Preserve inpkt->len, needed for broadcasts.

19 years agoProtocol now also exchanges cipher/digest/maclength/compression for the
Guus Sliepen [Wed, 20 Feb 2002 19:25:09 +0000 (19:25 +0000)]
Protocol now also exchanges cipher/digest/maclength/compression for the
meta connection.

19 years agoCache results of lookup_subnet_...().
Guus Sliepen [Wed, 20 Feb 2002 17:16:15 +0000 (17:16 +0000)]
Cache results of lookup_subnet_...().

19 years agoFix maskcmp() and maskcpy().
Guus Sliepen [Wed, 20 Feb 2002 17:15:33 +0000 (17:15 +0000)]
Fix maskcmp() and maskcpy().

19 years agoForward packets in router mode.
Guus Sliepen [Wed, 20 Feb 2002 16:04:59 +0000 (16:04 +0000)]
Forward packets in router mode.

19 years agoUse AF_UNSPEC for listening sockets if AddressFamily = any.
Guus Sliepen [Wed, 20 Feb 2002 16:04:39 +0000 (16:04 +0000)]
Use AF_UNSPEC for listening sockets if AddressFamily = any.

19 years agoFix segfault when receiving HUP signal.
Guus Sliepen [Wed, 20 Feb 2002 16:04:07 +0000 (16:04 +0000)]
Fix segfault when receiving HUP signal.

19 years ago- Non-blocking connect()s.
Guus Sliepen [Mon, 18 Feb 2002 16:25:19 +0000 (16:25 +0000)]
- Non-blocking connect()s.
- Socket handling revamped to use sockaddr_t.
- tinc can now tunnel over IPv6.
- Handle all addresses and subnets in network byte order.
  Only convert them when they need to be printed.
- IPv6 subnets bigger than /128 now work.
- Use %s and strerror(errno) instead of %m.

19 years agoAdd check for NetBSD.
Guus Sliepen [Tue, 12 Feb 2002 14:42:37 +0000 (14:42 +0000)]
Add check for NetBSD.

19 years agoAdded device.c for NetBSD, actually a copy of the OpenBSD one.
Guus Sliepen [Tue, 12 Feb 2002 14:40:12 +0000 (14:40 +0000)]
Added device.c for NetBSD, actually a copy of the OpenBSD one.

19 years agoGet rid of sys/signal.h.
Guus Sliepen [Tue, 12 Feb 2002 14:36:45 +0000 (14:36 +0000)]
Get rid of sys/signal.h.

19 years agoDon't use sa_sigaction (which NetBSD doesn't like) at all if we don't use siginfo.
Guus Sliepen [Tue, 12 Feb 2002 14:29:00 +0000 (14:29 +0000)]
Don't use sa_sigaction (which NetBSD doesn't like) at all if we don't use siginfo.

19 years agoAdded support for packet compression, thanks to Mark Glines.
Guus Sliepen [Mon, 11 Feb 2002 15:59:18 +0000 (15:59 +0000)]
Added support for packet compression, thanks to Mark Glines.
Add "Compression = <level>" to the host config files, where level can be
0 (off), or any integer between 1 (fast) and 9 (best).

19 years agoSmall fix.
Guus Sliepen [Mon, 11 Feb 2002 14:20:46 +0000 (14:20 +0000)]
Small fix.

19 years ago- If no PrivateKeyFile is specified, /etc/tinc/netname/rsa_key.priv is assumed.
Guus Sliepen [Mon, 11 Feb 2002 14:20:21 +0000 (14:20 +0000)]
- If no PrivateKeyFile is specified, /etc/tinc/netname/rsa_key.priv is assumed.
- Check RSA key before using it.

19 years agoSensible defaults for $INTERFACE.
Guus Sliepen [Mon, 11 Feb 2002 12:33:01 +0000 (12:33 +0000)]
Sensible defaults for $INTERFACE.

19 years agoLast bits of the merger.
Guus Sliepen [Mon, 11 Feb 2002 10:16:18 +0000 (10:16 +0000)]
Last bits of the merger.

19 years agoForgot to merge new files from pre5.
Guus Sliepen [Mon, 11 Feb 2002 10:05:58 +0000 (10:05 +0000)]
Forgot to merge new files from pre5.

19 years agoMerging of the entire pre5 branch. release-1.0pre5
Guus Sliepen [Sun, 10 Feb 2002 21:57:54 +0000 (21:57 +0000)]
Merging of the entire pre5 branch.