Commit graph

186 commits

Author SHA1 Message Date
Guus Sliepen
c217d214f4 Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
Guus Sliepen
c23fcf555e Update copyright information.
- Update year numbers in copyright headers.
- Add copyright information for Michael Tokarev and Florian Forster to the
  copyright headers of files to which they have contributed significantly.
- Mention Michael and Florian in AUTHORS.
- Mention that tinc is GPLv3 or later if compiled with the --enable-tunemu
  flag.
2009-09-24 23:29:46 +02:00
Guus Sliepen
5a132550de Merge branch 'master' into 1.1
Conflicts:
	doc/tincd.8.in
	lib/pidfile.c
	src/graph.c
	src/net.c
	src/net.h
	src/net_packet.c
	src/net_setup.c
	src/net_socket.c
	src/netutl.c
	src/node.c
	src/node.h
	src/protocol_auth.c
	src/protocol_key.c
	src/tincd.c
2009-06-05 23:14:13 +02:00
Guus Sliepen
41c10c5a96 Add ProcessPriority option.
This option can be set to low, normal or high. On UNIX flavours, this changes
the nice value of the process by +10, 0 and -10 respectively. On Windows, it
sets the priority to BELOW_NORMAL_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS and
HIGH_PRIORITY_CLASS respectively.

A high priority might help to reduce latency and packet loss on the VPN.
2009-05-28 22:51:30 +02:00
Guus Sliepen
576899ef0d Fix link to Mattias Nissler's tun/tap driver for MacOS/X.
Thanks to Martin Christof Kindsmüller for spotting.
2009-05-24 17:13:00 +02:00
Michael Tokarev
ec316aa32e Implement privilege dropping
Add two options, -R/--chroot and -U/--user=user, to chroot to the
config directory (where tinc.conf is located) and to perform
setuid to the user specified, after all the initialization is done.

What's left is handling of pid file since we can't remove it anymore.
2009-05-18 14:34:24 +02:00
Guus Sliepen
08aabbf931 Merge branch 'master' into 1.1
Conflicts:
	NEWS
	README
	doc/tinc.conf.5.in
	doc/tinc.texi
	po/nl.po
	src/conf.c
	src/connection.c
	src/event.c
	src/graph.c
	src/net.c
	src/net_packet.c
	src/net_socket.c
	src/node.c
	src/node.h
	src/openssl/rsagen.h
	src/protocol_auth.c
	src/protocol_key.c
	src/protocol_misc.c
	src/subnet.c
	src/subnet.h
	src/tincd.c
2009-03-09 19:02:24 +01:00
Guus Sliepen
78fc59e994 Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
Guus Sliepen
5674bba5c5 Allow weight to be assigned to Subnets.
Tinc allows multiple nodes to own the same Subnet, but did not have a sensible
way to decide which one to send packets to. Tinc also did not check the
reachability of nodes when deciding where to route packets to, so it would not
automatically fail over to a reachable node.

