Dave Howorth wrote:
On 2016-11-14 12:49, Per Jessen wrote:
Dave Howorth wrote:
On 2016-11-14 10:31, Per Jessen wrote:
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.
Do you have a 'list' parameter set to false?
This rsyncd has 3 modules, two of them have "list = false", but not the one this is about.
Nobody has commented on my man page extract, so I'm not sure it has been understood.
I did read it, but I'm not sure what you meant with it?
Sorry, I thought it was obvious. To my reading, unless there is a list = false then hosts deny is disregarded. Which I think explains your problem.
That does not really make sense to me - with list=true, a module is listed when the client does not specify one, with list=false, it is not listed. I would think I should be able to use "hosts deny" regardless of whether a module is listed. I read the man page slightly differently - if list=false is specified, and a client is denied access (by way of hostsallow/deny), rsyncd will pretend the module doesn't exist (rather than just refuse access). -- Per Jessen, Zürich (3.0°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org