Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 13:46:47 +0900
From:      Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
To:        culverk@wam.umd.edu
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ipsec errors
Message-ID:  <20000127134647Y.shin@nd.net.fujitsu.co.jp>
In-Reply-To: <20000127130559K.shin@nd.net.fujitsu.co.jp>
References:  <Pine.GSO.4.21.0001262233050.14367-100000@rac1.wam.umd.edu> <20000127130559K.shin@nd.net.fujitsu.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




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