host.allow.example.patch 778 B

123456789101112131415161718192021
  1. --- tcp_wrappers_7.6-orig/hosts.allow.example 2005-09-25 13:40:59.000000000 +0300
  2. +++ tcp_wrappers_7.6/hosts.allow.example 2005-09-25 13:39:46.000000000 +0300
  3. @@ -0,0 +1,17 @@
  4. +# For more information, please see the hosts.allow(5) manpage
  5. +
  6. +# Rule format:
  7. +# daemon : client list
  8. +# The value for 'daemon' is determined by the name of the binary.
  9. +# OpenSSH runs as 'sshd' so you would use 'sshd' for 'daemon'.
  10. +# Client list can be a list of ip's or hostnames.
  11. +
  12. +# Allow only sshd connections from ips matching 192.168.0.*
  13. +#sshd: 192.168.0.
  14. +
  15. +# Only allow sendmail connections from the localhost
  16. +#sendmail: localhost
  17. +
  18. +# Allow everyone from foobar.edu to access everything except for
  19. +# the terminalserver
  20. +#ALL: .foobar.edu EXCEPT terminalserver.foobar.edu