From owner-freebsd-current Thu Jan 27 7:35:43 2000 Delivered-To: freebsd-current@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 7702314CE9 for ; Thu, 27 Jan 2000 07:35:35 -0800 (PST) (envelope-from culverk@wam.umd.edu) Received: from rac3.wam.umd.edu (root@rac3.wam.umd.edu [128.8.10.143]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA07875; Thu, 27 Jan 2000 10:35:33 -0500 (EST) Received: from rac3.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac3.wam.umd.edu (8.9.3/8.9.3) with SMTP id KAA16061; Thu, 27 Jan 2000 10:35:26 -0500 (EST) Received: from localhost (culverk@localhost) by rac3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA16057; Thu, 27 Jan 2000 10:35:25 -0500 (EST) X-Authentication-Warning: rac3.wam.umd.edu: culverk owned process doing -bs Date: Thu, 27 Jan 2000 10:35:25 -0500 (EST) From: Kenneth Wayne Culver To: Yoshinobu Inoue Cc: freebsd-current@FreeBSD.ORG Subject: Re: ipsec errors In-Reply-To: <20000127134647Y.shin@nd.net.fujitsu.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm at work now, so I can't apply the patches till I go home again (at work I have Sun boxes and a linux box, blahh) ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= On Thu, 27 Jan 2000, Yoshinobu Inoue wrote: > > > 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