tinc
23 years agoInclude sys/types.h.
Ivo Timmermans [Thu, 4 May 2000 23:17:02 +0000 (23:17 +0000)]
Include sys/types.h.

23 years agoDon't link in libdl.
Ivo Timmermans [Thu, 4 May 2000 23:16:43 +0000 (23:16 +0000)]
Don't link in libdl.

23 years agoCheck for the existance of libdl.
Ivo Timmermans [Thu, 4 May 2000 00:01:05 +0000 (00:01 +0000)]
Check for the existance of libdl.

23 years agoMore for getopt support.
Ivo Timmermans [Thu, 4 May 2000 00:00:50 +0000 (00:00 +0000)]
More for getopt support.

23 years agoInclude stdio.h for fprintf.
Ivo Timmermans [Thu, 4 May 2000 00:00:06 +0000 (00:00 +0000)]
Include stdio.h for fprintf.

23 years agogetopt_long() support for platforms that don't have it.
Ivo Timmermans [Wed, 3 May 2000 23:47:06 +0000 (23:47 +0000)]
getopt_long() support for platforms that don't have it.

23 years agoDon't use error.h or error(), put #error in front of cpp errors.
Ivo Timmermans [Wed, 3 May 2000 23:00:38 +0000 (23:00 +0000)]
Don't use error.h or error(), put #error in front of cpp errors.

23 years agoSquashed gcc warning.
Guus Sliepen [Wed, 3 May 2000 18:02:15 +0000 (18:02 +0000)]
Squashed gcc warning.

23 years agoFixes typo and UDP network byte order.
Guus Sliepen [Wed, 3 May 2000 17:59:07 +0000 (17:59 +0000)]
Fixes typo and UDP network byte order.

23 years agoOutgoing packets now use network byte order in header.
Guus Sliepen [Wed, 3 May 2000 15:37:32 +0000 (15:37 +0000)]
Outgoing packets now use network byte order in header.

23 years agoFix a typo, better handling of the info document. (from Mads Kiilerich)
Ivo Timmermans [Wed, 3 May 2000 15:01:54 +0000 (15:01 +0000)]
Fix a typo, better handling of the info document. (from Mads Kiilerich)

23 years agoReplaced sprintf() by safer snprintf(), removed possible buffer overflow
Guus Sliepen [Tue, 2 May 2000 10:16:50 +0000 (10:16 +0000)]
Replaced sprintf() by safer snprintf(), removed possible buffer overflow
by one byte.

23 years agoPrevious fix fixed. Meta protocol should be really flawless from now on!
Guus Sliepen [Tue, 2 May 2000 09:55:34 +0000 (09:55 +0000)]
Previous fix fixed. Meta protocol should be really flawless from now on!

23 years agoFixed small mistake that would prevent forwarding requests.
Guus Sliepen [Tue, 2 May 2000 09:10:33 +0000 (09:10 +0000)]
Fixed small mistake that would prevent forwarding requests.

23 years agoMentioned new metaprotocol.
Ivo Timmermans [Mon, 1 May 2000 22:00:02 +0000 (22:00 +0000)]
Mentioned new metaprotocol.

23 years agoMore tincd->tinc updates.
Ivo Timmermans [Mon, 1 May 2000 21:47:12 +0000 (21:47 +0000)]
More tincd->tinc updates.

23 years agoFixed meta protocol.
Ivo Timmermans [Mon, 1 May 2000 21:31:59 +0000 (21:31 +0000)]
Fixed meta protocol.

23 years agoCommitted by Mads Kiilerich.
Ivo Timmermans [Mon, 1 May 2000 21:31:17 +0000 (21:31 +0000)]
Committed by Mads Kiilerich.

23 years agoUpdates by Mads Kiilerich.
Ivo Timmermans [Mon, 1 May 2000 19:17:09 +0000 (19:17 +0000)]
Updates by Mads Kiilerich.

23 years agoMeta protocol overhaul. Tinc is now incompatible with previous versions,
Guus Sliepen [Mon, 1 May 2000 18:07:12 +0000 (18:07 +0000)]
Meta protocol overhaul. Tinc is now incompatible with previous versions,
furthermore this version does NOT work yet because of a problem with
sending keys (these should be converted to base36 or something like that).
It is possible to telnet to the tinc daemon now and type some commands
by hand though :).

