User Tools

Site Tools


сервис_tcpwrap

This is an old revision of the document!


Сервис Tcpwrap

Проверка поддержки программой библиотеки libwrap

gate# ldd /usr/sbin/sshd | grep wrap

Конфигурация в режиме "все запрещено, кроме"

http://ubuntu-tutorials.com/2007/09/02/network-security-with-tcpwrappers-hostsallow-and-hostsdeny/

gate# cat /etc/hosts.allow
ALL: 127.0.
sshd: 192.168.X.10
gate# cat /etc/hosts.deny
ALL:ALL

Конфигурация в режиме "все разрешено, кроме"

# :> /etc/hosts.allow
# cat /etc/hosts.deny
ALL: 172.16.1.249
сервис_tcpwrap.1369216248.txt.gz · Last modified: 2015/04/10 14:22 (external edit)