Commit graph

  • 22dd23b650 Add checkpoints. Guus Sliepen 2003-08-22 15:03:59 +00:00
  • 570e7e9c61 Don't overwrite the first " when installing a service. Guus Sliepen 2003-08-22 15:05:01 +00:00
  • 72bdc05cb7 Allow tinc to handle unknown type addresses from other tinc daemons. Guus Sliepen 2003-08-22 11:18:42 +00:00
  • 5ac4179df6 If we're not in main_loop() and the service is stopped, exit immediately. Guus Sliepen 2003-08-17 12:05:08 +00:00
  • 46cfe61994 Do what the SDK documentation tells. Guus Sliepen 2003-08-17 12:04:35 +00:00
  • 107448698f Compilation fix. Guus Sliepen 2003-08-17 12:03:40 +00:00
  • 3112e6a863 Use the event log under Windows. Guus Sliepen 2003-08-17 09:04:00 +00:00
  • 5e7c52610f Fix --logfile under Windows. Guus Sliepen 2003-08-17 09:03:30 +00:00
  • 2236e05e51 Fix fake getnameinfo() and check more arguments. Guus Sliepen 2003-08-17 08:32:39 +00:00
  • f4e80cc5e0 Don't getsockopt() SO_ERROR. We get the error from send()/recv() anyway. Guus Sliepen 2003-08-16 12:40:01 +00:00
  • fd40130eb6 stat() batch files under Windows. Guus Sliepen 2003-08-16 12:11:11 +00:00
  • 03995ca52e Simplify fake getname/addrinfo() functions, possibly fixing freeing a NULL pointer. Guus Sliepen 2003-08-16 12:10:28 +00:00
  • dbfd6f284e Update. Guus Sliepen 2003-08-14 14:32:34 +00:00
  • 7ed2559025 Fix permissions check for rsa_key.priv. Guus Sliepen 2003-08-14 14:21:35 +00:00
  • 1f2670aab2 Small fixes. Guus Sliepen 2003-08-12 14:48:13 +00:00
  • b038e8db37 Updated dutch translation. Guus Sliepen 2003-08-12 12:35:53 +00:00
  • ae070b9170 Add a description for the Service control panel. Guus Sliepen 2003-08-10 13:35:05 +00:00
  • 9b579eb9ff Update documentation. Guus Sliepen 2003-08-09 00:53:22 +00:00
  • 7eed829d28 Only system() needs script name quoted. Guus Sliepen 2003-08-08 22:45:46 +00:00
  • 91f65c2774 Check for fchmod(). Guus Sliepen 2003-08-08 22:13:50 +00:00
  • 9bde92ce97 Simpler checking of permissions on private RSA key and other fixes. Guus Sliepen 2003-08-08 22:11:54 +00:00
  • 96f5d98fc2 Small things. Guus Sliepen 2003-08-08 19:56:11 +00:00
  • ef65a64443 Better error checking and reporting. Guus Sliepen 2003-08-08 19:49:47 +00:00
  • bb2f18a3fc Under Windows, the installation directory can be found in the registry. Guus Sliepen 2003-08-08 19:45:21 +00:00
  • 7f05445047 Quote when needed and don't try stuff that doesn't work under Windows. Guus Sliepen 2003-08-08 19:43:47 +00:00
  • b4c913aaa9 Log error first, try to close later. Guus Sliepen 2003-08-08 19:42:35 +00:00
  • b0825f36b7 Better error messages under Windows. Guus Sliepen 2003-08-08 19:39:41 +00:00
  • 6f30995955 Typo. Guus Sliepen 2003-08-08 17:20:12 +00:00
  • 691907caae Readd quotes. Guus Sliepen 2003-08-08 17:17:13 +00:00
  • f956a28147 Make rule for sample-config.tar.gz. Guus Sliepen 2003-08-08 16:49:29 +00:00
  • 7e74e00d16 Allow empty lines in config files. Guus Sliepen 2003-08-08 14:59:27 +00:00
  • 863349638b Simplify execute_script(). It will probably work under Windows as well. Guus Sliepen 2003-08-08 14:48:33 +00:00
  • deba3ed900 Correct error message when remote host closed connection. Guus Sliepen 2003-08-08 14:24:09 +00:00
  • 0c2256670f Remove unused stuff from doc/. Let configure update pathnames in documentation. Guus Sliepen 2003-08-08 14:07:12 +00:00
  • 070aee3be1 Tell windows to be patient. Guus Sliepen 2003-08-08 12:55:05 +00:00
  • adb68b9c2a Windows uses backslashes... Guus Sliepen 2003-08-08 12:24:52 +00:00
  • ef091d1ddb Sync CABAL branch with release-1_0 branch. Guus Sliepen 2003-08-08 11:45:37 +00:00
  • 5193a14dde Use our own port when connecting to ourself. Guus Sliepen 2003-08-03 21:45:41 +00:00
  • 62a7fa9a7b Simplify translation Guus Sliepen 2003-08-03 21:45:13 +00:00
  • 98f97da9d7 Update dutch translation Guus Sliepen 2003-08-03 21:43:19 +00:00
  • e220187f48 Remove newlines from log messages. Guus Sliepen 2003-08-03 12:38:43 +00:00
  • 3671ed806d Keep Windows happy. Guus Sliepen 2003-08-03 12:38:18 +00:00
  • 7bed2a7099 Cygwin needs windows.h. Guus Sliepen 2003-08-03 12:37:55 +00:00
  • fa9c00733e Old gcc compilers don't like declarations in the middle of a function. Guus Sliepen 2003-08-03 09:55:20 +00:00
  • a65011b3c5 Clean up last part of main(). Guus Sliepen 2003-08-03 09:08:52 +00:00
  • e20ac7b52d Typo and another thing to think about. Guus Sliepen 2003-08-02 22:01:50 +00:00
  • 92938c07b1 Explain how tinc detaches and how it is "killed" under Windows. Guus Sliepen 2003-08-02 21:55:12 +00:00
  • 8a1969bc83 Updated dutch translation. Guus Sliepen 2003-08-02 21:39:11 +00:00
  • f605ec47be Oops. Guus Sliepen 2003-08-02 21:34:10 +00:00
  • e6e3281458 Missing include. Guus Sliepen 2003-08-02 21:33:52 +00:00
  • c044d12dfd Cleanups and error messages. Guus Sliepen 2003-08-02 21:33:19 +00:00
  • 3fd96ebec7 Error messages. Guus Sliepen 2003-08-02 21:01:50 +00:00
  • f08fc359a0 Install tinc as a service under Windows (MinGW). Remove cleanup_and_exit(), either exit() directly on errors or let main_loop() shutdown gracefully. Guus Sliepen 2003-08-02 20:50:38 +00:00
  • 7c34122af7 When compiling with MinGW, link with ws2_32. Guus Sliepen 2003-08-02 16:05:33 +00:00
  • 9a491a10ee Windows has no symbolic links as we know it. Guus Sliepen 2003-08-02 15:32:57 +00:00
  • 9c2d5d9f92 Oops. Guus Sliepen 2003-08-02 15:29:06 +00:00
  • c7bf64c794 Allow whitespace in values. Guus Sliepen 2003-08-02 15:27:24 +00:00
  • b79e55b183 Prevent system headers from including our own headers. Guus Sliepen 2003-08-02 15:13:08 +00:00
  • 998ac634d4 Wrong function... Guus Sliepen 2003-08-01 08:18:22 +00:00
  • 2531ff59b7 Woops! Guus Sliepen 2003-07-31 14:24:19 +00:00
  • 1fe5663787 No easy way to properly detect header files... Guus Sliepen 2003-07-31 13:18:34 +00:00
  • 8eca27e863 Remove forgotten braces. Guus Sliepen 2003-07-31 11:31:51 +00:00
  • 5c29d06668 Wrong argument. Guus Sliepen 2003-07-31 11:20:32 +00:00
  • da3078c63a Check if the compiler knows about the __malloc__ attribute. Guus Sliepen 2003-07-31 11:17:39 +00:00
  • d798b8b3d8 Prevent definitions from messing up attributes. Guus Sliepen 2003-07-30 21:52:41 +00:00
  • 2edc764a33 Replacement for stdbool.h Guus Sliepen 2003-07-30 16:00:59 +00:00
  • fcbe29bc4c No C99 initialisers, gcc 2.95.3 doesn't like it. Also make sure getopt.h is included. Guus Sliepen 2003-07-30 11:50:45 +00:00
  • de223b51b9 Remove doc/es/ and src/device.c from the distribution. Guus Sliepen 2003-07-30 09:45:21 +00:00
  • 63568bb6bc Update documentation and remove stuff that's too outdated. Guus Sliepen 2003-07-30 09:22:29 +00:00
  • 2ed154e731 Cleanups. Guus Sliepen 2003-07-29 23:21:01 +00:00
  • 721e4caee0 Native Windows support. Guus Sliepen 2003-07-29 22:59:01 +00:00
  • 586f15ed20 Make sure (at least) the MinGW device driver works. Guus Sliepen 2003-07-29 12:38:49 +00:00
  • 6f7cce6947 Make sure it works. Guus Sliepen 2003-07-29 12:18:35 +00:00
  • 4370b98bb1 Update configure scripts. Guus Sliepen 2003-07-29 11:50:39 +00:00
  • ae50b0077e Update dutch translation and make sure all device drivers are included in the translation and distribution. Guus Sliepen 2003-07-29 11:06:23 +00:00
  • 714fb32d03 Fix compile errors and warnings. Guus Sliepen 2003-07-29 10:50:15 +00:00
  • 0e94541331 More checks for missing functions. Guus Sliepen 2003-07-28 22:06:09 +00:00
  • c15e8a96bf More generic handling of tap device under Windows. Guus Sliepen 2003-07-28 21:54:03 +00:00
  • 83263b7446 Sprinkle around a lot of const and some C99 initialisers. Guus Sliepen 2003-07-24 12:08:16 +00:00
  • 5cb1471351 Don't initialise a CIPHER_CTX if cipher == NULL. Guus Sliepen 2003-07-23 22:17:31 +00:00
  • 4aadb9500d Run setup_device() after parsing configuration but before claiming we're ready. Guus Sliepen 2003-07-22 21:13:23 +00:00
  • eefa28059a Use bools and enums where appropriate. Guus Sliepen 2003-07-22 20:55:21 +00:00
  • 471308e163 Option to specify pidfile location. Guus Sliepen 2003-07-22 12:58:34 +00:00
  • c96900f378 Add section about configuring Cygwin and CIPE on Windows. Guus Sliepen 2003-07-21 19:58:58 +00:00
  • bad82522ec Copy cygwin driver to mingw directory. It doesn't work (yet). Guus Sliepen 2003-07-21 15:51:00 +00:00
  • e169244e4b Use functions from logger.c Guus Sliepen 2003-07-21 14:47:43 +00:00
  • 2f2defc452 Check for sys/mman.h. Guus Sliepen 2003-07-21 13:18:44 +00:00
  • 64fd25aa6b Oops. Guus Sliepen 2003-07-21 13:15:36 +00:00
  • c1e8152f4f Be consistent. Guus Sliepen 2003-07-21 13:14:02 +00:00
  • b657f05194 No UNIX style permissions under Windows. Guus Sliepen 2003-07-18 14:10:27 +00:00
  • 38aa0319ef Oops. Guus Sliepen 2003-07-18 14:09:47 +00:00
  • 123bb765d1 Use iface instead of interface because it might already be declared in system header files. Guus Sliepen 2003-07-18 13:45:06 +00:00
  • 96ee04b678 Check for ethernet/ipv4/ipv6 related structures. Guus Sliepen 2003-07-18 13:42:35 +00:00
  • 00ddbf5723 Update all device.c files. Guus Sliepen 2003-07-18 13:41:37 +00:00
  • 271d3537fe Remove all #ifndefs from route.c Guus Sliepen 2003-07-18 12:21:03 +00:00
  • b0a4f7b555 Even more missing definitions. Guus Sliepen 2003-07-18 12:16:24 +00:00
  • e449d94cae Big header file cleanup: everything that has to do with standard system libraries is moved to system.h. Guus Sliepen 2003-07-17 15:06:27 +00:00
  • 47721be760 Windows headers declare a struct interface somewhere. Guus Sliepen 2003-07-15 16:38:18 +00:00
  • 4c52febc57 Make use of the CIPE driver. Woohoo, tinc for Windows! Guus Sliepen 2003-07-15 16:27:39 +00:00
  • d26a4af456 Export mymac. Guus Sliepen 2003-07-15 16:26:18 +00:00