tinc
23 years agoCorrect filenames for passphrases given in the example
Ivo Timmermans [Sun, 10 Sep 2000 18:37:46 +0000 (18:37 +0000)]
Correct filenames for passphrases given in the example

23 years ago- Added more function skeletons for the new protocol.
Guus Sliepen [Sun, 10 Sep 2000 16:15:35 +0000 (16:15 +0000)]
- Added more function skeletons for the new protocol.

23 years ago- New protocol. Will break everything else for now.
Guus Sliepen [Sun, 10 Sep 2000 15:18:03 +0000 (15:18 +0000)]
- New protocol. Will break everything else for now.

23 years agoSupport for -lsocket and -lnsl on SunOS
Ivo Timmermans [Sun, 10 Sep 2000 15:16:07 +0000 (15:16 +0000)]
Support for -lsocket and -lnsl on SunOS

23 years agoInclude openssl/blowfish.h
Ivo Timmermans [Sun, 10 Sep 2000 15:15:38 +0000 (15:15 +0000)]
Include openssl/blowfish.h

23 years agoUpdated text, removed protocol flowchart
Ivo Timmermans [Sun, 10 Sep 2000 15:07:41 +0000 (15:07 +0000)]
Updated text, removed protocol flowchart

23 years agoLink with OpenSSL crypto libraries instead of own blowfish library
Ivo Timmermans [Sun, 10 Sep 2000 15:05:45 +0000 (15:05 +0000)]
Link with OpenSSL crypto libraries instead of own blowfish library

23 years ago- Use strerror() instead of sys_errlist[] for increased portability
Guus Sliepen [Wed, 6 Sep 2000 11:49:05 +0000 (11:49 +0000)]
- Use strerror() instead of sys_errlist[] for increased portability
  (Needed for SunOS)

23 years agoChanged CVSROOT path in `make ChangeLog'
Ivo Timmermans [Sun, 27 Aug 2000 11:05:47 +0000 (11:05 +0000)]
Changed CVSROOT path in `make ChangeLog'

23 years agoFix rules (thanks to Laurence)
Guus Sliepen [Tue, 22 Aug 2000 14:55:04 +0000 (14:55 +0000)]
Fix rules (thanks to Laurence)

23 years agoAdded a rule to create an rpm
Ivo Timmermans [Mon, 21 Aug 2000 20:35:47 +0000 (20:35 +0000)]
Added a rule to create an rpm

23 years agoUpdated tinc.conf manual.
Guus Sliepen [Mon, 21 Aug 2000 12:50:15 +0000 (12:50 +0000)]
Updated tinc.conf manual.

23 years agoAlso chomp $VPNMASK
Ivo Timmermans [Sun, 20 Aug 2000 23:08:17 +0000 (23:08 +0000)]
Also chomp $VPNMASK

23 years ago(Quoting Laurence Lane:)
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.

23 years agoUpdated the manual:
Guus Sliepen [Fri, 18 Aug 2000 14:45:38 +0000 (14:45 +0000)]
Updated the manual:
- incorporated comments from Stefan Hartsuiker
- updated configuration variables section
- added some text about key types

23 years agoCommented on some size calculations.
Guus Sliepen [Fri, 18 Aug 2000 11:17:09 +0000 (11:17 +0000)]
Commented on some size calculations.

23 years agoRan update-po and updated dutch translation.
Guus Sliepen [Thu, 17 Aug 2000 17:22:01 +0000 (17:22 +0000)]
Ran update-po and updated dutch translation.

23 years agoFixed all sprintf() spl01ts.
Guus Sliepen [Thu, 17 Aug 2000 16:51:08 +0000 (16:51 +0000)]
Fixed all sprintf() spl01ts.

23 years ago- Added two extra configuration options, Interface and InterfaceIP, to
Guus Sliepen [Wed, 9 Aug 2000 14:02:16 +0000 (14:02 +0000)]
- Added two extra configuration options, Interface and InterfaceIP, to
  bind the listen socket to a network device or a specific IP.

