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

23 years agoInclude postinst in the distribution.
Ivo Timmermans [Fri, 19 May 2000 00:14:34 +0000 (00:14 +0000)]
Include postinst in the distribution.

23 years agoFind networks in instead of .
Ivo Timmermans [Fri, 19 May 2000 00:09:20 +0000 (00:09 +0000)]
Find networks in  instead of .

23 years agoDon't distribute the file files.
Ivo Timmermans [Thu, 18 May 2000 23:33:44 +0000 (23:33 +0000)]
Don't distribute the file files.

23 years agoVersion 1.0pre2-0.3
Ivo Timmermans [Thu, 18 May 2000 23:28:51 +0000 (23:28 +0000)]
Version 1.0pre2-0.3

23 years agoCreate a default /etc/tinc/nets.boot after installation, containing all directories...
Ivo Timmermans [Thu, 18 May 2000 23:18:54 +0000 (23:18 +0000)]
Create a default /etc/tinc/nets.boot after installation, containing all directories under /etc/tinc by default.

23 years agoRead /etc/tinc/nets.boot to find the networks that have to be started.
Ivo Timmermans [Thu, 18 May 2000 23:09:31 +0000 (23:09 +0000)]
Read /etc/tinc/nets.boot to find the networks that have to be started.

23 years agoThis file is generated with dpkg-buildpackage.
Ivo Timmermans [Wed, 17 May 2000 23:13:51 +0000 (23:13 +0000)]
This file is generated with dpkg-buildpackage.

23 years agoTODO file reinstated:
Guus Sliepen [Tue, 16 May 2000 16:07:15 +0000 (16:07 +0000)]
TODO file reinstated:
- Append your name to items if you're working on them.
- Remove them if you fixed the problem/implemented that feature.
- Add any (suspected) bugs.

23 years agoUse the new VpnMask directive to add a route to the rest of the VPN.
Ivo Timmermans [Tue, 16 May 2000 14:34:44 +0000 (14:34 +0000)]
Use the new VpnMask directive to add a route to the rest of the VPN.

23 years agoStub for VpnMask config directive.
Guus Sliepen [Tue, 16 May 2000 13:09:15 +0000 (13:09 +0000)]
Stub for VpnMask config directive.

23 years agoLook if the tap devices exist before bluntly remaking them.
Ivo Timmermans [Tue, 16 May 2000 13:03:32 +0000 (13:03 +0000)]
Look if the tap devices exist before bluntly remaking them.

23 years ago*** empty log message ***
Ivo Timmermans [Tue, 16 May 2000 07:56:05 +0000 (07:56 +0000)]
*** empty log message ***

23 years agoDepend on perl5.
Ivo Timmermans [Mon, 15 May 2000 19:48:46 +0000 (19:48 +0000)]
Depend on perl5.

23 years agoUnlimited length in the config file, thanks to Cris van Pelt.
Ivo Timmermans [Mon, 15 May 2000 18:28:45 +0000 (18:28 +0000)]
Unlimited length in the config file, thanks to Cris van Pelt.

23 years agoExit with zero status if is empty.
Ivo Timmermans [Mon, 15 May 2000 17:15:52 +0000 (17:15 +0000)]
Exit with zero status if  is empty.

23 years agoUpdated to newer version.
Ivo Timmermans [Mon, 15 May 2000 15:54:37 +0000 (15:54 +0000)]
Updated to newer version.

23 years agoTest for existence of configured tinc networks. This will also make
Guus Sliepen [Mon, 15 May 2000 09:41:34 +0000 (09:41 +0000)]
Test for existence of configured tinc networks. This will also make
first install of tinc possible without errors.

23 years ago.deb version number 1.0pre2-0.4.
Ivo Timmermans [Sun, 14 May 2000 23:03:37 +0000 (23:03 +0000)]
.deb version number 1.0pre2-0.4.

23 years agotincd->tinc
Ivo Timmermans [Sun, 14 May 2000 23:00:44 +0000 (23:00 +0000)]
tincd->tinc
Delete libblowfish.y not be in the .deb.

23 years agoMention both upstream authors.
Ivo Timmermans [Sun, 14 May 2000 22:59:47 +0000 (22:59 +0000)]
Mention both upstream authors.

23 years agoAdd description, better dependancies.
Ivo Timmermans [Sun, 14 May 2000 22:59:19 +0000 (22:59 +0000)]
Add description, better dependancies.

23 years agoAdd initscript, tincd->tinc.
Ivo Timmermans [Sun, 14 May 2000 22:58:47 +0000 (22:58 +0000)]
Add initscript, tincd->tinc.

23 years agoInserted useful content.
Ivo Timmermans [Sun, 14 May 2000 21:18:10 +0000 (21:18 +0000)]
Inserted useful content.

23 years agoAdd shlibs control file for the blowfish library.
Ivo Timmermans [Sun, 14 May 2000 21:14:23 +0000 (21:14 +0000)]
Add shlibs control file for the blowfish library.

23 years agoGive IP address instead of hex number when connecting tcp socket failed.
Ivo Timmermans [Sun, 14 May 2000 21:07:16 +0000 (21:07 +0000)]
Give IP address instead of hex number when connecting tcp socket failed.

23 years agoChanged version to 1.0pre2.
Ivo Timmermans [Sun, 14 May 2000 21:04:53 +0000 (21:04 +0000)]
Changed version to 1.0pre2.

23 years agoVersion 1.0pre1-0.1.
Ivo Timmermans [Sun, 14 May 2000 20:58:34 +0000 (20:58 +0000)]
Version 1.0pre1-0.1.

23 years agoAdd check for mpz_powm in libgmp3.
Ivo Timmermans [Sun, 14 May 2000 20:56:41 +0000 (20:56 +0000)]
Add check for mpz_powm in libgmp3.

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

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

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

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

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

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

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

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

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

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

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.