Commit graph

1189 commits

Author SHA1 Message Date
Guus Sliepen
b7d4d4c177 - Finishing touch: encrypt the meta connections 2000-10-29 22:55:15 +00:00
Guus Sliepen
ec12269355 - Use CFB mode for encrypting packets: it works and we don't need padding. 2000-10-29 22:10:44 +00:00
Guus Sliepen
cea3d8f305 - Small fixes
- Do proper key exchange
- Encrypt packets - it works, but there is something wrong with the MAC
  header after decryption...
2000-10-29 10:39:08 +00:00
Guus Sliepen
8fa9bc017d - Removed old encr stuff 2000-10-29 09:19:27 +00:00
Guus Sliepen
a26d371d0d - Updated dutch translation.
- Shutdown properly.
2000-10-29 02:07:41 +00:00
Guus Sliepen
e8391bd499 - Moved connlist stuff to the proper header file. 2000-10-29 01:27:23 +00:00
Guus Sliepen
2689690dc3 - Enforce correct order of authentication requests 2000-10-29 01:08:09 +00:00
Guus Sliepen
3b9802a542 - Hit people who can't figure out subnet address/mask pairs with a
(clue)bat.
2000-10-29 00:46:43 +00:00
Guus Sliepen
7398002ade - Fixed ans_key_h
- Removed tapsubnet configuration option.
2000-10-29 00:24:31 +00:00
Guus Sliepen
35932fe6c8 - Very big cleanup. 2000-10-29 00:02:20 +00:00
Guus Sliepen
db21f01516 - Override destination ethernet address on incoming packets with
FE:FD:00:00:00:00
2000-10-28 21:52:22 +00:00
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