Tinc now assigns a weight to each Subnet. The default weight is 10, with lower
weights having higher priority.  The Subnets are now internally sorted in the
same way as the kernel's routing table, and the Subnets are search linearly,
skipping those of unreachable nodes. A small cache of recently used addresses
is used to speed up the lookup functions.
2009-03-05 13:34:13 +01:00
Guus Sliepen
a5f899a979 Update the manpage as well, and some whitespace to make its source more legible. 2008-12-22 21:49:23 +00:00
Guus Sliepen
e8f08ced76 Update documentation.
- TCPOnly is not experimental.
- Do not mention old Linux kernels and Ethertap anymore.
- Document the DeviceType, PMTU and PMTUDiscovery options.
2008-12-22 21:29:21 +00:00
Scott Lamb
d82fcc88f3 Reload configuration through control socket
I also kept the SIGHUP handler, which many people will expect to see.
The control socket is better, though - it will tell you if there is a
problem.
2007-11-07 02:51:24 +00:00
Scott Lamb
f0a57eab4c Retry connections through control socket 2007-11-07 02:50:58 +00:00
Scott Lamb
a62a6825a8 Alter debugging levels through control socket 2007-11-07 02:50:27 +00:00
Scott Lamb
1065879c8c Purge through the control socket 2007-11-07 02:49:57 +00:00
Scott Lamb
6eaefb4dbc Dump through control socket
Note this removes SIGUSR1, SIGUSR2, and the graph dumping config option.
It seems cleaner to do everything through the control socket.
2007-11-07 02:49:25 +00:00
Scott Lamb
da81da064a Update documentation to match tincctl changes
(Most of this was done in r1559, but it looks like tincctl.8.in got missed.)
2007-11-07 02:48:00 +00:00
Guus Sliepen
6c453769fd Apply patch from Scott Lamb: Update documentation to match tincctl changes 2007-09-04 15:06:35 +00:00
Guus Sliepen
6ded8a3f08 Update documentation. 2007-05-18 11:54:16 +00:00
Guus Sliepen
9d469a1969 Fix rule that creates html version of manpages. 2006-12-16 16:26:08 +00:00
Guus Sliepen
315ef3e42b Document GraphDumpFile option. 2006-11-11 20:37:58 +00:00
Guus Sliepen
2077451e07 Add generic host-up and host-down scripts.
Thanks to Menno Smits for a patch.
2006-06-12 21:45:39 +00:00
Guus Sliepen
de78d79db8 Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
Guus Sliepen
228e7a5c8f Apply patch from Scott Lamb adding an output buffer for the TCP sockets.
This helps coalescing multiple send_meta() commands into one TCP packet.
Also limit the size of the output buffer before dropping PACKETs.
2006-01-19 17:13:18 +00:00
Guus Sliepen
df3220a154 Update copyright notices. 2005-05-04 18:09:30 +00:00
Guus Sliepen
54a30e30ad Describe subnet-up/down scripts in documentation. 2005-05-04 16:53:11 +00:00
Guus Sliepen
a20eb05714 Remove duplication. 2004-11-10 23:21:41 +00:00
Guus Sliepen
2369b0ab09 Update documentation. 2004-11-10 21:57:04 +00:00
Guus Sliepen
4fe7aff4d1 Add BlockingTCP option, useful when using TCPOnly on slow or congested links. 2004-11-10 21:56:31 +00:00
Guus Sliepen
db68db4b0e Fix order of arguments for tar. 2004-11-10 19:34:38 +00:00
Guus Sliepen
804b2892a5 Hoopjumping to get the default directories in the manuals properly. 2004-11-08 22:03:28 +00:00
Guus Sliepen
2af1538976 Don't include .svn directory in sample configuration. 2004-11-01 17:05:09 +00:00
Guus Sliepen
7926a156e5 Update copyrights, links, email addresses and let Subversion update $Id$ keywords. 2004-03-21 14:21:22 +00:00
Guus Sliepen
4350704d65 Remove CVS related cruft. 2004-03-15 17:54:19 +00:00
Guus Sliepen
f2aa7466e6 Small updates. 2004-01-10 23:19:20 +00:00
Guus Sliepen
af490a745d Describe the TunnelServer and PMTUDiscovery options. 2003-12-20 21:20:10 +00:00
Guus Sliepen
e88ea7277a Small fixes in documentation. 2003-10-11 14:42:30 +00:00
Guus Sliepen
e33307fc9f Update documentation. 2003-10-09 21:33:15 +00:00
Guus Sliepen
9b579eb9ff Update documentation. 2003-08-09 00:53:22 +00:00
Guus Sliepen
f956a28147 Make rule for sample-config.tar.gz. 2003-08-08 16:49:29 +00:00
Guus Sliepen
0c2256670f Remove unused stuff from doc/.
Let configure update pathnames in documentation.
2003-08-08 14:07:12 +00:00
Guus Sliepen
e20ac7b52d Typo and another thing to think about. 2003-08-02 22:01:50 +00:00
Guus Sliepen
92938c07b1 Explain how tinc detaches and how it is "killed" under Windows. 2003-08-02 21:55:12 +00:00
Guus Sliepen
de223b51b9 Remove doc/es/ and src/device.c from the distribution. 2003-07-30 09:45:21 +00:00
Guus Sliepen
63568bb6bc Update documentation and remove stuff that's too outdated. 2003-07-30 09:22:29 +00:00
Guus Sliepen
c96900f378 Add section about configuring Cygwin and CIPE on Windows. 2003-07-21 19:58:58 +00:00
Guus Sliepen
5db596c684 Simplify logging, update copyrights and some minor cleanups. 2003-07-12 17:41:48 +00:00
Guus Sliepen
8bfa554af9 There are two lzo compression levels. 2003-06-12 11:08:40 +00:00
Guus Sliepen
9279b3c699 Update documentation. 2003-06-11 20:18:48 +00:00
Guus Sliepen
f238c209f4 Fix links. 2003-05-17 22:12:52 +00:00
Guus Sliepen
4c88ff86bc PrivateKeyFile instead of PrivateKey. 2002-12-27 19:32:33 +00:00
Guus Sliepen
07db46a44f Add documentation for BindToAddress. 2002-10-07 07:32:31 +00:00
Wessel Dankers
6904e0469e its: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig
it's: Engels voor "het is". Dus niet "van het".
2002-09-16 14:08:04 +00:00
Guus Sliepen
1dcbdf48eb Update documentation. 2002-09-15 22:19:38 +00:00
Guus Sliepen
9f370893fa Don't bother to chown, and correctly document ConnectTo. 2002-07-16 13:18:27 +00:00
Guus Sliepen
627f7c22b4 s/sliepen.warande.net/sliepen.eu.org/g
s/itimmermans@bigfoot.com/ivo@o2w.nl/g
2002-06-21 10:11:37 +00:00
Guus Sliepen
3a3adf5b69 Add configuration details for NetBSD and Darwin (MacOS/X). 2002-06-12 13:45:23 +00:00
Guus Sliepen
b1322d244f masklength is better known as prefixlength 2002-04-09 11:43:29 +00:00
Guus Sliepen
a5d8be8b1a Recent automake uses $(AMTAR) instead of $(TAR) 2002-03-27 15:35:07 +00:00
Guus Sliepen
efd29fde85 Small updates. 2002-03-27 15:26:29 +00:00
Guus Sliepen
e2238047d3 Small correction. 2002-03-26 13:19:56 +00:00
Guus Sliepen
a0c1696515 Tell a little bit more about security. 2002-03-25 15:12:09 +00:00
Guus Sliepen
89a2f761a6 Updated documentation. 2002-03-25 15:01:32 +00:00
Guus Sliepen
ab90fa9bd1 Document and clean up MAC address expiry. 2002-03-01 14:25:10 +00:00
Guus Sliepen
0c879b8eee Updated documentation. 2002-03-01 13:38:02 +00:00
Guus Sliepen
c2b9c06062 - Non-blocking connect()s.
- Socket handling revamped to use sockaddr_t.
- tinc can now tunnel over IPv6.
- Handle all addresses and subnets in network byte order.
  Only convert them when they need to be printed.
