X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=NOTES;h=485443b1c13320836b6b1d7c0acd9a25e13dea1b;hb=d3fe100dfc120244d316e083ce87b1eb130fe4fd;hp=ae65e4cecf58759b67b66278bda916a58decc5f6;hpb=3454dce4c6909648b711a59b57c5a527036b2a8e;p=secnet.git diff --git a/NOTES b/NOTES index ae65e4c..485443b 100644 --- a/NOTES +++ b/NOTES @@ -113,6 +113,22 @@ networks a b c ... pubkey x y z: x=keylen, y=encryption key, z=modulus mobile: declare this to be a 'mobile' site +** Logging etc. + +There are several possible ways of running secnet: + +'reporting' only: --version, --help, etc. command line options and the +--just-check-config mode. + +'normal' run: perform setup in the foreground, and then background. + +'failed' run: setup in the foreground, and terminate with an error +before going to background. + +'reporting' modes should never output anything except to stdout/stderr. +'normal' and 'failed' runs output to stdout/stderr before +backgrounding, then thereafter output only to log destinations. + ** Protocols *** Protocol environment: @@ -215,9 +231,7 @@ retransmit or confirm reception. It is suggested that this message be sent when a key times out, or the tunnel is forcibly terminated for some reason. -XXX not yet implemented. - -8) i?,i?,NAK/msg8 +8) i?,i?,NAK (encoded as zero) If the link-layer can't work out what to do with a packet (session has gone away, etc.) it can transmit a NAK back to the sender. The sender