Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 17:40:18 -0500
From:      Barry Lustig <barry@lustig.com>
To:        Jos Backus <Jos.Backus@nl.origin-it.com>
Cc:        current@freebsd.org
Subject:   Re: Possible IPv6-related problem
Message-ID:  <20000116224019.20160.qmail@devious.lustig.com>
In-Reply-To: <20000114203240.C1626@hal.mpn.cp.philips.com>
References:  <20000114203240.C1626@hal.mpn.cp.philips.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Can you try the following patch to qmail:

--- ipme.c.~1~  Mon Jun 15 06:53:16 1998
+++ ipme.c      Sat Nov 20 18:21:26 1999
@@ -48,7 +48,7 @@

   if ((s = socket(AF_INET,SOCK_STREAM,0)) == -1) return -1;

-  len = 256;
+  len = 1024;
   for (;;) {
     if (!stralloc_ready(&buf,len)) { close(s); return 0; }
     buf.len = 0;

Qmail wasn't iterating through the available interfaces properly and would  
overwrite its stack.  This patch took care of the problem for me.

barry


On Fri, 14 Jan 2000, Jos Backus wrote:
>  Fyi: this afternoon, after a make world, kernel build and a reboot I was
>  seeing the following in my mail log:
>
>  2000-01-14 17:09:09.846441500 new msg 15377
>  2000-01-14 17:09:09.846838500 info msg 15377: bytes 277 from
>  <Jos.Backus@nl.orig in-i
>  t.com> qp 545 uid 666
>  2000-01-14 17:09:09.858416500 starting delivery 27: msg 15377 to remote
>  jbackus@ plex
>  .nl
>  2000-01-14 17:09:09.858685500 status: local 0/10 remote 1/20
>  2000-01-14 17:09:09.868815500 delivery 27: failure:
>  Sorry,_I_couldn't_find_any_h ost_
>  named_??????????O?????????gif2?._(#5.1.2)/
>  2000-01-14 17:09:09.870004500 status: local 0/10 remote 0/20
>  2000-01-14 17:09:09.977818500 bounce msg 15377 qp 547
>  2000-01-14 17:09:09.978254500 end msg 15377
>  2000-01-14 17:09:10.093495500 new msg 15657
>  2000-01-14 17:09:10.093829500 info msg 15657: bytes 871 from <> qp 547 uid
>  106 2000-01-14 17:09:10.104767500 starting delivery 28: msg 15657 to
>  remote Jos.Back us@n
>  l.origin-it.com
>  2000-01-14 17:09:10.105033500 status: local 0/10 remote 1/20
>  2000-01-14 17:09:10.114447500 delivery 28: failure:
>  Sorry,_I_couldn't_find_any_h ost_
>  named_??????O?????????gif1?0??,._(#5.1.2)/
>  2000-01-14 17:09:10.115695500 status: local 0/10 remote 0/20
>  2000-01-14 17:09:10.132110500 bounce msg 15657 qp 549
>  2000-01-14 17:09:10.132548500 end msg 15657
>
>  The strange hostname should have been the name of our local smarthost.
>  After taking
>
>  options        INET6           #IPv6 communications protocols
>  options        IPSEC           #IP security
>  options        IPSEC_ESP       #IP security (crypto; define w/ IPSEC)
>  options        IPSEC_IPV6FWD   #IP security tunnel for IPv6
>  options        IPSEC_DEBUG     #debug for IP security
>
>  out of the kernel, the problem went away.
>
>  I'm assuming this is related to the IPv6 changes because I have these
>  additional interfaces:
>
>  gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
>  gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
>
>  and those interface names show up in the garbage. The library call
>  involved seems to be res_query().
>


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?20000116224019.20160.qmail>