Guus Sliepen
3391018efb
Also clarify hostnames=[yes|no] in tinc.conf(5).
2012-07-27 22:44:02 +02:00
Mesar Hameed
e895b358db
Minor clarification, tinc.conf hostnames=[yes|no] variable only resolves names for logging purposes.
2012-07-24 07:20:04 +01:00
Guus Sliepen
e1355e24eb
Remove unused po/ directory.
2012-07-22 13:05:56 +02:00
Guus Sliepen
6c9b33c8b6
Have tinc-gui use same way of locating pidfile as tincd and tincctl.
2012-07-22 12:55:04 +02:00
Guus Sliepen
2b97a7d7cf
tincctl init now also creates a template tinc-up script.
2012-07-22 12:52:31 +02:00
Guus Sliepen
eb430005c7
Fix exit code when installing tincd as a service on Windows.
2012-07-21 17:10:10 +02:00
Guus Sliepen
e5e96882c3
Windows doesn't like quotes around "edit" when calling it through system().
...
Even though that works fine on the command line.
2012-07-21 16:33:09 +02:00
Guus Sliepen
18237e1f2d
Use backslashes on Windows.
...
Although Windows itself supports the forward slash, some programs may not.
2012-07-21 16:26:55 +02:00
Guus Sliepen
09a8ff649c
Don't try to mkdir(CONFDIR) on Windows when there is a registry key for tinc.
2012-07-21 15:58:16 +02:00
Guus Sliepen
ed8ce60845
Fix crash when no netname is specified.
2012-07-21 15:51:15 +02:00
Guus Sliepen
7303b512b0
Fix some compiler warnings.
2012-07-21 15:50:50 +02:00
Guus Sliepen
33521eabd4
Have tincd and tincctl use the same method of determining netname.
2012-07-21 15:15:04 +02:00
Guus Sliepen
1d322d2eda
Add a newline to a configuration file if it is missing.
2012-07-21 15:02:44 +02:00
Guus Sliepen
dea722c4ac
Add some checks when changing configuration.
2012-07-21 15:02:17 +02:00
Guus Sliepen
cc0c35267f
Call event_init() after detaching.
...
Otherwise, the call to daemon() could close filedescriptors in use by libevent
itself; for example if it uses kqueue or epoll instead of a select() or poll()
backend.
2012-07-21 14:19:23 +02:00
Guus Sliepen
4e0fc52197
Fix various compiler warnings.
2012-07-21 13:53:22 +02:00
Guus Sliepen
b161088b35
BSD make doesn't like $<.
2012-07-21 13:47:39 +02:00
Guus Sliepen
98a72d6869
Make sure sptps.h and info.h are in the tarball.
2012-07-21 13:12:30 +02:00
Guus Sliepen
5eeed38b8e
Make sure tinc compiles on Windows.
2012-07-21 12:51:53 +02:00
Guus Sliepen
1d4590ca5c
Prefer routes with lower weight as long as they do not increase the number of hops.
...
This should improve traffic to nodes that are not directly reachable somewhat.
2012-07-20 20:35:07 +02:00
Guus Sliepen
4c8ead9874
Allow more configuration variables to be changed when reloading configuration.
...
In particular, Subnets may be added or removed from the local node on the fly.
2012-07-20 20:01:29 +02:00
Guus Sliepen
c678e7c4fb
Split setup_myself() into two functions, one for reloading configuration.
2012-07-20 19:59:47 +02:00
Guus Sliepen
4591e96c76
Never remove items from cmdline_conf.
...
We should treat cmdline_conf as const, so we can call read_config_options()
more than once with prefix = NULL.
2012-07-20 17:29:16 +02:00
Guus Sliepen
68a20876d0
Use minor protocol version to determine whether to use ECDH key exchange between nodes.
2012-07-20 01:02:51 +02:00
Guus Sliepen
76a3ada4eb
Put minor protocol version in connection options so other nodes can see it.
...
This allows two nodes that do not have a meta-connection with each other see
which version they are.
2012-07-17 18:05:55 +02:00
Guus Sliepen
68de7b481e
When exporting configuration files, don't copy Name variables.
...
These interfere with tincctl import. Besides, host configuration files should
not contain Name at all.
2012-07-16 18:49:39 +02:00
Guus Sliepen
c52c46f871
Add an easy way to export and import host configuration files.
2012-07-16 16:48:24 +02:00
Guus Sliepen
6319dc9dde
Strip default subnet weight from output.
2012-07-16 01:14:08 +02:00
Guus Sliepen
74646a4afa
Give an error message when tincctl info cannot parse the given subnet or address.
2012-07-16 01:09:47 +02:00
Guus Sliepen
53735a9d96
"tincctl info" gives more human readable information about nodes or subnets.
2012-07-16 01:05:25 +02:00
Guus Sliepen
3c7003893f
Move all functions related to subnet parsing to subnet_parse.c.
2012-07-16 00:52:50 +02:00
Guus Sliepen
e72e6febfe
Fix tincctl dump.
2012-07-15 22:53:03 +02:00
Guus Sliepen
9be8980a2b
Let tincctl ignore tincd options, so they will be passed on.
2012-07-15 21:17:10 +02:00
Guus Sliepen
36dee4c539
Fix tincctl start.
2012-07-15 21:15:35 +02:00
Guus Sliepen
439069bda6
Have tincctl notify a running tincd of configuration file changes.
2012-07-15 20:59:17 +02:00
Guus Sliepen
eb01fd9625
Add an easy way to edit a configuration file.
2012-07-15 20:37:38 +02:00
Guus Sliepen
cedfeccb24
Stricter checks for node names.
2012-07-15 20:22:21 +02:00
Guus Sliepen
03f72c6173
Allow configuration variables to be added/removed using tincctl.
2012-07-15 18:16:35 +02:00
Guus Sliepen
dd102efd24
Put every command in its own function.
2012-07-15 15:46:16 +02:00
Guus Sliepen
a444ec3964
"tincctl init" creates initial directory structure, tinc.conf and keypairs.
2012-07-15 14:49:36 +02:00
Guus Sliepen
268c8545aa
Merge branch 'master' into 1.1
2012-07-14 15:13:21 +02:00
Guus Sliepen
f13fd8c350
Update THANKS file.
2012-07-12 11:32:08 +02:00
Guus Sliepen
2eb0043e13
Document how to load the tap driver on FreeBSD.
2012-07-12 11:30:56 +02:00
Guus Sliepen
ae8c0b65d8
Use /dev/tap0 by default on FreeBSD and NetBSD when using Mode = switch.
2012-07-12 11:25:11 +02:00
Guus Sliepen
bce177767d
Fix crash when handling the ALRM signal.
...
In retry() the function do_outgoing_connection() is called, which can delete
items from the connection_tree, so when walking the tree we must first save the
pointer to the next item.
2012-06-26 14:22:57 +02:00
Guus Sliepen
19be9cf715
Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
...
Conflicts:
NEWS
README
configure.in
lib/utils.c
src/linux/device.c
src/meta.c
src/net.h
src/net_setup.c
src/net_socket.c
src/protocol.c
src/protocol_auth.c
src/tincd.c
2012-06-26 13:24:20 +02:00
Guus Sliepen
00e71ece25
Releasing 1.0.19.
2012-06-25 19:45:51 +02:00
Guus Sliepen
236b0ba4eb
Fix crash when using Broadcast = direct.
2012-06-25 19:03:54 +02:00
Guus Sliepen
0a84f9cb8f
Fix compiler warnings.
2012-06-25 19:01:51 +02:00
Guus Sliepen
62ee9b776d
#include <winsock2.h> on Windows.
...
MinGW complained about it not being included.
2012-06-25 15:01:42 +02:00