tcp_wrappers support



I've been having some difficulty in finding information on the
tcp_wrappers support in ORBit. I'm trying to find out how I can restrict
the hosts which can access a GConf daemon (which I believe communicates
using ORBit). This will allow me to allow multiple logins to gnome
sessions.

I think I've found the relevant code in src/IIOP/connection.c, where it
does: 

      request_init(&request, RQ_DAEMON, argv0_val, RQ_FILE, newfd, 0);

So I suspect the name of the service to restrict in hosts.allow and
hosts.deny is the name the gconf daemon is running under. Is that
correct, or is argv0_val something different?

So should I do something like:

hosts.deny:
gconfd-1: ALL
gconfd-2: ALL

hosts.allow:
gconfd-1: myhosts
gconfd-2: myhosts

?

Thanks, Jeremy.
[please CC me as I'm not on the ORBit list]

-- 
Jeremy Sanders <jss@ast.cam.ac.uk>   http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]