由 Sthenia 在 12-10-2003 20:57 发表:
[高手请进]Vsftpd根据连接ip设置访问问题
用Xinetd方式架起了vsftpd,想实现下列目标:
从ip a来的连接直接用匿名登录,可以下载,上传
从ip a以外来的连接,必须要用户和密码,才能下载,上传(上传与否可以设置)
ip a:表示是一定范围的地址
vsftpd能否实现这样的功能?
谢了!
由 Snoopy 在 12-10-2003 21:06 发表:
我只想要像ssh那样,AllowUser 用户@ip
来限制某个用户只能用某个ip来访问,,找那么久都没找到,,,
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 dindindang 在 12-10-2003 22:25 发表:
需要那个tcp_wrapper的支持
如果你是源码安装,要修改文件builddefs.h中的那个
将
#undef VSF_BUILD_TCPWRAPPERS改为
#define VSF_BUILD_