svn commit: r262860 - in head: . etc usr.sbin/rpcbind

Gleb Smirnoff glebius at FreeBSD.org
Thu Mar 6 18:56:24 UTC 2014


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.


More information about the svn-src-head mailing list