23 years agoCommitted by Lubom�r Bulej.
Ivo Timmermans [Mon, 1 May 2000 16:28:28 +0000 (16:28 +0000)]
Committed by Lubom�r Bulej.

23 years agoKey forwarding, write one byte extra.
Ivo Timmermans [Sun, 30 Apr 2000 20:48:48 +0000 (20:48 +0000)]
Key forwarding, write one byte extra.

23 years agoProtocol fix (ANS_KEY). This breaks 0.3.3 protocol compatibility.
Ivo Timmermans [Sun, 30 Apr 2000 19:49:49 +0000 (19:49 +0000)]
Protocol fix (ANS_KEY).  This breaks 0.3.3 protocol compatibility.

23 years agoSend one less byte from an ANS_KEY request.
Ivo Timmermans [Sun, 30 Apr 2000 19:03:00 +0000 (19:03 +0000)]
Send one less byte from an ANS_KEY request.

23 years agoRead one less byte from an ANS_KEY request.
Ivo Timmermans [Sun, 30 Apr 2000 18:57:16 +0000 (18:57 +0000)]
Read one less byte from an ANS_KEY request.

23 years agoRemoved debug messages.
Ivo Timmermans [Sun, 30 Apr 2000 16:34:31 +0000 (16:34 +0000)]
Removed debug messages.

23 years agoRead public keys the right way (tm).
Ivo Timmermans [Sun, 30 Apr 2000 16:31:23 +0000 (16:31 +0000)]
Read public keys the right way (tm).

23 years agoNew way of handling the meta protocol.
Ivo Timmermans [Sun, 30 Apr 2000 16:11:05 +0000 (16:11 +0000)]
New way of handling the meta protocol.

23 years agoReplaced check for status.active by status.dataopen in check_network_activity.
Ivo Timmermans [Sun, 30 Apr 2000 13:23:53 +0000 (13:23 +0000)]
Replaced check for status.active by status.dataopen in check_network_activity.

23 years agoInitially, the vpn_mask of a connection is 255.255.255.255 to avoid confusion with...
Ivo Timmermans [Sun, 30 Apr 2000 01:16:51 +0000 (01:16 +0000)]
Initially, the vpn_mask of a connection is 255.255.255.255 to avoid confusion with lookup_conn.

23 years agoGot rid of the nasty hacks... and replaced it by another one.
Ivo Timmermans [Sun, 30 Apr 2000 01:15:47 +0000 (01:15 +0000)]
Got rid of the nasty hacks... and replaced it by another one.

23 years agoFilled up the protocol structs with unused bytes.
Ivo Timmermans [Sat, 29 Apr 2000 20:39:36 +0000 (20:39 +0000)]
Filled up the protocol structs with unused bytes.

23 years agoAdded `deb' target.
Ivo Timmermans [Sat, 29 Apr 2000 20:38:23 +0000 (20:38 +0000)]
Added `deb' target.

23 years agoMore updates wrt. the change from tincd->tinc.
Ivo Timmermans [Sat, 29 Apr 2000 13:56:06 +0000 (13:56 +0000)]
More updates wrt. the change from tincd->tinc.

23 years agoOops! Reference to write_n() removed and changed into neat write() call.
Guus Sliepen [Fri, 28 Apr 2000 11:33:25 +0000 (11:33 +0000)]
Oops! Reference to write_n() removed and changed into neat write() call.

23 years agoRemoved write_n() function.
Guus Sliepen [Thu, 27 Apr 2000 20:57:18 +0000 (20:57 +0000)]
Removed write_n() function.

23 years agoDefault config file name is tinc.conf, and pidfile is tinc.pid.
Ivo Timmermans [Thu, 27 Apr 2000 13:47:51 +0000 (13:47 +0000)]
Default config file name is tinc.conf, and pidfile is tinc.pid.

23 years agoUpdated version number to 1.0.
Ivo Timmermans [Thu, 27 Apr 2000 00:07:17 +0000 (00:07 +0000)]
Updated version number to 1.0.

23 years agoFilled in the details, license from libblowfish copied.
Ivo Timmermans [Thu, 27 Apr 2000 00:01:00 +0000 (00:01 +0000)]
Filled in the details, license from libblowfish copied.

