tinc
24 years agoread_server_config: Check for result of read_config_file.
Ivo Timmermans [Sun, 22 Oct 2000 13:47:41 +0000 (13:47 +0000)]
read_server_config: Check for result of read_config_file.

24 years agoInclude linux/sockios.h and net/if.h anyway, regardless of the value of HAVE_TUNTAP.
Ivo Timmermans [Sun, 22 Oct 2000 13:37:15 +0000 (13:37 +0000)]
Include linux/sockios.h and net/if.h anyway, regardless of the value of HAVE_TUNTAP.

24 years ago- Fixed all debug levels.
Guus Sliepen [Sat, 21 Oct 2000 11:52:08 +0000 (11:52 +0000)]
- Fixed all debug levels.
- Seed PRNG before generating a challenge
- Strange thing in challenge decryption: it fails if first bit is set!?

24 years ago- Removed last reference to genauth from Makefile.am
Guus Sliepen [Fri, 20 Oct 2000 19:46:58 +0000 (19:46 +0000)]
- Removed last reference to genauth from Makefile.am
- Tinc spawns tinc-up and tinc-down scripts which can be used to configure
  the network device. The environment variable IFNAME is set to the name
  of the interface.

24 years ago- Made Makefile.am stub for doc/es/
Guus Sliepen [Fri, 20 Oct 2000 16:49:20 +0000 (16:49 +0000)]
- Made Makefile.am stub for doc/es/
- Merged genauth into tincd
- Updated dutch translation

24 years ago- tinc now really does public/private key encryption! It even works, whee!
Guus Sliepen [Fri, 20 Oct 2000 15:34:38 +0000 (15:34 +0000)]
- tinc now really does public/private key encryption! It even works, whee!

24 years agoChanged changelog
Ivo Timmermans [Thu, 19 Oct 2000 17:29:22 +0000 (17:29 +0000)]
Changed changelog

24 years ago- Seed the PRNG using /dev/random before generating the keys.
Guus Sliepen [Thu, 19 Oct 2000 14:42:00 +0000 (14:42 +0000)]
- Seed the PRNG using /dev/random before generating the keys.

24 years agoGet the head revision up to date with cabal
Ivo Timmermans [Wed, 18 Oct 2000 19:44:11 +0000 (19:44 +0000)]
Get the head revision up to date with cabal

24 years agoDon't declare cp_file and cp_line in xmalloc()
Ivo Timmermans [Tue, 17 Oct 2000 10:15:20 +0000 (10:15 +0000)]
Don't declare cp_file and cp_line in xmalloc()

24 years agoProcess subdir es/
Ivo Timmermans [Tue, 17 Oct 2000 10:14:25 +0000 (10:14 +0000)]
Process subdir es/

24 years ago- More fixing. Tinc daemons can now even create activated connections.
Guus Sliepen [Mon, 16 Oct 2000 19:04:47 +0000 (19:04 +0000)]
- More fixing. Tinc daemons can now even create activated connections.

24 years ago- Fixing little things
Guus Sliepen [Mon, 16 Oct 2000 16:33:30 +0000 (16:33 +0000)]
- Fixing little things
- Two tinc daemons can connect to eachother now (but they disconnect right
  after the ACKs).

24 years agoOutput doc/es/Makefile
Ivo Timmermans [Mon, 16 Oct 2000 11:35:10 +0000 (11:35 +0000)]
Output doc/es/Makefile

24 years agoCorrected #ifdefs for tun/tap support.
Guus Sliepen [Sun, 15 Oct 2000 20:30:39 +0000 (20:30 +0000)]
Corrected #ifdefs for tun/tap support.

24 years agoReally #include the if_tun.h files now
Ivo Timmermans [Sun, 15 Oct 2000 20:21:27 +0000 (20:21 +0000)]
Really #include the if_tun.h files now

24 years agoLinearized checks for if_tun.h
Ivo Timmermans [Sun, 15 Oct 2000 20:13:55 +0000 (20:13 +0000)]
Linearized checks for if_tun.h

24 years agoWrap the tun/tap code in #ifdef HAVE_TUNTAP
Ivo Timmermans [Sun, 15 Oct 2000 19:53:15 +0000 (19:53 +0000)]
Wrap the tun/tap code in #ifdef HAVE_TUNTAP

