From owner-freebsd-current Wed Jan 26 20:46:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id AAFD8154E5 for ; Wed, 26 Jan 2000 20:46:07 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m2.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX9912-Fujitsu Gateway) id NAA02142; Thu, 27 Jan 2000 13:46:06 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from chisato.nd.net.fujitsu.co.jp by m2.gw.fujitsu.co.jp (8.9.3/3.7W-9912-Fujitsu Domain Master) id NAA21359; Thu, 27 Jan 2000 13:46:06 +0900 (JST) Received: from localhost (dhcp7194.nd.net.fujitsu.co.jp [10.18.7.194]) by chisato.nd.net.fujitsu.co.jp (8.8.5+2.7Wbeta5/3.3W8chisato-970826) with ESMTP id NAA04321; Thu, 27 Jan 2000 13:46:05 +0900 (JST) To: culverk@wam.umd.edu Cc: freebsd-current@FreeBSD.ORG Subject: Re: ipsec errors In-Reply-To: <20000127130559K.shin@nd.net.fujitsu.co.jp> References: <20000127130559K.shin@nd.net.fujitsu.co.jp> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000127134647Y.shin@nd.net.fujitsu.co.jp> Date: Thu, 27 Jan 2000 13:46:47 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 42 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Maybe there was a message on here that I overlooked, I'm not sure, but how > > exactly do I get rid of them? > > It is not harmful but I should have lower the syslog level, > sorry. > I'll soon fix it. I just added debug flag check instead of changing syslog level. Could you please try the following patch to usr.sbin/inetd/inetd.c ? Thanks, Yoshinobu Inoue Index: inetd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.75 diff -u -r1.75 inetd.c --- inetd.c 2000/01/25 14:52:10 1.75 +++ inetd.c 2000/01/27 04:41:15 @@ -1256,7 +1256,8 @@ buf = ipsec_set_policy(policy_in, strlen(policy_in)); if (buf != NULL) { if (setsockopt(sep->se_fd, level, opt, - buf, ipsec_get_policylen(buf)) < 0) { + buf, ipsec_get_policylen(buf)) < 0 && + debug != 0) { syslog(LOG_ERR, "%s/%s: ipsec initialization failed; %s", sep->se_service, sep->se_proto, @@ -1271,7 +1272,8 @@ buf = ipsec_set_policy(policy_out, strlen(policy_out)); if (buf != NULL) { if (setsockopt(sep->se_fd, level, opt, - buf, ipsec_get_policylen(buf)) < 0) { + buf, ipsec_get_policylen(buf)) < 0 && + debug != 0) { syslog(LOG_ERR, "%s/%s: ipsec initialization failed; %s", sep->se_service, sep->se_proto, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message