chiark / gitweb /
Import release 0.1.2
[secnet.git] / example.conf
index e3f6011e5fc16c95b4d788abbe2e0d24824d70d4..3b4a32f60e4c8d66e682e89026d433b88f0bd51b 100644 (file)
@@ -44,6 +44,7 @@ system {
 # setup-retries         max retransmits of a key setup packet
 # setup-timeout         wait between retransmits of key setup packets, in ms
 # wait-time             wait between unsuccessful key setup attempts, in ms
+# renegotiate-time      set up a new key if we see any traffic after this time
 
 # Use the universal TUN/TAP driver to get packets to and from the kernel
 #  (use tun-old if you are not on Linux-2.4)
@@ -103,7 +104,8 @@ resolver adns {
 };
 
 # log is defined earlier - we share it with the system
-log-events "init","up","down"; # XXX not yet used
+log-events "setup-init","setup-timeout","activate-key","timeout-key","errors",
+       "security";
 
 # A source of random bits for nonces and session keys. The 'no' specifies
 # that it's non-blocking. XXX 'yes' isn't implemented yet.
@@ -125,9 +127,12 @@ include /etc/secnet/sites
 # a newer version. MAKE SURE YOU GET AN AUTHENTIC COPY OF THE FILE - it
 # contains public keys for all sites.
 
-# Do not include your own site in this list!
-
 sites
        site(example-vpn/some-site),
        site(example-vpn/some-other-site),
        site(example-vpn/a-third-site);
+
+# If you want to communicate with all the VPN sites, you can use something
+# like the following instead:
+
+# sites map(site,makelist(example-vpn));