Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 15:47:46 -0500
From:      "Dan Langille" <dan@langille.org>
To:        freeBSD-hackers@freebsd.org
Subject:   Re: libwrap crash
Message-ID:  <3FA132A2.17071.1B512CC3@localhost>
In-Reply-To: <3FA0DCF5.27646.1A027A88@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Oct 2003 at 9:42, Dan Langille wrote:

> I've been tracking down a libwrap call which crashes the application. 
>  The crash occurs on line 395 of contrib/tcp_wrappers/options.c, but 
> I have no idea.

I've been given some help in this offline.  Apparently, the bacula 
code is incorrectly using hosts_access. bacula should fork before it 
calls hosts_access because hosts_access will kill you on twist.  
Otherwise, you'll get either a deny or an allowed, and the thread 
continue from here.  

My offline helper was comparing the inetd source code.  I can't find 
any reference in host_options(5) or host_access(3) which point to the 
correct usage.

Is the FreeBSD documentation incomplete?  Is there a more accurate 
documentation I can point the bacula developers to?

FYI: The bacula approach is said to work under Linux and Solaris but 
I have yet to run my reproducible tests on those platforms.

Thank you.
-- 
Dan Langille : http://www.langille.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA132A2.17071.1B512CC3>