Commit graph

  • b7754e5aaa Drop the GNU memcmp.c implementation. Guus Sliepen 2011-06-02 17:53:35 +02:00
  • 25b467638a Drop the GNU malloc.c, realloc.c, and xmalloc.c. Guus Sliepen 2011-06-02 17:45:06 +02:00
  • e452a933f9 Simplify signal handling. Guus Sliepen 2011-06-02 17:14:30 +02:00
  • 4d440336c3 Remove outgoing event in free_connection(). Guus Sliepen 2011-05-29 22:34:19 +02:00
  • d29bfc9a45 Initialise priority field to zero for packets read from the VPN interface. Guus Sliepen 2011-05-29 22:14:35 +02:00
  • 4c403840ff Cosmetic fix when pressing 's' in tincctl top. Guus Sliepen 2011-05-29 22:12:37 +02:00
  • b3aeaf0f91 Show hostname and port in error message when connecting to a running tincd. Guus Sliepen 2011-05-29 22:10:54 +02:00
  • 04de15984f do_outgoing_connection() may delete a failed connection, and the structure must not be accessed afterwards. Sven-Haegar Koch 2011-05-29 21:53:21 +02:00
  • 82109868b5 src/net_socket.c bind_to_address(): Use after free in error path. Sven-Haegar Koch 2011-05-29 21:35:31 +02:00
  • 5bc957074a Allow tincctl to connect to something besides localhost. Guus Sliepen 2011-05-29 14:41:05 +02:00
  • 64771f73eb Remove a few unnecessary #includes. Guus Sliepen 2011-05-28 23:46:56 +02:00
  • 5cff8c47c1 Remove newlines from log messages. Guus Sliepen 2011-05-28 23:42:18 +02:00
  • 6d08eb1614 Fix sparse warnings and add an extra sprinkling of const. Guus Sliepen 2011-05-28 23:36:52 +02:00
  • e6b21e1a51 fgets() returns NULL on error, not < 0 Sven-Haegar Koch 2011-05-28 03:48:07 +02:00
  • 434e57ae5e sparse fixup: warning: Using plain integer as NULL pointer Sven-Haegar Koch 2011-05-28 03:46:39 +02:00
  • f4010694b3 sparse fixup: warning: non-ANSI function declaration of function '...' Sven-Haegar Koch 2011-05-28 03:57:20 +02:00
  • d772289f6d sparse fixup: warning: symbol '...' was not declared. Should it be static? Sven-Haegar Koch 2011-05-28 03:56:06 +02:00
  • 02e32cf61e sparse fixup: error: too many arguments for function send_key_changed Sven-Haegar Koch 2011-05-28 03:12:03 +02:00
  • b995243ac3 sparse fixup: error: dubious one-bit signed bitfield Sven-Haegar Koch 2011-05-28 03:08:31 +02:00
  • bbd0025ae3 Use same definition for xalloc_fail_func as is really used. Sven-Haegar Koch 2011-05-28 02:57:40 +02:00
  • 3fca2cad48 Removed two newlines from the end of log messages which created empty lines. Sven-Haegar Koch 2011-05-28 01:36:10 +02:00
  • 9cce44dfe3 Fixed error logging on "Input buffer full" condition. Sven-Haegar Koch 2011-05-28 01:33:45 +02:00
  • 07ffb1a198 Make return value of SetPriorityClass() behave the same as setpriority(). Guus Sliepen 2011-05-22 15:56:04 +02:00
  • 453c44e7b2 Add the ability to dump all traffic going through route() over a control connection. Guus Sliepen 2011-05-22 14:17:30 +02:00
  • 54c900e961 Reset tcplen after use. Guus Sliepen 2011-05-22 14:02:27 +02:00
  • 8ddcad5fa1 Check if an event is initialized before calling event_del(). Guus Sliepen 2011-05-22 13:15:27 +02:00
  • 931e30f91a Always compact the buffer if it has reached MAXBUFSIZE. Guus Sliepen 2011-05-22 13:15:05 +02:00
  • 90c7fafe59 Compact input buffer before trying to read instead of after. Guus Sliepen 2011-05-22 12:56:51 +02:00
  • 8de8f1d9e2 Fix some compiler warnings. Guus Sliepen 2011-05-17 10:58:22 +02:00
  • a80c18dd20 Use GetItemCount() on ListCtrls instead of directly accessing ItemCount. Guus Sliepen 2011-05-17 10:57:30 +02:00
  • f536504a7d Add top.h. Guus Sliepen 2011-05-16 09:48:19 +02:00
  • e272fab858 Add tincctl.h. Guus Sliepen 2011-05-16 09:46:54 +02:00
  • 6d97cb1e22 Nicer top command. Guus Sliepen 2011-05-15 16:30:13 +02:00
  • 4574b04f79 Allow inserting items in the middle of a list. Guus Sliepen 2011-05-15 16:29:54 +02:00
  • 97355690b9 Add a very primitive "top" command to tincctl. Guus Sliepen 2011-05-15 13:16:48 +02:00
  • ec495b2f15 Add an autoconf check for the curses library. Guus Sliepen 2011-05-15 12:06:21 +02:00
  • 362d8a6358 Dump traffic statistics over control sockets. Guus Sliepen 2011-05-15 11:59:13 +02:00
  • f5843e7d64 Add per-node traffic counters. Guus Sliepen 2011-05-15 00:42:29 +02:00
  • ffa3a443b9 Several fixes for the buffer code. Guus Sliepen 2011-05-14 22:30:23 +02:00
  • cdb793f687 Remove use of bufferevent and eventbuffers, use our own buffering instead. Guus Sliepen 2011-05-14 19:20:56 +02:00
  • f431fcb35f Add simple buffer management code. Guus Sliepen 2011-05-14 19:15:04 +02:00
  • 3794e551c7 Fix check for event initialization due to the merge. Guus Sliepen 2011-05-14 11:52:35 +02:00
  • 03b7118139 Reorder checks for libraries to allow ./configure LDFLAGS=-static. Guus Sliepen 2011-05-13 12:37:26 +02:00
  • ce8775000a Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2011-05-09 21:35:14 +02:00
  • 5686ad80b5 Releasing 1.0.14. Guus Sliepen 2011-05-08 23:17:46 +02:00
  • 0d906489f2 Include <inttypes.h> when using intptr_t. Guus Sliepen 2011-05-08 23:12:44 +02:00
  • dc887f5011 Ensure proper linking with OpenSSL with recent versions of MinGW. Guus Sliepen 2011-05-08 23:12:06 +02:00
  • 67766d65f0 Update THANKS and copyright information. Guus Sliepen 2011-05-08 21:22:20 +02:00
  • 6e6b037ef4 Check for EVP_EncryptInit_ex instead of SHA1_Version in OpenSSL. Guus Sliepen 2011-05-08 21:06:06 +02:00
  • 257cb6ac60 Always use the default signal handler for ABRT signals. Guus Sliepen 2011-05-08 12:40:44 +02:00
  • eacb5a28fb Increase threshold for detecting two nodes with the same Name. Guus Sliepen 2011-05-08 12:16:26 +02:00
  • f11c6101f3 Fix command-line '-o' option for host configuration Julien Muchembled 2011-04-28 13:21:55 +02:00
  • 0aa86d4b8b Do not set indirect flag on edges from nodes with multiple addresses. Guus Sliepen 2011-03-09 09:34:56 +01:00
  • 7cf68b5e35 Prevent anything from updating our own UDP address. Guus Sliepen 2011-02-18 23:11:43 +01:00
  • cdbbbfabea Fix spurious misidentification of incoming UDP packets. Guus Sliepen 2011-02-18 23:02:11 +01:00
  • 046d83bf91 DragonFlyBSD support Rumko 2011-02-12 18:22:14 +01:00
  • f017c7f98f Add support for VDE through libvdeplug. Guus Sliepen 2011-02-07 18:34:55 +01:00
  • 8d18cc6c4e Fix typo spotted by Andrew Scheller. Guus Sliepen 2011-01-29 10:49:44 +01:00
  • b3731c0409 Proper check and dropin replacement for usleep(). Guus Sliepen 2011-01-12 20:57:14 +01:00
  • 4b8a599303 Update the NEWS. Guus Sliepen 2011-01-02 17:25:24 +01:00
  • c228da54d4 Update the manual. Guus Sliepen 2011-01-02 17:25:03 +01:00
  • 4575c6c7df Document the behavior of "-n." Guus Sliepen 2011-01-02 17:24:23 +01:00
  • 6c05bf082b Remove unused variables. Guus Sliepen 2011-01-02 16:59:42 +01:00
  • 6a51d89cf7 Replace bogus #else with #endif. Guus Sliepen 2011-01-02 16:55:42 +01:00
  • d7636352ce Limit field width when scanning PID file. Guus Sliepen 2011-01-02 16:52:36 +01:00
  • 3ce5e292da Close all filedescriptors in Solaris close_device(). Guus Sliepen 2011-01-02 16:50:24 +01:00
  • f99661a4ca Always send MTU probes at least once every PingInterval. Guus Sliepen 2011-01-02 15:02:23 +01:00
  • cac0a5c651 Use setpriority() instead of nice() on UNIX-like systems. Guus Sliepen 2010-11-20 14:31:11 +00:00
  • 3f59a26d80 Do not try to dereference myself->connection->config_tree. Guus Sliepen 2010-11-19 12:26:20 +00:00
  • 886a6f61a1 Merge branch 'master' into 1.1 Guus Sliepen 2010-11-19 12:22:48 +00:00
  • d91903ef3c Attribution for Brandon Black. Guus Sliepen 2010-11-16 17:28:41 +01:00
  • e764ff7be9 Fix variable length array declaration. Guus Sliepen 2010-11-16 16:45:36 +01:00
  • 5eb0440110 Free replay window when freeing a node_t. Guus Sliepen 2010-11-13 21:36:51 +01:00
  • a9445e38f2 Fix warning message when setting SO_RCVBUF or SO_SNDBUF fails. Guus Sliepen 2010-11-13 21:34:59 +01:00
  • 0d61d4ae13 Improved handling of queue-jumping packets on receive Brandon L Black 2010-11-13 12:05:51 -06:00
  • 23acc19bc0 Configurable ReplayWindow size, zero disables Brandon L Black 2010-11-13 12:05:50 -06:00
  • 8dfe1b374e Configurable SO_RCVBUF/SO_SNDBUF for the UDP socket Brandon L Black 2010-11-13 12:05:49 -06:00
  • 3f410e2f8f Experimental IFF_ONE_QUEUE support for Linux Brandon L Black 2010-11-13 12:05:48 -06:00
  • 9e3ca39773 Use variable length arrays instead of alloca(). Guus Sliepen 2010-11-13 15:55:38 +01:00
  • e2e6ec8050 Provide usleep() for Windows. Guus Sliepen 2010-11-13 15:50:39 +01:00
  • 23dddc2593 Link tincctl with dropin.o. Guus Sliepen 2010-11-13 15:46:19 +01:00
  • a22041922f Merge branch 'master' into 1.1 Guus Sliepen 2010-11-12 16:15:29 +01:00
  • 930bf74fbe Don't use strlen() on a NULL pointer. Guus Sliepen 2010-11-12 11:38:05 +01:00
  • a07aa92176 Add short options -R and -U to the tincd(8) manpage. Guus Sliepen 2010-11-12 11:33:01 +01:00
  • 66b7aea294 Read error counter must be static. Guus Sliepen 2010-11-02 14:23:43 +01:00
  • a91bf2dfcd Quit when there are too many consecutive errors on the tun/tap device. Guus Sliepen 2010-11-02 14:18:35 +01:00
  • aca70cd3c3 Treat netname="." in a special way. Michael Tokarev 2010-10-24 15:23:10 +04:00
  • 5f729f76f5 Remove unused variables. Guus Sliepen 2010-10-22 22:46:44 +02:00
  • 20ae7dd8c1 Abort disabling old PEM keys on I/O errors. Guus Sliepen 2010-10-22 22:43:50 +02:00
  • a08462bf84 Ensure there is a newline character before a PEM key is written. Guus Sliepen 2010-10-22 22:42:21 +02:00
  • c6ccbadfcf Attribution for Timothy Redaelli. Guus Sliepen 2010-10-22 13:40:04 +02:00
  • 1c2cd7ed27 Attribution for Julien Muchembled. Guus Sliepen 2010-10-22 13:17:42 +02:00
  • 667b1bac77 Remove duplicate command-line option parsing. Guus Sliepen 2010-10-22 13:06:06 +02:00
  • ff71f28902 Merge local host configuration with server configuration. Guus Sliepen 2010-10-22 12:47:12 +02:00
  • 8c3105283a New '-o' option to configure server or hosts from command line Julien Muchembled 2010-09-03 13:34:22 +02:00
  • 4b6a9f1c1f Do not append an address to ANS_KEY messages if we don't know any address. Guus Sliepen 2010-06-04 16:03:19 +02:00
  • 798fa2f04c Use 64 bit counters to keep track of bytes sent/received from the virtual network interface. Guus Sliepen 2010-06-04 15:04:08 +02:00
  • 4a21aabada Detect and prevent two nodes with the same Name being on the VPN simultaneously. Guus Sliepen 2010-06-04 14:53:52 +02:00
  • dbf3d168b7 Use strrchr() insteaad of rindex(). Guus Sliepen 2010-05-07 12:24:49 +02:00
  • eda7179874 Fix warnings under BSD Timothy Redaelli 2010-05-04 15:43:48 +02:00