Guus Sliepen
f417271ea1
Fix column sorting, make all lists sortable.
2012-09-28 17:03:14 +02:00
Guus Sliepen
aee86011ff
Let the GUI handle the new dump format.
2012-09-27 22:12:15 +02:00
Guus Sliepen
2e09986a1f
Fix links in documentation.
2012-09-27 17:18:49 +02:00
Guus Sliepen
f70cbc9d3e
Comment out old public/private keys when generating new ones.
2012-09-27 15:45:02 +02:00
Guus Sliepen
38dbc63f11
Update documentation of the "dump graph" command.
2012-09-26 23:56:21 +02:00
Guus Sliepen
1f312137d5
Allow dumping either directed or undirected graphs.
...
Internally, tinc maintains a directed graph of the meta connections between
nodes. However, this causes graphviz to draw two lines between nodes, which is
not always desirable. The "dump graph" command now defaults to dumping an
undirected graph, the "dump digraph" command will dump a directed graph.
2012-09-26 23:52:36 +02:00
Guus Sliepen
d6388d782e
Let tincctl parse and format dumps.
...
At the moment it just reproduces the old format.
2012-09-26 23:18:32 +02:00
Guus Sliepen
9ade39b7d5
Keep last known address and time since reachability changed.
...
This allows tincctl info to show since when a node is online or offline.
2012-09-26 22:20:43 +02:00
Guus Sliepen
1e5deec973
Remove remnants of Ethertap and old TUNSETIFF ioctl().
2012-09-25 22:28:08 +02:00
Guus Sliepen
125dd0dbcf
Fix typo in manpage.
2012-09-25 22:12:36 +02:00
Guus Sliepen
2dc8deb104
Ensure sptps_test compiles with -flto.
2012-09-13 21:35:29 +02:00
Guus Sliepen
90f1cba1fd
Replace node_udp_tree with a hash table.
2012-09-05 13:05:48 +02:00
Guus Sliepen
4c05afd19a
Use hash tables to lookup owners of addresses.
2012-09-05 12:45:36 +02:00
Guus Sliepen
6b6a025488
Add a simple hash table implementation.
2012-09-05 12:44:41 +02:00
Guus Sliepen
e9de08be0d
Remove newlines at end of log messages.
2012-09-04 14:21:50 +02:00
Guus Sliepen
05dac63dbc
Remove some debug messages.
2012-09-04 14:16:05 +02:00
Guus Sliepen
742f7bb04e
Properly handle SPTPS packets with stripped Ethernet headers.
2012-08-30 14:21:23 +02:00
Guus Sliepen
d74b81b61e
Fix node name check for "connect" and "disconnect" commands.
2012-08-30 14:00:34 +02:00
Guus Sliepen
5567c0d410
Quit when "exit" or "quit" commands are used in tincctl's shell.
2012-08-05 17:25:31 +02:00
Guus Sliepen
d18519ae21
Fix segfault when using tincctl's shell without readline.
2012-08-05 17:03:57 +02:00
Guus Sliepen
b332bd9646
Add bash completion script.
2012-08-05 13:54:14 +02:00
Guus Sliepen
e29e0fee88
Make sure the top command can be used more than once in tincctl's shell.
2012-08-03 14:17:02 +02:00
Guus Sliepen
a57db1dfe0
Fork when using the "start" command in tincctl.
...
This allows the command to be given in its shell without immediatly exiting tincctl.
2012-08-03 14:15:50 +02:00
Guus Sliepen
36c6afede3
Add readline completion for tincctl config and tincctl info.
2012-08-03 13:23:07 +02:00
Guus Sliepen
8af2f3f5a4
Optionally compress and/or strip Ethernet header from SPTPS packets.
2012-08-02 17:44:59 +02:00
Guus Sliepen
73348be58e
Have tincctl act as a shell when no command is given.
...
By default it uses readline to read commands. If the input and output are not a
tty, no prompt is shown.
2012-08-02 17:24:42 +02:00
Guus Sliepen
91937812bd
Clear struct sptps before reusing it.
2012-08-02 17:23:51 +02:00
Guus Sliepen
6bcd03c202
Update the documentation to encourage using "tincctl init" and "tincctl config".
2012-08-01 22:22:52 +02:00
Guus Sliepen
6396f42d74
Stricter checks for netname and node names.
...
- Node names should not be empty.
- Net names should not contain slashes or start with a dot, because they are
used in pathnames.
2012-08-01 16:51:59 +02:00
Guus Sliepen
61006ced88
Add missing configuration variables.
2012-08-01 16:13:23 +02:00
Guus Sliepen
b0f3a76e9b
Add the ability to query configuration variables to tincctl.
2012-08-01 15:53:20 +02:00
Guus Sliepen
a9caa2a6ea
tincctl restart should work even if no tincd is running.
2012-08-01 15:15:37 +02:00
Guus Sliepen
07980b056c
Try sending SIGTERM if we cannot connect to a tincd but we know its PID.
2012-08-01 15:14:48 +02:00
Guus Sliepen
7a71d48009
Use a status bit to track which nodes use SPTPS.
2012-07-31 21:43:49 +02:00
Guus Sliepen
6bc8df3e01
Add Brandon Black's replay window code to SPTPS.
2012-07-31 20:39:15 +02:00
Guus Sliepen
5ede437307
Handle SPTPS datagrams in try_mac().
2012-07-31 20:36:35 +02:00
Guus Sliepen
aaff0ed089
Remove unused #include.
2012-07-31 20:29:13 +02:00
Guus Sliepen
153abaa4d9
Use datagram SPTPS for packet exchange between nodes.
...
When two nodes which support SPTPS want to send packets to each other, they now
always use SPTPS. The node initiating the SPTPS session send the first SPTPS
packet via an extended REQ_KEY messages. All other handshake messages are sent
using ANS_KEY messages. This ensures that intermediate nodes using an older
version of tinc can still help with NAT traversal. After the authentication
phase is over, SPTPS packets are sent via UDP, or are encapsulated in extended
REQ_KEY messages instead of PACKET messages.
2012-07-30 18:36:59 +02:00
Guus Sliepen
248d300f1b
Merge branch 'master' into 1.1
2012-07-27 22:48:24 +02:00
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