23 years agoVersion to 1.0pre1;
Ivo Timmermans [Wed, 26 Apr 2000 23:56:22 +0000 (23:56 +0000)]
Version to 1.0pre1;
Create Makefile and build in debian/.

23 years agoOmit TODO.
Ivo Timmermans [Wed, 26 Apr 2000 23:23:01 +0000 (23:23 +0000)]
Omit TODO.

23 years agoAdd an entry to dir.
Ivo Timmermans [Wed, 26 Apr 2000 22:42:15 +0000 (22:42 +0000)]
Add an entry to dir.

23 years agoThe make command is in /usr/bin.
Ivo Timmermans [Wed, 26 Apr 2000 22:01:01 +0000 (22:01 +0000)]
The make command is in /usr/bin.

23 years agoCleanups:
Guus Sliepen [Wed, 26 Apr 2000 17:42:55 +0000 (17:42 +0000)]
Cleanups:
- Changed recv/send calls into read/write calls for streams
- Made all sizeof() functions use a variable name instead of type

23 years agoFrom Mads Kiilerich.
Ivo Timmermans [Wed, 26 Apr 2000 14:54:43 +0000 (14:54 +0000)]
From Mads Kiilerich.

23 years agoConverted every &variable[0] to variable.
Guus Sliepen [Tue, 25 Apr 2000 22:15:28 +0000 (22:15 +0000)]
Converted every &variable[0] to variable.

23 years agoDebug level tweaking.
Ivo Timmermans [Tue, 25 Apr 2000 22:00:49 +0000 (22:00 +0000)]
Debug level tweaking.

23 years agoWhen trying to talk to a host that is in the netmask of a tinc server but
Guus Sliepen [Tue, 25 Apr 2000 20:50:59 +0000 (20:50 +0000)]
When trying to talk to a host that is in the netmask of a tinc server but
not the tinc server itself, and no keys have been exchanged yet, the key
request would be directed to the host instead of the server. Fixed.

23 years ago*** empty log message ***
Ivo Timmermans [Tue, 25 Apr 2000 20:42:54 +0000 (20:42 +0000)]
*** empty log message ***

23 years agoFixed typo and removed some unnecessary variables.
Guus Sliepen [Tue, 25 Apr 2000 20:17:44 +0000 (20:17 +0000)]
Fixed typo and removed some unnecessary variables.

23 years agoPacket queues fixed. They caused the trouble when resending keys.
Guus Sliepen [Tue, 25 Apr 2000 20:10:37 +0000 (20:10 +0000)]
Packet queues fixed. They caused the trouble when resending keys.

23 years agoCreate a ChangeLog file, automake requires it.
Ivo Timmermans [Tue, 25 Apr 2000 19:23:23 +0000 (19:23 +0000)]
Create a ChangeLog file, automake requires it.

23 years ago*** empty log message ***
Ivo Timmermans [Tue, 25 Apr 2000 19:21:19 +0000 (19:21 +0000)]
*** empty log message ***

23 years agoInitial CVS.
Ivo Timmermans [Tue, 25 Apr 2000 19:11:02 +0000 (19:11 +0000)]
Initial CVS.

23 years agoAdded checkpoints to beginning and ending of every function.
Guus Sliepen [Tue, 25 Apr 2000 18:57:23 +0000 (18:57 +0000)]
Added checkpoints to beginning and ending of every function.

23 years agoRemove ChangeLog with a `make cvs-clean'.
Ivo Timmermans [Tue, 25 Apr 2000 17:38:54 +0000 (17:38 +0000)]
Remove ChangeLog with a `make cvs-clean'.

23 years agoDon't include TODO in the dist.
Ivo Timmermans [Tue, 25 Apr 2000 17:35:45 +0000 (17:35 +0000)]
Don't include TODO in the dist.

23 years agoPropagate CFLAGS from configure to gcc.
Ivo Timmermans [Tue, 25 Apr 2000 15:08:10 +0000 (15:08 +0000)]
Propagate CFLAGS from configure to gcc.

23 years agoDelete all the files that are created by autogen.sh on a `make cvs-clean'.
Ivo Timmermans [Tue, 25 Apr 2000 15:07:21 +0000 (15:07 +0000)]
Delete all the files that are created by autogen.sh on a `make cvs-clean'.

23 years agoSpelling fixes.
Ivo Timmermans [Tue, 25 Apr 2000 10:40:08 +0000 (10:40 +0000)]
Spelling fixes.

