Skip to content
mcr edited this page Oct 31, 2014 · 2 revisions

In order to generate whack messages for unit test cases (this also can be important for bug reports), do the following:

ipsec whack --whackrecord sun-netnet.record
ipsec auto --add net-net
ipsec whack --whackstoprecord sun-netnet.record

(note whackstoprecord neeting an argument is a bug present in version <2.6.43) Note that the file name is interpreted by pluto, and therefore is relative to the cwd of pluto, which is often /, but may be overriden by the dumpdir argument.