Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 22:56:21 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r262860 - in head: . etc usr.sbin/rpcbind
Message-ID:  <20140306185621.GM68791@FreeBSD.org>
In-Reply-To: <201403061733.s26HXSsF013188@svn.freebsd.org>
References:  <201403061733.s26HXSsF013188@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 06, 2014 at 05:33:28PM +0000, Alexander Motin wrote:
A> Author: mav
A> Date: Thu Mar  6 17:33:27 2014
A> New Revision: 262860
A> URL: http://svnweb.freebsd.org/changeset/base/262860
A> 
A> Log:
A>   Disable libwrap (TCP wrappers) support in rpcbind by default, introducing
A>   new command line options -W, to enable it when needed.
A>   
A>   On my tests this change by almost ten times improves rpcbind performance.

A good extension to libwrap would be to make it cache contents of
/etc/hosts.allow and observe its changes via EVFILT_VNODE kevent(2)
filter. And actually reread the file only when its contents change.
Of course this implies that application using libwrap is
kevent(2)-driven. Sounds like a GSoC project, btw.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140306185621.GM68791>