Commit graph

  • cddcdc9af3 Allow UDP packets with an address different from the corresponding TCP connection. Guus Sliepen 2009-10-24 20:54:44 +02:00
  • 5cbddc68ba Use uint32_t instead of long int for connection options. Guus Sliepen 2009-10-24 16:15:24 +02:00
  • 468f393c4f Add dummy device. Guus Sliepen 2009-10-24 16:05:12 +02:00
  • b6543af762 Clarify and increase level of log message about MTU probes to unreachable nodes. Guus Sliepen 2009-10-20 22:39:07 +02:00
  • 43a6e78664 Handle weighted Subnets in switch and hub modes. Guus Sliepen 2009-10-20 22:33:16 +02:00
  • 3a925479c2 Starting to work towards 1.0.11. Guus Sliepen 2009-10-20 22:22:59 +02:00
  • 35af4051c3 Fix a possible crash when sending the HUP signal. Guus Sliepen 2009-10-20 22:14:47 +02:00
  • 8c267d3d55 Releasing 1.0.10. Guus Sliepen 2009-10-18 16:45:13 +02:00
  • 3849de9a33 Fix description of the WEIGHT environment variable. Guus Sliepen 2009-10-18 16:44:32 +02:00
  • 87364c1656 Include missing header. Guus Sliepen 2009-10-18 14:22:20 +02:00
  • c7fdc7d5b8 Remove debugging message when reading packets from a BSD device. Guus Sliepen 2009-10-12 23:51:57 +02:00
  • ec4c8bcb18 Allow the cloning /dev/tap interface to be used on FreeBSD and NetBSD. Guus Sliepen 2009-10-12 22:14:47 +02:00
  • 92b8abc921 Use MTU probes to regularly ping other nodes over UDP. Guus Sliepen 2009-10-11 18:57:58 +02:00
  • 927064e5fd Small updates to the documentation. Guus Sliepen 2009-10-11 15:46:52 +02:00
  • 2c30af6c90 Ensure that the texinfo manual can be converted to HTML. Guus Sliepen 2009-10-11 14:20:14 +02:00
  • a4f132770d Revert "Raise default crypto algorithms to AES256 and SHA256." Guus Sliepen 2009-10-11 13:56:04 +02:00
  • 2762509be1 Remove code duplication when checking ADD_EDGE/DEL_EDGE messages. Guus Sliepen 2009-10-11 13:54:05 +02:00
  • 5cddf5e52a Don't disconnect clients in TunnelServer mode who send unauthorised ADD_SUBNETs. Guus Sliepen 2009-10-11 13:51:10 +02:00
  • 430c90412c Removed last gettext function. Borg 2009-10-03 13:06:00 +02:00
  • 3282375f4d Remove autogenerated files from EXTRA_DIST. Guus Sliepen 2009-09-29 16:25:20 +02:00
  • 761517c21c Update FSF address in files not covered by the merge. Guus Sliepen 2009-09-29 15:33:58 +02:00
  • 07a560eab6 Drop localisation and checkpoint tracing in files not covered by the merge. Guus Sliepen 2009-09-29 15:19:55 +02:00
  • 7ea85043ac Merge branch 'master' into 1.1 Guus Sliepen 2009-09-29 14:55:29 +02:00
  • 9a2b0f88a9 Update the NEWS. Guus Sliepen 2009-09-26 12:51:52 +02:00
  • 46e481dc94 Add more authors to the copyright headers. Guus Sliepen 2009-09-25 21:14:56 +02:00
  • 4c85542894 Drop support for localisation. Guus Sliepen 2009-09-25 00:54:07 +02:00
  • a227843b73 Remove checkpoint tracing. Guus Sliepen 2009-09-25 00:33:04 +02:00
  • 5dde6461a3 K&R style braces. Guus Sliepen 2009-09-25 00:14:03 +02:00
  • ab7c61b06f Update the address of the Free Software Foundation in all copyright headers. Guus Sliepen 2009-09-25 00:01:00 +02:00
  • 0e6856b137 Remove Ivo's old email addresses. Guus Sliepen 2009-09-24 23:42:30 +02:00
  • c217d214f4 Remove all occurences of $Id$. Guus Sliepen 2009-09-24 23:39:16 +02:00
  • c23fcf555e Update copyright information. Guus Sliepen 2009-09-24 23:29:46 +02:00
  • f1fec466e2 Add a better autoconf check for libevent. Guus Sliepen 2009-09-16 23:43:19 +02:00
  • 4bdf0e80ee Replace asprintf()s not covered by the merge to xasprintf(). Guus Sliepen 2009-09-16 20:28:30 +02:00
  • 1cbddbd573 Use correct format specifiers. Guus Sliepen 2009-09-16 20:17:11 +02:00
  • 2f97bdb46b Add missing #include. Guus Sliepen 2009-09-16 20:16:54 +02:00
  • 075e6828a7 Merge branch 'master' into 1.1 Guus Sliepen 2009-09-16 19:55:47 +02:00
  • b5ccce2968 Send large packets we cannot handle properly via TCP. Guus Sliepen 2009-09-15 23:22:13 +02:00
  • d273efb177 Raise default RSA key length to 2048 bits. Guus Sliepen 2009-09-15 23:04:52 +02:00
  • b47c17bcde Use a mutex to allow the TAP reader to process packets faster on Windows. Guus Sliepen 2009-09-15 22:59:01 +02:00
  • 802a50ffcd Remove extra {. Guus Sliepen 2009-09-15 22:58:16 +02:00
  • 4bb3793e38 Raise default crypto algorithms to AES256 and SHA256. Guus Sliepen 2009-09-15 12:08:05 +02:00
  • 633c0cf1b0 Use access() instead of stat() for checking whether scripts exist. Guus Sliepen 2009-09-15 00:36:07 +02:00
  • 6f1e0ece4e Remove dropin random() function, as it is not used anymore. Guus Sliepen 2009-09-15 00:28:20 +02:00
  • fa9bedd47c Allow compiling for Windows XP and higher. Guus Sliepen 2009-09-15 00:24:31 +02:00
  • f80bf14f28 Also do not use drand48(), it is not available on Windows. Guus Sliepen 2009-09-14 23:28:28 +02:00
  • 35e87b903e Use only rand(), not random(). Guus Sliepen 2009-09-14 23:06:00 +02:00
  • 75773efe26 Apparently it's impolite to ask GCC to subtract two pointers. Guus Sliepen 2009-09-13 14:08:59 +02:00
  • 23e151aeed Remove superfluous call to avl_delete(). Guus Sliepen 2009-09-13 14:07:40 +02:00
  • 9915f2abbe Handle unicast packets larger than PMTU in switch mode. Guus Sliepen 2009-09-12 14:19:36 +02:00
  • 7242868b64 Allow PMTUDiscovery in switch and hub modes again. Guus Sliepen 2009-09-12 13:40:32 +02:00
  • 052ff8b2c5 Put Subnet weight in a separate environment variable. Guus Sliepen 2009-09-12 13:34:11 +02:00
  • a60a0a1f13 Don't stat() on iPhone/iPod. Guus Sliepen 2009-09-10 19:51:08 +02:00
  • 4a5d42178c Add support for iPhones and recent iPods. Guus Sliepen 2009-09-10 19:32:54 +02:00
  • ff946d0423 Another safe bitfield conversion. Guus Sliepen 2009-09-09 14:51:36 +02:00
  • dd6226062c Add the GPL license to the repository. Guus Sliepen 2009-09-09 13:23:16 +02:00
  • 81afa26e4a Convert bitfields to integers in a safe way. Guus Sliepen 2009-09-09 12:04:08 +02:00
  • 9b394bc887 Ensure tinc compiles with gcc -std=c99. Guus Sliepen 2009-09-08 21:45:24 +02:00
  • f52ea0a7eb UNIX signal numbers start at 1. Guus Sliepen 2009-09-08 18:21:52 +02:00
  • 73d77dd416 Replace asprintf() by xasprintf(). Guus Sliepen 2009-09-08 18:18:36 +02:00
  • 3e55dc77f4 Check the return value of fscanf() when reading a PID file. Guus Sliepen 2009-09-08 18:18:16 +02:00
  • 5e0efd53e7 Add xasprintf() and xvasprintf(). Guus Sliepen 2009-09-08 18:16:58 +02:00
  • 63fe89e9eb Remove extra semicolon in my definition of setpriority() Michael Tokarev 2009-09-05 17:24:41 +04:00
  • 5a7fc58012 Always remove a node from the UDP tree before freeing it. Guus Sliepen 2009-09-08 16:35:28 +02:00
  • de029ce460 Change level of some debug messages, zero pointer after freeing hostname. Guus Sliepen 2009-06-11 19:39:25 +02:00
  • 66be914d35 Do not log errors when recvfrom() returns EAGAIN or EINTR. Guus Sliepen 2009-06-11 19:26:34 +02:00
  • df4add94a4 Remove pending MTU probe events when a node's reachability status changes. Guus Sliepen 2009-06-11 19:07:54 +02:00
  • 36f8e4da8b Don't try to send MTU probes to unreachable nodes. Guus Sliepen 2009-06-11 18:36:08 +02:00
  • 9b129c07e2 Fix pointer arithmetic when creating and verifying message authentication codes. Guus Sliepen 2009-06-06 20:14:51 +02:00
  • 4124b9682f Handle truncated message authentication codes. Guus Sliepen 2009-06-06 19:04:04 +02:00
  • 5a132550de Merge branch 'master' into 1.1 Guus Sliepen 2009-06-05 23:03:28 +02:00
  • 261d1eac1c Properly set HMAC length for incoming packets. Guus Sliepen 2009-06-05 16:14:31 +02:00
  • 591c38eb38 try outgoing connections before chroot/drop_privs Michael Tokarev 2009-06-05 13:33:58 +04:00
  • a42a8dde45 cleanup setpriority thing to make it readable Michael Tokarev 2009-06-05 11:58:17 +04:00
  • a5fb0d8c6c Add some const where appropriate. Guus Sliepen 2009-05-28 23:18:22 +02:00
  • 41c10c5a96 Add ProcessPriority option. Guus Sliepen 2009-05-28 22:51:30 +02:00
  • 41a05f59ba src/net_socket.c: Bind outgoing TCP sockets to `BindToAddress'. Florian Forster 2009-05-27 14:20:24 +02:00
  • 6b415a1a7f src/linux/device.c: Fix segfault when running without `--net'. Florian Forster 2009-05-27 09:27:44 +02:00
  • a8a65cee08 tunnelserver: log which ADD_SUBNET was refused Michael Tokarev 2009-05-24 17:23:24 +04:00
  • 4e9e3ca89d Do not forward broadcast packets when TunnelServer is enabled. Guus Sliepen 2009-05-25 15:04:33 +02:00
  • 7fc69bc73b Use packet size before decompression to calculate path MTU. Guus Sliepen 2009-05-25 12:19:37 +02:00
  • 1b3add6c29 Add declaration for sockaddrcmp_noport(). Guus Sliepen 2009-05-25 12:19:08 +02:00
  • ca5b67111e Fix ans_key exchange in recent changes Michael Tokarev 2009-05-24 22:32:24 +04:00
  • 7034338bc3 Use xrealloc instead of if(ptr) ptr = xmalloc(). Guus Sliepen 2009-05-24 19:35:51 +02:00
  • e012e752f4 Fix initialisation of packet decryption context broken by commit 3308d13e7e. Guus Sliepen 2009-05-24 19:31:31 +02:00
  • 0246939ce1 don't log every strange packet coming to the UDP port Michael Tokarev 2009-05-22 01:10:16 +04:00
  • 576899ef0d Fix link to Mattias Nissler's tun/tap driver for MacOS/X. Guus Sliepen 2009-05-24 17:13:00 +02:00
  • 2c67eafc6e If PMTUDiscovery is not set, do not forward packets via TCP unnecessarily. Guus Sliepen 2009-05-24 15:58:47 +02:00
  • 7e4d57adf5 ignore indirect edge registrations in tunnelserver mode Michael Tokarev 2009-05-22 01:01:35 +04:00
  • 3759aa5f77 TunnelServer: Don't disconnect client on DEL_SUBNET too Michael Tokarev 2009-05-20 18:40:04 +04:00
  • 218adee785 format 'not supported on this platform' error message Michael Tokarev 2009-05-18 17:34:30 +04:00
  • 54cb6b1aec change error messages in droppriv code to match the rest Michael Tokarev 2009-05-18 17:00:00 +04:00
  • d4f9863635 bugfix: chdir(/) after chroot Michael Tokarev 2009-05-18 16:53:08 +04:00
  • 6be5d4f5b6 bugfix: move mlock to after detach() so it works for child, not parent Michael Tokarev 2009-05-18 16:49:39 +04:00
  • cdf7f13c31 bugfix: initialize pid (as read from pidfile) to zero Michael Tokarev 2009-05-18 16:28:55 +04:00
  • ec316aa32e Implement privilege dropping Michael Tokarev 2009-05-18 16:25:41 +04:00
  • 6698f7c390 Rename setup_network_connections() and split out try_outgoing_connections() Michael Tokarev 2009-05-18 16:25:10 +04:00
  • 3308d13e7e Handle UDP packets from different and ports than advertised. Guus Sliepen 2009-04-03 01:05:23 +02:00
  • 08aabbf931 Merge branch 'master' into 1.1 Guus Sliepen 2009-03-09 19:02:24 +01:00
  • 43fa7283ac Use a simple Random Early Drop algorithm in send_tcppacket(). Guus Sliepen 2009-03-09 14:04:31 +01:00