mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
db8e6e7415
Signed-off-by: Ryan Davis <zenspider@chef.io>
17 lines
733 B
Text
17 lines
733 B
Text
#
|
|
# hosts.deny This file contains access rules which are used to
|
|
# allow or deny connections to network services that
|
|
# either use the tcp_wrappers library or that have been
|
|
# started through a tcp_wrappers-enabled xinetd.
|
|
#
|
|
# See 'man 5 hosts_options' and 'man 5 hosts_access'
|
|
# for information on rule syntax.
|
|
# See 'man tcpd' for information on tcp_wrappers
|
|
#
|
|
# LOCALHOST (ALL TRAFFIC ALLOWED) DO NOT REMOVE FOLLOWING LINE
|
|
ALL: 127.0.0.1, [::1]
|
|
# Allow SSH (you can limit this further using IP addresses - e.g. 192.168.0.*)
|
|
sshd: ALL
|
|
# Added for testing
|
|
LOCAL : [fe80::]/10 : deny
|
|
vsftpd , sshd : 127.0.1.154, [:fff:fAb0::] : deny : /etc/bin/
|