网管联盟 | 网管论坛 | 网管u家 | 网管博客 | 网管软件 | 网管求职 | 小游戏 | 网管搜索 | 网管原创 | 网管聚合 | 网管读摘 | 网管焦点 | 世界素材 | 会员投稿 | 会员中心 
中国网管联盟
Windows Linux Cisco 网络技术 数据库 黑客攻防 DotNet Java PHP 认证 新闻资讯 服务器 存储资讯 网络设备 网管学堂 技术专题 焦点 网吧频道
 当前位置: > bitsCN.com > 数据库技术 > Oracle > 备份与恢复 > vsftpd-1.1.3配制实例之三:PER_IP_CONFIG  

vsftpd-1.1.3配制实例之三:PER_IP_CONFIG

2003-06-16  作者:BitsCN整理  来源:中国网管联盟  点评 投稿 收藏


  This example should quickly show you the possibilites of per-IP configuration
  with vsftpd's tcp_wrappers integration. This is new with v1.1.3.
  To use this, you need vsftpd built with tcp_wrappers! This is accomplished
  by editing "builddefs.h" and changing
  #undef VSF_BUILD_TCPWRAPPERS
  to
  #define VSF_BUILD_TCPWRAPPERS
  And then rebuild. If you are lucky your vendor will have shipped the vsftpd
  binary with this already done for you.
  Next, to enable tcp_wrappers integration, you need this in your vsftpd.conf:
  tcp_wrappers=YES
  And you'll need a tcp_wrappers config file. An example one is supplied in this
  directory: hosts.allow. It lives at /etc/hosts.allow.
  Let's have a look at the example:
  vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd_tcp_wrap.conf
  vsftpd: 192.168.1.4: DENY
  The first line:
  If a client connects from 192.168.1.3, then vsftpd will apply the vsftpd
  config file /etc/vsftpd_tcp_wrap.conf to the session! These settings are 网管下载dl.bitscn.com
  applied ON TOP of the default vsftpd.conf.
  This is obviously very powerful. You might use this to apply different
  access restrictions for some IPs (e.g. the ability to upload).
  Or you could give certain classes of IPs the ability to skip connection
  limits (max_clients=0).
  Or you could increase / decrease the bandwidth limiter for certain classes
  of IPs.
  You get the point :-)
  The second line:
  Denies the ability of 192.168.1.4 to connect. Very useful to take care of
  troublemakers. And now you don't need xinetd to do it - hurrah.
  hosts.allow
  #
  # hosts.allow This file describes the names of the hosts which are
  # allowed to use the local INET services, as decided
  # by the '/usr/sbin/tcpd' server.
  #
  vsftpd: 192.168.1.3: setenv VSFTPD_LOAD_CONF /etc/vsftpd_tcp_wrap.conf
  vsftpd: 192.168.1.4: DENY
  
  

TAGs   之三   实例   the   to   you   of   this   tcp_wrappers   vsftpd   This      
 上一篇:Linux Cluster   下一篇:vsftpd-1.1.3配制实例之四:VIRTUAL_HOSTS
相关文章列表
vsftpd-1.1.3配制实例之三:PER_IP_CONFIG 评论:
loading.. 评论加载中…
评论:请自觉遵守互联网相关政策法规,评论不得超过250字。

验证码: 注册用户
本类热门排行:
1.扫盲行动之:如何刻录ISO文件!(附多媒
2.如何使用iso文件?
3.简单的Oracle存储过程的创建方法
4.Oracle冷备份的不完全恢复
5.在LINUX下配置DNS
6.Oracle数据库备份与恢复的三种方法
7.设置TOMCAT PATH,CLASSPATH变量
8.linux下如何搜索文件?
9.专家在线:全面介绍恢复Oracle数据库
10..bz2文件如何解压缩
最新推荐文章:
1.容灾项目需要注意的几大问题
2.系统损坏情况下恢复 Oracle 10g 数据库
3.使用RMAN进行基于表空间的恢复
4.Oracle数据库常见错误操作及解决方案
5.专家在线:全面介绍恢复Oracle数据库
6.包含复制环境的数据库迁移
7.FLASHBACK TABLE对全文索引的影响
8.在Flashback数据库上获得较高可用性
9.Oracle数据库备份与恢复的三种方法
10.Oracle常用数据字典
网管论坛交流:
·不疯魔不成活
·令你大开眼界的真正标准化机房,已整理重
·为赈灾,女孩舍身拍“裸照”
·Windows Server 2003服务器群集创建和配
·exchange2k3全套官方资料
·双儿一周岁了。。。特殊的礼物来啦。。
·存储备份技术版块守则
·无盘技术交流区守则
·DOS命令基础大全之命令详解<作者吐血
·Windows XP 操作系统默认设置需要注意的