23 years ago- Reinstated O_NONBLOCK for meta socket
Guus Sliepen [Wed, 9 Aug 2000 09:34:21 +0000 (09:34 +0000)]
- Reinstated O_NONBLOCK for meta socket
- Set SO_KEEPALIVE on meta socket

23 years ago- Moved TCP packet reception to meta handler: less kludgy and less buggy!
Guus Sliepen [Tue, 8 Aug 2000 17:07:48 +0000 (17:07 +0000)]
- Moved TCP packet reception to meta handler: less kludgy and less buggy!

23 years ago- Added date/time of build and protocol number to --version output.
Guus Sliepen [Tue, 8 Aug 2000 14:54:57 +0000 (14:54 +0000)]
- Added date/time of build and protocol number to --version output.

23 years agoRemoved calling add_queue for tcponly packets.
Guus Sliepen [Tue, 8 Aug 2000 13:47:57 +0000 (13:47 +0000)]
Removed calling add_queue for tcponly packets.

23 years agoFixed PACKET read loop.
Guus Sliepen [Tue, 8 Aug 2000 08:48:50 +0000 (08:48 +0000)]
Fixed PACKET read loop.

23 years ago- Lots o' buglets fixed (-Wall helps)
Guus Sliepen [Mon, 7 Aug 2000 16:27:29 +0000 (16:27 +0000)]
- Lots o' buglets fixed (-Wall helps)
- Made TCPonly work :)

23 years ago- Added experimental hackish tunneling-over-TCP support.
Guus Sliepen [Mon, 7 Aug 2000 14:52:16 +0000 (14:52 +0000)]
- Added experimental hackish tunneling-over-TCP support.
  Just use TCPonly = true in the configuration file.

23 years ago- Fixed typo.
Guus Sliepen [Sun, 2 Jul 2000 13:40:57 +0000 (13:40 +0000)]
- Fixed typo.

23 years ago- Delayed address resolving for ConnectTo lines in configuration file to
Guus Sliepen [Sun, 2 Jul 2000 13:36:18 +0000 (13:36 +0000)]
- Delayed address resolving for ConnectTo lines in configuration file to
  allow DynDNS to work without restarting tincd.

23 years ago- Updated THANKS file
Guus Sliepen [Sun, 2 Jul 2000 12:48:04 +0000 (12:48 +0000)]
- Updated THANKS file

23 years agoInclude the Spanish translation in the distribution/build process.
Ivo Timmermans [Sun, 2 Jul 2000 12:41:03 +0000 (12:41 +0000)]
Include the Spanish translation in the distribution/build process.

23 years ago- Added Spanish translation from Enrique Zanardi.
Guus Sliepen [Sun, 2 Jul 2000 12:35:28 +0000 (12:35 +0000)]
- Added Spanish translation from Enrique Zanardi.

23 years ago- Forgot to mention ourselves in the tincd manual page! :)
Guus Sliepen [Sat, 1 Jul 2000 14:40:56 +0000 (14:40 +0000)]
- Forgot to mention ourselves in the tincd manual page! :)

23 years ago- Updated PROTOCOL (a bit)
Guus Sliepen [Sat, 1 Jul 2000 14:32:24 +0000 (14:32 +0000)]
- Updated PROTOCOL (a bit)
- Included a real tincd.8 describing the options, signals, debug levels
  and files used by tincd.

23 years ago- Removed a single unused bit from status_bits_t.
Guus Sliepen [Sat, 1 Jul 2000 07:49:21 +0000 (07:49 +0000)]
- Removed a single unused bit from status_bits_t.

23 years agoAdded architecture section, made a start with the kernel section.
Wessel Dankers [Sat, 1 Jul 2000 07:29:32 +0000 (07:29 +0000)]
Added architecture section, made a start with the kernel section.
ToDo: install tinc myself to see if everything is as I say =)

23 years ago- Added documentation for the protocols (most important the meta protocol)
Guus Sliepen [Fri, 30 Jun 2000 22:38:58 +0000 (22:38 +0000)]
- Added documentation for the protocols (most important the meta protocol)
  used by tinc.

