tinc
21 years agoOnly print an error with send_termreq if debug_lvl is 2 or more.
Ivo Timmermans [Sun, 14 May 2000 13:50:10 +0000 (13:50 +0000)]
Only print an error with send_termreq if debug_lvl is 2 or more.

21 years agoFixed typos.
Guus Sliepen [Sun, 14 May 2000 13:06:52 +0000 (13:06 +0000)]
Fixed typos.

21 years agoChanged ping behaviour (backwards compatible). If we don't have any data
Guus Sliepen [Sun, 14 May 2000 13:02:20 +0000 (13:02 +0000)]
Changed ping behaviour (backwards compatible). If we don't have any data
to send, we don't need to check if the connection is still alive.
Furthermore, if we receive any kind of data from the other end, we know
it's alive, so we don't need to check it either. So, PING requests are
only sent if we send packets but there is no response.

21 years agoCleanups.
Guus Sliepen [Sun, 14 May 2000 12:22:42 +0000 (12:22 +0000)]
Cleanups.

21 years agoProxymode removed.
Guus Sliepen [Sun, 14 May 2000 11:39:18 +0000 (11:39 +0000)]
Proxymode removed.

21 years agoPerl version of the system startup script.
Ivo Timmermans [Sat, 13 May 2000 00:54:27 +0000 (00:54 +0000)]
Perl version of the system startup script.

21 years agoDeleted the protocol description.
Ivo Timmermans [Fri, 12 May 2000 13:31:00 +0000 (13:31 +0000)]
Deleted the protocol description.

21 years agoAdded new config variable "ProxyMode". If enabled, all outgoing packets release-1.0pre1
Guus Sliepen [Mon, 8 May 2000 18:44:15 +0000 (18:44 +0000)]
Added new config variable "ProxyMode". If enabled, all outgoing packets
are sent to the uplink (ConnectTo), which will have to forward them for
us (kernel should do that). This is for people behind firewalls.

21 years agoAdded semicolons required by bash2 (Mads Kiilerich).
Ivo Timmermans [Fri, 5 May 2000 10:48:54 +0000 (10:48 +0000)]
Added semicolons required by bash2 (Mads Kiilerich).

21 years agoCopied most of the code from the redhat script.
Ivo Timmermans [Thu, 4 May 2000 23:26:24 +0000 (23:26 +0000)]
Copied most of the code from the redhat script.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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 :).

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

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

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

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

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

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

21 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).

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

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

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

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

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

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

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

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

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

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

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

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

21 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/.

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

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

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

21 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

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

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

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

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

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

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

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

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

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

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

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

21 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'.

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

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

21 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'.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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.)

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

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

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

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

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

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

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

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

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

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

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

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

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