Commit graph

  • df985256a7 Fix warnings showed using -D_FORTIFY_SOURCE=2 Timothy Redaelli 2010-05-04 00:27:44 +02:00
  • f5122ccece Fix all warnings when compiling with mingw64. Guus Sliepen 2010-05-01 15:39:59 +02:00
  • ef92a5725c OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32. Guus Sliepen 2010-05-01 15:39:03 +02:00
  • 0fdd7da520 Use intptr_t instead of long to store a pointer. Guus Sliepen 2010-05-01 15:38:04 +02:00
  • c94ede3b87 Define WINVER before including any other header file on Windows. Guus Sliepen 2010-05-01 15:37:11 +02:00
  • 8b70c5be9b Remove obsolete lib/ directory. Guus Sliepen 2010-04-30 23:18:22 +02:00
  • ee427cac0d Do not try to free NULL pointers. Guus Sliepen 2010-04-30 23:13:02 +02:00
  • 113458c286 Use correct digest length when checking a received key. Guus Sliepen 2010-04-30 23:11:48 +02:00
  • 76b41ba20d Add missing return statement. Guus Sliepen 2010-04-17 12:33:36 +02:00
  • 2911af6e23 Fix merge of commit 4a0b998151. Guus Sliepen 2010-04-17 12:33:15 +02:00
  • 79e46d08a4 Merge branch 'master' into 1.1 Guus Sliepen 2010-04-17 12:21:53 +02:00
  • 4ce4af4c71 Fix experimental GUI when reading hexadecimal values. Guus Sliepen 2010-04-17 12:03:08 +02:00
  • 4766359e14 Fix reading configuration files that do not end with a newline. Again. Guus Sliepen 2010-04-17 12:01:38 +02:00
  • 26b8cf8680 Releasing 1.0.13. Guus Sliepen 2010-04-11 20:40:20 +02:00
  • 74653beb5b Mark Forwarding and DirectOnly options as being experimental. Guus Sliepen 2010-04-11 19:47:44 +02:00
  • 0ddce6370d Don't redefine MAX if it already exists. Guus Sliepen 2010-04-11 19:39:31 +02:00
  • a9bbb3357a Fixes for definitions under Windows. Guus Sliepen 2010-04-11 19:20:02 +02:00
  • 4708f2c89e Ensure subnet-up/down scripts are called after HUP when necessary. Guus Sliepen 2010-04-11 18:34:50 +02:00
  • 32f5524c4b Fix reloading Subnets when StrictSubnets is set. Guus Sliepen 2010-04-11 04:35:16 +02:00
  • 9f53ab209d Reload Subnets when getting a HUP signal and StrictSubnets is used. Guus Sliepen 2010-04-11 00:50:42 +02:00
  • d1cc637470 Ensure ICMP_NET_ANO is defined. Guus Sliepen 2010-04-10 23:55:15 +02:00
  • f75e71bc69 Convert Port to numeric form before sending it to other nodes. Guus Sliepen 2010-04-03 09:46:45 +01:00
  • e49891e188 Fixed metadata protokoll corruption on forwarded requests Sven-Haegar Koch 2010-03-31 03:56:53 +02:00
  • 0310deb225 Demote all LOG_EMERG to LOG_ERR, spamming all xterms is bad. Sven-Haegar Koch 2010-03-26 17:25:18 +01:00
  • d5654f568d README.git: tinc 1.1 needs libevent Sven-Haegar Koch 2010-03-26 16:54:13 +01:00
  • 685509ffe1 Function flush_meta() does not exist anymore. Sven-Haegar Koch 2010-03-28 17:51:26 +02:00
  • c6d2b9d734 Add missing AC_CHECK_HEADERS([dirent.h]) to configure.in Sven-Haegar Koch 2010-03-26 17:07:30 +01:00
  • ffa1dc73dc Fixed 1.0 miss-merges Sven-Haegar Koch 2010-03-26 17:18:04 +01:00
  • 103543aa2c Merge branch 'master' into 1.1 Sven-Haegar Koch 2010-03-26 16:51:03 +01:00
  • 292354912f Never delete Subnets when StrictSubnets is set Sven-Haegar Koch 2010-03-10 02:50:51 +01:00
  • 146760bd35 Fix typo. Guus Sliepen 2010-03-10 16:07:01 +01:00
  • f2346771cf Log unauthorized Subnets when StrictSubnets is set. Guus Sliepen 2010-03-08 21:44:32 +01:00
  • ee64b8ef33 ConnectTo does not mean tinc does not listen for incoming connections anymore. Guus Sliepen 2010-03-08 17:54:57 +01:00
  • 8ae54dc7c7 Fixes for the Forwarding option. Guus Sliepen 2010-03-02 23:27:50 +01:00
  • 3e4829e78a Add the DirectOnly option. Guus Sliepen 2010-03-02 22:55:24 +01:00
  • 95a6974de1 Add the Forwarding option. Guus Sliepen 2010-03-02 22:34:26 +01:00
  • 5038964032 Add the StrictSubnets option. Guus Sliepen 2010-03-02 00:18:44 +01:00
  • 9fed0ec34b Preload all Subnets in TunnelServer mode. Guus Sliepen 2010-03-01 23:44:56 +01:00
  • d47ab576a2 Check for dirent.h. Guus Sliepen 2010-03-01 23:44:46 +01:00
  • 21f33b6382 Simplify reading lines from configuration files. Guus Sliepen 2010-03-01 23:35:02 +01:00
  • 3cb91d75f8 Clamp MSS to miminum MTU in both directions. Guus Sliepen 2010-02-28 18:20:13 +01:00
  • ddb8cb0779 Add --disable-zlib configure option Timothy Redaelli 2010-02-10 14:52:15 +01:00
  • eeb505af36 Add --disable-lzo configure option Timothy Redaelli 2010-02-10 13:24:33 +01:00
  • f7b2a2ea43 Releasing 1.0.12. Guus Sliepen 2010-02-03 22:49:48 +01:00
  • cd0c2e86a4 Ensure peers with a meta connection always have our key. Guus Sliepen 2010-02-03 11:18:46 +01:00
  • 40d91ff619 Update copyright notices. Guus Sliepen 2010-02-02 22:49:21 +01:00
  • 44f8f61396 Try to set DF bit on BSDs as well. Guus Sliepen 2010-02-02 22:22:27 +01:00
  • ed14ef93b4 Immediately exchange keys when establishing a meta connection. Guus Sliepen 2010-02-02 01:02:40 +01:00
  • 4a0b998151 Determine peer's reflexive address and port when exchanging keys. Guus Sliepen 2010-02-02 00:51:44 +01:00
  • d15099e002 Be liberal in accepting KEY_CHANGED/REQ_KEY/ANS_KEY requests. Guus Sliepen 2010-01-23 18:48:01 +01:00
  • 469fa318bc Run subnet-up/down scripts for local MAC addresses as well. Guus Sliepen 2010-01-22 21:59:40 +01:00
  • 5d194b9f87 Fix subnet-up/down scripts being called with an empty SUBNET. Guus Sliepen 2010-01-22 21:47:26 +01:00
  • b455111184 Make MSS clamping configurable, but enabled by default. Guus Sliepen 2010-01-16 20:16:33 +01:00
  • 95928f7c29 Also clamp MSS of TCP over IPv6 packets. Guus Sliepen 2010-01-16 19:32:33 +01:00
  • b1945f70fe Optimise handling of select() returning <= 0. Guus Sliepen 2010-01-15 23:41:14 +01:00
  • 51099658c9 Ping nodes immediately when receiving SIGALRM. Guus Sliepen 2010-01-15 23:19:08 +01:00
  • 2a538ed343 Clamp MSS of IPv4 SYN packets. Guus Sliepen 2010-01-15 13:42:37 +01:00
  • 35b1c25093 Move source from lib/ to src/. Guus Sliepen 2009-12-31 13:19:13 +01:00
  • 41497246ee Remove unused AVL tree library. Guus Sliepen 2009-12-31 13:09:14 +01:00
  • e4812ba9cc Allow Port and PMTUDiscovery options in tinc.conf, always enable PMTUDiscovery by default. Guus Sliepen 2009-12-24 12:42:21 +01:00
  • 7203d5fb07 Use xstrdup() instead of xasprintf() to copy static strings. Guus Sliepen 2009-12-23 19:51:55 +01:00
  • a9a803d566 Allow port to be specified in Address statements. Guus Sliepen 2009-12-23 19:49:38 +01:00
  • 43e34d8180 Do not fragment packets smaller than RFC defined minimum MTUs. Guus Sliepen 2009-12-23 19:22:06 +01:00
  • 3626165002 Do not use hardcoded cipher block length when padding. Guus Sliepen 2009-12-19 23:23:25 +01:00
  • f542ef8f9e Fix alignment of results of RSA operations when using libgcrypt. Guus Sliepen 2009-12-19 22:17:39 +01:00
  • 4c68a8cb60 Do not consider unreachable nodes when trying to determine packet origin. Guus Sliepen 2009-12-19 20:53:48 +01:00
  • 74e50d52e0 recv() and recvfrom() return int, do not prematurely cast the return value. Guus Sliepen 2009-12-19 20:52:19 +01:00
  • 0bfd69a273 Fix reading raw RSA keys with libgcrypt. Guus Sliepen 2009-12-19 20:26:30 +01:00
  • 0ff44fc241 Reinitialise block cipher IV each time we encrypt a packet when using libgcrypt. Guus Sliepen 2009-12-19 20:10:38 +01:00
  • 3c90be7678 Fix block cipher padding when using libgcrypt. Guus Sliepen 2009-12-19 18:57:54 +01:00
  • c845bc109c Fix packet authentication. Guus Sliepen 2009-12-18 01:15:25 +01:00
  • 10d609b1f0 Start of a GUI for tinc. Guus Sliepen 2009-12-16 21:18:21 +01:00
  • 55ef2f806f Allow connections to be closed. Guus Sliepen 2009-12-16 21:16:56 +01:00
  • f12c36afd5 Include missing header files and source directories. Guus Sliepen 2009-12-14 21:25:06 +01:00
  • 2a410cd26d Do not include OpenSSL headers directly. Guus Sliepen 2009-12-14 21:20:56 +01:00
  • 5d78e497f1 Fix compiler warnings. Guus Sliepen 2009-12-11 22:38:06 +01:00
  • d6c50eb73a Merge branch 'master' into 1.1 Guus Sliepen 2009-12-11 22:31:27 +01:00
  • fec14791e8 Only call ioctlsocket() on Windows. Guus Sliepen 2009-12-11 22:24:07 +01:00
  • 369fe1ab1c Forget addresses of unreachable nodes. Guus Sliepen 2009-12-08 22:18:37 +00:00
  • 62f235e05c Remove unused variable in lookup_subnet_*() functions. Guus Sliepen 2009-11-28 11:56:13 +00:00
  • 92aefd25bf When learning MAC addresses, only check our own Subnets for previous entries. Guus Sliepen 2009-11-28 11:52:23 +00:00
  • edebf579f2 Use the TCP socket infrastructure for control sockets. Guus Sliepen 2009-11-07 23:43:25 +01:00
  • c388527e34 Small fixes to get really working control sockets on Windows. Guus Sliepen 2009-11-07 16:09:56 +01:00
  • 5c5548fc71 Better integration of libevent in build system. Guus Sliepen 2009-11-07 14:35:48 +01:00
  • 075264a9e1 Make sure the 1.1 branch compiles in a MinGW environment. Guus Sliepen 2009-11-05 23:29:28 +01:00
  • 08615e420b Handle PKCS#5 padding in the gcrypt backend. Guus Sliepen 2009-11-05 00:02:42 +01:00
  • d9b2ac6767 Handle truncated message authentication codes with gcrypt. Guus Sliepen 2009-11-05 00:01:25 +01:00
  • c4afc48154 Use %x instead of %lx where appropriate. Guus Sliepen 2009-11-04 16:19:08 +01:00
  • 37ccb325af Don't enable device events when there is no valid filedescriptor. Guus Sliepen 2009-11-04 16:18:08 +01:00
  • 108b238915 Merge branch 'master' into 1.1 Guus Sliepen 2009-11-02 14:24:27 +01:00
  • 44834d0304 Releasing 1.0.11. Guus Sliepen 2009-11-01 16:24:39 +01:00
  • d331f04e45 Start a tinc service if it already exists. Guus Sliepen 2009-11-01 15:57:28 +01:00
  • 6f6f426b35 Fast handoff of roaming MAC addresses. Guus Sliepen 2009-10-27 23:53:49 +01:00
  • e00b44cb98 Move socket error interpretation to utils.h. Guus Sliepen 2009-10-25 01:40:07 +02:00
  • c11dc8079b Use WSAGetLastError() to determine cause of network errors on Windows. Guus Sliepen 2009-10-25 00:50:09 +02:00
  • 1bca167b7e Remove localedir leftovers. Michael Tokarev 2009-10-18 21:27:24 +04:00
  • c3acae034c Use IP_DONTFRAGMENT instead of IP_MTU_DISCOVER on Windows. Guus Sliepen 2009-10-24 22:32:35 +02:00
  • 242c4e2ca6 Forward packets to not directly reachable hosts via UDP if possible. Guus Sliepen 2009-10-24 21:53:01 +02:00
  • d922db253c Make maxmtu equal to minmtu when fixing the path MTU to a node. Guus Sliepen 2009-10-24 21:35:40 +02:00
  • a8f7fccbc2 Always reply to MTU probes via UDP. Guus Sliepen 2009-10-24 21:32:06 +02:00