From owner-freebsd-net Tue Nov 20 23:40:52 2001 Delivered-To: freebsd-net@freebsd.org Received: from mine.kame.net (kame195.kame.net [203.178.141.195]) by hub.freebsd.org (Postfix) with ESMTP id 7314C37B418 for ; Tue, 20 Nov 2001 23:40:49 -0800 (PST) Received: from localhost ([3ffe:501:4819:eeea::6]) by mine.kame.net (8.11.1/3.7W) with ESMTP id fAL7ZKa05413; Wed, 21 Nov 2001 16:35:20 +0900 (JST) To: hongbintang@yahoo.com Cc: net@freebsd.org Subject: Re: How can I add new ESP encryption functions into FreeBSD kernel In-Reply-To: Your message of "Mon, 19 Nov 2001 21:26:15 -0800 (PST)" <20011120052615.36411.qmail@web11602.mail.yahoo.com> References: <20011120052615.36411.qmail@web11602.mail.yahoo.com> X-Mailer: Cue version 0.6 (011026-1440/sakane) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Message-Id: <20011121164056H.sakane@kame.net> Date: Wed, 21 Nov 2001 16:40:56 +0900 From: Shoichi Sakane X-Dispatcher: imput version 20000228(IM140) Lines: 19 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I want to add my encryption algorithm of ESP, an > algorithm like DES, into FreeBSD kernel so as to make > kernel recognize it. I added its definitions in > /usr/src/sys/net/pfkeyv2.h, added specific functions > implementation into /usr/src/sys/netinet6/esp.core.c > and added a new subdirectory in sys/crypto. Afterwards > I rebuild kernel, but system can't recognize my ESP > encryption algorithm when I use PF socket or setkey > command to add a new SA into SAD including my new > encryption. > In a word, please tell me what I should do > step by step if I want to add a new ESP encryption > algorithm that I have already implemented into kernel what is the system ? did "setkey" command recognize your encryption algorithm ? or did the pfkey interface so ? did you get a success to install SA with your algorithm ? check which module did not recognize the algorithm. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message