Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 14:56:54 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: why does this sendmail connection take so long?
Message-ID:  <3D6E3636.1618.8EFD7F55@localhost>
In-Reply-To: <15726.27919.697656.805253@horsey.gshapiro.net>
References:  <3D6E30B3.17308.8EE7F989@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 Aug 2002 at 11:50, Gregory Neil Shapiro wrote:

> dan> I am using ipf with "pass out from any to any/pass out from any to 
> dan> any".
> 
> Unfortunately, I use ipfw/ip6fw so I don't know if my guesses are correct.
> 
> That rule only appears to handle outbound connections (therefore allowing
> the sendmail client to open an outbound connection to the localhost
> sendmail server).  It does not allow for inbound connections (thereby
> allowing the incoming connection).  Perhaps what you need is also:
> 
> echo 'pass in quick on lo0' > /etc/ipf6.rules
> echo 'pass out quick on lo0' >> /etc/ipf6.rules
> ipf -6 -f /etc/ipf6.rules
> 
> Note the -6 for the IPv6 rules (which appear to be kept separate from the
> IPv4 rules).
> 
> Again, I'm just guessing at ipf usage but you get the idea (I hope).

You guessed very well.  Making the above changes fixed the problem.  
And I didn't know about the -6 switch on ipf.  Applying the same 
solution to another box (also running ipf and having similar 
problems).

Thank you for your time and efforts.
-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php


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?3D6E3636.1618.8EFD7F55>