24 years agoAdd checks for the presence of the universal tun/tap device driver.
Ivo Timmermans [Sun, 15 Oct 2000 17:26:31 +0000 (17:26 +0000)]
Add checks for the presence of the universal tun/tap device driver.

24 years ago- The daemon actually runs now (somewhat)
Guus Sliepen [Sun, 15 Oct 2000 00:59:37 +0000 (00:59 +0000)]
- The daemon actually runs now (somewhat)
- Added support for tun/tap driver (autodetect!)
- More sophisticated checkpoint functionality
- Updated dutch translation

24 years agoAdd CVS id lines
Ivo Timmermans [Sat, 14 Oct 2000 22:22:06 +0000 (22:22 +0000)]
Add CVS id lines

24 years agoFix `Requirements'-section for GMP and OpenSSL libraries.
Ivo Timmermans [Sat, 14 Oct 2000 22:17:29 +0000 (22:17 +0000)]
Fix `Requirements'-section for GMP and OpenSSL libraries.

24 years agoUpdate Depends lines to reflect the dependencies on OpenSSL
Ivo Timmermans [Sat, 14 Oct 2000 22:00:09 +0000 (22:00 +0000)]
Update Depends lines to reflect the dependencies on OpenSSL

24 years ago- Second fixing-things pass: it even links now.
Guus Sliepen [Sat, 14 Oct 2000 17:04:16 +0000 (17:04 +0000)]
- Second fixing-things pass: it even links now.
- Lots of FIXME comments added to the source code.

24 years agoDon't look for GMP header files
Ivo Timmermans [Fri, 13 Oct 2000 23:34:56 +0000 (23:34 +0000)]
Don't look for GMP header files

24 years agoUpdated new requirements, pointers to the manual
Ivo Timmermans [Fri, 13 Oct 2000 23:30:11 +0000 (23:30 +0000)]
Updated new requirements, pointers to the manual

24 years agoLink with OpenSSL, forget libGMP
Ivo Timmermans [Fri, 13 Oct 2000 23:29:35 +0000 (23:29 +0000)]
Link with OpenSSL, forget libGMP

24 years ago- Fixing-things pass: every source file compiles into an object file now,
Guus Sliepen [Wed, 11 Oct 2000 22:01:02 +0000 (22:01 +0000)]
- 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).

24 years ago- Generalized config file parsing to support multiple configuration trees.
Guus Sliepen [Wed, 11 Oct 2000 13:42:52 +0000 (13:42 +0000)]
- Generalized config file parsing to support multiple configuration trees.

24 years ago- Changed genauth to produce rsa keypairs instead of random passphrases.
Guus Sliepen [Wed, 11 Oct 2000 12:07:27 +0000 (12:07 +0000)]
- Changed genauth to produce rsa keypairs instead of random passphrases.

24 years agoBig and bad commit of my current tree...
Guus Sliepen [Wed, 11 Oct 2000 10:35:17 +0000 (10:35 +0000)]
Big and bad commit of my current tree...
- Added seperate file for connection list handling
- Updating everything to use connlist, meta and subnet files
- Removed dependency on libgmp
- Lots of other stuff...

24 years agoRemoving cipher directory (all will be covered by OpenSSL).
Guus Sliepen [Wed, 4 Oct 2000 15:09:57 +0000 (15:09 +0000)]
Removing cipher directory (all will be covered by OpenSSL).

24 years ago- Added subnet handling code
Guus Sliepen [Sun, 1 Oct 2000 03:21:49 +0000 (03:21 +0000)]
- Added subnet handling code
- Other small changes to header files

24 years agoMany updates, parts rewritten, added, shuffled around.
Ivo Timmermans [Wed, 27 Sep 2000 20:32:29 +0000 (20:32 +0000)]
Many updates, parts rewritten, added, shuffled around.

24 years ago- Added meta.c which contains functions to send, receive and broadcast
Guus Sliepen [Tue, 26 Sep 2000 14:06:11 +0000 (14:06 +0000)]
- Added meta.c which contains functions to send, receive and broadcast
  metadata. It will also handle encryption and decryption, and possibly
  compression and checksumming.
- Moved request dispatcher to protocol.c.

