Commit graph

2128 commits

Author SHA1 Message Date
Guus Sliepen
8738c007b1 - Fixed offsets when reading/writing from/to tap device 2000-10-28 21:25:21 +00:00
Guus Sliepen
f25868fd2b - Lots of small fixes
- Exchange subnets on acknowledgement of connection
- Do proper lookup when incoming packets from tap
- off-by-a small number-error when reading/sending tap packets
2000-10-28 21:05:20 +00:00
Ivo Timmermans
ba6b8005eb Skip the check for Linux kernel sources 2000-10-28 19:34:53 +00:00
Guus Sliepen
d47d5932a3 - Updated subnet list handling. Subnets are added to two lists now, the
owner's list and a global list. It is all fucked up but it probably
  works anyway, good enough for pre3 :).
2000-10-28 16:41:40 +00:00
Guus Sliepen
9c2f805255 - Lots of little stuff modified
- Succesfully reads in subnets from host config file now and adds them to
  the list.
2000-10-24 15:46:18 +00:00
Ivo Timmermans
60401d99b1 Oops, echelon change committed to cabal... :) 2000-10-23 21:56:56 +00:00
Guus Sliepen
c46e84837d - route.c will contain the routing logic. 2000-10-23 13:52:54 +00:00
Ivo Timmermans
76d794eaf7 read_server_config: Check for result of read_config_file. 2000-10-22 13:47:41 +00:00
Ivo Timmermans
56d8e86240 Include linux/sockios.h and net/if.h anyway, regardless of the value of HAVE_TUNTAP. 2000-10-22 13:37:15 +00:00
Guus Sliepen
52b842f807 - Fixed all debug levels.
- Seed PRNG before generating a challenge
- Strange thing in challenge decryption: it fails if first bit is set!?
2000-10-21 11:52:08 +00:00
Guus Sliepen
73f7efddd7 - Removed last reference to genauth from Makefile.am
- Tinc spawns tinc-up and tinc-down scripts which can be used to configure
  the network device. The environment variable IFNAME is set to the name
  of the interface.
