Commit graph

3096 commits

Author SHA1 Message Date
Ivo Timmermans
6182664859 Include stdio.h for fprintf. 2000-05-04 00:00:06 +00:00
Ivo Timmermans
88a8826cf7 getopt_long() support for platforms that don't have it. 2000-05-03 23:47:06 +00:00
Ivo Timmermans
3d218a3114 Don't use error.h or error(), put #error in front of cpp errors. 2000-05-03 23:00:38 +00:00
Guus Sliepen
a083b1cf30 Squashed gcc warning. 2000-05-03 18:02:15 +00:00
Guus Sliepen
7853247523 Fixes typo and UDP network byte order. 2000-05-03 17:59:07 +00:00
Guus Sliepen
505b5ec2cd Outgoing packets now use network byte order in header. 2000-05-03 15:37:32 +00:00
Ivo Timmermans
2bc7a0c928 Fix a typo, better handling of the info document. (from Mads Kiilerich) 2000-05-03 15:01:54 +00:00
Guus Sliepen
89610e3fba Replaced sprintf() by safer snprintf(), removed possible buffer overflow
by one byte.
2000-05-02 10:16:50 +00:00
Guus Sliepen
aeccaca829 Previous fix fixed. Meta protocol should be really flawless from now on! 2000-05-02 09:55:34 +00:00
Guus Sliepen
989d7edc07 Fixed small mistake that would prevent forwarding requests. 2000-05-02 09:10:33 +00:00
Ivo Timmermans
069c146656 Mentioned new metaprotocol. 2000-05-01 22:00:02 +00:00
Ivo Timmermans
bd03256558 More tincd->tinc updates. 2000-05-01 21:47:12 +00:00
Ivo Timmermans
a9247e6f2c Fixed meta protocol. 2000-05-01 21:31:59 +00:00
Ivo Timmermans
9ea27f76fa Committed by Mads Kiilerich. 2000-05-01 21:31:17 +00:00
Ivo Timmermans
a92604fa5d Updates by Mads Kiilerich. 2000-05-01 19:17:09 +00:00
Guus Sliepen
ca6abd41ea 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 :).
2000-05-01 18:07:12 +00:00
Ivo Timmermans
3219be5770 Committed by Lubom�r Bulej. 2000-05-01 16:28:28 +00:00
Ivo Timmermans
33cfdf43f4 Key forwarding, write one byte extra. 2000-04-30 20:48:48 +00:00
Ivo Timmermans
75d351eaf1 Protocol fix (ANS_KEY). This breaks 0.3.3 protocol compatibility. 2000-04-30 19:49:49 +00:00
Ivo Timmermans
b4290c3f43 Send one less byte from an ANS_KEY request. 2000-04-30 19:03:00 +00:00
Ivo Timmermans
d878230ebe Read one less byte from an ANS_KEY request. 2000-04-30 18:57:16 +00:00
Ivo Timmermans
789a4c4f40 Removed debug messages. 2000-04-30 16:34:31 +00:00
Ivo Timmermans
eb1c9814e6 Read public keys the right way (tm). 2000-04-30 16:31:23 +00:00
Ivo Timmermans
ca73b722cb New way of handling the meta protocol. 2000-04-30 16:11:05 +00:00
Ivo Timmermans
cd12345032 Replaced check for status.active by status.dataopen in check_network_activity. 2000-04-30 13:23:53 +00:00
Ivo Timmermans
4b076ee87f Initially, the vpn_mask of a connection is 255.255.255.255 to avoid confusion with lookup_conn. 2000-04-30 01:16:51 +00:00
Ivo Timmermans
1c007c0627 Got rid of the nasty hacks... and replaced it by another one. 2000-04-30 01:15:47 +00:00
Ivo Timmermans
c027459914 Filled up the protocol structs with unused bytes. 2000-04-29 20:39:36 +00:00
Ivo Timmermans
d3e8e8ca54 Added `deb' target. 2000-04-29 20:38:23 +00:00
Ivo Timmermans
4dbf7022a2 More updates wrt. the change from tincd->tinc. 2000-04-29 13:56:06 +00:00
Guus Sliepen
2371551014 Oops! Reference to write_n() removed and changed into neat write() call. 2000-04-28 11:33:25 +00:00
Guus Sliepen
bb8fff92e1 Removed write_n() function. 2000-04-27 20:57:18 +00:00
Ivo Timmermans
4fec0cc457 Default config file name is tinc.conf, and pidfile is tinc.pid. 2000-04-27 13:47:51 +00:00
Ivo Timmermans
eebb708cb2 Updated version number to 1.0. 2000-04-27 00:07:17 +00:00
Ivo Timmermans
5797d3fcb1 Filled in the details, license from libblowfish copied. 2000-04-27 00:01:00 +00:00
Ivo Timmermans
a3ccc15ac0 Version to 1.0pre1;
Create Makefile and build in debian/.
2000-04-26 23:56:22 +00:00
Ivo Timmermans
d928703db1 Omit TODO. 2000-04-26 23:23:01 +00:00
Ivo Timmermans
d0ea9c8ff2 Add an entry to dir. 2000-04-26 22:42:15 +00:00
Ivo Timmermans
e5a7291543 The make command is in /usr/bin. 2000-04-26 22:01:01 +00:00
Guus Sliepen
44f9449888 Cleanups:
- Changed recv/send calls into read/write calls for streams
- Made all sizeof() functions use a variable name instead of type
2000-04-26 17:42:55 +00:00
Ivo Timmermans
fca84d8a7d From Mads Kiilerich. 2000-04-26 14:54:43 +00:00
Guus Sliepen
8efe4874da Converted every &variable[0] to variable. 2000-04-25 22:15:28 +00:00
Ivo Timmermans
643d8712eb Debug level tweaking. 2000-04-25 22:00:49 +00:00
Guus Sliepen
468f1d2efc 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.
2000-04-25 20:50:59 +00:00
Ivo Timmermans
6461a4b607 *** empty log message *** 2000-04-25 20:42:54 +00:00
Guus Sliepen
dad90e82d3 Fixed typo and removed some unnecessary variables. 2000-04-25 20:17:44 +00:00
Guus Sliepen
5b72422857 Packet queues fixed. They caused the trouble when resending keys. 2000-04-25 20:10:37 +00:00
Ivo Timmermans
04db888b1a Create a ChangeLog file, automake requires it. 2000-04-25 19:23:23 +00:00
Ivo Timmermans
c78b76c53f *** empty log message *** 2000-04-25 19:21:19 +00:00
Ivo Timmermans
45b275e254 Initial CVS. 2000-04-25 19:11:02 +00:00