From owner-freebsd-net Thu Oct 21 8:32:36 1999 Delivered-To: freebsd-net@freebsd.org Received: from over.ru (over.rinet.ru [195.54.192.99]) by hub.freebsd.org (Postfix) with SMTP id 66B3E14C59 for ; Thu, 21 Oct 1999 08:32:30 -0700 (PDT) (envelope-from tarkhil@over.ru) Received: (qmail 86425 invoked by uid 1000); 21 Oct 1999 15:32:16 -0000 Date: Thu, 21 Oct 1999 19:32:16 +0400 From: Alex Povolotsky To: freebsd-stable@freebsd.org Cc: freebsd-net@freebsd.org Subject: SIOCGIFCONF (or qmail?) problem? Message-ID: <19991021193216.D86089@over.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I've just found, that bringing up ppp0 on a computer with one more network interface causes qmail-1.03 to crash. Investigating further, I've found that one of qmail's internal variables gets overwriten when calling ioctl SIOCGIFCONF with pointer to ifconf structure as argument (ipme.c, line 57 in qmail). I still have not found if qmail gives wrong address to ioctl or if ioctl use more memory than requested. The fail seems to occur after iterating through ds0 interface. By the way, what is ds0, how it should be configured, and where is it described? What does it do? Does anyone else runs FreeBSD 3.3-RELEASE with qmail and dial-in access? Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message