24 years ago- Very detailed example of the authentication phase.
Guus Sliepen [Mon, 25 Sep 2000 20:08:50 +0000 (20:08 +0000)]
- Very detailed example of the authentication phase.

24 years ago- Removed options "string" stuff. It was a bad idea...
Guus Sliepen [Fri, 22 Sep 2000 16:20:07 +0000 (16:20 +0000)]
- Removed options "string" stuff. It was a bad idea...
- free() everything that is allocated.

24 years ago- Severe code reduction and simplification of challenge requests
Guus Sliepen [Fri, 22 Sep 2000 15:06:28 +0000 (15:06 +0000)]
- Severe code reduction and simplification of challenge requests
- "Finished" [add|del]_subnet_h
- Added lots of sanity checks to [add|del]_host_h

24 years ago- Updated authentication scheme.
Guus Sliepen [Sun, 17 Sep 2000 21:42:05 +0000 (21:42 +0000)]
- Updated authentication scheme.
- Removed all trailing spaces from all lines.
- Added things to add_ and del_subnet_h.

24 years ago- Included authentication scheme from protocol.c
Guus Sliepen [Sun, 17 Sep 2000 20:11:59 +0000 (20:11 +0000)]
- Included authentication scheme from protocol.c
- Added a few comments about the symmetric cipher.

24 years agoAdded document about the used cryptographic algorithms and the reasons
Guus Sliepen [Sun, 17 Sep 2000 19:57:39 +0000 (19:57 +0000)]
Added document about the used cryptographic algorithms and the reasons
behind them. Feel very free to comment on this!

24 years agoAdded Spanish translation of the docs by Matias Carrasco
Ivo Timmermans [Sun, 17 Sep 2000 10:28:57 +0000 (10:28 +0000)]
Added Spanish translation of the docs by Matias Carrasco

24 years agoSecond round of fixes
Ivo Timmermans [Fri, 15 Sep 2000 12:58:40 +0000 (12:58 +0000)]
Second round of fixes

24 years agoFirst round of needed fixes after the overhaul
Ivo Timmermans [Thu, 14 Sep 2000 21:51:21 +0000 (21:51 +0000)]
First round of needed fixes after the overhaul

24 years agoNew directive: Name.
Ivo Timmermans [Thu, 14 Sep 2000 14:34:38 +0000 (14:34 +0000)]
New directive: Name.

24 years agoAdded some structures and types that are needed for the overhaul.
Ivo Timmermans [Thu, 14 Sep 2000 14:32:34 +0000 (14:32 +0000)]
Added some structures and types that are needed for the overhaul.

24 years ago- Lots of small changes.
Guus Sliepen [Thu, 14 Sep 2000 11:54:51 +0000 (11:54 +0000)]
- Lots of small changes.

24 years agoBetter checks for SunOS libraries
Ivo Timmermans [Mon, 11 Sep 2000 11:40:46 +0000 (11:40 +0000)]
Better checks for SunOS libraries

24 years ago- Fixed modulo in keylength check
Guus Sliepen [Mon, 11 Sep 2000 10:05:35 +0000 (10:05 +0000)]
- Fixed modulo in keylength check
- Updated header file to reflect new protocol code

24 years ago- Some key exchange stuff. (Last commit before going to bed.)
Guus Sliepen [Sun, 10 Sep 2000 23:11:37 +0000 (23:11 +0000)]
- Some key exchange stuff. (Last commit before going to bed.)

24 years ago- Lots of functions added for the new protocol.
Guus Sliepen [Sun, 10 Sep 2000 22:49:46 +0000 (22:49 +0000)]
- Lots of functions added for the new protocol.

24 years agoAdd Guus' name and shift out old protocol requests
Ivo Timmermans [Sun, 10 Sep 2000 21:57:11 +0000 (21:57 +0000)]
Add Guus' name and shift out old protocol requests

24 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

24 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.

24 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.

24 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

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

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

24 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

24 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)

24 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'

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

24 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

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

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

24 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.

24 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

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

24 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.

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

24 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.

24 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

24 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!

24 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.

24 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.

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

24 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 :)

24 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.

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

24 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.

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

24 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.

24 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.

24 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! :)

24 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.

24 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.

24 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 =)

24 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.

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

24 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.

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

24 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.

24 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

24 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.

24 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.

24 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.

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

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

24 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.

24 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)