tinc
20 years agoSynchronise HEAD with CABAL branch.
Guus Sliepen [Sun, 24 Aug 2003 20:38:31 +0000 (20:38 +0000)]
Synchronise HEAD with CABAL branch.

21 years agoHm.
Ivo Timmermans [Tue, 7 May 2002 14:48:41 +0000 (14:48 +0000)]
Hm.

21 years agotest 2
Ivo Timmermans [Thu, 2 May 2002 13:23:58 +0000 (13:23 +0000)]
test 2

21 years agotest
Ivo Timmermans [Thu, 2 May 2002 13:22:44 +0000 (13:22 +0000)]
test

21 years agoMoved event.c/h
Ivo Timmermans [Thu, 2 May 2002 13:11:55 +0000 (13:11 +0000)]
Moved event.c/h

21 years agoCallbacks
Ivo Timmermans [Thu, 2 May 2002 11:52:28 +0000 (11:52 +0000)]
Callbacks

21 years agoAnother file moved; random interface stuff.
Ivo Timmermans [Thu, 2 May 2002 11:50:07 +0000 (11:50 +0000)]
Another file moved; random interface stuff.

21 years agoCommit diff test
Ivo Timmermans [Mon, 29 Apr 2002 20:19:42 +0000 (20:19 +0000)]
Commit diff test

21 years agoMoving files, first attempt at gcrypt compatibility, more interface
Ivo Timmermans [Sun, 28 Apr 2002 12:46:26 +0000 (12:46 +0000)]
Moving files, first attempt at gcrypt compatibility, more interface
abstraction

21 years ago*** empty log message ***
Ivo Timmermans [Sun, 28 Apr 2002 12:43:40 +0000 (12:43 +0000)]
*** empty log message ***

22 years agoPrint newline when writing to stderr
Ivo Timmermans [Sat, 13 Apr 2002 18:01:58 +0000 (18:01 +0000)]
Print newline when writing to stderr

22 years ago...
Ivo Timmermans [Sat, 13 Apr 2002 11:24:25 +0000 (11:24 +0000)]
...

22 years agoRename libvpn to libtinc
Ivo Timmermans [Sat, 13 Apr 2002 11:23:46 +0000 (11:23 +0000)]
Rename libvpn to libtinc

22 years agoRenamed libvpn to libtinc
Ivo Timmermans [Sat, 13 Apr 2002 11:23:19 +0000 (11:23 +0000)]
Renamed libvpn to libtinc

22 years agoInclude logging.h
Ivo Timmermans [Sat, 13 Apr 2002 11:21:58 +0000 (11:21 +0000)]
Include logging.h

22 years agoUse new logging system
Ivo Timmermans [Sat, 13 Apr 2002 11:21:01 +0000 (11:21 +0000)]
Use new logging system

22 years agoThings to ignore...
Ivo Timmermans [Sat, 13 Apr 2002 11:15:43 +0000 (11:15 +0000)]
Things to ignore...

22 years agoCompile in logging.c
Ivo Timmermans [Sat, 13 Apr 2002 11:14:50 +0000 (11:14 +0000)]
Compile in logging.c

22 years agoUse logging.h instead of syslog.h
Ivo Timmermans [Sat, 13 Apr 2002 11:08:31 +0000 (11:08 +0000)]
Use logging.h instead of syslog.h

22 years agoAdded prototype for log_syslog
Ivo Timmermans [Sat, 13 Apr 2002 11:00:41 +0000 (11:00 +0000)]
Added prototype for log_syslog

22 years agolog_default_hook was renamed to log_default
Ivo Timmermans [Sat, 13 Apr 2002 10:55:42 +0000 (10:55 +0000)]
log_default_hook was renamed to log_default

22 years agoAdded priority definitions from syslog.h
Ivo Timmermans [Sat, 13 Apr 2002 10:50:48 +0000 (10:50 +0000)]
Added priority definitions from syslog.h

