`
baiguomeng
  • 浏览: 958222 次
文章分类
社区版块
存档分类
最新评论

rsyncd.conf - hosts allow

 
阅读更多

rsyncd.conf - hosts allow

# rsyncd.conf - hosts allow
# hosts allow
# This parameter allows you to specify a list of patterns that are matched against a connecting clients hostname and IP address. If none of the patterns match then the connection is rejected.
# 该参数允许指定一个用于匹配连接客户端的主机名和IP地址的模式列表。当没有模式匹配时将拒绝连接。
# Each pattern can be in one of five forms:
# 每个模式可以是五种形式之一:
# a dotted decimal IPv4 address of the form a.b.c.d, or an IPv6 address of the form a:b:c::d:e:f. In this case the incoming machine's IP address must match exactly.
# 一个形式为 a.b.c.d 的点号分隔十进制IPv4地址,或者一个形式为 a:b:c::d:e:f 的IPv6地址,此时输入设备的IP地址必须精确匹配。
# an address/mask in the form ipaddr/n where ipaddr is the IP address and n is the number of one bits in the netmask. All IP addresses which match the masked IP address will be allowed in.
# 一个形式为 ipaddr/n 的 地址/掩码,其中ipaddr是IP地址,n是网络掩码的bit数。所有匹配带掩码IP地址的IP地址将获得允许。
# an address/mask in the form ipaddr/maskaddr where ipaddr is the IP address and maskaddr is the netmask in dotted decimal notation for IPv4, or similar for IPv6, e.g. ffff:ffff:ffff:ffff:: instead of /64. All IP addresses which match the masked IP address will be allowed in.
# 一个形式为 ipaddr/maskaddr 的 地址/掩码,其中ipaddr是IP地址,maskaddr是点号分隔十进制标注的IPv4的网络掩码,或类似的IPv6,例如 ffff:ffff:ffff:ffff:: 代替/64。所有匹配带掩码IP地址的IP地址将获得允许。
# a hostname. The hostname as determined by a reverse lookup will be matched (case insensitive) against the pattern. Only an exact match is allowed in.
# 一个主机名称。按模式匹配(大小写不敏感)通过反向解析检测得到的主机名。仅允许精确匹配。
# a hostname pattern using wildcards. These are matched using the same rules as normal unix filename matching. If the pattern matches then the client is allowed in.
#一个使用通配符的主机名模式。使用和通常unix文件名匹配相应的规则匹配。客户端在模式匹配时被允许进入。
# Note IPv6 link-local addresses can have a scope in the address specification:
# 注意在地址规范中IPv6链路本地地址能有一个范围:
# fe80::1%link1
# fe80::%link1/64
# fe80::%link1/ffff:ffff:ffff:ffff::
# You can also combine "hosts allow" with a separate "hosts deny" parameter. If both parameters are specified then the "hosts allow" parameter is checked first and a match results in the client being able to connect. The "hosts deny" parameter is then checked and a match means that the host is rejected. If the host does not match either the "hosts allow" or the "hosts deny" patterns then it is allowed to connect.
# 也可以合并“hosts allow”和一个独立的“hosts deny”参数。如果指定两个参数将首先检查“hosts allow”参数后匹配结果表示客户端能够连接。然后检查“hosts deny”参数匹配表示拒绝主机。既不匹配“hosts allow”也不匹配“hosts deny”模式的主机将被允许连接。
# The default is no "hosts allow" parameter, which means all hosts can connect.
# 默认没有“hosts allow”参数,表示所有主机都能连接。

[rsync - 官方网站]

http://rsync.samba.org/

[rsync - 关键词]

rsync
rsyncd

[rsyncd.conf - 官方文档]

http://samba.org/ftp/rsync/rsyncd.conf.html

[rsync - 相关问题]

全局部分中常用全局参数配置说明

全局部分中常用模块参数配置说明

模块常用配置说明

认证相关参数配置说明

客户端常用参数

客户端其他参数

for Windows (cygwin)

远程shell模式和rsync守护进程模式

22.6. File Synchronization. Building Internet Firewalls, 2nd Edition

Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks

Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync

Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking

Linux Security Cookbook - Recipe 6.3 Copying Files Remotely

正确设置gid参数

--backup-dir 使用示例

hosts allow

分享到:
评论

相关推荐

    rsync配置

    rsync配置

    rsyncd.conf

    此内容是rsync必须的配置文档,修改几处参数即可使用,具体使用步骤:将文档copy到/etc/然后打开文档,编辑相应参数,必须修改的参数有几处,1、hosts allow,这是允许连接至rsync的IP,2、auth users,这是rsync的...

    cwRsync -server & clinet windows到windows

    4.编辑文件C:\Program Files\ICW\rsyncd.conf use chroot = false strict modes = false hosts allow = * log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /...

    Ubuntu 下配置Rsync服务的方法

    默认情况Ubuntu安装了rsync服务,但在/etc下没有配置文件,一般情况可以copy示例文件到/etc下 #cp /usr/share/doc/rsync/examples/rsyncd.conf /etc #vi /etc/rsyncd.conf # sample rsyncd.conf configuration file ...

    文件高效同步工具rsync下的windows版-cwRsync4.2.0(含服务端和客户端).zip

    从指定服务器下载文件到本地,则命令是: rsync -avz --port=8173 192.168.1.100::configdir1 /cygdrive/c/tongbuTest/* 以deamon方式启动的命令是: rsync.exe --daemon --config=C:/cwRsync/rsyncd.conf

    sersync2.5.4.tar.gz

    passwordfile="B主机/etc/rsyncd.conf配置文件中的secrets file值" A主机/opt/sersync/confxml.xml配置文件如下图 B主机/etc/rsyncd.conf配置文件如下图 A主机 加载配置文件并启动 /opt/sersync/sersync2 -...

    利用rsync自动备份 完全配置方法 增加了ip限制

    一、服务器端配置: 安装rsync #系统一般是默认安装的 如果没有安装可以到安装光盘里去找(我的系统为CentOS4.6 所以在第一张光盘的\CentOS\RPMS\目录下) #配置/etc/rsyncd.conf #系统上rsync安装后,并没有创建rsyncd....

    rsync-3.0.7.tar.gz最新版本

    Rsync version 3.0.7 has been released. This is a bug-fix release. See the release NEWS for the details of what changed since ... The latest manpages are also available for both rsync and rsyncd.conf.

    cwrsync invalid uid nobody 解决方法

    使用rsync/cwrsync工具进行档案同步的时候出现了下面的错误: ...@ERROR: invalid uid nobody rsync error: error starting client-server protocol ...解决办法:在rsyncd.conf文件中添加下面两行即可解决问题 uid =

    RsyncServer服务无法启动的解决方法

    网站采用了RsyncServer进行同步,但同步的时候经常无法连接远程RsyncServer服务器端,登陆后发现原来是RsyncServer服务无法启动了,其实解决方法很简单。

    一键安装Rsync脚本

    用于一键部署rsync服务端环境,自动生成rsyncd.conf配置文件和密码文件,配置开机自动运行。只需在客户端配置下密码 ,就可以进行rsync同步

    用rsync实现windows与linux文件同步的方法

    windows做为文件服务器,使用... 安装完成后修改配置文件 rsyncd.conf, 配置文件内容如下: 代码如下: port = 52326 use chroot = false strict modes = false #hosts allow = * #允许所有的访问 hosts allow = 192.

    rsync文件备份操作.docx

    rsync 主从服务器文件操作: Sudo apt install rsync sudo vi /etc/rsyncd.conf 添加: uid = nobody gid = nobody use chroot = yes max connections = 4 port = 873 timeout = 300 log format = %t %a %m %f %b

    cwRsync 4.0.5 文件同步配置步骤分享

    客户端:cwRsync_4.0.5_Installer ② 服务端配置rsyncd.conf,web工程安全选项卡中为SvcCWRSYNC添加完全控制权限,例外端口:52326,创建密匙文件:server_key,最后启动服务 ③ 客户端创建密匙文件:client_key, ...

    Linux下rsync远程数据同步命令的详细介绍

    介绍 rsync命令是一个远程数据同步工具,可通过LAN/WAN快速同步多台主机间的文件。...服务端:vim /etc/rsyncd.conf #This is the rsync daemon configuration #global settings pid file = /var/run/rsyncd.pi

    cygwin-rsyncd:cygwin的rsyncd安装程序,用于Windows备份客户端

    下载并运行cygwin-rsyncd-3.2.3.0_installer.exe,以将rsyncd安装在WinXX客户端上以进行BackupPC备份。 如果要自定义和构建自己的cygwin-rsyncd可执行文件(例如:为站点预设一些配置参数),请在克隆git存储库。 ...

    windows服务器维护经验小结(rsync,serv_u)

    rsync 客户端执行同步操作的bat 代码如下: @echo off rsync -ztruvoglp –progress –...false strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid # Module definitions # Reme

    rsync一工作模式及语法

    本文内容翻译自rsync的官方文档:http://rsync.samba.org/ftp/rsync/rsync.html,以及http://rsync.samba.org/ftp/rsync/rsyncd.conf.html,非完整的全文翻译,并且按照我的需要,对原文的相关章节或条目进行了适当...

    rsync二:daemon端配置文件

    rsync安装时没有提供一个配置文件模板,需要自己手动创建,名称为rsyncd.conf。 配置文件文件分为两部分,全局参数和模块参数。全局参数设定全局的,默认的属性,模块参数设定每个用来同步的目录的属性,模块即...

    Windows rsync服务器备份配置实例

    :test /cygdrive/f/a 服务器端rsyncd.conf实例: 服务器端软件下载地址//www.jb51.net/softs/16780.html use chroot = no #strict modes = false hosts allow = * log file = rsyncd.log pid file = rsyncd.pid uid=...

Global site tag (gtag.js) - Google Analytics