--- sockd.conf.orig 2005-06-04 13:57:39.770322448 +0300 +++ sockd.conf 2005-06-04 13:47:47.000000000 +0300 @@ -18,12 +18,14 @@ # Rules: # client block/pass # from to +# libwrap # log # # block/pass # from to # method # command +# libwrap # log # protocol # proxyprotocol @@ -73,6 +75,10 @@ # it will use the unprivileged userid of "sockd". user.notprivileged: sockd +# when running libwrap commands, +# it will use the userid "sockd". +user.libwrap: sockd + # # some options to help clients with compatibility: # @@ -179,9 +185,11 @@ #} # the people at the 172.16.0.0/12 are bad, no one should talk to them. -# log the connect request. +# log the connect request and also provide an example on how to +# interact with libwrap. #block { # from: 0.0.0.0/0 to: 172.16.0.0/12 +# libwrap: spawn finger @%a # log: connect error #}