I have a Bacula server running, which happily backs itself up. I'm now connecting up remote clients with standalone File Daemons and having trouble with TCP Wrappers. I'm finding that the connection (with telnet/nc etc) connects but is immediately closed (which is typical TCP Wrappers behaviour), but nothing is logged in syslog, or in the File Daemon's log (if debug logging is switched on).
I've tried various permutations of /etc/hosts.allow and hosts.deny. At present I have these:
hosts.allow:
bacula-fd: 1.2.3.4
hosts.deny:
ALL: ALL
/etc/services contains an entry like this:
bacula-fd 9102/tcp
I also found this in the Bacula documentation:
You must adjust the names to be the same as the Name directives found in each of the daemon configuration files. They are, in general, not the same as the binary daemon names. It is not possible to use the daemon names because multiple daemons may be running on the same machine but with different configurations.
I've tried various names in place of 'bacula-fd', but still can't figure it out. Any ideas what I need to change to make this work?