3

In quite a few places (some old, some recent) it's stated that the tcp-wrappers configuration files /etc/hosts.allow, /etc/hosts.deny allow only one rule per service.

This looks wrong to me, I write many sshd: <IP SUBNET> lines in my /etc/hosts.allow and it seems to work as expected (Centos 7).

Am I misunderstanding the affirmation above, or perhaps it's something that was true in older versions of tcp-wrappers, or what?

leonbloy
  • 2,028
  • 17
  • 23
  • Also note that I tested this in Ubuntu 18.04 and it also appears to allow multiple lines for the same service, though I could also not find an authoritative source that said this was allowed. – user2070305 Feb 13 '21 at 23:23

0 Answers0