Proposed configuration/passphrase file layout

Guus Sliepen guus at sliepen.warande.net
Tue Sep 5 00:33:29 CEST 2000


Hi everyone,

Okay, passphrases are going to be phased out in favour of public/private
keys, because it will be safer and easier for smartcards and things like
LDAP support. Also, configuration file is very flat it really needs to
change sometime. Therefore I propose:

* Main configuration file

Flat file, containing only those things that other tinc hosts do not need
to know, like type of backend, location of public and private keys. It
also contains the name of the local tinc daemon.

* Host files

These contain information about the other tinc daemons, for example public
keys, but also about our own tinc daemon. The idea is that these files can
be exchanged (by simply copying them) to allow other hosts on the tinc
network.

These files can contain information about possibly multiple address ranges
which the tinc daemons serve. This is not limitted to IPv4 ofcourse. These
files should have some more sophisticated structure like:

IPv4
{
  address = 192.168.1.1
  netmask = 255.255.255.0
  broadcast = 192.168.1.255
  ...
}  

etcetera. Things like MAC address, public keys and listen port numbers
should be stored outside of these structures.

-------------------------------------------
Met vriendelijke groet / with kind regards,
  Guus Sliepen <guus at sliepen.warande.net>
-------------------------------------------
See also: http://tinc.nl.linux.org/
          http://www.kernelbench.org/
-------------------------------------------

---
TINC development list, tinc-devel at nl.linux.org
Archive: http://mail.nl.linux.org/tinc-devel/



More information about the Tinc-devel mailing list