23 years agoContributed by Mads Kiilerich.
Ivo Timmermans [Tue, 25 Apr 2000 10:27:44 +0000 (10:27 +0000)]
Contributed by Mads Kiilerich.

23 years agoGenerate this Makefile.am from Makefile.am.in.
Ivo Timmermans [Tue, 25 Apr 2000 10:22:26 +0000 (10:22 +0000)]
Generate this Makefile.am from Makefile.am.in.

23 years ago*** empty log message ***
Ivo Timmermans [Tue, 25 Apr 2000 09:43:50 +0000 (09:43 +0000)]
*** empty log message ***

23 years agoAdded Mads Kiilerich, removed Guus Sliepen.
Ivo Timmermans [Tue, 25 Apr 2000 09:42:52 +0000 (09:42 +0000)]
Added Mads Kiilerich, removed Guus Sliepen.

23 years agoChanges largely from Mads Kiilerich.
Ivo Timmermans [Tue, 25 Apr 2000 01:45:34 +0000 (01:45 +0000)]
Changes largely from Mads Kiilerich.
Removed section about encryption.

23 years agoRemove test for GNOME.
Ivo Timmermans [Tue, 25 Apr 2000 01:26:35 +0000 (01:26 +0000)]
Remove test for GNOME.

23 years agoUse `make ChangeLog' to create this file from the CVS logs.
Ivo Timmermans [Tue, 25 Apr 2000 01:25:18 +0000 (01:25 +0000)]
Use `make ChangeLog' to create this file from the CVS logs.

23 years agoDon't define HAVE_NAMESPACES and HAVE_STL.
Ivo Timmermans [Tue, 25 Apr 2000 01:23:31 +0000 (01:23 +0000)]
Don't define HAVE_NAMESPACES and HAVE_STL.

23 years agoRemove check for bigendianness.
Ivo Timmermans [Tue, 25 Apr 2000 01:22:01 +0000 (01:22 +0000)]
Remove check for bigendianness.

23 years agoThis file is obsolete, most of the ideas are already in echelon.
Ivo Timmermans [Tue, 25 Apr 2000 01:15:28 +0000 (01:15 +0000)]
This file is obsolete, most of the ideas are already in echelon.

23 years agos/Gnome/tinc/g
Ivo Timmermans [Tue, 25 Apr 2000 01:10:38 +0000 (01:10 +0000)]
s/Gnome/tinc/g

23 years agoThe shell script autogen.sh can create all these removed files, but be
Ivo Timmermans [Tue, 25 Apr 2000 00:50:48 +0000 (00:50 +0000)]
The shell script autogen.sh can create all these removed files, but be
sure to have autoconf, automake, libtool and more installed.

23 years agoDon't try to create cipher/idea/Makefile.
Ivo Timmermans [Tue, 25 Apr 2000 00:11:33 +0000 (00:11 +0000)]
Don't try to create cipher/idea/Makefile.

23 years agoDon't include idea/idea.h.
Ivo Timmermans [Mon, 24 Apr 2000 21:12:32 +0000 (21:12 +0000)]
Don't include idea/idea.h.

23 years agoDon't compile in `idea'.
Ivo Timmermans [Mon, 24 Apr 2000 21:10:33 +0000 (21:10 +0000)]
Don't compile in `idea'.

23 years agoThese files are not needed in release 1.0.
Ivo Timmermans [Mon, 24 Apr 2000 20:57:22 +0000 (20:57 +0000)]
These files are not needed in release 1.0.

23 years agoBug found! Wrong pointer was used for handling multiple ADD_HOST requests
Guus Sliepen [Mon, 24 Apr 2000 09:39:50 +0000 (09:39 +0000)]
Bug found! Wrong pointer was used for handling multiple ADD_HOST requests
at once. (See line 606.)

23 years agoAdded extra checks for desynchronized connection lists. Hopefully this will
Guus Sliepen [Mon, 24 Apr 2000 08:32:57 +0000 (08:32 +0000)]
Added extra checks for desynchronized connection lists. Hopefully this will
fix those strange segmentation faults.

24 years agoAdded cvs-clean.
Ivo Timmermans [Thu, 20 Apr 2000 22:50:48 +0000 (22:50 +0000)]
Added cvs-clean.

