Commit graph

464 commits

Author SHA1 Message Date
Ivo Timmermans
803f908078 Give IP address instead of hex number when connecting tcp socket failed. 2000-05-14 21:07:16 +00:00
Ivo Timmermans
4b1a1c2123 Changed version to 1.0pre2. 2000-05-14 21:04:53 +00:00
Ivo Timmermans
ca900d388b Version 1.0pre1-0.1. 2000-05-14 20:58:34 +00:00
Ivo Timmermans
7d433ebd76 Add check for mpz_powm in libgmp3. 2000-05-14 20:56:41 +00:00
Ivo Timmermans
de09916ead Only print an error with send_termreq if debug_lvl is 2 or more. 2000-05-14 13:50:10 +00:00
Guus Sliepen
9d023b1f2e Fixed typos. 2000-05-14 13:06:52 +00:00
Guus Sliepen
e20e143f1e 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.
2000-05-14 13:02:20 +00:00
Guus Sliepen
ee96ccabbb Cleanups. 2000-05-14 12:22:42 +00:00
Guus Sliepen
8caa1b9d75 Proxymode removed. 2000-05-14 11:39:18 +00:00
Ivo Timmermans
269067bb22 Perl version of the system startup script. 2000-05-13 00:54:27 +00:00
Ivo Timmermans
12adf1af54 Deleted the protocol description. 2000-05-12 13:31:00 +00:00
Guus Sliepen
d0ba34ccae 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.
2000-05-08 18:44:15 +00:00
Ivo Timmermans
92387475ac Added semicolons required by bash2 (Mads Kiilerich). 2000-05-05 10:48:54 +00:00
Ivo Timmermans
bce2179fe3 Copied most of the code from the redhat script. 2000-05-04 23:26:24 +00:00
Ivo Timmermans
74b0cbecce Include sys/types.h. 2000-05-04 23:17:02 +00:00
Ivo Timmermans
2f7e532d70 Don't link in libdl. 2000-05-04 23:16:43 +00:00
Ivo Timmermans
d4ef7ea0e7 Check for the existance of libdl. 2000-05-04 00:01:05 +00:00
Ivo Timmermans
87ccd613ca More for getopt support. 2000-05-04 00:00:50 +00:00
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