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
# sshd: 192.168.X. 192.168.100+X.
gate# cat /etc/hosts.deny
ALL:ALL

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

# :> /etc/hosts.allow
# cat /etc/hosts.deny
ALL: 172.16.1.249
сервис_tcpwrap.1458646017.txt.gz · Last modified: 2016/03/22 14:26 by val