24 years agoKeep make dist(dir) happy.
Ivo Timmermans [Thu, 20 Apr 2000 19:14:09 +0000 (19:14 +0000)]
Keep make dist(dir) happy.

24 years agoA short notice from Mads Kiilerich.
Ivo Timmermans [Tue, 18 Apr 2000 20:44:29 +0000 (20:44 +0000)]
A short notice from Mads Kiilerich.

24 years agoSubmitted changes by Mads Kiilerich.
Ivo Timmermans [Tue, 18 Apr 2000 20:43:24 +0000 (20:43 +0000)]
Submitted changes by Mads Kiilerich.

24 years agoInclude genauth.8 in the distribution.
Ivo Timmermans [Tue, 18 Apr 2000 20:30:20 +0000 (20:30 +0000)]
Include genauth.8 in the distribution.

24 years agoInclude the directory redhat in the build process.
Ivo Timmermans [Tue, 18 Apr 2000 20:26:49 +0000 (20:26 +0000)]
Include the directory redhat in the build process.

24 years agoAddress for bugreports changed to tinc@nl.linux.org.
Ivo Timmermans [Tue, 18 Apr 2000 16:04:10 +0000 (16:04 +0000)]
Address for bugreports changed to tinc@nl.linux.org.

24 years agoUpdated manpages.
Ivo Timmermans [Tue, 18 Apr 2000 15:59:42 +0000 (15:59 +0000)]
Updated manpages.

24 years agoNew manpage for genauth.
Ivo Timmermans [Tue, 18 Apr 2000 15:59:22 +0000 (15:59 +0000)]
New manpage for genauth.

24 years agoSubmitted by Mads Kiilerich.
Ivo Timmermans [Tue, 18 Apr 2000 15:09:11 +0000 (15:09 +0000)]
Submitted by Mads Kiilerich.

24 years agoDefault passphrase length of 1024, added -h/--help options.
Ivo Timmermans [Mon, 17 Apr 2000 17:04:33 +0000 (17:04 +0000)]
Default passphrase length of 1024, added -h/--help options.

24 years agoCheck if stdout is a terminal, if so, print a verbose message.
Ivo Timmermans [Mon, 17 Apr 2000 16:59:42 +0000 (16:59 +0000)]
Check if stdout is a terminal, if so, print a verbose message.

24 years agoCheck for an illegal length of passphrase in read_passphrase().
Ivo Timmermans [Mon, 17 Apr 2000 16:52:58 +0000 (16:52 +0000)]
Check for an illegal length of passphrase in read_passphrase().

24 years agoPass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func()
Ivo Timmermans [Mon, 17 Apr 2000 16:23:29 +0000 (16:23 +0000)]
Pass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func()

24 years agoOnly one round of reading bits out of urandom;
Ivo Timmermans [Mon, 17 Apr 2000 15:38:47 +0000 (15:38 +0000)]
Only one round of reading bits out of urandom;
Reading `bytes' bytes out of it;
Print a newline after completion.

24 years agoMoved to version number 1.0.
Ivo Timmermans [Wed, 12 Apr 2000 16:22:39 +0000 (16:22 +0000)]
Moved to version number 1.0.

24 years agoNew option -D, don't detach.
Ivo Timmermans [Thu, 6 Apr 2000 18:28:29 +0000 (18:28 +0000)]
New option -D, don't detach.

24 years agoIgnore SIGCHLD.
Ivo Timmermans [Tue, 28 Mar 2000 19:16:27 +0000 (19:16 +0000)]
Ignore SIGCHLD.

24 years agoKill the parent after any error conditions in detach().
Ivo Timmermans [Tue, 28 Mar 2000 19:09:52 +0000 (19:09 +0000)]
Kill the parent after any error conditions in detach().

24 years agoUpon regeneration, free the old encryption key `securely\' by overwriting it.
Ivo Timmermans [Mon, 27 Mar 2000 22:59:16 +0000 (22:59 +0000)]
Upon regeneration, free the old encryption key `securely\' by overwriting it.

24 years agoGet rid of the message `zxnrbl\'.
Ivo Timmermans [Mon, 27 Mar 2000 22:30:27 +0000 (22:30 +0000)]
Get rid of the message `zxnrbl\'.

24 years agoInitial revision
Ivo Timmermans [Sun, 26 Mar 2000 00:33:07 +0000 (00:33 +0000)]
Initial revision