23 years agoGrrr, recommit
Wessel Dankers [Fri, 30 Jun 2000 21:16:52 +0000 (21:16 +0000)]
Grrr, recommit

23 years ago- Made tinc even more silent if no -d flag is given at all.
Guus Sliepen [Fri, 30 Jun 2000 21:03:51 +0000 (21:03 +0000)]
- Made tinc even more silent if no -d flag is given at all.

23 years agoFile added to CABAL (hopefully)
Wessel Dankers [Fri, 30 Jun 2000 20:50:47 +0000 (20:50 +0000)]
File added to CABAL (hopefully)

23 years ago- Instead of logging an error when remote end closes the connection,
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.

23 years ago- Removed segfault bug in conf.c (must have been there for ages!)
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

23 years ago- Fixed memory leak.
Guus Sliepen [Thu, 29 Jun 2000 19:47:04 +0000 (19:47 +0000)]
- Fixed memory leak.
- Implemented SIGHUP configuration file reloading.
- Other small changes.

23 years ago- New semantics for BASIC_INFO, ADD_HOST and DEL_HOST requests. This will
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.

23 years ago- Removed all IP_ADDR_S macros, because gettext doesn't like them. Each
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.

23 years ago- Updated Dutch translation.
Guus Sliepen [Thu, 29 Jun 2000 07:11:23 +0000 (07:11 +0000)]
- Updated Dutch translation.

23 years agoOops, and mention Guus too.
Ivo Timmermans [Wed, 28 Jun 2000 21:06:40 +0000 (21:06 +0000)]
Oops, and mention Guus too.

23 years agoRemoved Free Software Foundation copyright, because Guus Sliepen contributed signific...
Ivo Timmermans [Wed, 28 Jun 2000 21:01:45 +0000 (21:01 +0000)]
Removed Free Software Foundation copyright, because Guus Sliepen contributed significantly.

23 years ago- Added log message when SIGCHLD is received ("thanks" to Ivo van Dong)
Guus Sliepen [Wed, 28 Jun 2000 14:34:40 +0000 (14:34 +0000)]
- Added log message when SIGCHLD is received ("thanks" to Ivo van Dong)

23 years ago- Fixed a message in nl.po
Guus Sliepen [Wed, 28 Jun 2000 13:41:02 +0000 (13:41 +0000)]
- Fixed a message in nl.po
- Woops, we forgot to send our connection list to our uplink when we
  connect to it... Fixed.

23 years ago- Fixed missing " in nl.po
Guus Sliepen [Wed, 28 Jun 2000 11:39:40 +0000 (11:39 +0000)]
- Fixed missing " in nl.po

23 years ago- Fixed some spelling errors.
Guus Sliepen [Wed, 28 Jun 2000 11:38:01 +0000 (11:38 +0000)]
- Fixed some spelling errors.
- Paar zpelvautjes gerepareerd, en de Nederlandse vertaling weer bij de
  tijd gebracht.

23 years ago- Extra check op EINTR bij inlezen requests
Guus Sliepen [Wed, 28 Jun 2000 10:11:10 +0000 (10:11 +0000)]
- Extra check op EINTR bij inlezen requests

23 years ago- Fixes a silly little insignificant buglet.
Guus Sliepen [Tue, 27 Jun 2000 21:05:07 +0000 (21:05 +0000)]
- Fixes a silly little insignificant buglet.

23 years ago- Purge old connections that are ADD_HOSTed.
Guus Sliepen [Tue, 27 Jun 2000 20:55:12 +0000 (20:55 +0000)]
- Purge old connections that are ADD_HOSTed.

23 years ago- Improved handling of errors on connection attempts.
Guus Sliepen [Tue, 27 Jun 2000 20:10:48 +0000 (20:10 +0000)]
- Improved handling of errors on connection attempts.

23 years ago- Fixed indirectdata=no problem
Guus Sliepen [Tue, 27 Jun 2000 15:08:58 +0000 (15:08 +0000)]
- Fixed indirectdata=no problem
- Added support for multiple ConnectTo lines in tinc.conf.

