Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 10:35:25 -0500 (EST)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ipsec errors
Message-ID:  <Pine.GSO.4.21.0001271035001.15708-100000@rac3.wam.umd.edu>
In-Reply-To: <20000127134647Y.shin@nd.net.fujitsu.co.jp>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0001271035001.15708-100000>