美文网首页
tcp_wrappers

tcp_wrappers

作者: beeworkshop | 来源:发表于2019-06-21 23:14 被阅读0次
  • tcp_wrappers的服务访问流程


    tcp_wrappers服务访问流程
    tcp_wrappers工作流
  • Three stages of access checking
    ~ Is jaccess explicitly permitted ?
    ~ Otherwise, is access explicitly denied ?
    ~ Otherwise, by default, permit access !

  • Configuration stored in two files: 配置立即生效,无需重启
    ~ Permissions in /etc/hosts.allow
    ~ Denials in /etc/hosts.deny

  • Basic sytax:
    daemon_list: client_list[: options]
    daemon@host: client_list

例子
vsftpd, sshd: 192.168.0.0/255.255.255.0
vsftpd: 192.168.1.1, 192.168.1.2
vsftpd@192.168.0.1: 192.168.0.0/255.255.255.0
sshd@192.168.0.3: 192.168.0.     表示一个C,/24
  • 处理流程
    hosts.allow --> hosts.deny --> permit by default

  • 查看服务是否支持tcp_wrappers

ldd /usr/sbin/sshd | grep libwrap
libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f1df506e000)
  • 帮助
man hosts.allow
man hosts.deny
man hosts_access
man hosts_options

相关文章

  • TCP_Wrappers

    简介 TCP_Wrappers是一个工作在第四层(传输层)的的安全工具,对有状态连接的特定服务进行安全检测并...

  • TCP_Wrappers

    介绍 作者:Wieste Venema 工作在第四层(传输层)的TCP协议 对有状态连接的特定服务进行安全检测并实...

  • TCP_Wrappers安全机制

    1.TCP_Wrappers介绍 (1)工作在第四层(传输层)的TCP协议(2)对有状态连接的特定服务进行安全检测...

网友评论

      本文标题:tcp_wrappers

      本文链接:https://www.haomeiwen.com/subject/kinvqctx.html