22 years agoSome magic
Ivo Timmermans [Sat, 13 Apr 2002 10:45:56 +0000 (10:45 +0000)]
Some magic

22 years agoAdd syslog wrapper
Ivo Timmermans [Sat, 13 Apr 2002 10:43:10 +0000 (10:43 +0000)]
Add syslog wrapper

22 years agoAdd syslog() wrapper
Ivo Timmermans [Sat, 13 Apr 2002 10:40:09 +0000 (10:40 +0000)]
Add syslog() wrapper

22 years agoRename log_message to log
Ivo Timmermans [Sat, 13 Apr 2002 10:29:07 +0000 (10:29 +0000)]
Rename log_message to log

22 years agoNew logging system to replace syslog() calls with a generic function.
Ivo Timmermans [Sat, 13 Apr 2002 10:25:38 +0000 (10:25 +0000)]
New logging system to replace syslog() calls with a generic function.

22 years agoRemove debug_lvl
Ivo Timmermans [Sat, 13 Apr 2002 10:04:46 +0000 (10:04 +0000)]
Remove debug_lvl

22 years agoUpdate copyright info
Ivo Timmermans [Sat, 13 Apr 2002 10:02:48 +0000 (10:02 +0000)]
Update copyright info

22 years agoRemove debug level declaration
Ivo Timmermans [Sat, 13 Apr 2002 10:02:16 +0000 (10:02 +0000)]
Remove debug level declaration

22 years agoAdding even more stuff from the CABAL branch.
Guus Sliepen [Fri, 12 Apr 2002 08:25:01 +0000 (08:25 +0000)]
Adding even more stuff from the CABAL branch.

22 years agoAlso compile in pokey/
Ivo Timmermans [Thu, 11 Apr 2002 20:18:02 +0000 (20:18 +0000)]
Also compile in pokey/

22 years agoWrite src/pokey/Makefile
Ivo Timmermans [Thu, 11 Apr 2002 20:17:33 +0000 (20:17 +0000)]
Write src/pokey/Makefile

22 years agoPokey interface definition
Ivo Timmermans [Thu, 11 Apr 2002 14:27:35 +0000 (14:27 +0000)]
Pokey interface definition

22 years agoMain pokey interface files.
Ivo Timmermans [Thu, 11 Apr 2002 14:23:56 +0000 (14:23 +0000)]
Main pokey interface files.

22 years agoLast bits (hopefully)
Ivo Timmermans [Tue, 9 Apr 2002 16:11:48 +0000 (16:11 +0000)]
Last bits (hopefully)

22 years agoMore...
Ivo Timmermans [Tue, 9 Apr 2002 15:51:26 +0000 (15:51 +0000)]
More...

22 years agoMore updates
Ivo Timmermans [Tue, 9 Apr 2002 15:48:54 +0000 (15:48 +0000)]
More updates

22 years agoOk, I forgot these ;)
Ivo Timmermans [Tue, 9 Apr 2002 15:32:14 +0000 (15:32 +0000)]
Ok, I forgot these ;)

22 years agoUpdating HEAD branch #5; Last files from CABAL.
Ivo Timmermans [Tue, 9 Apr 2002 15:28:45 +0000 (15:28 +0000)]
Updating HEAD branch #5; Last files from CABAL.

22 years agoUpdating HEAD branch #4; Merging CABAL -> HEAD.
Ivo Timmermans [Tue, 9 Apr 2002 15:26:01 +0000 (15:26 +0000)]
Updating HEAD branch #4; Merging CABAL -> HEAD.

22 years agoUpdating HEAD branch #3; more obsolete files removed.
Ivo Timmermans [Tue, 9 Apr 2002 15:07:27 +0000 (15:07 +0000)]
Updating HEAD branch #3; more obsolete files removed.

22 years agoUpdating HEAD branch #2; removing debian/ dir.
Ivo Timmermans [Tue, 9 Apr 2002 14:58:14 +0000 (14:58 +0000)]
Updating HEAD branch #2; removing debian/ dir.