2000-10-20 19:46:58 +00:00
Guus Sliepen
fba19c30c9 - Made Makefile.am stub for doc/es/
- Merged genauth into tincd
- Updated dutch translation
2000-10-20 16:49:20 +00:00
Ivo Timmermans
97ec5685b9 Generalized list and hash handling functions 2000-10-20 16:44:32 +00:00
Ivo Timmermans
699e159a7a New function: xalloc_and_zero() 2000-10-20 16:43:13 +00:00
Ivo Timmermans
4059151732 Add all the new files to the sources list for the utility library 2000-10-20 16:42:22 +00:00
Guus Sliepen
9f64499e40 - tinc now really does public/private key encryption! It even works, whee! 2000-10-20 15:34:38 +00:00
Ivo Timmermans
71f05ff895 Generalized error handling functions 2000-10-19 20:56:49 +00:00
Ivo Timmermans
95f4e8620e Add check for the syslog function 2000-10-19 20:39:04 +00:00
Ivo Timmermans
430e141629 Changed changelog 2000-10-19 17:29:22 +00:00
Guus Sliepen
d5fd1344e6 - Seed the PRNG using /dev/random before generating the keys. 2000-10-19 14:42:00 +00:00
Ivo Timmermans
30df5e95db Bring head revision up to date with cabal (try #3) 2000-10-18 20:12:10 +00:00
Ivo Timmermans
571cfb5846 Get the head revision up to date with cabal 2000-10-18 19:44:11 +00:00
Ivo Timmermans
e75315dae6 Don't declare cp_file and cp_line in xmalloc() 2000-10-17 10:15:20 +00:00
Ivo Timmermans
31c543ad0f Process subdir es/ 2000-10-17 10:14:25 +00:00
Guus Sliepen
20301888b7 - More fixing. Tinc daemons can now even create activated connections. 2000-10-16 19:04:47 +00:00
Guus Sliepen
bb3d18d56f - Fixing little things
- Two tinc daemons can connect to eachother now (but they disconnect right
  after the ACKs).
2000-10-16 16:33:30 +00:00
Ivo Timmermans
6e32b870ee Output doc/es/Makefile 2000-10-16 11:35:10 +00:00
Guus Sliepen
baeac83bf4 Corrected #ifdefs for tun/tap support. 2000-10-15 20:30:39 +00:00
Ivo Timmermans
782171fd2c Really #include the if_tun.h files now 2000-10-15 20:21:27 +00:00
Ivo Timmermans
8a54c51238 Linearized checks for if_tun.h 2000-10-15 20:13:55 +00:00
Ivo Timmermans
e5130495d7 Wrap the tun/tap code in #ifdef HAVE_TUNTAP 2000-10-15 19:53:15 +00:00
Ivo Timmermans
3b455b8f31 Add checks for the presence of the universal tun/tap device driver. 2000-10-15 17:26:31 +00:00
Guus Sliepen
85adeef212 - The daemon actually runs now (somewhat)
- Added support for tun/tap driver (autodetect!)
- More sophisticated checkpoint functionality
- Updated dutch translation
2000-10-15 00:59:37 +00:00
Ivo Timmermans
97ce045189 Add CVS id lines 2000-10-14 22:22:06 +00:00
Ivo Timmermans
2e159d0139 Fix `Requirements'-section for GMP and OpenSSL libraries. 2000-10-14 22:17:29 +00:00
Ivo Timmermans
1d5bb49f26 Update Depends lines to reflect the dependencies on OpenSSL 2000-10-14 22:00:09 +00:00
Guus Sliepen
e9635ae38e - Second fixing-things pass: it even links now.
- Lots of FIXME comments added to the source code.
2000-10-14 17:04:16 +00:00
Ivo Timmermans
6a8c2e346e Don't look for GMP header files 2000-10-13 23:34:56 +00:00
Ivo Timmermans
f18e30dab3 Updated new requirements, pointers to the manual 2000-10-13 23:30:11 +00:00
Ivo Timmermans
a96f2f0fc8 Link with OpenSSL, forget libGMP 2000-10-13 23:29:35 +00:00
Guus Sliepen
183a8edd22 - Fixing-things pass: every source file compiles into an object file now,
but linking tincd does not work yet (must link with openssl libs and
  define some missing functions).
2000-10-11 22:01:02 +00:00
Guus Sliepen
6e39481d8f - Generalized config file parsing to support multiple configuration trees. 2000-10-11 13:42:52 +00:00
Guus Sliepen
451e9e3e7a - Changed genauth to produce rsa keypairs instead of random passphrases. 2000-10-11 12:07:27 +00:00
Guus Sliepen
950fb8e916 Big and bad commit of my current tree...
- Added seperate file for connection list handling
- Updating everything to use connlist, meta and subnet files
- Removed dependency on libgmp
- Lots of other stuff...
2000-10-11 10:35:17 +00:00
Guus Sliepen
73d0dcfcc1 Removing cipher directory (all will be covered by OpenSSL). 2000-10-04 15:09:57 +00:00
Guus Sliepen
2228b16159 - Added subnet handling code
- Other small changes to header files
2000-10-01 03:21:49 +00:00
Ivo Timmermans
676b1c0ea1 Many updates, parts rewritten, added, shuffled around. 2000-09-27 20:32:29 +00:00
Guus Sliepen
c78a204f06 - Added meta.c which contains functions to send, receive and broadcast
metadata. It will also handle encryption and decryption, and possibly
  compression and checksumming.
- Moved request dispatcher to protocol.c.
2000-09-26 14:06:11 +00:00
Guus Sliepen
2c412009e5 - Very detailed example of the authentication phase. 2000-09-25 20:08:50 +00:00
Guus Sliepen
361690b18c - Removed options "string" stuff. It was a bad idea...
- free() everything that is allocated.
2000-09-22 16:20:07 +00:00