rsync - Building Internet Firewalls, 2nd Edition
来源:互联网 发布:电脑控制电视软件 编辑:程序博客网 时间:2024/05/12 07:43
rsync - Building Internet Firewalls, 2nd Edition
22.6. File Synchronization
22.6.2. rsync
rsyncis a synchronization protocol that uses checksums to determinedifferences (instead of relying on modification dates) and doespartial file transfers (transferring only the differences instead ofthe entire files). rsync was developed by AndrewTridgell and Paul Mackerras.
rsync may either be run likerdist on top of a remote shell protocol(preferably ssh but rsh isalso possible), or use its own daemon, rsyncd.rsyncd does authentication but does not encryptthe data being transferred. rsyncd is useful ifyou are interested in using rsync to distributepublicly available files; it allows you to usersync like FTP, without allowing remote shellaccess to the Internet. It is arguably more secure than FTP (itprovides less functionality) and will certainly be more efficient insituations where people need to transfer updated files repeatedly. Ifyou are transferring confidential data, you should usersync over SSH instead of usingrsyncd.
22.6.2.1. Packet filtering characteristics of rsync
rsync is generally run over SSH, although it ispossible to run it over rsh if you are notconcerned with security. Packet filtering characteristics of SSH andrsh are discussed in Chapter 18, "Remote Access to Hosts". The dedicated rsyncdaemon, rsyncd, uses TCP port 873.Request, external client to internal serverOutIntExtTCP873>1023YesResponse, internal server to external clientOutIntExtTCP>1023873[162]Request, internal client to external serverInExtIntTCP873>1023YesResponse, external server to internal client
[162]ACK will not be set on the first packet(establishing connection) but will be set on the rest.
22.6.2.2. Proxying characteristics of rsync
rsync is normally run over SSH orrsh; proxying characteristics of these protocolsare discussed in Chapter 18, "Remote Access to Hosts". Thersync client provides support for using an HTTPproxy for rsync connections, as long as the HTTPproxy is willing to connect to port 873. (For more information aboutHTTP proxies, see "Proxying Characteristics of HTTP" inChapter 15, "The World Wide Web".) rsync's ownprotocol is straightforward to proxy and could also easily be usedwith SOCKS, for instance. However, since rsyncdis not terribly widespread, proxies for it are not available. Youwill need to set them up yourself.
22.6.2.3. Network address translation characteristics of rsync
rsync is normally run over SSH orrsh; network address translation characteristicsof these protocols are discussed in Chapter 18, "Remote Access to Hosts".rsync's own protocol does not use embeddedIP addresses and should function through a network addresstranslation system without problems.
[相关问题]
全局常用配置说明
模块常用配置说明
客户端常用参数
for Windows (cygwin)
远程shell模式和rsync守护进程模式
Building Internet Firewalls, 2nd Edition
- rsync - Building Internet Firewalls, 2nd Edition
- Building Internet Firewalls (2nd Edition)
- Building Wireless Community Networks, 2nd Edition
- Eclipse : Building Commercial-Quality Plug-ins (2nd Edition)
- 《Java Swing》2nd Edition
- Hacking Exposed - 2nd Edition
- Programming C# (2nd Edition)
- Programming C# (2nd Edition)
- 《Programming Pearls》 2nd Edition
- Software Testing (2nd Edition)
- Google Hacks, 2nd Edition
- Access Cookbook, 2nd Edition
- Understanding .NET (2nd Edition)
- Professional Ajax, 2nd Edition
- PHP Essentials, 2nd Edition
- XML Bible (2nd Edition)
- Effective Java (2nd Edition)
- XSLT, 2nd Edition [ILLUSTRATED]
- php_network_getaddresses: getaddrinfo failed
- WinCE USB驱动开发经验谈
- 搭建Silverlight2.0开发环境
- PowerPC简介
- oracle ebs服务器
- rsync - Building Internet Firewalls, 2nd Edition
- Google悄悄跟踪用户点击:有可能根据搜索结果点击率改善排名 http://www.chedong.com/blog/archives/000397.html
- MYSQL 導出腳本
- (Struts)Action类及其相关类
- OpenGL教程
- 编程操作Word 查找 替换 图片
- 代码修改正确后,为什么编译连接还是有错误?!
- equals方法
- (Struts)ActionForm类及表单数据验证