23 years ago- Fixed KEY_CHANGED notification. A lot of notify_others() calls were
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.

23 years ago- Moved all connection messages to debug level 1, without -d's only the
Guus Sliepen [Mon, 26 Jun 2000 20:30:21 +0000 (20:30 +0000)]
- Moved all connection messages to debug level 1, without -d's only the
  startup message will be logged.
- Fixed DEL_HOST rebound.

23 years ago- Indirectdata finally REALLY REALLY works now!
Guus Sliepen [Mon, 26 Jun 2000 19:39:34 +0000 (19:39 +0000)]
- Indirectdata finally REALLY REALLY works now!
- More precise debug messages

23 years agoFixes some hostlookups. Fixes indirectdata for real now (hopefully).
Guus Sliepen [Mon, 26 Jun 2000 17:20:58 +0000 (17:20 +0000)]
Fixes some hostlookups. Fixes indirectdata for real now (hopefully).

23 years agoVersion 1.0pre3.
Ivo Timmermans [Sun, 25 Jun 2000 20:52:29 +0000 (20:52 +0000)]
Version 1.0pre3.

23 years ago- More verbose connection list
Guus Sliepen [Sun, 25 Jun 2000 16:39:17 +0000 (16:39 +0000)]
- More verbose connection list
- Added "myself" as hostname when logging indirect ADD_HOSTs

23 years agoHostlookup() is actually being called now.
Guus Sliepen [Sun, 25 Jun 2000 16:20:27 +0000 (16:20 +0000)]
Hostlookup() is actually being called now.

23 years agoHostnames are back!
Guus Sliepen [Sun, 25 Jun 2000 16:01:12 +0000 (16:01 +0000)]
Hostnames are back!

23 years ago- Log possible spoofing attacks.
Guus Sliepen [Sun, 25 Jun 2000 15:45:09 +0000 (15:45 +0000)]
- 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.

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 CVS Id tags to header files.
Guus Sliepen [Sun, 25 Jun 2000 15:22:16 +0000 (15:22 +0000)]
Added CVS Id tags to header files.

23 years agoLarge cleanup:
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

23 years agoIf we have "indirectdata" flag set, we only send data to our uplink.
Guus Sliepen [Sat, 24 Jun 2000 12:35:42 +0000 (12:35 +0000)]
If we have "indirectdata" flag set, we only send data to our uplink.

23 years agoFirst step for implementation of the "indirectdata" directive. This should
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.

23 years agoConfiguration directive `IndirectData'.
Ivo Timmermans [Sat, 17 Jun 2000 20:55:54 +0000 (20:55 +0000)]
Configuration directive `IndirectData'.

23 years agoMerge changes from 1.6-1.8.
Ivo Timmermans [Sat, 17 Jun 2000 20:30:44 +0000 (20:30 +0000)]
Merge changes from 1.6-1.8.

23 years agoInclude ../intl in the include path, and add @INTLLIBS@ to the list of libraries.
Ivo Timmermans [Tue, 6 Jun 2000 10:24:33 +0000 (10:24 +0000)]
Include ../intl in the include path, and add @INTLLIBS@ to the list of libraries.

23 years agoThese files are created by gettextize (run by autogen.sh) (should have known that).
Ivo Timmermans [Sun, 4 Jun 2000 12:14:31 +0000 (12:14 +0000)]
These files are created by gettextize (run by autogen.sh) (should have known that).

23 years agoDon't touch VPNMASK if it's defined, otherwise use $MSK.
Ivo Timmermans [Sat, 3 Jun 2000 23:32:03 +0000 (23:32 +0000)]
Don't touch VPNMASK if it's defined, otherwise use $MSK.

23 years agoAlphabetized the list, added Lubom�r Bulej, removed Sander Smeenk and Tijs van Bakel...
Ivo Timmermans [Fri, 2 Jun 2000 17:30:33 +0000 (17:30 +0000)]
Alphabetized the list, added Lubom�r Bulej, removed Sander Smeenk and Tijs van Bakel, put merits after all names.

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.