22 years agoUpdating HEAD branch #1; removing obsolete files.
Ivo Timmermans [Tue, 9 Apr 2002 14:54:37 +0000 (14:54 +0000)]
Updating HEAD branch #1; removing obsolete files.

23 years agoFirst try to create a graphical frontend for tinc configuration
Ivo Timmermans [Wed, 17 Jan 2001 16:24:24 +0000 (16:24 +0000)]
First try to create a graphical frontend for tinc configuration

23 years agoGeneralized list and hash handling functions
Ivo Timmermans [Fri, 20 Oct 2000 16:44:32 +0000 (16:44 +0000)]
Generalized list and hash handling functions

23 years agoNew function: xalloc_and_zero()
Ivo Timmermans [Fri, 20 Oct 2000 16:43:13 +0000 (16:43 +0000)]
New function: xalloc_and_zero()

23 years agoAdd all the new files to the sources list for the utility library
Ivo Timmermans [Fri, 20 Oct 2000 16:42:22 +0000 (16:42 +0000)]
Add all the new files to the sources list for the utility library

23 years agoGeneralized error handling functions
Ivo Timmermans [Thu, 19 Oct 2000 20:56:49 +0000 (20:56 +0000)]
Generalized error handling functions

23 years agoAdd check for the syslog function
Ivo Timmermans [Thu, 19 Oct 2000 20:39:04 +0000 (20:39 +0000)]
Add check for the syslog function

