分页: 1 / 1

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

发表于 : 2014-05-12 14:58
cwjbeyond
如题。
在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

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

发表于 : 2014-05-12 15:22
astolia
这个东西是rhel自己弄的patch,原版vsftpd是没有的。debian系的应该都没有弄

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

发表于 : 2014-05-12 17:04
cwjbeyond
哦,谢谢解答。

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

sshd_config 中的 UseDNS就两个都有。