Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 19:47:42 GMT
From:      roam@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r287742 - soc2015/roam/ng_ayiya
Message-ID:  <201506291947.t5TJlg1R008573@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: roam
Date: Mon Jun 29 19:47:41 2015
New Revision: 287742
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=287742

Log:
  Document data packets through the control hook.
  
  Add a note about the concept of forwarding all AYIYA packets that
  do not contain IPv6 forwarded data down the control hook, and
  signing and sending out all data packets coming in through the hook.
  
  ObQuote:	"I read the news today, oh boy"

Modified:
  soc2015/roam/ng_ayiya/ng_ayiya.4

Modified: soc2015/roam/ng_ayiya/ng_ayiya.4
==============================================================================
--- soc2015/roam/ng_ayiya/ng_ayiya.4	Mon Jun 29 19:47:37 2015	(r287741)
+++ soc2015/roam/ng_ayiya/ng_ayiya.4	Mon Jun 29 19:47:41 2015	(r287742)
@@ -160,7 +160,27 @@
 for the administrator's convenience; any text after the slash is
 ignored.
 .It Va control
-Control messages only, any data packets are ignored.
+A hook used by userland programs to initialize and control the
+.Tn AYIYA
+tunnel's operation.
+This hook is a suitable avenue for sending control messages to the
+.Nm ayiya
+node during its configuration.
+It also serves another purpose: all packets that arrive from the
+.Tn AYIYA
+peer and are not IPv6 forwarded data packets (opcode 1) are sent
+as data packets down the
+.Nm ayiya
+node's
+.Va control
+hook for the userland program to process.
+Similarly, all data packets coming in via the
+.Va control
+hook are signed with the
+.Tn AYIYA
+tunnel's secret hash and sent to the
+.Tn AYIYA
+peer.
 .It Va inet6
 The local IPv6 interface, a
 .Xr ng_iface 4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506291947.t5TJlg1R008573>