tinc/src
Guus Sliepen 5fca595b80 Honour umask, let temporary key files inherit original's permissions.
During the init command, tinc changed the umask to 077 when writing the public
and private key files, to prevent the temporary copies from being world
readable. However, subsequently created files would therefore also be
unreadable for others. Now we don't change the umask anymore, therefore
allowing the user to choose whether the files are world readable or not by
setting the umask as desired. The private key files are still made unreadable
for others of course. Temporary files now inherit the permissions of the
original, and the tinc-up script's permissions now also honour the umask.
2013-07-22 23:05:07 +02:00
..
bsd Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
cygwin Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
gcrypt Use conditional compilation for cryptographic functions. 2013-05-01 17:17:22 +02:00
linux Fix combination of Mode = router and DeviceType = tap on Linux. 2013-07-15 00:28:35 +02:00
mingw Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
openssl Fix potential NULL pointer dereferences. 2013-05-11 16:54:50 +02:00
solaris Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
buffer.c Fix whitespace. 2012-10-10 17:17:49 +02:00
buffer.h Always compact the buffer if it has reached MAXBUFSIZE. 2011-05-22 13:24:01 +02:00
cipher.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
conf.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
conf.h Releasing 1.1pre5. 2013-01-20 21:03:22 +01:00
connection.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
connection.h Add an invitation protocol. 2013-05-29 18:31:10 +02:00
control.c Fix port number in pidfile. 2013-05-28 13:41:53 +02:00
control.h Use the TCP socket infrastructure for control sockets. 2009-11-07 23:43:25 +01:00
control_common.h Update copyright notices. 2012-10-14 17:42:49 +02:00
crypto.h Add generic crypto headers. 2013-05-01 17:58:30 +02:00
device.h Fix whitespace. 2012-10-10 17:17:49 +02:00
digest.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
dropin.c Get microsecond time resolution on Windows. 2013-01-21 16:12:18 +01:00
dropin.h Add missing definitions on Windows. 2013-07-17 18:00:40 +02:00
dummy_device.c Update copyright notices. 2012-10-14 17:42:49 +02:00
ecdh.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
ecdsa.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
ecdsagen.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
edge.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
edge.h Update copyright notices. 2012-10-14 17:42:49 +02:00
ethernet.h Make sure PMTU discovery works in switch mode with VLAN tags. 2012-11-10 23:55:56 +01:00
event.c Flush output buffers in the tap reader thread on Windows. 2013-03-01 17:37:56 +01:00
event.h Flush output buffers in the tap reader thread on Windows. 2013-03-01 17:37:56 +01:00
fake-gai-errnos.h Add missing definitions on Windows. 2013-07-17 18:00:40 +02:00
fake-getaddrinfo.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
fake-getaddrinfo.h Fix whitespace. 2012-10-10 17:17:49 +02:00
fake-getnameinfo.c Fix whitespace. 2012-10-10 17:17:49 +02:00
fake-getnameinfo.h Fix whitespace. 2012-10-10 17:17:49 +02:00
getopt.c Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
getopt.h Move source from lib/ to src/. 2009-12-31 13:19:13 +01:00
getopt1.c Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
graph.c Set $NAME when calling host-up/down and subnet-up/down scripts. 2013-07-05 21:36:51 +02:00
graph.h Update copyright notices. 2012-03-10 13:23:08 +01:00
hash.c Fix hash_function(). 2013-07-20 23:31:19 +02:00
hash.h Fix whitespace. 2012-10-10 17:17:49 +02:00
have.h Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
info.c Add a newline when logging to stderr in the tinc binary. 2013-05-28 13:40:32 +02:00
info.h Add readline completion for tincctl config and tincctl info. 2012-08-03 13:23:07 +02:00
invitation.c Add an invitation protocol. 2013-05-29 18:31:10 +02:00
invitation.h Add an invitation protocol. 2013-05-29 18:31:10 +02:00
ipv4.h Fix whitespace. 2012-10-10 17:17:49 +02:00
ipv6.h Fix whitespace. 2012-10-10 17:17:49 +02:00
list.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
list.h Update copyright notices. 2012-10-14 17:42:49 +02:00
logger.c Releasing 1.1pre5. 2013-01-20 21:03:22 +01:00
logger.h Update copyright notices. 2012-10-14 17:42:49 +02:00
Makefile.am Don't search in local directories for include files. 2013-07-17 18:02:07 +02:00
meta.c Use conditional compilation for cryptographic functions. 2013-05-01 17:17:22 +02:00
meta.h Update copyright notices. 2012-10-14 17:42:49 +02:00
multicast_device.c Fix compiler warnings on Windows. 2013-02-20 15:34:55 +01:00
names.c Fix warning "Both netname and configuration directory given" on Windows. 2013-07-15 14:48:43 +02:00
names.h Allow connections via UNIX sockets. 2013-01-17 18:12:55 +01:00
net.c Use read_host_config() where appropriate. 2013-05-11 14:05:28 +02:00
net.h Add connection rate limiting. 2013-07-11 23:38:38 +02:00
net_packet.c Further improve bandwidth estimation for type 2 MTU probe replies. 2013-07-22 21:25:44 +01:00
net_setup.c Add connection rate limiting. 2013-07-11 23:38:38 +02:00
net_socket.c Add connection rate limiting. 2013-07-11 23:38:38 +02:00
netutl.c Use strerror() instead of gai_strerror() when err == EAI_SYSTEM. 2013-05-31 17:23:00 +02:00
netutl.h Add more __attribute__((malloc)) where appropriate. 2013-05-10 20:15:27 +02:00
node.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
node.h Use conditional compilation for cryptographic functions. 2013-05-01 17:17:22 +02:00
prf.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
process.c Fix compiler warnings on Windows. 2013-02-20 15:34:55 +01:00
process.h Update copyright notices. 2012-10-14 17:42:49 +02:00
protocol.c Enable the SPTPS protocol by default. 2013-05-10 21:18:32 +02:00
protocol.h Introduce lightweight PMTU probe replies. 2013-07-22 21:25:37 +01:00
protocol_auth.c Forbid protocol version rollback. 2013-07-21 00:13:38 +02:00
protocol_edge.c Fix whitespace. 2012-10-10 17:17:49 +02:00
protocol_key.c Disable PMTU discovery when TCPOnly is set. 2013-07-21 00:36:28 +02:00
protocol_misc.c Avoid calling time(NULL). 2013-03-08 14:11:15 +01:00
protocol_subnet.c Update copyright notices. 2012-10-14 17:42:49 +02:00
raw_socket_device.c Allow log messages to be captured by tincctl. 2012-02-26 18:37:36 +01:00
route.c Avoid calling time(NULL). 2013-03-08 14:11:15 +01:00
route.h Fix whitespace. 2012-10-10 17:17:49 +02:00
rsa.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
rsagen.h Add __attribute__((warn_unused_result)) to crypto functions. 2013-05-10 20:23:01 +02:00
splay_tree.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
splay_tree.h Add more __attribute__((malloc)) where appropriate. 2013-05-10 20:15:27 +02:00
sptps.c Modified some error messages in src/sptps.c. 2013-05-15 13:53:13 +02:00
sptps.h Don't try to handle incoming data if sptps_start() has not been called yet. 2013-05-12 13:39:22 +02:00
sptps_test.c Use conditional compilation for cryptographic functions. 2013-05-01 17:17:22 +02:00
subnet.c Set $NAME when calling host-up/down and subnet-up/down scripts. 2013-07-05 21:36:51 +02:00
subnet.h Update copyright notices. 2012-10-14 17:42:49 +02:00
subnet_parse.c Fix whitespace. 2012-10-10 17:17:49 +02:00
system.h Use conditional compilation for device.c. 2013-05-01 12:20:06 +02:00
tincctl.c Honour umask, let temporary key files inherit original's permissions. 2013-07-22 23:05:07 +02:00
tincctl.h Add an invitation protocol. 2013-05-29 18:31:10 +02:00
tincd.c Better optional argument handling. 2013-05-30 16:53:16 +02:00
top.c Rename xmalloc_and_zero() to xzalloc(). 2013-05-01 17:31:33 +02:00
top.h Add top.h. 2011-05-16 09:48:19 +02:00
uml_device.c Releasing 1.1pre5. 2013-01-20 21:03:22 +01:00
utils.c Improve base64 encoding/decoding, add URL-safe variant. 2013-05-28 13:39:15 +02:00
utils.h Improve base64 encoding/decoding, add URL-safe variant. 2013-05-28 13:39:15 +02:00
vde_device.c Releasing 1.1pre5. 2013-01-20 21:03:22 +01:00
xalloc.h Don't use vasprintf() anymore on Windows. 2013-07-17 18:06:56 +02:00