chiark / gitweb /
Finalise 0.6.2
[secnet.git] / example.conf
index d06a21a5e28b5d22713ee48f41cb7e38e1f22232..d746a56a3a0b5f037bbee6f606fd16780943096d 100644 (file)
@@ -1,5 +1,10 @@
 # secnet example configuration file
 
+# This file is part of secnet.
+# See LICENCE and this file CREDITS for full list of copyright holders.
+# SPDX-License-Identifier: GPL-3.0-or-later
+# There is NO WARRANTY.
+
 # Log facility
 # If you use this unaltered you should consider providing automatic log
 # rotation for /var/log/secnet.  secnet will close and re-open its logfiles
@@ -115,6 +120,11 @@ netlink tun {
 #mtu 1400;
 #buffer sysbuffer(2048);
 
+# This is small enough that it fits without fragmentation into
+# the foolish wifi on Greater Anglia's now-retired Class 379s.
+# This is good because they mishandle fragmentation.
+mtu-target 1260;
+
 
 # This defines the port that this instance of secnet will listen on, and
 # originate packets on. It does not _have_ to correspond to the advertised
@@ -147,6 +157,9 @@ random randomfile("/dev/urandom",no);
 local-name "your-site-name";
 local-key rsa-private("/etc/secnet/key");
 
+# Are we a mobile site?
+#local-mobile true;
+
 # On dodgy links you may want to specify a higher maximum sequence number skew
 transform eax-serpent { }, serpent256-cbc { };