[已解决]vsftpd.conf 是否有 reverse_lookup_enable 这个boolean参数?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
cwjbeyond
帖子: 16
注册时间: 2012-12-06 10:02
系统: Ubuntu10 12 Centos6

[已解决]vsftpd.conf 是否有 reverse_lookup_enable 这个boolean参数?

#1

帖子 cwjbeyond » 2014-05-12 14:58

如题。
在CentOS下,vsftpd -v 都是2.2.2
reverse_lookup_enable
Set to YES if you want vsftpd to transform the ip address into
the hostname, before pam authentication. This is useful if you
use pam_access including the hostname. If you want vsftpd to run
on the environment where the reverse lookup for some hostname is
available and the name server doesn’t respond for a while, you
should set this to NO to avoid a performance issue.

Default: YES
设置NO的目的就是关闭DNS反向解析,提高登录验证速度。

但是Ubuntu 10.04和12.04的man vsftpd.conf中,均未找到此选项。
分别使用rpm和deb包安装的。

请教各位Ubuntu中此选项的值如何设置?默认值是什么?

PS:无法通过编译重新安装Ubuntu服务器上的vsftpd :em06
上次由 cwjbeyond 在 2014-05-12 17:11,总共编辑 1 次。
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: vsftpd.conf 是否有 reverse_lookup_enable 这个boolean参数?

#2

帖子 astolia » 2014-05-12 15:22

这个东西是rhel自己弄的patch,原版vsftpd是没有的。debian系的应该都没有弄
cwjbeyond
帖子: 16
注册时间: 2012-12-06 10:02
系统: Ubuntu10 12 Centos6

Re: vsftpd.conf 是否有 reverse_lookup_enable 这个boolean参数?

#3

帖子 cwjbeyond » 2014-05-12 17:04

哦,谢谢解答。

那我就只需设置CentOS中的了。

sshd_config 中的 UseDNS就两个都有。
回复