23 years agoBring head revision up to date with cabal (try #3)
Ivo Timmermans [Wed, 18 Oct 2000 20:12:10 +0000 (20:12 +0000)]
Bring head revision up to date with cabal (try #3)

23 years agoAutogenerated by gettextize.
Ivo Timmermans [Sat, 1 Jul 2000 10:39:28 +0000 (10:39 +0000)]
Autogenerated by gettextize.

23 years agoThis file is now only in the CABAL revision.
Wessel Dankers [Fri, 30 Jun 2000 21:11:34 +0000 (21:11 +0000)]
This file is now only in the CABAL revision.

23 years agoMore about keys
Wessel Dankers [Fri, 30 Jun 2000 21:09:32 +0000 (21:09 +0000)]
More about keys

23 years agoAdded extra bit about keys.
Wessel Dankers [Fri, 30 Jun 2000 20:57:30 +0000 (20:57 +0000)]
Added extra bit about keys.

23 years agoadded bit on config file, split up sections, added Id: tag
Wessel Dankers [Fri, 30 Jun 2000 20:42:07 +0000 (20:42 +0000)]
added bit on config file, split up sections, added Id: tag

23 years agoInitial revision. Lots of loose ends, not usable yet.
Wessel Dankers [Fri, 30 Jun 2000 20:16:15 +0000 (20:16 +0000)]
Initial revision. Lots of loose ends, not usable yet.

23 years agoChanged version number to 1.0pre3.
Ivo Timmermans [Sun, 25 Jun 2000 15:42:40 +0000 (15:42 +0000)]
Changed version number to 1.0pre3.

23 years agoAdded another semicolon for bash2 compliance (thanks to Jamie Briggs)
Guus Sliepen [Sat, 17 Jun 2000 08:30:45 +0000 (08:30 +0000)]
Added another semicolon for bash2 compliance (thanks to Jamie Briggs)

23 years agoApplied patch from Jamie Briggs for bash2 conformance.
Guus Sliepen [Fri, 16 Jun 2000 05:44:26 +0000 (05:44 +0000)]
Applied patch from Jamie Briggs for bash2 conformance.

23 years agoCheck for __gmpz_powm for libgmp3.
Ivo Timmermans [Sun, 4 Jun 2000 11:50:46 +0000 (11:50 +0000)]
Check for __gmpz_powm for libgmp3.

23 years agoRemoved items in TODO list that are already implemented. Only two items
Guus Sliepen [Sat, 3 Jun 2000 08:27:16 +0000 (08:27 +0000)]
Removed items in TODO list that are already implemented. Only two items
left.

23 years agoDebian init.d script automatically sets tap device's MTU to 1448 now.
Guus Sliepen [Thu, 1 Jun 2000 20:21:27 +0000 (20:21 +0000)]
Debian init.d script automatically sets tap device's MTU to 1448 now.

23 years agoMiscellaneous copyright updates. release-1.0pre2
Ivo Timmermans [Wed, 31 May 2000 18:23:06 +0000 (18:23 +0000)]
Miscellaneous copyright updates.

23 years agoHandle locale settings.
Ivo Timmermans [Wed, 31 May 2000 18:21:27 +0000 (18:21 +0000)]
Handle locale settings.

23 years agoVersion 1.0pre2-1.
Ivo Timmermans [Wed, 31 May 2000 18:19:33 +0000 (18:19 +0000)]
Version 1.0pre2-1.

23 years agoUpdated Dutch translation.
Ivo Timmermans [Wed, 31 May 2000 18:18:21 +0000 (18:18 +0000)]
Updated Dutch translation.

23 years agoTell about /etc/tinc/nets.boot.
Ivo Timmermans [Wed, 31 May 2000 18:17:45 +0000 (18:17 +0000)]
Tell about /etc/tinc/nets.boot.

23 years agoInclude news for 1.0pre2.
Ivo Timmermans [Wed, 31 May 2000 18:17:27 +0000 (18:17 +0000)]
Include news for 1.0pre2.

23 years agoOnly accept an ADD_HOST request for a host that already exists in our conn_list if...
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.

23 years agoIn terminate_connection, only send a notification to hosts that are directly connecte...
Ivo Timmermans [Tue, 30 May 2000 12:38:15 +0000 (12:38 +0000)]
In terminate_connection, only send a notification to hosts that are directly connected to us.  (DEL_HOST gets forwarded automatically.)

23 years agoWhen a connection is terminated, all hosts that are still connected get notified...
Ivo Timmermans [Tue, 30 May 2000 12:31:41 +0000 (12:31 +0000)]
When a connection is terminated, all hosts that are still connected get notified of the lost connections.

23 years agoAdded new configuration directive `Hostnames', which controls the resolving of IP...
Ivo Timmermans [Tue, 30 May 2000 11:18:12 +0000 (11:18 +0000)]
Added new configuration directive `Hostnames', which controls the resolving of IP addresses to hostnames.

23 years agoOnly activate a connection upon receiving it's public key if it's an
Guus Sliepen [Mon, 29 May 2000 23:40:05 +0000 (23:40 +0000)]
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.

23 years agoUpdated changes list for version 1.0pre2.
Ivo Timmermans [Mon, 29 May 2000 22:27:15 +0000 (22:27 +0000)]
Updated changes list for version 1.0pre2.

23 years agoBounds check for request id (between 0 and 255).
Ivo Timmermans [Mon, 29 May 2000 22:20:04 +0000 (22:20 +0000)]
Bounds check for request id (between 0 and 255).

23 years agoDutch translation of tinc.
Ivo Timmermans [Mon, 29 May 2000 22:15:38 +0000 (22:15 +0000)]
Dutch translation of tinc.

23 years agoDefine LOCALEDIR in CFLAGS.
Ivo Timmermans [Mon, 29 May 2000 21:40:51 +0000 (21:40 +0000)]
Define LOCALEDIR in CFLAGS.

23 years agoInclude GNU gettext checks.
Ivo Timmermans [Mon, 29 May 2000 21:40:20 +0000 (21:40 +0000)]
Include GNU gettext checks.

23 years agoUpdate acconfig.h to include values for gettext inclusion.
Ivo Timmermans [Mon, 29 May 2000 21:38:02 +0000 (21:38 +0000)]
Update acconfig.h to include values for gettext inclusion.

23 years agoInclude system.h and ABOUT-NLS.
Ivo Timmermans [Mon, 29 May 2000 21:36:28 +0000 (21:36 +0000)]
Include system.h and ABOUT-NLS.

23 years agoInclude intl/ directory in the list of subdirs.
Ivo Timmermans [Mon, 29 May 2000 21:04:55 +0000 (21:04 +0000)]
Include intl/ directory in the list of subdirs.

23 years agoInternationalization of tinc.
Ivo Timmermans [Mon, 29 May 2000 21:01:26 +0000 (21:01 +0000)]
Internationalization of tinc.

23 years agoTerminate a connection on any error. Furthermore, disallow del_host,
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.

23 years agoMade tinc persistent. If no outgoing connection can be established right
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.

23 years agoFixed typos. When terminating a connection, it's status is not only set to
Guus Sliepen [Sat, 27 May 2000 19:23:20 +0000 (19:23 +0000)]
Fixed typos. When terminating a connection, it's status is not only set to
remove=1 but also active=0.

23 years agoFix for a DoS attack:
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.

23 years agoDocumentation updates. Removed all references to configuration variable
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.

23 years agoUpdated by Lubomir Bulej and Mads Kiilerich: it uses /etc/tinc/nets.boot and the...
Ivo Timmermans [Fri, 26 May 2000 11:25:59 +0000 (11:25 +0000)]
Updated by Lubomir Bulej and Mads Kiilerich: it uses /etc/tinc/nets.boot and the VpnMask directive in the config files.

23 years agoCreate an empty /etc/tinc/nets.boot.
Ivo Timmermans [Sun, 21 May 2000 23:01:28 +0000 (23:01 +0000)]
Create an empty /etc/tinc/nets.boot.

23 years agoUse /etc/tinc/example as a base directory for an example. /etc/tinc/example/README...
Ivo Timmermans [Sun, 21 May 2000 22:40:41 +0000 (22:40 +0000)]
Use /etc/tinc/example as a base directory for an example.  /etc/tinc/example/README points to /usr/share/doc/tinc/README.Debian.

23 years agoAdd an example of using VpnMask.
Ivo Timmermans [Sun, 21 May 2000 22:38:01 +0000 (22:38 +0000)]
Add an example of using VpnMask.

23 years agoWhen VpnMask is not present in the config file, silently use $MSK as vpnmask.
Ivo Timmermans [Sun, 21 May 2000 22:27:31 +0000 (22:27 +0000)]
When VpnMask is not present in the config file, silently use $MSK as vpnmask.

23 years agoFixed last typo. Init.d now uses ifconfig command to set both the tap's IP
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.

23 years agoTypo.
Guus Sliepen [Sun, 21 May 2000 22:08:21 +0000 (22:08 +0000)]
Typo.

23 years agoVpnMask truely works now.
Guus Sliepen [Sun, 21 May 2000 22:04:56 +0000 (22:04 +0000)]
VpnMask truely works now.

23 years agoMask the vpn net with the vpn netmask, route would give an error if the netmask didn...
Ivo Timmermans [Fri, 19 May 2000 01:17:32 +0000 (01:17 +0000)]
Mask the vpn net with the vpn netmask, route would give an error if the netmask didn't match the net.

23 years agoFixed typo.
Ivo Timmermans [Fri, 19 May 2000 00:58:01 +0000 (00:58 +0000)]
Fixed typo.

23 years agoUpdated copyright notice.
Ivo Timmermans [Fri, 19 May 2000 00:33:44 +0000 (00:33 +0000)]
Updated copyright notice.

23 years agoErrors will not terminate the script or result in a nonzero exit code.
Ivo Timmermans [Fri, 19 May 2000 00:15:37 +0000 (00:15 +0000)]
Errors will not terminate the script or result in a nonzero exit code.