chiark / gitweb /
Administrivia: Fix erroneous GPL3+ licence notices "version d or later" (!)
[secnet.git] / test-example / README
index a6416f62000b0300fd16cb7dcb7ca254511a23e8..72f98abf5f88d2c803cb4d104132423716d822fd 100644 (file)
@@ -19,3 +19,32 @@ To run the test:
  Then in a third
   ping -I secnet-test-i 172.18.232.2 
  
+For running under valgrind memcheck, do something like this:
+  valgrind --num-callers=40 --gen-suppressions=yes --db-attach=yes \
+    --leak-check=full --suppressions=test-example/memcheck.suppressions \
+    ./secnet -dvnc test-example/outside.conf
+NB that --num-callers is needed as secnet's stack can be deep.
+
+The config file outside-unshare.conf can be used on Linux in
+conjunction with test-example/fake-userv and a built checkout of
+userv-utils.git to run the "outside" copy of secnet in a new "network
+namespace".
+
+
+
+Everything in this directory is part of secnet.  See README (in the
+directory above) for full list of copyright holders.
+
+secnet is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
+
+secnet is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+version 3 along with secnet; if not, see
+https://www.gnu.org/licenses/gpl.html.