- IPv6 subnets bigger than /128 now work.
- Use %s and strerror(errno) instead of %m.
2002-02-18 16:25:19 +00:00
Guus Sliepen
d9a62c6354 Added support for packet compression, thanks to Mark Glines.
Add "Compression = <level>" to the host config files, where level can be
0 (off), or any integer between 1 (fast) and 9 (best).
2002-02-11 15:59:18 +00:00
Guus Sliepen
f0aa9641e8 Merging of the entire pre5 branch. 2002-02-10 21:57:54 +00:00
Guus Sliepen
cbd03caece More on edges. 2001-07-24 08:51:36 +00:00
Guus Sliepen
3cd238f4e3 Discuss how sending ADD_EDGEs would be better than sending ADD_HOSTs. 2001-07-23 22:06:22 +00:00
Guus Sliepen
5333cada0d Written down a possible solution. 2001-07-22 17:41:52 +00:00
Guus Sliepen
995ab86fce Correctie. 2001-07-22 15:25:13 +00:00
Guus Sliepen
d7b4de0e73 Small update. 2001-07-22 14:58:18 +00:00
Guus Sliepen
71b9041f48 Described problem in more detail. 2001-07-22 14:46:11 +00:00
Guus Sliepen
c1a98cd37e Started writing a document about how daemons connect to each other. 2001-07-22 14:04:38 +00:00
Guus Sliepen
8d307c2fbf Fix sample configuration to show keys in PEM format and correct tapdevice. 2001-05-25 18:57:37 +00:00
Guus Sliepen
f0c64a3dac Merged PROTOCOL, NETWORK and SECURITY2 with the texinfo manual. 2001-05-25 12:45:37 +00:00
Guus Sliepen
6e09c2a99c Small corrections to the manuals. 2001-05-25 10:06:13 +00:00
Guus Sliepen
4493b0650b Changed URL from kernelnotes.org to linuxdoc.org. 2001-05-24 20:40:13 +00:00
Guus Sliepen
3360c6270b More revisions to the documentation:
- Removed cruft
- Reordered some sections to make it more logical for the beginner
- Added small examples and hints about configuration files
2001-05-24 20:24:12 +00:00
Guus Sliepen
6f7f8659a2 - Make sure correct information is supplied for both old kernels (with
ethertap) and for new kernels (with TUN/TAP driver).
- Revised example configuration and made it conform to latest (CVS) version of
  tinc.
