From owner-svn-src-head@FreeBSD.ORG Thu Aug 19 11:55:04 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE7121065695; Thu, 19 Aug 2010 11:55:03 +0000 (UTC) (envelope-from anchie@fer.hr) Received: from munja.zvne.fer.hr (munja.zvne.fer.hr [161.53.66.248]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD768FC0C; Thu, 19 Aug 2010 11:55:03 +0000 (UTC) Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Thu, 19 Aug 2010 13:42:56 +0200 Received: from anchie-MacBook.lan ([93.136.87.252]) by sluga.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Thu, 19 Aug 2010 13:42:55 +0200 Message-ID: <4C6D18BE.2000905@fer.hr> Date: Thu, 19 Aug 2010 13:42:54 +0200 From: Ana Kukec User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Ana Kukec References: <201008191131.o7JBV4Yf002412@svn.freebsd.org> In-Reply-To: <201008191131.o7JBV4Yf002412@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Aug 2010 11:42:56.0109 (UTC) FILETIME=[AA5C01D0:01CB3F93] Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 11:55:04 -0000 Hi all, A man page for the kernel side SeND, and an updated port with Secure Neighbor Discovery application will follow soon. Ana Kukec wrote: > Author: anchie > Date: Thu Aug 19 11:31:03 2010 > New Revision: 211501 > URL: http://svn.freebsd.org/changeset/base/211501 > > Log: > MFp4: anchie_soc2009 branch: > > Add kernel side support for Secure Neighbor Discovery (SeND), RFC 3971. > > The implementation consists of a kernel module that gets packets from > the nd6 code, sends them to user space on a dedicated socket and reinjects > them back for further processing. > > Hooks are used from nd6 code paths to divert relevant packets to the > send implementation for processing in user space. The hooks are only > triggered if the send module is loaded. In case no user space > application is connected to the send socket, processing continues > normaly as if the module would not be loaded. Unloading the module > is not possible at this time due to missing nd6 locking. > > The native SeND socket is similar to a raw IPv6 socket but with its own, > internal pseudo-protocol. > > Approved by: bz (mentor) > > Added: > head/sys/modules/send/ > head/sys/modules/send/Makefile (contents, props changed) > head/sys/netinet6/send.c (contents, props changed) > head/sys/netinet6/send.h (contents, props changed) > Modified: > head/sys/modules/Makefile > head/sys/netinet/in.h > head/sys/netinet6/icmp6.c > head/sys/netinet6/nd6.c > head/sys/netinet6/nd6_nbr.c > head/sys/netinet6/raw_ip6.c > head/sys/sys/mbuf.h > > Ana