Per Jessen wrote:
Carlos E. R. wrote:
On 2016-11-13 22:10, Dave Howorth wrote:
On Sun, 13 Nov 2016 18:48:21 +0100 Per Jessen <> wrote:
Also, rsyncd seems to ignore my "hosts deny" setting - I tried refusing access to a couple of the most frequently hanging clients, but afaict, rsyncd just ignores "hosts deny".
I haven't tried anything like this so can't help at all with this point.
I read somewhere that this file is been ignored by many daemons.
You're right, in many apps tcp_wrappers is no longer compiled in, but this "hosts deny" directive is part of rsyncd.conf.
Maybe the intention is to use the firewall instead.
Which I will probably do, but it's annoyiung when rsyncd (apparently) has the functionality anyway.
I think I know why "hosts deny" in rsyncd.conf does not work - the incoming connection is handled by xinetd, then passed to rsyncd. I thought the problem with inactive clients might be some incompatibility thing between server and client, so I upgraded rsync to the latest (3.1.12), but this made no difference. I am not sure what the "timeout" config option in rsyncd.conf is really meant to do, but it doesn't help in this situation. Instead, I've written a little wrapper that'll send a SIGALRM to the rsyncd instance after 3 minutes. Admittedly a bit crude, but there is only 40-50M to rsync (which would rarely be upgraded all at once), 3 minutes should be plenty for any client to complete the sync. -- Per Jessen, Zürich (2.9°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org