2001-05-19 15:50:51 +00:00
Guus Sliepen
f4887b981f Added a description of what is going on in net.c and route.c, and how
packets flow through tinc.
2001-03-04 14:00:24 +00:00
Guus Sliepen
bb08704980 Added description of the proposed new authentication scheme. 2001-02-13 09:54:29 +00:00
Ivo Timmermans
cebb6efeb0 More files to ignore in CVS 2001-02-11 11:55:28 +00:00
Guus Sliepen
ef0fc4f687 Added .cvsignore files to get rid of warnings and prevent autogenerated
files from being added accidentaly.
2001-02-11 11:44:32 +00:00
Ivo Timmermans
fe61e1ffef Distribute the sample config as a .tar.gz 2001-01-18 13:01:42 +00:00
Ivo Timmermans
a73ec9caa4 Fixed some errors 2001-01-18 13:00:57 +00:00
Ivo Timmermans
1d898e00a9 Merged documentation with various updates I had lying around 2001-01-17 01:40:46 +00:00
Guus Sliepen
b195e8815f Added sample configuration directory. 2001-01-13 14:38:18 +00:00
Guus Sliepen
d3f889c807 - It's 2001, all copyright notices are updated. 2001-01-07 17:09:07 +00:00
Guus Sliepen
96b6f958bc - Description of protocol and authentication updated. 2001-01-07 17:08:03 +00:00
Guus Sliepen
8b4bc5b3a7 - Typo. 2001-01-06 20:43:03 +00:00
Guus Sliepen
3d7289cf74 - Updated texinfo manual. 2001-01-06 20:02:21 +00:00
Guus Sliepen
0d99ae59bd - Updated manual pages. 2001-01-06 18:44:55 +00:00
Ivo Timmermans
6ddc9109d7 Massive long awaited documentation update. It's not finished yet,
most notably the example configuration is still old.
2000-12-05 08:54:22 +00:00
Ivo Timmermans
8fe83e98da All full stops have two spaces after them. (Silly commit, I know.) 2000-11-30 23:39:55 +00:00
Ivo Timmermans
edb9b4cad0 Explain how to tell configure where OpenSSL lives. 2000-11-24 14:13:51 +00:00
Ivo Timmermans
6e27618708 Updates, updates 2000-11-09 21:29:58 +00:00
Guus Sliepen
417f36a079 - Removed manpage for no longer existing genauth. 2000-11-04 15:17:02 +00:00
Ivo Timmermans
1b11bcb012 Added a perl example to turn an IP address into a MAC address. 2000-11-02 21:34:45 +00:00