Date: Thu, 29 Aug 2002 11:27:07 -0700 From: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> To: "Dan Langille" <dan@langille.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: why does this sendmail connection take so long? Message-ID: <15726.26491.969569.176848@horsey.gshapiro.net> In-Reply-To: <3D6E2D31.29065.8EDA44C7@localhost> References: <3D6E243B.1515.8EB744E7@localhost> <3D6E2D31.29065.8EDA44C7@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
dan> sm_gethostbyname(localhost, 28)... localhost dan> alias: localhost.example.org dan> addr: IPv6:::1 dan> makeconnection (localhost.example.org. [IPv6:::1].25 (28)) dan> makeconnection: fd=6 dan> *** delay occurs here. dan> Connect failed (Operation timed out with localhost.example.org.); dan> retrying with AF_INET.... That explains it. You have a record pointing localhost.example.org at ::1 but your sendmail daemon isn't listening for IPv6 connections and worse yet your host appears to drop instead of reject connection attempts. My guess is you have IP firewalling enabled (either IPFW or IPF) and default to drop or have ip6fw or ipf rulesets that effectively to do the same. Assuming for the moment you have this in your kernel config: options IPV6FIREWALL And don't have (which you shouldn't): options IPV6FIREWALL_DEFAULT_TO_ACCEPT Then you can add this to /etc/rc.conf: ipv6_enable="YES" ipv6_firewall_enable="YES" ipv6_firewall_type="closed" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15726.26491.969569.176848>