OLDNEWS 141 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299
  1. NEWS for rsync 3.0.8 (26 Mar 2011)
  2. Protocol: 30 (unchanged)
  3. Changes since 3.0.7:
  4. BUG FIXES:
  5. - Fixed two buffer-overflow issues: one where a directory path that is
  6. exactly MAXPATHLEN was not handled correctly, and one handling a
  7. --backup-dir that is extra extra large.
  8. - Fixed a data-corruption issue when preserving hard-links without
  9. preserving file ownership, and doing deletions either before or during
  10. the transfer (CVE-2011-1097). This fixes some assert errors in the
  11. hard-linking code, and some potential failed checksums (via -c) that
  12. should have matched.
  13. - Fixed a potential crash when an rsync daemon has a filter/exclude list
  14. and the transfer is using ACLs or xattrs.
  15. - Fixed a hang if a really large file is being processed by an rsync that
  16. can't handle 64-bit numbers. Rsync will now complain about the file
  17. being too big and skip it.
  18. - For devices and special files, we now avoid gathering useless ACL and/or
  19. xattr information for files that aren't being copied. (The un-copied
  20. files are still put into the file list, but there's no need to gather
  21. data that is not going to be used.) This ensures that if the user uses
  22. --no-D, that rsync can't possibly complain about being unable to gather
  23. extended information from special files that are in the file list (but
  24. not in the transfer).
  25. - Properly handle requesting remote filenames that start with a dash. This
  26. avoids a potential error where a filename could be interpreted as a
  27. (usually invalid) option.
  28. - Fixed a bug in the comparing of upper-case letters in file suffixes for
  29. --skip-compress.
  30. - If an rsync daemon has a module configured without a path setting, rsync
  31. will now disallow access to that module.
  32. - If the destination arg is an empty string, it will be treated as a
  33. reference to the current directory (as 2.x used to do).
  34. - If rsync was compiled with a newer time-setting function (such as
  35. lutimes), rsync will fall-back to an older function (such as utimes) on a
  36. system where the newer function is not around. This helps to make the
  37. rsync binary more portable in mixed-OS-release situations.
  38. - Fixed a batch-file writing bug that would not write out the full set of
  39. compatibility flags that the transfer was using. This fixes a potential
  40. protocol problem for a batch file that contains a sender-side I/O error:
  41. it would have been sent in a way that the batch-reader wasn't expecting.
  42. - Some improvements to the hard-linking code to ensure that device-number
  43. hashing is working right, and to supply more information if the hard-link
  44. code fails.
  45. - The --inplace code was improved to not search for an impossible checksum
  46. position. The quadruple-verbose chunk[N] message will now mention when
  47. an inplace chunk was handled by a seek rather than a read+write.
  48. - Improved ACL mask handling, e.g. for Solaris.
  49. - Fixed a bug that prevented --numeric-ids from disabling the translation
  50. of user/group IDs for ACLs.
  51. - Fixed an issue where an xattr and/or ACL transfer that used an alt-dest
  52. option (e.g. --link-dest) could output an error trying to itemize the
  53. changes against the alt-dest directory's xattr/ACL info but was instead
  54. trying to access the not-yet-existing new destination directory.
  55. - Improved xattr system-error messages to mention the full path to the
  56. file.
  57. - The --link-dest checking for identical symlinks now avoids considering
  58. attribute differences that cannot be changed on the receiver.
  59. - Avoid trying to read/write xattrs on certain file types for certain OSes.
  60. Improved configure to set NO_SYMLINK_XATTRS, NO_DEVICE_XATTRS, and/or
  61. NO_SPECIAL_XATTRS defines in config.h.
  62. - Improved the unsafe-symlink errors messages.
  63. - Fixed a bug setting xattrs on new files that aren't user writable.
  64. - Avoid re-setting xattrs on a hard-linked file w/the same xattrs.
  65. - Fixed a bug with --fake-super when copying files and dirs that aren't
  66. user writable.
  67. - Fixed a bug where a sparse file could have its last sparse block turned
  68. into a real block when rsync sets the file size (requires ftruncate).
  69. - If a temp-file name is too long, rsync now avoids truncating the name in
  70. the middle of adjacent high-bit characters. This prevents a potential
  71. filename error if the filesystem doesn't allow a name to contain an
  72. invalid multi-byte sequence.
  73. - If a muli-protocol socket connection fails (i.e., when contacting a
  74. daemon), we now report all the failures, not just the last one. This
  75. avoids losing a relevant error (e.g. an IPv4 connection-refused error)
  76. that happened before the final error (e.g. an IPv6 protocol-not-supported
  77. error).
  78. - Generate a transfer error if we try to call chown with a -1 for a uid or
  79. a gid (which is not settable).
  80. - Fixed the working of --force when used with --one-file-system.
  81. - Fix the popt arg parsing so that an option that doesn't take an arg will
  82. reject an attempt to supply one (can configure --with-included-popt if
  83. your system's popt library doesn't yet have this fix).
  84. - A couple minor option tweaks to the support/rrsync script, and also some
  85. regex changes that make vim highlighting happier.
  86. - Fixed some issues in the support/mnt-excl script.
  87. - Various manpage improvements.
  88. ENHANCEMENTS:
  89. - Added ".hg/" to the default cvs excludes (see -C & --cvs-exclude).
  90. DEVELOPER RELATED:
  91. - Use lchmod() whenever it is available (not just on symlinks).
  92. - A couple fixes to the socketpair_tcp() routine.
  93. - Updated the helper scripts in the packaging subdirectory.
  94. - Renamed configure.in to configure.ac.
  95. - Fixed configure's checking for iconv routines for newer OS X versions.
  96. - Fixed the testsuite/xattrs.test script on OS X.
  97. NEWS for rsync 3.0.7 (31 Dec 2009)
  98. Protocol: 30 (unchanged)
  99. Changes since 3.0.6:
  100. BUG FIXES:
  101. - Fixed a bogus free when using --xattrs with --backup.
  102. - Avoid an error when --dry-run was trying to stat a prior hard-link file
  103. that hasn't really been created.
  104. - Fixed a problem with --compress (-z) where the receiving side could
  105. return the error "inflate (token) returned -5".
  106. - Fixed a bug where --delete-during could delete in a directory before it
  107. noticed that the sending side sent an I/O error for that directory (both
  108. sides of the transfer must be at least 3.0.7).
  109. - Improved --skip-compress's error handling of bad character-sets and got
  110. rid of a lingering debug fprintf().
  111. - Fixed the daemon's conveyance of io_error value from the sender.
  112. - An rsync daemon use seteuid() (when available) if it used setuid().
  113. - Get the permissions right on a --fake-super transferred directory that
  114. needs more owner permissions to emulate root behavior.
  115. - An absolute-path filter rule (i.e. with a '/' modifier) no longer loses
  116. its modifier when sending the filter rules to the remote rsync.
  117. - Improved the "--delete does not work without -r or -d" message.
  118. - Improved rsync's handling of --timeout to avoid a weird timeout case
  119. where the sender could timeout even though it has recently written data
  120. to the socket (but hasn't read data recently, due to the writing).
  121. - Some misc manpage improvements.
  122. - Fixed the chmod-temp-dir testsuite on a system without /var/tmp.
  123. - Make sure that a timeout specified in the daemon's config is used as a
  124. maximum timeout value when the user also specifies a timeout.
  125. - Improved the error-exit reporting when rsync gets an error trying to
  126. cleanup after an error: the initial error is reported.
  127. - Improved configure's detection of IPv6 for solaris and cygwin.
  128. - The AIX sysacls routines will now return ENOSYS if ENOTSUP is missing.
  129. - Made our (only used if missing) getaddrinfo() routine use inet_pton()
  130. (which we also provide) instead of inet_aton().
  131. - The exit-related debug messages now mention the program's role so it is
  132. clear who output what message.
  133. DEVELOPER RELATED:
  134. - Got rid of type-punned compiler warnings output by newer gcc versions.
  135. - The Makefile now ensures that proto.h will be rebuilt if config.h changes.
  136. - The testsuite no longer uses "id -u", so it works better on solaris.
  137. NEWS for rsync 3.0.6 (8 May 2009)
  138. Protocol: 30 (unchanged)
  139. Changes since 3.0.5:
  140. BUG FIXES:
  141. - Fixed a --read-batch hang when rsync is reading a batch file that was
  142. created from an incremental-recursion transfer.
  143. - Fixed the daemon's socket code to handle the simultaneous arrival of
  144. multiple connections.
  145. - Fix --safe-links/--copy-unsafe-links to properly handle symlinks that
  146. have consecutive slashes in the value.
  147. - Fixed the parsing of an [IPv6_LITERAL_ADDR] when a USER@ is prefixed.
  148. - The sender now skips a (bogus) symlink that has a 0-length value, which
  149. avoids a transfer error in the receiver.
  150. - Fixed a case where the sender could die with a tag-0 error if there was
  151. an I/O during the sending of the file list.
  152. - Fixed the rrsync script to avoid a server-side problem when -e is at the
  153. start of the short options.
  154. - Fixed a problem where a vanished directory could turn into an exit code
  155. 23 instead of the proper exit code 24.
  156. - Fixed the --iconv conversion of symlinks when doing a local copy.
  157. - Fixed a problem where --one-file-system was not stopping deletions on the
  158. receiving side when a mount-point directory did not match a directory in
  159. the transfer.
  160. - Fixed the dropping of an ACL mask when no named ACL values were present.
  161. - Fixed an ACL/xattr corruption issue where the --backup option could cause
  162. rsync to associate the wrong ACL/xattr information with received files.
  163. - Fixed the use of --xattrs with --only-write-batch.
  164. - Fixed the use of --dry-run with --read-batch.
  165. - Fixed configure's erroneous use of target.
  166. - Fixed configure's --disable-debug option.
  167. - Fixed a run-time issue for systems that can't find iconv_open() by adding
  168. the --disable-iconv-open configure option.
  169. - Complain and die if the user tries to combine --remove-source-files (or
  170. the deprecated --remove-sent-files) with --read-batch.
  171. - Fixed an failure transferring special files from Solaris to Linux.
  172. NEWS for rsync 3.0.5 (28 Dec 2008)
  173. Protocol: 30 (unchanged)
  174. Changes since 3.0.4:
  175. BUG FIXES:
  176. - Initialize xattr data in a couple spots in the hlink code, which avoids a
  177. crash when the xattr pointer's memory happens to start out non-zero.
  178. Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.
  179. - Don't send a bogus "-" option to an older server if there were no short
  180. options specified.
  181. - Fixed skipping of unneeded updates in a batch file when incremental
  182. recursion is active. Added a test for this. Made batch-mode handle
  183. "redo" files properly (and without hanging).
  184. - Fix the %P logfile escape when the daemon logs from inside a chroot.
  185. - Fixed the use of -s (--protect-args) when used with a remote source or
  186. destination that had an empty path (e.g. "host:"). Also fixed a problem
  187. when -s was used when accessing a daemon via a remote-shell.
  188. - Fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
  189. file when the root of the transfer isn't the current directory.
  190. - Fixed a bug with "-K --delete" removing symlinks to directories when
  191. incremental recursion is active.
  192. - Fixed a hard to trigger hang when using --remove-source-files.
  193. - Got rid of an annoying delay when accessing a daemon via a remote-shell.
  194. - Properly ignore (superfluous) source args on a --read-batch command.
  195. - Improved the manpage's description of the '*' wildcard to remove the
  196. confusing "non-empty" qualifier.
  197. - Fixed reverse lookups in the compatibility-library version of
  198. getnameinfo().
  199. - Fixed a bug when using --sparse on a sparse file that has over 2GB of
  200. consecutive sparse data.
  201. - Avoid a hang when using at least 3 --verbose options on a transfer with a
  202. client sender (which includes local copying).
  203. - Fixed a problem with --delete-delay reporting an error when it was ready
  204. to remove a directory that was now gone.
  205. - Got rid of a bunch of "warn_unused_result" compiler warnings.
  206. - If an ftruncate() on a received file fails, it now causes a partial-
  207. transfer warning.
  208. - Allow a path with a leading "//" to be preserved (CYGWIN only).
  209. ENHANCEMENTS:
  210. - Made the support/atomic-rsync script able to perform a fully atomic
  211. update of the copied hierarchy when the destination is setup using a
  212. particular symlink idiom.
  213. NEWS for rsync 3.0.4 (6 Sep 2008)
  214. Protocol: 30 (unchanged)
  215. Changes since 3.0.3:
  216. BUG FIXES:
  217. - Fixed a bug in the hard-linking code where it would sometimes try to
  218. allocate 0 bytes of memory (which fails on some OSes, such as AIX).
  219. - Fixed the hard-linking of files from a device that has a device number
  220. of 0 (which seems to be a common device number on NetBSD).
  221. - Fixed the handling of a --partial-dir that cannot be created. This
  222. particularly impacts the --delay-updates option (since the files cannot
  223. be delayed without a partial-dir), and was potentially destructive if
  224. the --remove-source-files was also specified.
  225. - Fixed a couple issues in the --fake-super handling of xattrs when the
  226. destination files have root-level attributes (e.g. selinux values) that
  227. a non-root copy can't affect.
  228. - Improved the keep-alive check in the generator to fire consistently in
  229. incremental-recursion mode when --timeout is enabled.
  230. - The --iconv option now converts the content of a symlink too, instead
  231. of leaving it in the wrong character-set (requires 3.0.4 on both sides
  232. of the transfer).
  233. - When using --iconv, if a filename fails to convert on the receiving side,
  234. this no longer makes deletions in the root-dir of the transfer fail
  235. silently (the user now gets a warning about deletions being disabled
  236. due to IO error as long as --ignore-errors was not specified).
  237. - When using --iconv, if a server-side receiver can't convert a filename,
  238. the error message sent back to the client no longer mangles the name
  239. with the wrong charset conversion.
  240. - Fixed a potential alignment issue in the IRIX ACL code when allocating
  241. the initial "struct acl" object. Also, cast mallocs to avoid warnings.
  242. - Changed some errors that were going to stdout to go to stderr.
  243. - Made human_num() and human_dnum() able to output a negative number
  244. (rather than outputting a cryptic string of punctuation).
  245. ENHANCEMENTS:
  246. - Rsync will avoid sending an -e option to the server if an older protocol
  247. is requested (and thus the option would not be useful). This lets the
  248. user specify the --protocol=29 option to access an overly-restrictive
  249. server that is rejecting the protocol-30 use of -e to the server.
  250. - Improved the message output for an RERR_PARTIAL exit.
  251. DEVELOPER RELATED:
  252. - The Makefile will not halt for just a timestamp change on the Makefile
  253. or the configure files, only for actual changes in content.
  254. - Changed some commands in the testsuite's xattrs.test that called "rsync"
  255. instead of "$RSYNC".
  256. - Enhanced the release scripts to be able to handle a branch release and
  257. to do even more consistency checks on the files.
  258. NEWS for rsync 3.0.3 (29 Jun 2008)
  259. Protocol: 30 (unchanged)
  260. Changes since 3.0.2:
  261. BUG FIXES:
  262. - Fixed a wildcard matching problem in the daemon when a module has
  263. "use chroot" enabled.
  264. - Fixed a crash bug in the hard-link code.
  265. - Fixed the sending of xattr directory information when the code finds a
  266. --link-dest or --copy-dest directory with unchanged xattrs -- the
  267. destination directory now gets these unchanged xattrs properly applied.
  268. - Fixed an xattr-sending glitch that could cause an "Internal abbrev"
  269. error.
  270. - Fixed the combination of --xattrs and --backup.
  271. - The generator no longer allows a '.' dir to be excluded by a daemon-
  272. exclude rule.
  273. - Fixed deletion handling when copying a single, empty directory (with no
  274. files) to a differently named, non-existent directory.
  275. - Fixed the conversion of spaces into dashes in the %M log escape.
  276. - Fixed several places in the code that were not returning the right
  277. errno when a function failed.
  278. - Fixed the backing up of a device or special file into a backup dir.
  279. - Moved the setting of the socket options prior to the connect().
  280. - If rsync exits in the middle of a --progress output, it now outputs a
  281. newline to help prevent the progress line from being overwritten.
  282. - Fixed a problem with how a destination path with a trailing slash or
  283. a trailing dot-dir was compared against the daemon excludes.
  284. - Fixed the sending of large (size > 16GB) files when talking to an older
  285. rsync (protocols < 30): we now use a compatible block size limit.
  286. - If a file's length is so huge that we overflow a checksum buffer count
  287. (i.e. several hundred TB), warn the user and avoid sending an invalid
  288. checksum struct over the wire.
  289. - If a source arg is excluded, --relative no longer adds the excluded
  290. arg's implied dirs to the transfer. This fix also made the exclude
  291. check happen in the better place in the sending code.
  292. - Use the overflow_exit() function for overflows, not out_of_memory().
  293. - Improved the code to better handle a system that has only 32-bit file
  294. offsets.
  295. ENHANCEMENTS:
  296. - The rsyncd.conf manpage now consistently refers to the parameters in
  297. the daemon config file as "parameters".
  298. - The description of the --inplace option was improved.
  299. EXTRAS:
  300. - Added a new script in the support directory, deny-rsync, which allows
  301. an admin to (temporarily) replace the rsync command with a script that
  302. sends an error message to the remote client via the rsync protocol.
  303. DEVELOPER RELATED:
  304. - Fixed a testcase failure if the tests are run as root and made some
  305. compatibility improvements.
  306. - Improved the daemon tests, including checking module comments, the
  307. listing of files, and the ensuring that daemon excludes can't affect
  308. a dot-dir arg.
  309. - Improved some build rules for those that build in a separate directory
  310. from the source, including better install rules for the man pages, and
  311. the fixing of a proto.h-tstamp rule that could make the binaries get
  312. rebuild without cause.
  313. - Improved the testsuite to work around a problem with some utilities
  314. (e.g. cp -p & touch -r) rounding sub-second timestamps.
  315. - Ensure that the early patches don't cause any generated-file hunks to
  316. bleed-over into patches that follow.
  317. NEWS for rsync 3.0.2 (8 Apr 2008)
  318. Protocol: 30 (unchanged)
  319. Changes since 3.0.1:
  320. BUG FIXES:
  321. - Fixed a potential buffer overflow in the xattr code.
  322. ENHANCEMENTS:
  323. - None.
  324. DEVELOPER RELATED:
  325. - The RPM spec file was improved to install more useful files.
  326. - A few developer-oriented scripts were moved from the support dir
  327. to the packaging dir.
  328. NEWS for rsync 3.0.1 (3 Apr 2008)
  329. Protocol: 30 (unchanged)
  330. Changes since 3.0.0:
  331. NOTABLE CHANGES IN BEHAVIOR:
  332. - Added the 'c'-flag to the itemizing of non-regular files so that the
  333. itemized output doesn't get hidden if there were no attribute changes,
  334. and also so that the itemizing of a --copy-links run will distinguish
  335. between copying an identical non-regular file and the creation of a
  336. revised version with a new value (e.g. a changed symlink referent, a
  337. new device number, etc.).
  338. BUG FIXES:
  339. - Fixed a crash bug when a single-use rsync daemon (via remote shell) was
  340. run without specifying a --config=FILE option.
  341. - Fixed a crash when backing up a directory that has a default ACL.
  342. - Fixed a bug in the handling of xattr values that could cause rsync to
  343. not think that a file's extended attributes are up-to-date.
  344. - Fixed the working of --fake-super with --link-dest and --xattrs.
  345. - Fixed a hang when combining --dry-run with --remove-source-files.
  346. - Fixed a bug with --iconv's handling of files that cannot be converted:
  347. a failed name can no longer cause a transfer failure.
  348. - Fixed the building of the rounding.h file on systems that need custom
  349. CPPFLAGS to be used. Also improved the error reporting if the building
  350. of rounding.h fails.
  351. - Fixed the use of the --protect-args (-s) option when talking to a daemon.
  352. - Fixed the --ignore-existing option's protection of files on the receiver
  353. that are non-regular files on the sender (e.g. if a symlink or a dir on
  354. the sender is trying to replace a file on the receiver). The reverse
  355. protection (protecting a dir/symlink/device from being replaced by a
  356. file) was already working.
  357. - Fixed an assert failure if --hard-links is combined with an option that
  358. can skip a file in a set of hard-linked files (i.e. --ignore-existing,
  359. --append, etc.), without skipping all the files in the set.
  360. - Avoid setting the modify time on a directory that already has the right
  361. modify time set. This avoids tweaking the dir's ctime.
  362. - Improved the daemon-exclude handling to do a better job of applying the
  363. exclude rules to path entries. It also sends the user an error just as
  364. if the files were actually missing (instead of silently ignoring the
  365. user's args), and avoids sending the user the filter-action messages
  366. for these non-user-initiated rules.
  367. - Fixed some glitches with the dry-run code's missing-directory
  368. handling, including a problem when combined with --fuzzy.
  369. - Fixed some glitches with the skipped-directory handling.
  370. - Fixed the 'T'-flag itemizing of symlinks when --time isn't preserved.
  371. - Fixed a glitch in the itemizing of permissions with the -E option.
  372. - The --append option's restricting of transfers to those that add data no
  373. longer prevents the updating of non-content changes to otherwise up-to-
  374. date files (i.e. those with the same content but differing permissions,
  375. ownership, xattrs, etc.).
  376. - Don't allow --fake-super to be specified with -XX (double --xattrs)
  377. because the options conflict. If a daemon has "fake super" enabled,
  378. it automatically downgrades a -XX request to -X.
  379. - Fixed a couple bugs in the parsing of daemon-config excludes that could
  380. make a floating exclude rule get treated as matching an absolute path.
  381. - A daemon doesn't try to auto-refuse the "iconv" option if iconv-support
  382. wasn't compiled in to the daemon (avoiding a warning in the logs).
  383. - Fixed the inclusion of per-dir merge files from implied dirs.
  384. - Fixed the support/rrsync script to work with the latest options that
  385. rsync sends (including its flag-specifying use of -e to the server).
  386. ENHANCEMENTS:
  387. - Added the --old-dirs (--old-d) option to make it easier for a user to
  388. ask for file-listings with older rsync versions (this is easier than
  389. having to type "-r --exclude='/*/*'" manually).
  390. - When getting an error while asking an older rsync daemon for a file
  391. listing, rsync will try to notice if the error is a rejection of the
  392. --dirs (-d) option and let the user know how to work around the issue.
  393. - Added a few more --no-OPTION overrides.
  394. - Improved the documentation of the --append option.
  395. - Improved the documentation of the filter/exclude/include daemon
  396. parameters.
  397. INTERNAL:
  398. - Fixed a couple minor bugs in the included popt library (ones which I
  399. sent to the official popt project for inclusion in the 1.14 release).
  400. - Fixed a stat() call that should have been do_stat() so that the proper
  401. normal/64-bit stat() function gets called. (Was in an area that should
  402. not have caused problems, though.)
  403. - Changed the file-glob code to do a directory scan without using the
  404. "glob" and "glob.h". This lets us do the globbing with less memory
  405. churn, and also avoid adding daemon-excluded items to the returned
  406. args.
  407. DEVELOPER RELATED:
  408. - The configure script tries to get the user's compiler to not warn about
  409. unused function parameters if the build is not including one or more of
  410. the ACL/xattrs/iconv features.
  411. - The configure script now has better checks for figuring out if the
  412. included popt code should be used or not.
  413. - Fixed two testsuite glitches: avoid a failure if someone's "cd" command
  414. outputs the current directory when cd-ing to a relative path, and made
  415. the itemized test query how rsync was built to determine if it should
  416. expect hard-linked symlinks or not.
  417. - Updated the testsuite to verify that various bug fixes remain fixed.
  418. - The RPM spec file was updated to have: (1) comments for how to use the
  419. rsync-patch tar file, and (2) an /etc/xinetd.d/rsync file.
  420. - Updated the build scripts to work with a revised FTP directory
  421. structure.
  422. NEWS for rsync 3.0.0 (1 Mar 2008)
  423. Protocol: 30 (changed)
  424. Changes since 2.6.9:
  425. NOTABLE CHANGES IN BEHAVIOR:
  426. - The handling of implied directories when using --relative has changed to
  427. send them as directories (e.g. no implied dir is ever sent as a symlink).
  428. This avoids unexpected behavior and should not adversely affect most
  429. people. If you're one of those rare individuals who relied upon having
  430. an implied dir be duplicated as a symlink, you should specify the
  431. transfer of the symlink and the transfer of the referent directory as
  432. separate args. (See also --keep-dirlinks and --no-implied-dirs.)
  433. Also, exclude rules no longer have a partial effect on implied dirs.
  434. - Requesting a remote file-listing without specifying -r (--recursive) now
  435. sends the -d (--dirs) option to the remote rsync rather than sending -r
  436. along with an extra exclude of /*/*. If the remote rsync does not
  437. understand the -d option (i.e. it is 2.6.3 or older), you will need to
  438. either turn off -d (--no-d), or specify -r --exclude='/*/*' manually.
  439. - In --dry-run mode, the last line of the verbose summary text is output
  440. with a "(DRY RUN)" suffix to help remind you that no updates were made.
  441. Similarly, --only-write-batch outputs "(BATCH ONLY)".
  442. - A writable rsync daemon with "use chroot" disabled now defaults to a
  443. symlink-munging behavior designed to make symlinks safer while also
  444. allowing absolute symlinks to be stored and retrieved. This also has
  445. the effect of making symlinks unusable while they're in the daemon's
  446. hierarchy. See the daemon's "munge symlinks" parameter for details.
  447. - Starting up an extra copy of an rsync daemon will not clobber the pidfile
  448. for the running daemon -- if the pidfile exists, the new daemon will exit
  449. with an error. This means that your wrapper script that starts the rsync
  450. daemon should be made to handle lock-breaking (if you want any automatic
  451. breaking of locks to be done).
  452. BUG FIXES:
  453. - A daemon with "use chroot = no" and excluded items listed in the daemon
  454. config file now properly checks an absolute-path arg specified for these
  455. options: --compare-dest, --link-dest, --copy-dest, --partial-dir,
  456. --backup-dir, --temp-dir, and --files-from.
  457. - A daemon can now be told to disable all user- and group-name translation
  458. on a per-module basis. This avoids a potential problem with a writable
  459. daemon module that has "use chroot" enabled -- if precautions weren't
  460. taken, a user could try to add a missing library and get rsync to use
  461. it. This makes rsync safer by default, and more configurable when id-
  462. translation is not desired. See the daemon's "numeric ids" parameter
  463. for full details.
  464. - A chroot daemon can now indicate which part of its path should affect the
  465. chroot call, and which part should become an inside-chroot path for the
  466. module. This allows you to have outside-the-transfer paths (such as for
  467. libraries) even when you enable chroot protection. The idiom used in the
  468. rsyncd.conf file is: path = /chroot/dirs/./dirs/inside
  469. - If a file's data arrived successfully on the receiving side but the
  470. rename of the temporary file to the destination file failed AND the
  471. --remove-source-files (or the deprecated --remove-sent-files) option
  472. was specified, rsync no longer erroneously removes the associated
  473. source file.
  474. - Fixed the output of -ii when combined with one of the --*-dest options:
  475. it now itemizes all the items, not just the changed ones.
  476. - Made the output of all file types consistent when using a --*-dest
  477. option. Prior versions would output too many creation events for
  478. matching items.
  479. - The code that waits for a child pid now handles being interrupted by a
  480. signal. This fixes a problem with the pre-xfer exec function not being
  481. able to get the exit status from the script.
  482. - A negated filter rule (i.e. with a '!' modifier) no longer loses the
  483. negation when sending the filter rules to the remote rsync.
  484. - Fixed a problem with the --out-format (aka --log-format) option %f: it
  485. no longer outputs superfluous directory info for a non-daemon rsync.
  486. - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
  487. files (which includes local copies). Version 2.6.9 would complete the
  488. copy, but exit with an error when the receiver output its memory stats.
  489. - If --password-file is used on a non-daemon transfer, rsync now complains
  490. and exits. This should help users figure out that they can't use this
  491. option to control a remote shell's password prompt.
  492. - Make sure that directory permissions of a newly-created destination
  493. directory are handled right when --perms is left off.
  494. - The itemized output of a newly-created destination directory is now
  495. output as a creation event, not a change event.
  496. - Improved --hard-link so that more corner cases are handled correctly
  497. when combined with options such as --link-dest and/or --ignore-existing.
  498. - The --append option no longer updates a file that has the same size.
  499. - Fixed a bug when combining --backup and --backup-dir with --inplace:
  500. any missing backup directories are now created.
  501. - Fixed a bug when using --backup and --inplace with --whole-file or
  502. --read-batch: backup files are actually created now.
  503. - The daemon pidfile is checked and created sooner in the startup sequence.
  504. - If a daemon module's "path" value is not an absolute pathname, the code
  505. now makes it absolute internally (making it work properly).
  506. - Ensure that a temporary file always has owner-write permission while we
  507. are writing to it. This avoids problems with some network filesystems
  508. when transfering read-only files.
  509. - Any errors output about password-file reading no longer cause an error at
  510. the end of the run about a partial transfer.
  511. - The --read-batch option for protocol 30 now ensures that several more
  512. options are set correctly for the current batch file: --iconv, --acls,
  513. --xattrs, --inplace, --append, and --append-verify.
  514. - Using --only-write-batch to a daemon receiver now works properly (older
  515. versions would update some files while writing the batch).
  516. - Avoid outputting a "file has vanished" message when the file is a broken
  517. symlink and --copy-unsafe-links or --copy-dirlinks is used (the code
  518. already handled this for --copy-links).
  519. - Fixed the combination of --only-write-batch and --dry-run.
  520. - Fixed rsync's ability to remove files that are not writable by the file's
  521. owner when rsync is running as the same user.
  522. - When transferring large files, the sender's hashtable of checksums is
  523. kept at a more reasonable state of fullness (no more than 80% full) so
  524. that the scanning of the hashtable will not bog down as the number of
  525. blocks increases.
  526. ENHANCEMENTS:
  527. - A new incremental-recursion algorithm is now used when rsync is talking
  528. to another 3.x version. This starts the transfer going more quickly
  529. (before all the files have been found), and requires much less memory.
  530. See the --recursive option in the manpage for some restrictions.
  531. - Lowered memory use in the non-incremental-recursion algorithm for typical
  532. option values (usually saving from 21-29 bytes per file).
  533. - The default --delete algorithm is now --delete-during when talking to a
  534. 3.x rsync. This is a faster scan than using --delete-before (which is
  535. the default when talking to older rsync versions), and is compatible with
  536. the new incremental recursion mode.
  537. - Rsync now allows multiple remote-source args to be specified rather than
  538. having to rely on a special space-splitting side-effect of the remote-
  539. shell. Additional remote args must specify the same host or an empty one
  540. (e.g. empty: :file1 or ::module/file2). For example, this means that
  541. local use of brace expansion now works: rsync -av host:dir/{f1,f2} .
  542. - Added the --protect-args (-s) option, that tells rsync to send most of
  543. the command-line args at the start of the transfer rather than as args
  544. to the remote-shell command. This protects them from space-splitting,
  545. and only interprets basic wildcard special shell characters (*?[).
  546. - Added the --delete-delay option, which is a more efficient way to delete
  547. files at the end of the transfer without needing a separate delete pass.
  548. - Added the --acls (-A) option to preserve Access Control Lists. This is
  549. an improved version of the prior patch that was available, and it even
  550. supports OS X ACLs. If you need to have backward compatibility with old,
  551. ACL-patched versions of rsync, apply the acls.diff file from the patches
  552. dir.
  553. - Added the --xattrs (-X) option to preserve extended attributes. This is
  554. an improved version of the prior patch that was available, and it even
  555. supports OS X xattrs (which includes their resource fork data). If you
  556. need to have backward compatibility with old, xattr-patched versions of
  557. rsync, apply the xattrs.diff file from the patches dir.
  558. - Added the --fake-super option that allows a non-super user to preserve
  559. all attributes of a file by using a special extended-attribute idiom.
  560. It even supports the storing of foreign ACL data on your backup server.
  561. There is also an analogous "fake super" parameter for an rsync daemon.
  562. - Added the --iconv option, which allows rsync to convert filenames from
  563. one character-set to another during the transfer. The default is to
  564. make this feature available as long as your system has iconv_open().
  565. If compilation fails, specify --disable-iconv to configure, and then
  566. rebuild. If you want rsync to perform character-set conversions by
  567. default, you can specify --enable-iconv=CONVERT_STRING with the default
  568. value for the --iconv option that you wish to use. For example,
  569. "--enable-iconv=." is a good choice. See the rsync manpage for an
  570. explanation of the --iconv option's settings.
  571. - A new daemon config parameter, "charset", lets you control the character-
  572. set that is used during an --iconv transfer to/from a daemon module. You
  573. can also set your daemon to refuse "no-iconv" if you want to force the
  574. client to use an --iconv transfer (requiring an rsync 3.x client).
  575. - Added the --skip-compress=LIST option to override the default list of
  576. file suffixes that will not be compressed when using --compress (-z).
  577. - The daemon's default for "dont compress" was extended to include:
  578. *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg
  579. The name-matching routine was also optimized to run more quickly.
  580. - The --max-delete option now outputs a warning if it skipped any file
  581. deletions, including a count of how many deletions were skipped. (Older
  582. versions just silently stopped deleting things.)
  583. - You may specify --max-delete=0 to a 3.0.0 client to request that it warn
  584. about extraneous files without deleting anything. If you're not sure
  585. what version the client is, you can use the less-obvious --max-delete=-1,
  586. as both old and new versions will treat that as the same request (though
  587. older versions don't warn).
  588. - The --hard-link option now uses less memory on both the sending and
  589. receiving side for all protocol versions. For protocol 30, the use of a
  590. hashtable on the sending side allows us to more efficiently convey to the
  591. receiver what files are linked together. This reduces the amount of data
  592. sent over the socket by a considerable margin (rather than adding more
  593. data), and limits the in-memory storage of the device+inode information
  594. to just the sending side for the new protocol 30, or to the receiving
  595. side when speaking an older protocol (note that older rsync versions kept
  596. the device+inode information on both sides).
  597. - The filter rules now support a perishable ("p") modifier that marks rules
  598. that should not have an effect in a directory that is being deleted. e.g.
  599. -f '-p .svn/' would only affect "live" .svn directories.
  600. - Rsync checks all the alternate-destination args for validity (e.g.
  601. --link-dest). This lets the user know when they specified a directory
  602. that does not exist.
  603. - If we get an ENOSYS error setting the time on a symlink, we don't
  604. complain about it anymore (for those systems that even support the
  605. setting of the modify-time on a symlink).
  606. - Protocol 30 now uses MD5 checksums instead of MD4.
  607. - Changed the --append option to not checksum the existing data in the
  608. destination file, which speeds up file appending.
  609. - Added the --append-verify option, which works like the older --append
  610. option (verifying the existing data in the destination file). For
  611. compatibility with older rsync versions, any use of --append that is
  612. talking protocol 29 or older will revert to the --append-verify method.
  613. - Added the --contimeout=SECONDS option that lets the user specify a
  614. connection timeout for rsync daemon access.
  615. - Documented and extended the support for the RSYNC_CONNECT_PROG variable
  616. that can be used to enhance the client side of a daemon connection.
  617. - Improved the dashes and double-quotes in the nroff manpage output.
  618. - Rsync now supports a lot more --no-OPTION override options.
  619. INTERNAL:
  620. - The file-list sorting algorithm now uses a sort that keeps any same-
  621. named items in the same order as they were specified. This allows
  622. rsync to always ensure that the first of the duplicates is the one
  623. that will be included in the copy. The new sort is also faster
  624. than the glibc version of qsort() and mergesort().
  625. - Rsync now supports the transfer of 64-bit timestamps (time_t values).
  626. - Made the file-deletion code use a little less stack when recursing
  627. through a directory hierarchy of extraneous files.
  628. - Fixed a build problem with older (2.x) versions of gcc.
  629. - Added some isType() functions that make dealing with signed characters
  630. easier without forcing variables via casts.
  631. - Changed strcat/strcpy/sprintf function calls to use safer versions.
  632. - Upgraded the included popt version to 1.10.2 and improved its use of
  633. string-handling functions.
  634. - Added missing prototypes for compatibility functions from the lib dir.
  635. - Configure determines if iconv() has a const arg, allowing us to avoid a
  636. compiler warning.
  637. - Made the sending of some numbers more efficient for protocol 30.
  638. - Make sure that a daemon process doesn't mind if the client was weird and
  639. omitted the --server option.
  640. - There are more internal logging categories available in protocol 30 than
  641. the age-old FINFO and FERROR, including FERROR_XFER and FWARN. These new
  642. categories allow some errors and warnings to go to stderr without causing
  643. an erroneous end-of-run warning about some files not being able to be
  644. transferred.
  645. - Improved the use of "const" on pointers.
  646. - Improved J.W.'s pool_alloc routines to add a way of incrementally freeing
  647. older sections of a pool's memory.
  648. - The getaddrinfo.c compatibility code in the "lib" dir was replaced with
  649. some new code (derived from samba, derived from PostgreSQL) that has a
  650. better license than the old code.
  651. DEVELOPER RELATED:
  652. - Rsync is now licensed under the GPLv3 or later.
  653. - Rsync is now being maintained in a "git" repository instead of CVS
  654. (though the old CVS repository still exists for historical access).
  655. Several maintenance scripts were updated to work with git.
  656. - Generated files are no longer committed into the source repository. The
  657. autoconf and autoheader commands are now automatically run during the
  658. normal use of "configure" and "make". The latest dev versions of all
  659. generated files can also be copied from the samba.org web site (see the
  660. prepare-source script's fetch option).
  661. - The "patches" directory of diff files is now built from branches in the
  662. rsync git repository (branch patch/FOO creates file patches/FOO.diff).
  663. This directory is now distributed in a separate separate tar file named
  664. rsync-patches-VERSION.tar.gz instead of the main rsync-VERSION.tar.gz.
  665. - The proto.h file is now built using a simple perl script rather than a
  666. complex awk script, which proved to be more widely compatible.
  667. - When running the tests, we now put our per-test temp dirs into a sub-
  668. directory named testtmp (which is created, if missing). This allows
  669. someone to symlink the testtmp directory to another filesystem (which is
  670. useful if the build dir's filesystem does not support ACLs and xattrs,
  671. but another filesystem does).
  672. - Rsync now has a way of handling protocol-version changes during the
  673. development of a new protocol version. This causes any out-of-sync
  674. versions to speak an older protocol rather than fail in a cryptic manner.
  675. This addition makes it safer to deploy a pre-release version that may
  676. interact with the public. This new exchange of sub-version info does not
  677. interfere with the {MIN,MAX}_PROTOCOL_VERSION checking algorithm (which
  678. does not have enough range to allow the main protocol number to be
  679. incremented for every minor tweak in that happens during development).
  680. - The csprotocol.txt file was updated to mention the daemon protocol change
  681. in the 3.0.0 release.
  682. NEWS for rsync 2.6.9 (6 Nov 2006)
  683. Protocol: 29 (unchanged)
  684. Changes since 2.6.8:
  685. BUG FIXES:
  686. - If rsync is interrupted via a handled signal (such as SIGINT), it will
  687. once again clean-up its temp file from the destination dir.
  688. - Fixed an overzealous sanitizing bug in the handling of the --link-dest,
  689. --copy-dest, and --compare-dest options to a daemon without chroot: if
  690. the copy's destination dir is deeper than the top of the module's path,
  691. these options now accept a safe number of parent-dir (../) references
  692. (since these options are relative to the destination dir). The old code
  693. incorrectly chopped off all "../" prefixes for these options, no matter
  694. how deep the destination directory was in the module's hierarchy.
  695. - Fixed a bug where a deferred info/error/log message could get sent
  696. directly to the sender instead of being handled by rwrite() in the
  697. generator. This fixes an "unexpected tag 3" fatal error, and should
  698. also fix a potential problem where a deferred info/error message from
  699. the receiver might bypass the log file and get sent only to the client
  700. process. (These problems could only affect an rsync daemon that was
  701. receiving files.)
  702. - Fixed a bug when --inplace was combined with a --*-dest option and we
  703. update a file's data using an alternate basis file. The code now
  704. notices that it needs to copy the matching data from the basis file
  705. instead of (wrongly) assuming that it was already present in the file.
  706. - Fixed a bug where using --dry-run with a --*-dest option with a path
  707. relative to a directory that does not yet exist: the affected option
  708. gets its proper path value so that the output of the dry-run is right.
  709. - Fixed a bug in the %f logfile escape when receiving files: the
  710. destination path is now included in the output (e.g. you can now tell
  711. when a user specifies a subdir inside a module).
  712. - If the receiving side fails to create a directory, it will now skip
  713. trying to update everything that is inside that directory.
  714. - If --link-dest is specified with --checksum but without --times, rsync
  715. will now allow a hard-link to be created to a matching link-dest file
  716. even when the file's modify-time doesn't match the server's file.
  717. - The daemon now calls more timezone-using functions prior to doing a
  718. chroot. This should help some C libraries to generate proper timestamps
  719. from inside a chrooted daemon (and to not try to access /etc/timezone
  720. over and over again).
  721. - Fixed a bug in the handling of an absolute --partial-dir=ABS_PATH option:
  722. it now deletes an alternate basis file from the partial-dir that was used
  723. to successfully update a destination file.
  724. - Fixed a bug in the handling of --delete-excluded when using a per-dir
  725. merge file: the merge file is now honored on the receiving side, and
  726. only its unqualified include/exclude commands are ignored (just as is
  727. done for global include/excludes).
  728. - Fixed a recent bug where --delete was not working when transferring from
  729. the root (/) of the filesystem with --relative enabled.
  730. - Fixed a recent bug where an --exclude='*' could affect the root (/) of
  731. the filesystem with --relative enabled.
  732. - When --inplace creates a file, it is now created with owner read/write
  733. permissions (0600) instead of no permissions at all. This avoids a
  734. problem continuing a transfer that was interrupted (since --inplace
  735. will not update a file that has no write permissions).
  736. - If either --remove-source-files or --remove-sent-files is enabled and we
  737. are unable to remove the source file, rsync now outputs an error.
  738. - Fixed a bug in the daemon's "incoming chmod" rule: newly-created
  739. directories no longer get the 'F' (file) rules applied to them.
  740. - Fixed an infinite loop bug when a filter rule was rejected due to being
  741. overly long.
  742. - When the server receives a --partial-dir option from the client, it no
  743. longer runs the client-side code that adds an assumed filter rule (since
  744. the client will be sending us the rules in the usual manner, and they
  745. may have chosen to override the auto-added rule).
  746. ENHANCEMENTS:
  747. - Added the --log-file=FILE and --log-file-format=FORMAT options. These
  748. can be used to tell any rsync to output what it is doing to a log file.
  749. They work with a client rsync, a non-daemon server rsync (see the man
  750. page for instructions), and also allows the overriding of rsyncd.conf
  751. settings when starting a daemon.
  752. - The --log-format option was renamed to be --out-format to avoid confusing
  753. it with affecting the log-file output. (The old option remains as an
  754. alias for the new to preserve backward compatibility.)
  755. - Made "log file" and "syslog facility" settable on a per-module basis in
  756. the daemon's config file.
  757. - Added the --remove-source-files option as a replacement for the (now
  758. deprecated) --remove-sent-files option. This new option removes all
  759. non-dirs from the source directories, even if the file was already
  760. up-to-date. This fixes a problem where interrupting an rsync that
  761. was using --remove-sent-files and restarting it could leave behind
  762. a file that the earlier rsync synchronized, but didn't get to remove.
  763. (The deprecated --remove-sent-files is still understood for now, and
  764. still behaves in the same way as before.)
  765. - Added the option --no-motd to suppress the message-of-the-day output
  766. from a daemon when doing a copy. (See the manpage for a caveat.)
  767. - Added a new environment variable to the pre-/post-xfer exec commands (in
  768. the daemon's config file): RSYNC_PID. This value will be the same in
  769. both the pre- and post-xfer commands, so it can be used as a unique ID
  770. if the pre-xfer command wants to cache some arg/request info for the
  771. post-xfer command.
  772. INTERNAL:
  773. - Did a code audit using IBM's code-checker program and made several
  774. changes, including: replacing most of the strcpy() and sprintf()
  775. calls with strlcpy(), snprintf(), and memcpy(), adding a 0-value to
  776. an enum that had been intermingling a literal 0 with the defined enum
  777. values, silencing some uninitialized memory checks, marking some
  778. functions with a "noreturn" attribute, and changing an "if" that
  779. could never succeed on some platforms into a pre-processor directive
  780. that conditionally compiles the code.
  781. - Fixed a potential bug in f_name_cmp() when both the args are a
  782. top-level "." dir (which doesn't happen in normal operations).
  783. - Changed exit_cleanup() so that it can never return instead of exit.
  784. The old code might return if it found the exit_cleanup() function
  785. was being called recursively. The new code is segmented so that
  786. any recursive calls move on to the next step of the exit-processing.
  787. - The macro WIFEXITED(stat) will now be defined if the OS didn't already
  788. define it.
  789. DEVELOPER RELATED:
  790. - The acls.diff and xattrs.diff patches have received a bunch of work to
  791. make them much closer to being acceptable in the main distribution.
  792. The xattrs patch also has some preliminary Mac OS X and FreeBSD
  793. compatibility code that various system types to exchange extended
  794. file-attributes.
  795. - A new diff in the patches dir, fake-root.diff, allows rsync to
  796. maintain a backup hierarchy with full owner, group, and device info
  797. without actually running as root. It does this using a special
  798. extended attribute, so it depends on xattrs.diff (which depends on
  799. acls.diff).
  800. - The rsync.yo and rsyncd.conf.yo files have been updated to work
  801. better with the latest yodl 2.x releases.
  802. - Updated config.guess and config.sub to their 2006-07-02 versions.
  803. - Updated various files to include the latest FSF address and to have
  804. consistent opening comments.
  805. NEWS for rsync 2.6.8 (22 Apr 2006)
  806. Protocol: 29 (unchanged)
  807. Changes since 2.6.7:
  808. BUG FIXES:
  809. - Fixed a bug in the exclude code where an anchored exclude without any
  810. wildcards fails to match an absolute source arg, but only when --relative
  811. is in effect.
  812. - Improved the I/O code for the generator to fix a potential hang when the
  813. receiver gets an EOF on the socket but the generator's select() call
  814. never indicates that the socket is writable for it to be notified about
  815. the EOF. (This can happen when using stunnel).
  816. - Fixed a problem with the file-reading code where a failed read (such as
  817. that caused by a bad sector) would not advance the file's read-position
  818. beyond the failed read's data.
  819. - Fixed a logging bug where the "log file" directive was not being honored
  820. in a single-use daemon (one spawned by a remote-shell connection or by
  821. init).
  822. - If rsync cannot honor the --delete option, we output an error and exit
  823. instead of silently ignoring the option.
  824. - Fixed a bug in the --link-dest code that prevented special files (such as
  825. fifos) from being linked.
  826. - The ability to hard-link symlinks and special files is now determined at
  827. configure time instead of at runtime. This fixes a bug with --link-dest
  828. creating a hard-link to a symlink's referent on a BSD system.
  829. ENHANCEMENTS:
  830. - In daemon mode, if rsync fails to bind to the requested port, the
  831. error(s) returned by socket() and/or bind() are now logged.
  832. - When we output a fatal error, we now output the version of rsync in the
  833. message.
  834. - Improved the documentation for the --owner and --group options.
  835. - The rsyncstats script in "support" has an improved line-parsing regex
  836. that is easier to read and also makes it to parse syslog-generated lines.
  837. - A new script in "support": file-attr-restore, can be used to restore the
  838. attributes of a file-set (the permissions, ownership, and group info)
  839. taken from the cached output of a "find ARG... -ls" command.
  840. DEVELOPER RELATED:
  841. - Removed the unused function write_int_named(), the unused variable
  842. io_read_phase, and the rarely used variable io_write_phase. This also
  843. elides the confusing 'phase "unknown"' part of one error message.
  844. - Removed two unused configure checks and two related (also unused)
  845. compatibility functions.
  846. - The xattrs.diff patch received a security fix that prevents a potential
  847. buffer overflow in the receive_xattr() code.
  848. - The acls.diff patch has been improved quite a bit, with more to come.
  849. - A new patch was added: log-file.diff. This contains an early version of
  850. a future option, --log-file=FILE, that will allow any rsync to log its
  851. actions to a file (something that only a daemon supports at present).
  852. NEWS for rsync 2.6.7 (11 Mar 2006)
  853. Protocol: 29 (unchanged)
  854. Changes since 2.6.6:
  855. OUTPUT CHANGES:
  856. - The letter 'D' in the itemized output was being used for both devices
  857. (character or block) as well as other special files (such as fifos and
  858. named sockets). This has changed to separate non-device special files
  859. under the 'S' designation (e.g. "cS+++++++ path/fifo"). See also the
  860. "--specials" option, below.
  861. - The way rsync escapes unreadable characters has changed. First, rsync
  862. now has support for recognizing valid multibyte character sequences in
  863. your current locale, allowing it to escape fewer characters than before
  864. for a locale such as UTF-8. Second, it now uses an escape idiom of
  865. "\#123", which is the literal string "\#" followed by exactly 3 octal
  866. digits. Rsync no longer doubles a backslash character in a filename
  867. (e.g. it used to output "foo\\bar" when copying "foo\bar") -- now it only
  868. escapes a backslash that is followed by a hash-sign and 3 digits (0-9)
  869. (e.g. it will output "foo\#134#789" when copying "foo\#789"). See also
  870. the --8-bit-output (-8) option, mentioned below.
  871. Script writers: the local rsync is the one that outputs escaped names,
  872. so if you need to support unescaping of filenames for older rsyncs, I'd
  873. suggest that you parse the output of "rsync --version" and only use the
  874. old unescaping rules for 2.6.5 and 2.6.6.
  875. BUG FIXES:
  876. - Fixed a really old bug that caused --checksum (-c) to checksum all the
  877. files encountered during the delete scan (ouch).
  878. - Fixed a potential hang in a remote generator: when the receiver gets a
  879. read-error on the socket, it now signals the generator about this so that
  880. the generator does not try to send any of the terminating error messages
  881. to the client (avoiding a potential hang in some setups).
  882. - Made hard-links work with symlinks and devices again.
  883. - If the sender gets an early EOF reading a source file, we propagate this
  884. error to the receiver so that it can discard the file and try requesting
  885. it again (which is the existing behavior for other kinds of read errors).
  886. - If a device-file/special-file changes permissions, rsync now updates the
  887. permissions without recreating the file.
  888. - If the user specifies a remote-host for both the source and destination,
  889. we now output a syntax error rather than trying to open the destination
  890. hostspec as a filename.
  891. - When --inplace creates a new destination file, rsync now creates it with
  892. permissions 0600 instead of 0000 -- this makes restarting possible when
  893. the transfer gets interrupted in the middle of sending a new file.
  894. - Reject the combination of --inplace and --sparse since the sparse-output
  895. algorithm doesn't work when overwriting existing data.
  896. - Fixed the directory name in the error that is output when pop_dir()
  897. fails.
  898. - Really fixed the parsing of a "!" entry in .cvsignore files this time.
  899. - If the generator gets a stat() error on a file, output it (this used to
  900. require at least -vv for the error to be seen).
  901. - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
  902. the exit status properly and generate a better error.
  903. - Fixed some glitches in the double-verbose output when using --copy-dest,
  904. --link-dest, or --compare-dest. Also improved how the verbose output
  905. handles hard-links (within the transfer) that had an up-to-date alternate
  906. "dest" file, and copied files (via --copy-dest).
  907. - Fixed the matching of the dont-compress items (e.g. *.gz) against files
  908. that have a path component containing a slash.
  909. - If the code reading a filter/exclude file gets an EINTR error, rsync now
  910. clears the error flag on the file handle so it can keep on reading.
  911. - If --relative is active, the sending side cleans up trailing "/" or "/."
  912. suffixes to avoid triggering a bug in older rsync versions. Also, we now
  913. reject a ".." dir if it would be sent as a relative dir.
  914. - If a non-directory is in the way of a directory and rsync is run with
  915. --dry-run and --delete, rsync no longer complains about not being able
  916. to opendir() the not-yet present directory.
  917. - When --list-only is used and a non-existent local destination dir was
  918. also specified as a destination, rsync no longer generates a warning
  919. about being unable to create the missing directory.
  920. - Fixed some problems with --relative --no-implied-dirs when the
  921. destination directory did not yet exist: we can now create a symlink or
  922. device when it is the first thing in the missing dir, and --fuzzy no
  923. longer complains about being unable to open the missing dir.
  924. - Fixed a bug where the --copy-links option would not affect implied
  925. directories without --copy-unsafe-links (see --relative).
  926. - Got rid of the need for --force to be used in some circumstances with
  927. --delete-after (making it consistent with --delete-before/-during).
  928. - Rsync now ignores the SIGXFSZ signal, just in case your OS sends this
  929. when a file is too large (rsync handles the write error).
  930. - Fixed a bug in the Proxy-Authorization header's base64-encoded value: it
  931. was not properly padded with trailing '=' chars. This only affects a
  932. user that need to use a password-authenticated proxy for an outgoing
  933. daemon-rsync connection.
  934. - If we're transferring an empty directory to a new name, rsync no longer
  935. forces S_IWUSR if it wasn't already set, nor does it accidentally leave
  936. it set.
  937. - Fixed a bug in the debug output (-vvvvv) that could mention the wrong
  938. checksum for the current file offset.
  939. - Rsync no longer allows a single directory to be copied over a non-
  940. directory destination arg.
  941. ENHANCEMENTS:
  942. - Added the --append option that makes rsync append data onto files that
  943. are longer on the source than the destination (this includes new files).
  944. - Added the --min-size=SIZE option to exclude small files from the
  945. transfer.
  946. - Added the --compress-level option to allow you to set how aggressive
  947. rsync's compression should be (this option implies --compress).
  948. - Enhanced the parsing of the SIZE value for --min-size and --max-size to
  949. allow easy entry of multiples of 1000 (instead of just multiples of 1024)
  950. and off-by-one values too (e.g. --max-size=8mb-1).
  951. - Added the --8-bit-output (-8) option, which tells rsync to avoid escaping
  952. high-bit characters that it thinks are unreadable in the current locale.
  953. - The new option --human-readable (-h) changes the output of --progress,
  954. --stats, and the end-of-run summary to be easier to read. If repeated,
  955. the units become powers of 1024 instead of powers of 1000. (The old
  956. meaning of -h, as a shorthand for --help, still works as long as you
  957. just use it on its own, as in "rsync -h".)
  958. - If lutimes() and/or lchmod() are around, use them to allow the
  959. preservation of attributes on symlinks.
  960. - The --link-dest option now affects symlinks and devices (when possible).
  961. - Added two config items to the rsyncd.conf parsing: "pre-xfer exec" and
  962. "post-xfer exec". These allow a command to be specified on a per-module
  963. basis that will be run before and/or after a daemon-mode transfer. (See
  964. the man page for a list of the environment variables that are set with
  965. information about the transfer.)
  966. - When using the --relative option, you can now insert a dot dir in
  967. the source path to indicate where the replication of the source dirs
  968. should start. For example, if you specify a source path of
  969. rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
  970. replicate the "baz/dir" part of the source path (note: a trailing
  971. dot dir is unaffected unless it also has a trailing slash).
  972. - Added some new --no-FOO options that make it easier to override unwanted
  973. implied or default options. For example, "-a --no-o" (aka "--archive
  974. --no-owner") can be used to turn off the preservation of file ownership
  975. that is implied by -a.
  976. - Added the --chmod=MODE option that allows the destination permissions to
  977. be changed from the source permissions. E.g. --chmod=g+w,o-rwx
  978. - Added the "incoming chmod" and "outgoing chmod" daemon options that allow
  979. a module to specify what permissions changes should be applied to all
  980. files copied to and from the daemon.
  981. - Allow the --temp-dir option to be specified when starting a daemon, which
  982. sets the default temporary directory for incoming files.
  983. - If --delete is combined with --dirs without --recursive, rsync will now
  984. delete in any directory whose content is being synchronized.
  985. - If --backup is combined with --delete without --backup-dir (and without
  986. --delete-excluded), we add a "protect" filter-rule to ensure that files
  987. with the backup suffix are not deleted.
  988. - The file-count stats that are output by --progress were improved to
  989. better indicate what the numbers mean. For instance, the output:
  990. "(xfer#5, to-check=8383/9999)" indicates that this was the fifth file
  991. to be transferred, and we still need to check 8383 more files out of
  992. a total of 9999.
  993. - The include/exclude code now allows a dir/*** directive (with 3 trailing
  994. stars) to match both the dir itself as well as all the content below the
  995. dir (dir/** would not match the dir).
  996. - Added the --prune-empty-dirs (-m) option that makes the receiving rsync
  997. discard empty chains of directories from the file-list. This makes it
  998. easier to selectively copy files from a source hierarchy and end up with
  999. just the directories needed to hold the resulting files.
  1000. - If the --itemize-changes (-i) option is repeated, rsync now includes
  1001. unchanged files in the itemized output (similar to -vv, but without all
  1002. the other verbose messages that can get in the way). Of course, the
  1003. client must be version 2.6.7 for this to work, but the remote rsync only
  1004. needs to be 2.6.7 if you're pushing files.
  1005. - Added the --specials option to tell rsync to copy non-device special
  1006. files (which rsync now attempts even as a normal user). The --devices
  1007. option now requests the copying of just devices (character and block).
  1008. The -D option still requests both (e.g. --devices and --specials), -a
  1009. still implies -D, and non-root users still get a silent downgrade that
  1010. omits device copying.
  1011. - Added the --super option to make the receiver always attempt super-user
  1012. activities. This is useful for systems that allow things such as devices
  1013. to be created or ownership to be set without being UID 0, and is also
  1014. useful for someone who wants to ensure that errors will be output if the
  1015. receiving rsync isn't being run as root.
  1016. - Added the --sockopts option for those few who want to customize the TCP
  1017. options used to contact a daemon rsync.
  1018. - Added a way for the --temp-dir option to be combined with a partial-dir
  1019. setting that lets rsync avoid non-atomic updates (for those times when
  1020. --temp-dir is not being used because space is tight).
  1021. - A new support script, files-to-excludes, will transform a list of files
  1022. into a set of include/exclude directives that will copy those files.
  1023. - A new option, --executability (-E) can be used to preserve just the
  1024. execute bit on files, for those times when using the --perms option is
  1025. not desired.
  1026. - The daemon now logs each connection and also each module-list request
  1027. that it receives.
  1028. - New log-format options: %M (modtime), %U (uid), %G (gid), and %B
  1029. (permission bits, e.g. "rwxr-xrwt").
  1030. - The --dry-run option no longer forces the enabling of --verbose.
  1031. - The --remove-sent-files option now does a better job of incrementally
  1032. removing the sent files on the sending side (older versions tended to
  1033. clump up all the removals at the end).
  1034. - A daemon now supersedes its minimal SIGCHLD handler with the standard
  1035. PID-remembering version after forking. This ensures that the generator
  1036. can get the child-exit status from the receiver.
  1037. - Use of the --bwlimit option no longer interferes with the remote rsync
  1038. sending error messages about invalid/refused options.
  1039. - Rsync no longer returns a usage error when used with one local source arg
  1040. and no destination: this now implies the --list-only option, just like
  1041. the comparable situation with a remote source arg.
  1042. - Added the --copy-dirlinks option, a more limited version of --copy-links.
  1043. - Various documentation improvements, including: a better synopsis, some
  1044. improved examples, a better discussion of the presence and absence of
  1045. --perms (including how it interacts with the new --executability and
  1046. --chmod options), an extended discussion of --temp-dir, an improved
  1047. discussion of --partial-dir, a better description of rsync's pattern
  1048. matching characters, an improved --no-implied-dirs section, and the
  1049. documenting of what the --stats option outputs.
  1050. - Various new and updated diffs in the patches dir, including: acls.diff,
  1051. xattrs.diff, atimes.diff, detect-renamed.diff, and slp.diff.
  1052. INTERNAL:
  1053. - We now use sigaction() and sigprocmask() if possible, and fall back on
  1054. signal() if not. Using sigprocmask() ensures that rsync enables all the
  1055. signals that it needs, just in case it was started in a masked state.
  1056. - Some buffer sizes were expanded a bit, particularly on systems where
  1057. MAXPATHLEN is overly small (e.g. cygwin).
  1058. - If io_printf() tries to format more data than fits in the buffer, exit
  1059. with an error instead of transmitting a truncated buffer.
  1060. - If a va_copy macro is defined, lib/snprintf.c will use it when defining
  1061. the VA_COPY macro.
  1062. - Reduced the amount of stack memory needed for each level of directory
  1063. recursion by nearly MAXPATHLEN bytes.
  1064. - The wildmatch function was extended to allow an array of strings to be
  1065. supplied as the string to match. This allows the exclude code to do less
  1066. string copying.
  1067. - Got rid of the safe_fname() function (and all the myriad calls) and
  1068. replaced it with a new function in the log.c code that filters all the
  1069. output going to the terminal.
  1070. - Unified the f_name() and the f_name_to() functions.
  1071. - Improved the hash-table code the sender uses to handle checksums to make
  1072. it use slightly less memory and run just a little faster.
  1073. DEVELOPER RELATED:
  1074. - The diffs in the patches dir now require "patch -p1 <DIFF" instead of
  1075. the previous -p0. Also, the version included in the release tar now
  1076. affect generated files (e.g. configure, rsync.1, proto.h, etc.), so
  1077. it is no longer necessary to run autoconf and/or yodl unless you're
  1078. applying a patch that was checked out from CVS.
  1079. - Several diffs in the patches dir now use the proper --enable-FOO
  1080. configure option instead of --with-FOO to turn on the inclusion of
  1081. the newly patched feature.
  1082. - There is a new script, "prepare-source" than can be used to update the
  1083. various generated files (proto.h, configure, etc.) even before configure
  1084. has created the Makefile (this is mainly useful when patching the source
  1085. with a patch that doesn't affect generated files).
  1086. - The testsuite now sets HOME so that it won't be affected by a file such
  1087. as ~/.popt.
  1088. NEWS for rsync 2.6.6 (28 Jul 2005)
  1089. Protocol: 29 (unchanged)
  1090. Changes since 2.6.5:
  1091. SECURITY FIXES:
  1092. - The zlib code was upgraded to version 1.2.3 in order to make it more
  1093. secure. While the widely-publicized security problem in zlib 1.2.2 did
  1094. not affect rsync, another security problem surfaced that affects rsync's
  1095. zlib 1.1.4.
  1096. BUG FIXES:
  1097. - The setting of flist->high in clean_flist() was wrong for an empty list.
  1098. This could cause flist_find() to crash in certain rare circumstances
  1099. (e.g. if just the right directory setup was around when --fuzzy was
  1100. combined with --link-dest).
  1101. - The outputting of hard-linked files when verbosity was > 1 was not right:
  1102. (1) Without -i it would output the name of each hard-linked file as
  1103. though it had been changed; it now outputs a "is hard linked" message for
  1104. the file. (2) With -i it would output all dots for the unchanged
  1105. attributes of a hard-link; it now changes those dots to spaces, as is
  1106. done for other totally unchanged items.
  1107. - When backing up a changed symlink or device, get rid of any old backup
  1108. item so that we don't get an "already exists" error.
  1109. - A couple places that were comparing a local and a remote modification-
  1110. time were not honoring the --modify-window option.
  1111. - Fixed a bug where the 'p' (permissions) itemized-changes flag might get
  1112. set too often (if some non-significant mode bits differed).
  1113. - Fixed a really old, minor bug that could cause rsync to warn about being
  1114. unable to mkdir() a path that ends in "/." because it just created the
  1115. directory (required --relative, --no-implied-dirs, a source path that
  1116. ended in either a trailing slash or a trailing "/.", and a non-existing
  1117. destination dir to tickle the bug in a recent version).
  1118. ENHANCEMENTS:
  1119. - Made the "max verbosity" setting in the rsyncd.conf file settable on a
  1120. per-module basis (which now matches the documentation).
  1121. - The support/rrsync script has been upgraded to verify the args of options
  1122. that take args (instead of rejecting any such options). The script was
  1123. also changed to try to be more secure and to fix a problem in the parsing
  1124. of a pull operation that has multiple sources.
  1125. - Improved the documentation that explains the difference between a
  1126. normal daemon transfer and a daemon-over remote-shell transfer.
  1127. - Some of the diffs supplied in the patches dir were fixed and/or
  1128. improved.
  1129. BUILD CHANGES:
  1130. - Made configure define NOBODY_USER (currently hard-wired to "nobody") and
  1131. NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we
  1132. find in the /etc/group file).
  1133. - Added a test to the test suite, itemized.test, that tests the output of
  1134. -i (log-format w/%i) and some double-verbose messages.
  1135. NEWS for rsync 2.6.5 (1 Jun 2005)
  1136. Protocol: 29 (unchanged)
  1137. Changes since 2.6.4:
  1138. OUTPUT CHANGES:
  1139. - Non-printable chars in filenames are now output using backslash-
  1140. escaped characters rather than '?'s. Any non-printable character is
  1141. output using 3 digits of octal (e.g. "\n" -> "\012"), and a backslash
  1142. is now output as "\\". Rsync also uses your locale setting, which
  1143. can make it treat fewer high-bit characters as non-printable.
  1144. - If rsync received an empty file-list when pulling files, it would
  1145. output a "nothing to do" message and exit with a 0 (success) exit
  1146. status, even if the remote rsync returned an error (it did not do
  1147. this under the same conditions when pushing files). This was changed
  1148. to make the pulling behavior the same as the pushing behavior: we
  1149. now do the normal end-of-run outputting (depending on options) and
  1150. exit with the appropriate exit status.
  1151. BUG FIXES:
  1152. - A crash bug was fixed when a daemon had its "path" set to "/", did
  1153. not have chroot enabled, and used some anchored excludes in the
  1154. rsyncd.conf file.
  1155. - Fixed a bug in the transfer of a single file when -H is specified
  1156. (rsync would either infinite loop or perhaps crash).
  1157. - Fixed a case where the generator might try (and fail) to tweak the
  1158. write-permissions of a read-only directory in list-only mode (this
  1159. only caused an annoying warning message).
  1160. - If --compare-dest or --link-dest uses a locally-copied file as the
  1161. basis for an updated version, log this better when --verbose or -i
  1162. is in effect.
  1163. - Fixed the accidental disabling of --backup during the --delete-after
  1164. processing.
  1165. - Restored the ability to use the --address option in client mode (in
  1166. addition to its use in daemon mode).
  1167. - Make sure that some temporary progress information from the delete
  1168. processing does not get left on the screen when it is followed by a
  1169. newline.
  1170. - When --existing skips a directory with extra verbosity, refer to it
  1171. as a "directory", not a "file".
  1172. - When transferring a single file to a different-named file, any
  1173. generator messages that are source-file related no longer refer to
  1174. the file by the destination filename.
  1175. - Fixed a bug where hard-linking a group of files might fail if the
  1176. generator hasn't created a needed destination directory yet.
  1177. - Fixed a bug where a hard-linked group of files that is newly-linked
  1178. to a file in a --link-dest dir doesn't link the files from the rest
  1179. of the cluster.
  1180. - When deleting files with the --one-file-system (-x) option set, rsync
  1181. no longer tries to remove files from inside a mount-point on the
  1182. receiving side. Also, we don't complain about being unable to remove
  1183. the mount-point dir.
  1184. - Fixed a compatibility problem when using --cvs-ignore (-C) and
  1185. sending files to an older rsync without using --delete.
  1186. - Make sure that a "- !" or "+ !" include/exclude pattern does not
  1187. trigger the list-clearing action that is reserved for "!".
  1188. - Avoid a timeout in the generator when the sender/receiver aren't
  1189. handling the generator's checksum output quickly enough.
  1190. - Fixed the omission of some directories in the delete processing when
  1191. --relative (-R) was combined with a source path that had a trailing
  1192. slash.
  1193. - Fixed a case where rsync would erroneously delete some files and then
  1194. re-transfer them when the options --relative (-R) and --recursive
  1195. (-r) were both enabled (along with --delete) and a source path had a
  1196. trailing slash.
  1197. - Make sure that --max-size doesn't affect a device or a symlink.
  1198. - Make sure that a system with a really small MAXPATHLEN does not cause
  1199. the buffers in readfd_unbuffered() to be too small to receive normal
  1200. messages. (This mainly affected Cygwin.)
  1201. - If a source pathname ends with a filename of "..", treat it as if
  1202. "../" had been specified (so that we don't copy files to the parent
  1203. dir of the destination).
  1204. - If --delete is combined with a file-listing rsync command (i.e. no
  1205. transfer is happening), avoid outputting a warning that we couldn't
  1206. delete anything.
  1207. - If --stats is specified with --delete-after, ensure that all the
  1208. "deleting" messages are output before the statistics.
  1209. - Improved one "if" in the deletion code that was only checking errno
  1210. for ENOTEMPTY when it should have also been checking for EEXIST (for
  1211. compatibility with OS variations).
  1212. ENHANCEMENTS:
  1213. - Added the --only-write-batch=FILE option that may be used (instead
  1214. of --write-batch=FILE) to create a batch file without doing any
  1215. actual updating of the destination. This allows you to divert all
  1216. the file-updating data away from a slow data link (as long as you
  1217. are pushing the data to the remote server when creating the batch).
  1218. - When the generator is taking a long time to fill up its output buffer
  1219. (e.g. if the transferred files are few, small, or missing), it now
  1220. periodically flushes the output buffer so that the sender/receiver
  1221. can get started on the files sooner rather than later.
  1222. - Improved the keep-alive code to handle a long silence between the
  1223. sender and the receiver that can occur when the sender is receiving
  1224. the checksum data for a large file.
  1225. - Improved the auth-errors that are logged by the daemon to include
  1226. some information on why the authorization failed: wrong user,
  1227. password mismatch, etc. (The client-visible message is unchanged!)
  1228. - Improved the client's handling of an "@ERROR" from a daemon so that
  1229. it does not complain about an unexpectedly closed socket (since we
  1230. really did expect the socket to close).
  1231. - If the daemon can't open the log-file specified in rsyncd.conf, fall
  1232. back to using syslog and log an appropriate warning. This is better
  1233. than what was typically a totally silent (and fatal) failure (since a
  1234. daemon is not usually run with the --no-detach option that was
  1235. necessary to see the error on stderr).
  1236. - The man pages now consistently refer to an rsync daemon as a "daemon"
  1237. instead of a "server" (to distinguish it from the server process in a
  1238. non-daemon transfer).
  1239. - Made a small change to the rrsync script (restricted rsync -- in the
  1240. support dir) to make a read-only server reject all --remove-* options
  1241. when sending files (to future-proof it against the possibility of
  1242. other similar options being added at some point).
  1243. INTERNAL:
  1244. - Rsync now calls setlocale(LC_CTYPE, ""). This enables isprint() to
  1245. better discern which filename characters need to be escaped in
  1246. messages (which should result in fewer escaped characters in some
  1247. locales).
  1248. - Improved the naming of the log-file open/reopen/close functions.
  1249. - Removed some protocol-compatibility code that was only needed to help
  1250. someone running a pre-release of 2.6.4.
  1251. BUILD CHANGES:
  1252. - Added configure option "--disable-locale" to disable any use of
  1253. setlocale() in the binary.
  1254. - Fixed a bug in the SUPPORT{,_HARD}_LINKS #defines which prevented
  1255. rsync from being built without symlink or hard-link support.
  1256. - Only #define HAVE_REMSH if it is going to be set to 1.
  1257. - Configure now disables the use of mkstemp() under HP-UX (since they
  1258. refuse to fix its broken handling of large files).
  1259. - Configure now explicitly checks for the lseek64() function so that
  1260. the code can use HAVE_LSEEK64 instead of inferring lseek64()'s
  1261. presence based on the presence of the off64_t type.
  1262. - Configure no longer mentions the change in the default remote-shell
  1263. (from rsh to ssh) that occurred for the 2.6.0 release.
  1264. - Some minor enhancements to the test scripts.
  1265. - Added a few new *.diff files to the patches dir, including a patch
  1266. that enables the optional copying of extended attributes.
  1267. NEWS for rsync 2.6.4 (30 March 2005)
  1268. Protocol: 29 (changed)
  1269. Changes since 2.6.3:
  1270. OUTPUT CHANGES:
  1271. - When rsync deletes a directory and outputs a verbose message about
  1272. it, it now appends a trailing slash to the name instead of (only
  1273. sometimes) outputting a preceding "directory " string.
  1274. - The --stats output will contain file-list time-statistics if both
  1275. sides are 2.6.4, or if the local side is 2.6.4 and the files are
  1276. being pushed (since the stats come from the sending side).
  1277. (Requires protocol 29 for a pull.)
  1278. - The "%o" (operation) log-format escape now has a third value (besides
  1279. "send" and "recv"): "del." (with trailing dot to make it 4 chars).
  1280. This changes the way deletions are logged in the daemon's log file.
  1281. - When the --log-format option is combined with --verbose, rsync now
  1282. avoids outputting the name of the file twice in most circumstances.
  1283. As long as the --log-format item does not refer to any post-transfer
  1284. items (such as %b or %c), the --log-format message is output prior to
  1285. the transfer, so --verbose is now the equivalent of a --log-format of
  1286. '%n%L' (which outputs the name and any link info). If the log output
  1287. must occur after the transfer to be complete, the only time the name
  1288. is also output prior to the transfer is when --progress was specified
  1289. (so that the name will precede the progress stats, and the full
  1290. --log-format output will come after).
  1291. - Non-printable characters in filenames are replaced with a '?' to
  1292. avoid corrupting the screen or generating empty lines in the output.
  1293. BUG FIXES:
  1294. - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
  1295. was only treating it as a special token in an rsync include/exclude
  1296. file).
  1297. - The combination of --verbose and --dry-run now mentions the full list
  1298. of changes that would be output without --dry-run.
  1299. - Avoid a mkdir warning when removing a directory in the destination
  1300. that already exists in the --backup-dir.
  1301. - An OS that has a binary mode for its files (such as cygwin) needed
  1302. setmode(fd, O_BINARY) called on the temp-file we opened with
  1303. mkstemp(). (Fix derived from cygwin's 2.6.3 rsync package.)
  1304. - Fixed a potential hang when verbosity is high, the client side is
  1305. the sender, and the file-list is large.
  1306. - Fixed a potential protocol-corrupting bug where the generator could
  1307. merge a message from the receiver into the middle of a multiplexed
  1308. packet of data if only part of that data had been written out to the
  1309. socket when the message from the generator arrived.
  1310. - We now check if the OS doesn't support using mknod() for creating
  1311. FIFOs and sockets, and compile-in some compatibility code using
  1312. mkfifo() and socket() when necessary.
  1313. - Fixed an off-by-one error in the handling of --max-delete=N. Also,
  1314. if the --max-delete limit is exceeded during a run, we now output a
  1315. warning about this at the end of the run and exit with a new error
  1316. code (25).
  1317. - One place in the code wasn't checking if fork() failed.
  1318. - The "ignore nonreadable" daemon parameter used to erroneously affect
  1319. readable symlinks that pointed to a non-existent file.
  1320. - If the OS does not have lchown() and a chown() of a symlink will
  1321. affect the referent of a symlink (as it should), we no longer try
  1322. to set the user and group of a symlink.
  1323. - The generator now properly runs the hard-link loop and the dir-time
  1324. rewriting loop after we're sure that the redo phase is complete.
  1325. - When --backup was specified with --partial-dir=DIR, where DIR is a
  1326. relative path, the backup code was erroneously trying to backup a
  1327. file that was put into the partial-dir.
  1328. - If a file gets resent in a single transfer and the --backup option is
  1329. enabled along with --inplace, rsync no longer performs a duplicate
  1330. backup (it used to overwrite the first backup with the failed file).
  1331. - One call to flush_write_file() was not being checked for an error.
  1332. - The --no-relative option was not being sent from the client to a
  1333. server sender.
  1334. - If an rsync daemon specified "dont compress = ..." for a file and the
  1335. client tried to specify --compress, the libz code was not handling a
  1336. compression level of 0 properly. This could cause a transfer failure
  1337. if the block-size for a file was large enough (e.g. rsync might have
  1338. exited with an error for large files).
  1339. - Fixed a bug that would sometimes surface when using --compress and
  1340. sending a file with a block-size larger than 64K (either manually
  1341. specified, or computed due to the file being really large). Prior
  1342. versions of rsync would sometimes fail to decompress the data
  1343. properly, and thus the transferred file would fail its verification.
  1344. - If a daemon can't open the specified log file (i.e. syslog is not
  1345. being used), die without crashing. We also output an error about
  1346. the failure on stderr (which will only be seen if --no-detach was
  1347. specified) and exit with a new error code (6).
  1348. - A local transfer no longer duplicates all its include/exclude options
  1349. (since the forked process already has a copy of the exclude list,
  1350. there's no need to send them a set of duplicates).
  1351. - The output of the items that are being updated by the generator (dirs,
  1352. symlinks, devices) is now intermingled in the proper order with the
  1353. output from the items that the receiver is updating (regular files)
  1354. when pulling. This misordering was particularly bad when --progress
  1355. was specified. (Requires protocol 29.)
  1356. - When --timeout is specified, lulls that occur in the transfer while
  1357. the generator is doing work that does not generate socket traffic
  1358. (looking for changed files, deleting files, doing directory-time
  1359. touch-ups, etc.) will cause a new keep-alive packet to be sent that
  1360. should keep the transfer going as long as the generator continues to
  1361. make progress. (Requires protocol 29.)
  1362. - The stat size of a device is not added to the total file size of the
  1363. items in the transfer (the size might be undefined on some OSes).
  1364. - Fixed a problem with refused-option messages sometimes not making it
  1365. back to the client side when a remote --files-from was in effect and
  1366. the daemon was the receiver.
  1367. - The --compare-dest option was not updating a file that differed in
  1368. (the preserved) attributes from the version in the compare-dest DIR.
  1369. - When rsync is copying files into a write-protected directory, fixed
  1370. the change-report output for the directory so that we don't report
  1371. an identical directory as changed.
  1372. ENHANCEMENTS:
  1373. - Rsync now supports popt's option aliases, which means that you can
  1374. use /etc/popt and/or ~/.popt to create your own option aliases.
  1375. - Added the --delete-during (--del) option which will delete files
  1376. from the receiving side incrementally as each directory in the
  1377. transfer is being processed. This makes it more efficient than the
  1378. default, before-the-transfer behavior, which is now also available as
  1379. --delete-before (and is still the default --delete-WHEN option that
  1380. will be chosen if --delete or --delete-excluded is specified without
  1381. a --delete-WHEN choice). All the --del* options infer --delete, so
  1382. an rsync daemon that refuses "delete" will still refuse to allow any
  1383. file-deleting options (including the new --remove-sent-files option).
  1384. - All the --delete-WHEN options are now more memory efficient:
  1385. Previously an duplicate set of file-list objects was created on the
  1386. receiving side for the entire destination hierarchy. The new
  1387. algorithm only creates one directory of objects at a time (for files
  1388. inside the transfer).
  1389. - Added the --copy-dest option, which works like --link-dest except
  1390. that it locally copies identical files instead of hard-linking them.
  1391. - Added support for specifying multiple --compare-dest, --copy-dest, or
  1392. --link-dest options, but only of a single type. (Promoted from the
  1393. patches dir and enhanced.) (Requires protocol 29.)
  1394. - Added the --max-size option. (Promoted from the patches dir.)
  1395. - The daemon-mode options are now separated from the normal rsync
  1396. options so that they can't be mixed together. This makes it
  1397. impossible to start a daemon that has improper default option values
  1398. (which could cause problems when a client connects, such as hanging
  1399. or crashing).
  1400. - The --bwlimit option may now be used in combination with --daemon
  1401. to specify both a default value for the daemon side and a value
  1402. that cannot be exceeded by a user-specified --bwlimit option.
  1403. - Added the "port" parameter to the rsyncd.conf file. (Promoted from
  1404. the patches dir.) Also added "address". The command-line options
  1405. take precedence over a config-file option, as expected.
  1406. - In _exit_cleanup(): when we are exiting with a partially-received
  1407. file, we now flush any data in the write-cache before closing the
  1408. partial file.
  1409. - The --inplace support was enhanced to work with --compare-dest,
  1410. --link-dest, and (the new) --copy-dest options. (Requires protocol
  1411. 29.)
  1412. - Added the --dirs (-d) option for an easier way to copy directories
  1413. without recursion. Any directories that are encountered are created
  1414. on the destination. Specifying a directory with a trailing slash
  1415. copies its immediate contents to the destination.
  1416. - The --files-from option now implies --dirs (-d).
  1417. - Added the --list-only option, which is mainly a way for the client to
  1418. put the server into listing mode without needing to resort to any
  1419. internal option kluges (e.g. the age-old use of "-r --exclude="/*/*"
  1420. for a non-recursive listing). This option is used automatically
  1421. (behind the scenes) when a modern rsync speaks to a modern daemon,
  1422. but may also be specified manually if you want to force the use of
  1423. the --list-only option over a remote-shell connection.
  1424. - Added the --omit-dir-times (-O) option, which will avoid updating
  1425. the modified time for directories when --times was specified. This
  1426. option will avoid an extra pass through the file-list at the end of
  1427. the transfer (to tweak all the directory times), which may provide
  1428. an appreciable speedup for a really large transfer. (Promoted from
  1429. the patches dir.)
  1430. - Added the --filter (-f) option and its helper option, -F. Filter
  1431. rules are an extension to the existing include/exclude handling
  1432. that also supports nested filter files as well as per-directory
  1433. filter files (like .cvsignore, but with full filter-rule parsing).
  1434. This new option was chosen in order to ensure that all existing
  1435. include/exclude processing remained 100% compatible with older
  1436. versions. Protocol 29 is needed for full filter-rule support, but
  1437. backward-compatible rules work with earlier protocol versions.
  1438. (Promoted from the patches dir and enhanced.)
  1439. - Added the --delay-updates option that puts all updated files into
  1440. a temporary directory (by default ".~tmp~", but settable via the
  1441. --partial-dir=DIR option) until the end of the transfer. This
  1442. makes the updates a little more atomic for a large transfer.
  1443. - If rsync is put into the background, any output from --progress is
  1444. reduced.
  1445. - Documented the "max verbosity" setting for rsyncd.conf. (This
  1446. setting was added a couple releases ago, but left undocumented.)
  1447. - The sender and the generator now double-check the file-list index
  1448. they are given, and refuse to try to do a file transfer on a
  1449. non-file index (since that would indicate that something had gone
  1450. very wrong).
  1451. - Added the --itemize-changes (-i) option, which is a way to output a
  1452. more detailed list of what files changed and in what way. The effect
  1453. is the same as specifying a --log-format of "%i %n%L" (see both the
  1454. rsync and rsyncd.conf manpages). Works with --dry-run too.
  1455. - Added the --fuzzy (-y) option, which attempts to find a basis file
  1456. for a file that is being created from scratch. The current algorithm
  1457. only looks in the destination directory for the created file, but it
  1458. does attempt to find a match based on size/mod-time (in case the file
  1459. was renamed with no other changes) as well as based on a fuzzy
  1460. name-matching algorithm. This option requires protocol 29 because it
  1461. needs the new file-sorting order. (Promoted from patches dir and
  1462. enhanced.) (Requires protocol 29.)
  1463. - Added the --remove-sent-files option, which lets you move files
  1464. between systems.
  1465. - The hostname in HOST:PATH or HOST::PATH may now be an IPv6 literal
  1466. enclosed in '[' and ']' (e.g. "[::1]"). (We already allowed IPv6
  1467. literals in the rsync://HOST:PORT/PATH format.)
  1468. - When rsync recurses to build the file list, it no longer keeps open
  1469. one or more directory handles from the dir's parent dirs.
  1470. - When building under windows, the default for --daemon is now to
  1471. avoid detaching, requiring the new --detach option to force rsync
  1472. to detach.
  1473. - The --dry-run option can now be combined with either --write-batch or
  1474. --read-batch, allowing you to run a do-nothing test command to see
  1475. what would happen without --dry-run.
  1476. - The daemon's "read only" config item now sets an internal read_only
  1477. variable that makes extra sure that no write/delete calls on the
  1478. read-only side can succeed.
  1479. - The log-format % escapes can now have a numeric field width in
  1480. between the % and the escape letter (e.g. "%-40n %08p").
  1481. - Improved the option descriptions in the --help text.
  1482. SUPPORT FILES:
  1483. - Added atomic-rsync to the support dir: a perl script that will
  1484. transfer some files using rsync, and then move the updated files into
  1485. place all at once at the end of the transfer. Only works when
  1486. pulling, and uses --link-dest and a parallel hierarchy of files to
  1487. effect its update.
  1488. - Added mnt-excl to the support dir: a perl script that takes the
  1489. /proc/mounts file and translates it into a set of excludes that will
  1490. exclude all mount points (even mapped mounts to the same disk). The
  1491. excludes are made relative to the specified source dir and properly
  1492. anchored.
  1493. - Added savetransfer.c to the support dir: a C program that can make
  1494. a copy of all the data that flows over the wire. This lets you test
  1495. for data corruption (by saving the data on both the sending side and
  1496. the receiving side) and provides one way to debug a protocol error.
  1497. - Added rrsync to the support dir: this is an updated version of Joe
  1498. Smith's restricted rsync perl script. This helps to ensure that only
  1499. certain rsync commands can be run by an ssh invocation.
  1500. INTERNAL:
  1501. - Added better checking of the checksum-header values that come over
  1502. the socket.
  1503. - Merged a variety of file-deleting functions into a single function so
  1504. that it is easier to maintain.
  1505. - Improved the type of some variables (particularly blocksize vars) for
  1506. consistency and proper size.
  1507. - Got rid of the uint64 type (which we didn't need).
  1508. - Use a slightly more compatible set of core #include directives.
  1509. - Defined int32 in a way that ensures that the build dies if we can't
  1510. find a variable with at least 32 bits.
  1511. PROTOCOL DIFFERENCES FOR VERSION 29:
  1512. - A 16-bit flag-word is transmitted after every file-list index. This
  1513. indicates what is changing between the sender and the receiver. The
  1514. generator now transmits an index and a flag-word to indicate when
  1515. dirs and symlinks have changed (instead of producing a message),
  1516. which makes the outputting of the information more consistent and
  1517. less prone to screen corruption (because the local receiver/sender is
  1518. now outputting all the file-change info messages).
  1519. - If a file is being hard-linked, the ITEM_XNAME_FOLLOWS bit is enabled
  1520. in the flag-word and the name of the file that was linked immediately
  1521. follows in vstring format (see below).
  1522. - If a file is being transferred with an alternate-basis file, the
  1523. ITEM_BASIS_TYPE_FOLLOWS bit is enabled in the flag-word and a single
  1524. byte follows, indicating what type of basis file was chosen. If that
  1525. indicates that a fuzzy-match was selected, the ITEM_XNAME_FOLLOWS bit
  1526. is set in the flag-word and the name of the match in vstring format
  1527. follows the basis byte. A vstring is a variable length string that
  1528. has its size written prior to the string, and no terminating null.
  1529. If the string is from 1-127 bytes, the length is a single byte. If
  1530. it is from 128-32767 bytes, the length is written as ((len >> 8) |
  1531. 0x80) followed by (len % 0x100).
  1532. - The sending of exclude names is done using filter-rule syntax. This
  1533. means that all names have a prefixed rule indicator, even excludes
  1534. (which used to be sent as a bare pattern, when possible). The -C
  1535. option will include the per-dir .cvsignore merge file in the list of
  1536. filter rules so it is positioned correctly (unlike in some older
  1537. transfer scenarios).
  1538. - Rsync sorts the filename list in a different way: it sorts the subdir
  1539. names after the non-subdir names for each dir's contents, and it
  1540. always puts a dir's contents immediately after the dir's name in the
  1541. list. (Previously an item named "foo.txt" would sort in between
  1542. directory "foo/" and "foo/bar".)
  1543. - When talking to a protocol 29 rsync daemon, a list-only request
  1544. is able to note this before the options are sent over the wire and
  1545. the new --list-only option is included in the options.
  1546. - When the --stats bytes are sent over the wire (or stored in a batch),
  1547. they now include two elapsed-time values: one for how long it took to
  1548. build the file-list, and one for how long it took to send it over the
  1549. wire (each expressed in thousandths of a second).
  1550. - When --delete-excluded is specified with some filter rules (AKA
  1551. excludes), a client sender will now initiate a send of the rules to
  1552. the receiver (older protocols used to omit the sending of excludes in
  1553. this situation since there were no receiver-specific rules that
  1554. survived --delete-excluded back then). Note that, as with all the
  1555. filter-list sending, only items that are significant to the other
  1556. side will actually be sent over the wire, so the filter-rule list
  1557. that is sent in this scenario is often empty.
  1558. - An index equal to the file-list count is sent as a keep-alive packet
  1559. from the generator to the sender, which then forwards it on to the
  1560. receiver. This normally invalid index is only a valid keep-alive
  1561. packet if the 16-bit flag-word that follows it contains a single bit
  1562. (ITEM_IS_NEW, which is normally an illegal flag to appear alone).
  1563. - A protocol-29 batch file includes a bit for the setting of the --dirs
  1564. option and for the setting of the --compress option. Also, the shell
  1565. script created by --write-batch will use the --filter option instead
  1566. of --exclude-from to capture any filter rules.
  1567. BUILD CHANGES:
  1568. - Handle an operating system that use mkdev() in place of makedev().
  1569. - Improved configure to better handle cross-compiling.
  1570. NEWS for rsync 2.6.3 (30 Sep 2004)
  1571. Protocol: 28 (unchanged)
  1572. Changes since 2.6.2:
  1573. SECURITY FIXES:
  1574. - A bug in the sanitize_path routine (which affects a non-chrooted
  1575. rsync daemon) could allow a user to craft a pathname that would get
  1576. transformed into an absolute path for certain options (but not for
  1577. file-transfer names). If you're running an rsync daemon with chroot
  1578. disabled, *please upgrade*, ESPECIALLY if the user privs you run
  1579. rsync under is anything above "nobody".
  1580. OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
  1581. - Please note that the 2-line footer (output when verbose) now uses the
  1582. term "sent" instead of "wrote" and "received" instead of "read". If
  1583. you are not parsing the numeric values out of this footer, a script
  1584. would be better off using the empty line prior to the footer as the
  1585. indicator that the verbose output is over.
  1586. - The output from the --stats option was similarly affected to change
  1587. "written" to "sent" and "read" to "received".
  1588. - Rsync ensures that a filename that contains a newline gets mentioned
  1589. with each newline transformed into a question mark (which prevents a
  1590. filename from causing an empty line to be output).
  1591. - The "backed up ..." message that is output when at least 2 --verbose
  1592. options are specified is now the same both with and without the
  1593. --backup-dir option.
  1594. BUG FIXES:
  1595. - Fixed a crash bug that might appear when --delete was used and
  1596. multiple source directories were specified.
  1597. - Fixed a 32-bit truncation of the file length when generating the
  1598. checksums.
  1599. - The --backup code no longer attempts to create some directories
  1600. over and over again (generating warnings along the way).
  1601. - Fixed a bug in the reading of the secrets file (by the daemon) and
  1602. the password file (by the client): the files no longer need to be
  1603. terminated by a newline for their content to be read in.
  1604. - If a file has a read error on the sending side or the reconstructed
  1605. data doesn't match the expected checksum (perhaps due to the basis
  1606. file changing during the transfer), the receiver will no longer
  1607. retain the resulting file unless the --partial option was specified.
  1608. (Note: for the read-error detection to work, neither side can be
  1609. older than 2.6.3 -- older receivers will always retain the file, and
  1610. older senders don't tell the receiver that the file had a read
  1611. error.)
  1612. - If a file gets resent in a single transfer and the --backup option
  1613. is enabled, rsync no longer performs a duplicate backup (it used to
  1614. overwrite the original file in the backup area).
  1615. - Files specified in the daemon's "exclude" or "exclude from" config
  1616. items are now excluded from being uploaded (assuming that the module
  1617. allows uploading at all) in addition to the old download exclusion.
  1618. - Got rid of a potential hang in the receiver when near the end of a
  1619. phase.
  1620. - When using --backup without a --backup-dir, rsync no longer preserves
  1621. the modify time on directories. This avoids confusing NFS.
  1622. - When --copy-links (-L) is specified, we now output a separate error
  1623. for a symlink that has no referent instead of claiming that a file
  1624. "vanished".
  1625. - The --copy-links (-L) option no longer has the side-effect of telling
  1626. the receiving side to follow symlinks. See the --keep-dirlinks
  1627. option (mentioned below) for a way to specify that behavior.
  1628. - Error messages from the daemon server's option-parsing (such as
  1629. refused options) are now successfully transferred back to the client
  1630. (the server used to fail to send the message because the socket
  1631. wasn't in the right state for the message to get through).
  1632. - Most transfer errors that occur during a daemon transfer are now
  1633. returned to the user in addition to being logged (some messages are
  1634. intended to be daemon-only and are not affected by this).
  1635. - Fixed a bug in the daemon authentication code when using one of the
  1636. batch-processing options.
  1637. - We try to work around some buggy IPv6 implementations that fail to
  1638. implement IPV6_V6ONLY. This should fix the "address in use" error
  1639. that some daemons get when running on an OS with a buggy IPv6
  1640. implementation. Also, if the new code gets this error, we might
  1641. suggest that the user specify --ipv4 or --ipv6 (if we think it will
  1642. help).
  1643. - When the remote rsync dies, make a better effort to recover any error
  1644. messages it may have sent before dying (the local rsync used to just
  1645. die with a socket-write error).
  1646. - When using --delete and a --backup-dir that contains files that are
  1647. hard-linked to their destination equivalents, rsync now makes sure
  1648. that removed files really get removed (avoids a really weird rename()
  1649. behavior).
  1650. - Avoid a bogus run-time complaint about a lack of 64-bit integers when
  1651. the int64 type is defined as an off_t and it actually has 64-bits.
  1652. - Added a configure check for open64() without mkstemp64() so that we
  1653. can avoid using mkstemp() when such a combination is encountered.
  1654. This bypasses a problem writing out large temp files on OSes such as
  1655. AIX and HP-UX.
  1656. - Fixed an age-old crash problem with --read-batch on a local copy
  1657. (rsync was improperly assuming --whole-file for the local copy).
  1658. - When --dry-run (-n) is used and the destination directory does not
  1659. exist, rsync now produces a correct report of files that would be
  1660. sent instead of dying with a chdir() error.
  1661. - Fixed a bug that could cause a slow-to-connect rsync daemon to die
  1662. with an error instead of waiting for the connection to finish.
  1663. - Fixed an ssh interaction that could cause output to be lost when the
  1664. user chose to combine the output of rsync's stdout and stderr (e.g.
  1665. using the "2>&1").
  1666. - Fixed an option-parsing bug when --files-from got passed to a daemon.
  1667. ENHANCEMENTS:
  1668. - Added the --partial-dir=DIR option that lets you specify where to
  1669. (temporarily) put a partially transferred file (instead of over-
  1670. writing the destination file). E.g. --partial-dir=.rsync-partial
  1671. Also added support for the RSYNC_PARTIAL_DIR environment variable
  1672. that, when found, transforms a regular --partial option (such as
  1673. the convenient -P option) into one that also specifies a directory.
  1674. - Added --keep-dirlinks (-K), which allows you to symlink a directory
  1675. onto another partition on the receiving side and have rsync treat it
  1676. as matching a normal directory from the sender.
  1677. - Added the --inplace option that tells rsync to write each destination
  1678. file without using a temporary file. The matching of existing data
  1679. in the destination file can be severely limited by this, but there
  1680. are also cases where this is more efficient (such as appending data).
  1681. Use only when needed (see the man page for more details).
  1682. - Added the "write only" option for the daemon's config file.
  1683. - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
  1684. and documented all these options in the man page.
  1685. - Improved the handling of the --bwlimit option so that it's less
  1686. bursty, more accurate, and works properly over a larger range of
  1687. values.
  1688. - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
  1689. SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
  1690. - Added the --checksum-seed=N option for advanced users.
  1691. - Batch writing/reading has a brand-new implementation that is simpler,
  1692. fixes a few weird problems with the old code (such as no longer
  1693. sprinkling the batch files into different dirs or even onto different
  1694. systems), and is much less intrusive into the code (making it easier
  1695. to maintain for the future). The new code generates just one data
  1696. file instead of three, which makes it possible to read the batch on
  1697. stdin via a remote shell. Also, the old requirement of forcing the
  1698. same fixed checksum-seed for all batch processing has been removed.
  1699. - If an rsync daemon has a module set with "list = no" (which hides its
  1700. presence in the list of available modules), a user that fails to
  1701. authenticate gets the same "unknown module" error that they would get
  1702. if the module were actually unknown (while still logging the real
  1703. error to the daemon's log file). This prevents fishing for module
  1704. names.
  1705. - The daemon's "refuse options" config item now allows you to match
  1706. option names using wildcards and/or the single-letter option names.
  1707. - Each transferred file now gets its permissions and modified-time
  1708. updated before the temp-file gets moved into place. Previously, the
  1709. finished file would have a very brief window where its permissions
  1710. disallowed all group and world access.
  1711. - Added the ability to parse a literal IPv6 address in an "rsync:" URL
  1712. (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
  1713. - The daemon's wildcard expanding code can now handle more than 1000
  1714. filenames (it's now limited by memory instead of having a hard-wired
  1715. limit).
  1716. INTERNAL:
  1717. - Some cleanup in the exclude code has saved some per-exclude memory
  1718. and made the code easier to maintain.
  1719. - Improved the argv-overflow checking for a remote command that has a
  1720. lot of args.
  1721. - Use rsyserr() in the various places that were still calling rprintf()
  1722. with strerror() as an arg.
  1723. - If an rsync daemon is listening on multiple sockets (to handle both
  1724. IPv4 and IPv6 to a single port), we now close all the unneeded file
  1725. handles after we accept a connection (we used to close just one of
  1726. them).
  1727. - Optimized the handling of larger block sizes (rsync used to slow to a
  1728. crawl if the block size got too large).
  1729. - Optimized away a loop in hash_search().
  1730. - Some improvements to the sanitize_path() and clean_fname() functions
  1731. makes them more efficient and produce better results (while still
  1732. being compatible with the file-name cleaning that gets done on both
  1733. sides when sending the file-list).
  1734. - Got rid of alloc_sanitize_path() after adding a destination-buffer
  1735. arg to sanitize_path() made it possible to put all the former's
  1736. functionality into the latter.
  1737. - The file-list that is output when at least 4 verbose options are
  1738. specified reports the uid value on the sender even when rsync is
  1739. not running as root (since we might be sending to a root receiver).
  1740. BUILD CHANGES:
  1741. - Added a "gen" target to rebuild most of the generated files,
  1742. including configure, config.h.in, the man pages, and proto.h.
  1743. - If "make proto" doesn't find some changes in the prototypes, the
  1744. proto.h file is left untouched (its time-stamp used to always be
  1745. updated).
  1746. - The variable $STRIP (that is optionally set by the install-strip
  1747. target's rule) was changed to $INSTALL_STRIP because some systems
  1748. have $STRIP already set in the environment.
  1749. - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
  1750. - When cross-compiling, the gettimeofday() function is now assumed to
  1751. be a modern version that takes two-args (since we can't test it).
  1752. DEVELOPER RELATED:
  1753. - The scripts in the testsuite dir were cleaned up a bit and a few
  1754. new tests added.
  1755. - Some new diffs were added to the patches dir, and some accepted
  1756. ones were removed.
  1757. NEWS for rsync 2.6.2 (30 Apr 2004)
  1758. Protocol: 28 (unchanged)
  1759. Changes since 2.6.1:
  1760. BUG FIXES:
  1761. - Fixed a major bug in the sorting of the filenames when --relative
  1762. is used for some sources (just sources such as "/" and "/*" were
  1763. affected). This fix ensures that we ask for the right file-list
  1764. item when requesting changes from the sender.
  1765. - Rsync now checks the return value of the close() function to
  1766. better report disk-full problems on an NFS file system.
  1767. - Restored the old daemon-server behavior of logging error messages
  1768. rather than returning them to the user. (A better long-term fix
  1769. will be sought in the future.)
  1770. - An obscure uninitialized-variable bug was fixed in the uid/gid
  1771. code. (This bug probably had no ill effects.)
  1772. BUILD CHANGES:
  1773. - Got rid of the configure check for sys/sysctl.h (it wasn't used
  1774. and was causing a problem on some systems). Also improved the
  1775. broken-largefile-locking test to try to avoid failure due to an
  1776. NFS build-dir.
  1777. - Fixed a compile problem on systems that don't define
  1778. AI_NUMERICHOST.
  1779. - Fixed a compile problem in the popt source for compilers that
  1780. don't support __attribute__.
  1781. DEVELOPER RELATED:
  1782. - Improved the testsuite's "merge" test to work on OSF1.
  1783. - Two new diffs were added to the patches dir.
  1784. NEWS for rsync 2.6.1 (26 Apr 2004)
  1785. Protocol: 28 (changed)
  1786. Changes since 2.6.0:
  1787. SECURITY FIXES:
  1788. - Paths sent to an rsync daemon are more thoroughly sanitized when
  1789. chroot is not used. If you're running a non-read-only rsync
  1790. daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
  1791. user privs you run rsync under is anything above "nobody".
  1792. ENHANCEMENTS:
  1793. - Lower memory use, more optimal transfer of data over the socket,
  1794. and lower CPU usage (see the INTERNAL section for details).
  1795. - The RSYNC_PROXY environment variable can now contain a
  1796. "USER:PASS@" prefix before the "HOST:PORT" information.
  1797. (Bardur Arantsson)
  1798. - The --progress output now mentions how far along in the transfer
  1799. we are, including both a count of files transferred and a
  1800. percentage of the total file-count that we've processed. It also
  1801. shows better current-rate-of-transfer and remaining-transfer-time
  1802. values.
  1803. - Documentation changes now attempt to describe some often mis-
  1804. understood features more clearly.
  1805. BUG FIXES:
  1806. - When -x (--one-file-system) is combined with -L (--copy-links) or
  1807. --copy-unsafe-links, no symlinked files are skipped, even if the
  1808. referent file is on a different filesystem.
  1809. - The --link-dest code now works properly for a non-root user when
  1810. (1) the UIDs of the source and destination differ and -o was
  1811. specified, or (2) when the group of the source can't be used on
  1812. the destination and -g was specified.
  1813. - Fixed a bug in the handling of -H (hard-links) that might cause
  1814. the expanded PATH/NAME value of the current item to get
  1815. overwritten (due to an expanded-name caching bug).
  1816. - We now reset the "new data has been sent" flag at the start of
  1817. each file we send. This makes sure that an interrupted transfer
  1818. with the --partial option set doesn't keep a shorter temp file
  1819. than the current basis file when no new data has been transferred
  1820. over the wire for that file.
  1821. - Fixed a byte-order problem in --batch-mode on big-endian machines.
  1822. (Jay Fenlason)
  1823. - When using --cvs-exclude, the exclude items we get from a
  1824. per-directory's .cvsignore file once again only affect that one
  1825. directory (not all following directories too). The items are also
  1826. now properly word-split and parsed without any +/- prefix parsing.
  1827. - When specifying the USER@HOST: prefix for a file, the USER part
  1828. can now contain an '@', if needed (i.e. the last '@' is used to
  1829. find the HOST, not the first).
  1830. - Fixed some bugs in the handling of group IDs for non-root users:
  1831. (1) It properly handles a group that the sender didn't have a name
  1832. for (it would previously skip changing the group on any files in
  1833. that group). (2) If --numeric-ids is used, rsync no longer
  1834. attempts to set groups that the user doesn't have the permission
  1835. to set.
  1836. - Fixed the "refuse options" setting in the rsyncd.conf file.
  1837. - Improved the -x (--one-file-system) flag's handling of any mount-
  1838. point directories we encounter. It is both more optimal (in that
  1839. it no longer does a useless scan of the contents of the mount-
  1840. point dirs) and also fixes a bug where a remapped mount of the
  1841. original filesystem could get discovered in a subdir we should be
  1842. ignoring.
  1843. - Rsync no longer discards a double-slash at the start of a filename
  1844. when trying to open the file. It also no longer constructs names
  1845. that start with a double slash (unless the user supplied them).
  1846. - Path-specifying options to a daemon should now work the same with
  1847. or without chroot turned on. Previously, such a option (such as
  1848. --link-dest) would get its absolute path munged into a relative
  1849. one if chroot was not on, making that setting fairly useless.
  1850. Rsync now transforms the path into one that is based on the
  1851. module's base dir when chroot is not enabled.
  1852. - Fixed a compatibility problem interacting with older rsync
  1853. versions that might send us an empty --suffix value without
  1854. telling us that --backup-dir was specified.
  1855. - The "hosts allow" option for a daemon-over-remote-shell process
  1856. now has improved support for IPv6 addresses and a fix for systems
  1857. that have a length field in their socket structs.
  1858. - Fixed the ability to request an empty backup --suffix when sending
  1859. files to an rsync daemon.
  1860. - Fixed an option-parsing bug when --files-from was sent to a server
  1861. sender.
  1862. INTERNAL:
  1863. - Most of the I/O is now buffered, which results in a pretty large
  1864. speedup when running under MS Windows. (Craig Barratt)
  1865. - Optimizations to the name-handling/comparing code have made some
  1866. significant reductions in user-CPU time for large file sets.
  1867. - Some cleanup of the variable types make the code more consistent.
  1868. - Reduced memory requirements of hard link preservation.
  1869. (J.W. Schultz)
  1870. - Implemented a new algorithm for hard-link handling that speeds up
  1871. the code significantly. (J.W. Schultz and Wayne Davison)
  1872. - The --hard-link option now uses the first existing file in the
  1873. group of linked files as the basis for the transfer. This
  1874. prevents the sub-optimal transfer of a file's data when a new
  1875. hardlink is added on the sending side and it sorts alphabetically
  1876. earlier in the list than the files that are already present on the
  1877. receiving side.
  1878. - Dropped support for protocol versions less than 20 (2.3.0 released
  1879. 15 Mar 1999) and activated warnings for protocols less than 25
  1880. (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
  1881. severally)
  1882. - More optimal data transmission for --hard-links (protocol 28).
  1883. - More optimal data transmission for --checksum (protocol 28).
  1884. - Less memory is used when --checksum is specified.
  1885. - Less memory is used in the file list (a per-file savings).
  1886. - The generator is now better about not modifying the file list
  1887. during the transfer in order to avoid a copy-on-write memory
  1888. bifurcation (on systems where fork() uses shared memory).
  1889. Previously, rsync's shared memory would slowly become unshared,
  1890. resulting in real memory usage nearly doubling on the receiving
  1891. side by the end of the transfer. Now, as long as permissions
  1892. are being preserved, the shared memory should remain that way
  1893. for the entire transfer.
  1894. - Changed hardlink info and file_struct + strings to use allocation
  1895. pools. This reduces memory use for large file-sets and permits
  1896. freeing memory to the OS. (J.W. Schultz)
  1897. - The 2 pipes used between the receiver and generator processes
  1898. (which are forked on the same machine) were reduced to 1 pipe and
  1899. the protocol improved so that (1) it is now impossible to have the
  1900. "redo" pipe fill up and hang rsync, and (2) trailing messages from
  1901. the receiver don't get lost on their way through the generator
  1902. over to the sender (which mainly affected hard-link messages and
  1903. verbose --stats output).
  1904. - Improved the internal uid/gid code to be more portable and a
  1905. little more optimized.
  1906. - The device numbers sent when using --devices are now sent as
  1907. separate major/minor values with 32-bit accuracy (protocol 28).
  1908. Previously, the copied devices were sent as a single 32-bit
  1909. number. This will make inter-operation of 64-bit binaries more
  1910. compatible with their 32-bit brethren (with both ends of the
  1911. connection are using protocol 28). Note that optimizations in the
  1912. binary protocol for sending the device numbers often results in
  1913. fewer bytes being used than before, even though more precision is
  1914. now available.
  1915. - Some cleanup of the exclude/include structures and its code made
  1916. things clearer (internally), simpler, and more efficient.
  1917. - The reading & writing of the file-list in batch-mode is now
  1918. handled by the same code that sends & receives the list over the
  1919. wire. This makes it much easier to maintain. (Note that the
  1920. batch code is still considered to be experimental.)
  1921. BUILD CHANGES:
  1922. - The configure script now accepts --with-rsyncd-conf=PATH to
  1923. override the default value of the /etc/rsyncd.conf file.
  1924. - Fixed configure bug when running "./configure --disable-ipv6".
  1925. - Fixed compilation problem on Tru64 Unix (having to do with
  1926. sockaddr.sa_len and sockaddr.sin_len).
  1927. DEVELOPER RELATED:
  1928. - Fixed "make test" bug when build dir is not the source dir.
  1929. - Added a couple extra diffs in the "patches" dir, removed the ones
  1930. that got applied, and rebuilt the rest.
  1931. NEWS for rsync 2.6.0 (1 Jan 2004)
  1932. Protocol: 27 (changed)
  1933. Changes since 2.5.7:
  1934. ENHANCEMENTS:
  1935. * "ssh" is now the default remote shell for rsync. If you want to
  1936. change this, configure like this: "./configure --with-rsh=rsh".
  1937. * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
  1938. Note that --from0 affects the line-ending character for all the
  1939. files read by the --*-from options. (Wayne Davison)
  1940. * Length of csum2 is now per-file starting with protocol version
  1941. 27. (J.W. Schultz)
  1942. * Per-file dynamic block size is now sqrt(file length). The
  1943. per-file checksum size is determined according to an algorithm
  1944. provided by Donovan Baarda which reduces the probability of rsync
  1945. algorithm corrupting data and falling back using the whole md4
  1946. checksums. (J.W. Schultz, Donovan Baarda)
  1947. * The --stats option no longer includes the (debug) malloc summary
  1948. unless the verbose option was specified at least twice.
  1949. * Added a new error/warning code for when files vanish from the
  1950. sending side. Made vanished source files not interfere with the
  1951. file-deletion pass when --delete-after was specified.
  1952. * Various trailing-info sections are now preceded by a newline.
  1953. BUG FIXES:
  1954. * Fixed several exclude/include matching bugs when using wild-cards.
  1955. This has a several user-visible effects, all of which make the
  1956. matching more consistent and intuitive. This should hopefully not
  1957. cause anyone problems since it makes the matching work more like
  1958. what people are expecting. (Wayne Davison)
  1959. - A pattern with a "**" no longer causes a "*" to match slashes.
  1960. For example, with "/*/foo/**", "foo" must be 2 levels deep.
  1961. [If your string has BOTH "*" and "**" wildcards, changing the
  1962. "*" wildcards to "**" will provide the old behavior in all
  1963. versions.]
  1964. - "**/foo" now matches at the base of the transfer (like /foo
  1965. does). [Use "/**/foo" to get the old behavior in all versions.]
  1966. - A non-anchored wildcard term floats to match beyond the base of
  1967. the transfer. E.g. "CVS/R*" matches at the end of the path,
  1968. just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
  1969. to get the old behavior in all versions.]
  1970. - Including a "**" in the match term causes it to be matched
  1971. against the entire path, not just the name portion, even if
  1972. there aren't any interior slashes in the term. E.g. "foo**bar"
  1973. would exclude "/path/foo-bar" (just like before) as well as
  1974. "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
  1975. old behavior in all versions.]
  1976. * The exclude list specified in the daemon's config file is now
  1977. properly applied to the pulled items no matter how deep the
  1978. user's file-args are in the source tree. (Wayne Davison)
  1979. * For protocol version >= 27, mdfour_tail() is called when the
  1980. block size (including checksum_seed) is a multiple of 64.
  1981. Previously it was not called, giving the wrong MD4 checksum.
  1982. (Craig Barratt)
  1983. * For protocol version >= 27, a 64 bit bit counter is used in
  1984. mdfour.c as required by the RFC. Previously only a 32 bit bit
  1985. counter was used, causing incorrect MD4 file checksums for
  1986. file sizes >= 512MB - 4. (Craig Barratt)
  1987. * Fixed a crash bug when interacting with older rsync versions and
  1988. multiple files of the same name are destined for the same dir.
  1989. (Wayne Davison)
  1990. * Keep tmp names from overflowing MAXPATHLEN.
  1991. * Make --link-dest honor the absence of -p, -o, and -g.
  1992. * Made rsync treat a trailing slash in the destination in a more
  1993. consistent manner.
  1994. * Fixed file I/O error detection. (John Van Essen)
  1995. * Fixed bogus "malformed address {hostname}" message in rsyncd log
  1996. when checking IP address against hostnames from "hosts allow"
  1997. and "hosts deny" parameters in config file.
  1998. * Print heap statistics when verbose >= 2 instead of when >= 1.
  1999. * Fixed a compression (-z) bug when syncing a mostly-matching file
  2000. that contains already-compressed data. (Yasuoka Masahiko and
  2001. Wayne Davison)
  2002. * Fixed a bug in the --backup code that could cause deleted files
  2003. to not get backed up.
  2004. * When the backup code makes new directories, create them with mode
  2005. 0700 instead of 0755 (since the directory permissions in the
  2006. backup tree are not yet copied from the main tree).
  2007. * Call setgroups() in a more portable manner.
  2008. * Improved file-related error messages to better indicate exactly
  2009. what pathname failed. (Wayne Davison)
  2010. * Fixed some bugs in the handling of --delete and --exclude when
  2011. using the --relative (-R) option. (Wayne Davison)
  2012. * Fixed bug that prevented regular files from replacing
  2013. special files and caused a directory in --link-dest or
  2014. --compare-dest to block the creation of a file with the
  2015. same path. A directory still cannot be replaced by a
  2016. regular file unless --delete specified. (J.W. Schultz)
  2017. * Detect and report when open or opendir succeed but read and
  2018. readdir fail caused by network filesystem issues and truncated
  2019. files. (David Norwood, Michael Brown, J.W. Schultz)
  2020. * Added a fix that should give ssh time to restore the tty settings
  2021. if the user presses Ctrl-C at an ssh password prompt.
  2022. INTERNAL:
  2023. * Eliminated vestigial support for old versions that we stopped
  2024. supporting. (J.W. Schultz)
  2025. * Simplified some of the option-parsing code. (Wayne Davison)
  2026. * Some cleanup made to the exclude code, as well as some new
  2027. defines added to enhance readability. (Wayne Davison)
  2028. * Changed the protocol-version code so that it can interact at a
  2029. lower protocol level than the maximum supported by both sides.
  2030. Added an undocumented option, --protocol=N, to force the value
  2031. we advertise to the other side (primarily for testing purposes).
  2032. (Wayne Davison)
  2033. NEWS for rsync 2.5.7 (4 Dec 2003)
  2034. Protocol: 26 (unchanged)
  2035. Changes since 2.5.6:
  2036. SECURITY FIXES:
  2037. * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
  2038. Russell, Andrea Barisani)
  2039. NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
  2040. Protocol: 26 (unchanged)
  2041. Changes since 2.5.5:
  2042. ENHANCEMENTS:
  2043. * The --delete-after option now implies --delete. (Wayne Davison)
  2044. * The --suffix option can now be used with --backup-dir. (Michael
  2045. Zimmerman)
  2046. * Combining "::" syntax with the --rsh/-e option now uses the
  2047. specified remote-shell as a transport to talk to a (newly-spawned)
  2048. server-daemon. This allows someone to use daemon features, such
  2049. as modules, over a secure protocol, such as ssh. (JD Paul)
  2050. * The rsync:// syntax for daemon connections is now accepted in the
  2051. destination field.
  2052. * If the file name given to --include-from or --exclude-from is "-",
  2053. rsync will read from standard input. (J.W. Schultz)
  2054. * New option --link-dest which is like --compare-dest except that
  2055. unchanged files are hard-linked in to the destination directory.
  2056. (J.W. Schultz)
  2057. * Don't report an error if an excluded file disappears during an
  2058. rsync run. (Eugene Chupriyanov and Bo Kersey)
  2059. * Added .svn to --cvs-exclude list to support subversion. (Jon
  2060. Middleton)
  2061. * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
  2062. and "hosts deny" fields. (Hideaki Yoshifuji)
  2063. * Changed exclude file handling to permit DOS or MAC style line
  2064. terminations. (J.W. Schultz)
  2065. * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
  2066. (Dave Dykstra)
  2067. BUG FIXES:
  2068. * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
  2069. L. Allen, Martin Pool)
  2070. * Generate each file's rolling-checksum data as we send it, not
  2071. in a separate (memory-eating) pass before hand. This prevents
  2072. timeout errors on really large files. (Stefan Nehlsen)
  2073. * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
  2074. * Better handling of some client-server errors. (Martin Pool)
  2075. * Fixed a crash that would occur when sending a list of files that
  2076. contains a duplicate name (if it sorts to the end of the file
  2077. list) and using --delete. (Wayne Davison)
  2078. * Fixed the file-name duplicate-removal code when dealing with multiple
  2079. dups in a row. (Wayne Davison)
  2080. * Fixed a bug that caused rsync to lose the exit status of its child
  2081. processes and sometimes return an exit code of 0 instead of showing
  2082. an error. (David R. Staples, Dave Dykstra)
  2083. * Fixed bug in --copy-unsafe-links that caused it to be completely
  2084. broken. (Dave Dykstra)
  2085. * Prevent infinite recursion in cleanup code under certain circumstances.
  2086. (Sviatoslav Sviridov and Marc Espie)
  2087. * Fixed a bug that prevented rsync from creating intervening directories
  2088. when --relative-paths/-R is set. (Craig Barratt)
  2089. * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
  2090. INTERNAL:
  2091. * Many code cleanups and improved internal documentation. (Martin
  2092. Pool, Nelson Beebe)
  2093. * Portability fixes. (Dave Dykstra and Wayne Davison)
  2094. * More test cases. (Martin Pool)
  2095. * Some test-case fixes. (Brian Poole, Wayne Davison)
  2096. * Updated included popt to the latest vendor drop, version 1.6.4.
  2097. (Jos Backus)
  2098. * Updated config.guess and config.sub to latest versions; this
  2099. means rsync should build on more platforms. (Paul Green)
  2100. NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
  2101. Protocol: 26 (unchanged)
  2102. Changes since 2.5.4:
  2103. ENHANCEMENTS:
  2104. * With --progress, when a transfer is complete show the time taken;
  2105. otherwise show expected time to complete. (Cameron Simpson)
  2106. * Make "make install-strip" works properly, and "make install"
  2107. accepts a DESTDIR variable for help in building binary packages.
  2108. (Peter Breitenlohner, Greg Louis)
  2109. * If configured with --enable-maintainer-mode, then on receipt of
  2110. a fatal signal rsync will try to open an xterm running gdb,
  2111. similarly to Samba's "panic action" or GNOME's bug-buddy.
  2112. (Martin Pool)
  2113. BUG FIXES:
  2114. * Fix situation where failure to fork (e.g. because out of process
  2115. slots) would cause rsync to kill all processes owned by the
  2116. current user. Yes, really! (Paul Haas, Martin Pool)
  2117. * Fix test suite on Solaris. (Jos Backus, Martin Pool)
  2118. * Fix minor memory leak in socket code. (Dave Dykstra, Martin
  2119. Pool.)
  2120. * Fix --whole-file problem that caused it to be the default even
  2121. for remote connections. (Martin Pool, Frank Schulz)
  2122. * Work around bug in Mac OS X mkdir(2), which cannot handle
  2123. trailing slashes.
  2124. <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
  2125. (Martin Pool)
  2126. * Improved network error handling. (Greg A. Woods)
  2127. NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
  2128. Protocol: 26 (unchanged)
  2129. Changes since 2.5.3:
  2130. BUG FIXES:
  2131. * Additional fix for zlib double-free bug. (Martin Pool, Andrew
  2132. Tridgell) (CVE CAN-2002-0059)
  2133. ENHANCEMENTS:
  2134. * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
  2135. (Note that rsync still uses a custom version of zlib; you can
  2136. not just link against a system library. See zlib/README.rsync)
  2137. * Additional test cases for --compress. (Martin Pool)
  2138. NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
  2139. Protocol: 26 (unchanged)
  2140. Changes since 2.5.2:
  2141. SECURITY FIXES:
  2142. * Make sure that supplementary groups are removed from a server
  2143. process after changing uid and gid. (Ethan Benson) (Debian bug
  2144. #132272, CVE CAN-2002-0080)
  2145. BUG FIXES:
  2146. * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
  2147. CAN-2002-0059)
  2148. * Fixed problem that in many cases caused the error message
  2149. unexpected read size of 0 in map_ptr
  2150. and resulted in the wrong data being copied.
  2151. * Fixed compilation errors on some systems caused by the use of
  2152. "unsigned int64" in rsync.h.
  2153. * Fixed problem on systems such as Sunos4 that do not support realloc
  2154. on a NULL pointer; error was "out of memory in flist_expand".
  2155. * Fix for rsync server processes hanging around after the client
  2156. unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
  2157. * Cope with BSD systems on which mkdir() will not accept a trailing
  2158. slash.
  2159. ENHANCEMENTS:
  2160. * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
  2161. rsync still uses a custom version of zlib; you can not just link
  2162. against a system library. See zlib/README.rsync)
  2163. * Command to initiate connections is only shown with -vv, rather
  2164. than -v as in 2.5.2. Output from plain -v is more similar to
  2165. what was historically used so as not to break scripts that try
  2166. to parse the output.
  2167. * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
  2168. * Made the --write-batch and --read-batch options actually work
  2169. and added documentation in the man page (Jos Backus)
  2170. * If the daemon is unable to fork a child to accept a connection,
  2171. print an error message. (Colin Walters)
  2172. NEWS for rsync 2.5.2 (26 Jan 2002)
  2173. Protocol: 26 (changed)
  2174. Changes since 2.5.1:
  2175. SECURITY FIXES:
  2176. * Signedness security patch from Sebastian Krahmer
  2177. <krahmer@suse.de> -- in some cases we were not sufficiently
  2178. careful about reading integers from the network.
  2179. BUG FIXES:
  2180. * Fix possible string mangling in log files.
  2181. * Fix for setting local address of outgoing sockets.
  2182. * Better handling of hardlinks and devices on platforms with
  2183. 64-bit dev_t or ino_t.
  2184. * Name resolution on machines supporting IPv6 is improved.
  2185. * Fix for device nodes. (dann frazier) (Debian #129135)
  2186. ENHANCEMENTS:
  2187. * With -v, rsync now shows the command used to initiate an ssh/rsh
  2188. connection.
  2189. * --statistics now shows memory heap usage on platforms that
  2190. support mallinfo().
  2191. * "The Ted T'so school of program optimization": make progress
  2192. visible and people will think it's faster. (With --progress,
  2193. rsync will show you how many files it has seen as it builds the
  2194. file_list, giving some indication that it has not hung.)
  2195. * Improvements to batch mode support. This is still experimental
  2196. but testing would be welcome. (Jos Backus)
  2197. * New --ignore-existing option, patch previously distributed with
  2198. Vipul's Razor. (Debian #124286)
  2199. NEWS for rsync 2.5.1 (3 Jan 2002)
  2200. Protocol: 25 (unchanged)
  2201. Changes since 2.5.0:
  2202. BUG FIXES:
  2203. * Fix for segfault in --daemon mode configuration parser. (Paul
  2204. Mackerras)
  2205. * Correct string<->address parsing for both IPv4 and 6.
  2206. (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
  2207. Hagino)
  2208. * Various fixes for IPv6 support. (Dave Dykstra)
  2209. * rsync.1 typo fix. (Matt Kraai)
  2210. * Test suite typo fixes. (Tom Schmidt)
  2211. * rsync.1 grammar and clarity improvements. (Edward
  2212. Welbourne)
  2213. * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
  2214. ENHANCEMENTS:
  2215. * --progress and -P now show estimated data transfer rate (in a
  2216. multiple of bytes/s) and estimated time to completion. (Rik
  2217. Faith)
  2218. * --no-detach option, required to run as a W32 service and also
  2219. useful when running on Unix under daemontools, AIX's SRC, or a
  2220. debugger. (Max Bowsher, Jos Backus)
  2221. * Clearer error messages for some conditions.
  2222. NEWS for rsync 2.5.0 (30 Nov 2001)
  2223. Protocol: 25 (changed)
  2224. Changes since 2.4.6:
  2225. ANNOUNCEMENTS
  2226. * Martin Pool <mbp@samba.org> is now a co-maintainer.
  2227. NEW FEATURES
  2228. * Support for LSB-compliant packaging <http://www.linuxbase.org/>
  2229. * Shell wildcards are allowed in "auth users" lines.
  2230. * Merged UNC rsync+ patch to support creation of standalone patch
  2231. sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
  2232. Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
  2233. * IPv6 support based on a patch from KAME.net, on systems
  2234. including modern versions of Linux, Solaris, and HP-UX. Also
  2235. includes IPv6 compatibility functions for old OSs by the
  2236. Internet Software Consortium, Paul Vixie, the OpenSSH
  2237. portability project, and OpenBSD.
  2238. ENHANCEMENTS
  2239. * Include/exclude cluestick: with -vv, print out whether files are
  2240. included or excluded and why.
  2241. * Many error messages have more friendly explanations and more
  2242. details.
  2243. * Manual page improvements plus scanty protocol documentation.
  2244. * When running as --daemon in the background and using a "log
  2245. file" rsyncd.conf directive, close the log file every time it is
  2246. open when going to sleep on the socket. This allows the log
  2247. file to get cleaned out by another process.
  2248. * Change to using libpopt rather than getopt for processing
  2249. options. This makes the code cleaner and the behaviour more
  2250. consistent across platforms. popt is included and built if not
  2251. installed on the platform.
  2252. * More details in --version, including note about whether 64-bit
  2253. files, symlinks and hardlinks are supported.
  2254. * MD4 code may use less CPU cycles.
  2255. * Use mkstemp on systems where it is secure. If we use mktemp,
  2256. explain that we do it in a secure way.
  2257. * --whole-file is the default when source and target are on the
  2258. local machine.
  2259. BUG FIXES:
  2260. * Fix for various bugs causing rsync to hang.
  2261. * Attempt to fix Large File Summit support on AIX.
  2262. * Attempt to fix error handling lockup bug.
  2263. * Give a non-0 exit code if *any* of the files we have been asked
  2264. to transfer fail to transfer.
  2265. * For log messages containing ridiculously long strings that might
  2266. overflow a buffer rsync no longer aborts, but rather prints an
  2267. ellipsis at the end of the string. (Patch from Ed Santiago.)
  2268. PLATFORMS:
  2269. * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
  2270. * autoconf2.52 (or later) is now required to rebuild the autoconf
  2271. scripts. It is not required to simply build rsync.
  2272. * Platforms thought to work in this release:
  2273. Cray SV1 UNICOS 10.0.0.8 cc
  2274. Debian Linux 2.2 UltraSparc gcc
  2275. Debian Linux testing/unstable ARM gcc
  2276. FreeBSD 3.3-RELEASE i386 cc
  2277. FreeBSD 4.1.1-RELEASE i386 cc
  2278. FreeBSD 4.3-STABLE i386 cc
  2279. HP PA-RISC HP-UX 10.20 gcc
  2280. HP PA-RISC HP-UX 11.11 cc
  2281. IRIX 6.5 MIPS cc
  2282. IRIX 6.5 MIPS gcc
  2283. Mac OS X PPC (--disable-ipv6) cc
  2284. NetBSD 1.5 i386 gcc
  2285. NetBSD Current i386 cc
  2286. OpenBSD 2.5 Sparc gcc
  2287. OpenBSD 2.9 i386 cc
  2288. OpenBSD Current i386 cc
  2289. RedHat 6.2 i386 gcc
  2290. RedHat 6.2 i386 insure++
  2291. RedHat 7.0 i386 gcc
  2292. RedHat 7.1 i386 (Kernel 2.4.10) gcc
  2293. Slackware 8.0 i686 (Kernel 2.4.10)
  2294. Solaris 8 UltraSparc cc
  2295. Solaris 8 UltraSparc gcc
  2296. Solaris 8 i386 gcc
  2297. SuSE 7.1 i386 gcc2.95.2
  2298. SuSE 7.1 ppc gcc2.95.2
  2299. i386-pc-sco3.2v5.0.5 cc
  2300. i386-pc-sco3.2v5.0.5 gcc
  2301. powerpc-ibm-aix4.3.3.0 cc
  2302. i686-unknown-sysv5UnixWare7.1.0 gcc
  2303. i686-unknown-sysv5UnixWare7.1.0 cc
  2304. TESTING:
  2305. * The existing test.sh script by Phil Hands has been merged into a
  2306. test framework that works from both "make check" and the Samba
  2307. build farm.
  2308. Partial Protocol History
  2309. RELEASE DATE VER. DATE OF COMMIT* PROTOCOL
  2310. 23 Sep 2011 3.0.9 30
  2311. 26 Mar 2011 3.0.8 30
  2312. 31 Dec 2009 3.0.7 30
  2313. 08 May 2009 3.0.6 30
  2314. 28 Dec 2008 3.0.5 30
  2315. 06 Sep 2008 3.0.4 30
  2316. 29 Jun 2008 3.0.3 30
  2317. 08 Apr 2008 3.0.2 30
  2318. 03 Apr 2008 3.0.1 30
  2319. 01 Mar 2008 3.0.0 11 Nov 2006 30
  2320. 06 Nov 2006 2.6.9 29
  2321. 22 Apr 2006 2.6.8 29
  2322. 11 Mar 2006 2.6.7 29
  2323. 28 Jul 2005 2.6.6 29
  2324. 01 Jun 2005 2.6.5 29
  2325. 30 Mar 2005 2.6.4 17 Jan 2005 29
  2326. 30 Sep 2004 2.6.3 28
  2327. 30 Apr 2004 2.6.2 28
  2328. 26 Apr 2004 2.6.1 08 Jan 2004 28
  2329. 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
  2330. 04 Dec 2003 2.5.7 26
  2331. 26 Jan 2003 2.5.6 26
  2332. 02 Apr 2002 2.5.5 26
  2333. 13 Mar 2002 2.5.4 26
  2334. 11 Mar 2002 2.5.3 26
  2335. 26 Jan 2002 2.5.2 11 Jan 2002 26
  2336. 03 Jan 2002 2.5.1 25
  2337. 30 Nov 2001 2.5.0 23 Aug 2001 25
  2338. 06 Sep 2000 2.4.6 24
  2339. 19 Aug 2000 2.4.5 24
  2340. 29 Jul 2000 2.4.4 24
  2341. 09 Apr 2000 2.4.3 24
  2342. 30 Mar 2000 2.4.2 24
  2343. 30 Jan 2000 2.4.1 29 Jan 2000 24
  2344. 29 Jan 2000 2.4.0 28 Jan 2000 23
  2345. 25 Jan 2000 2.3.3 23 Jan 2000 22
  2346. 08 Nov 1999 2.3.2 26 Jun 1999 21
  2347. 06 Apr 1999 2.3.1 20
  2348. 15 Mar 1999 2.3.0 15 Mar 1999 20
  2349. 25 Nov 1998 2.2.1 19
  2350. 03 Nov 1998 2.2.0 19
  2351. 09 Sep 1998 2.1.1 19
  2352. 20 Jul 1998 2.1.0 19
  2353. 17 Jul 1998 2.0.19 19
  2354. 18 Jun 1998 2.0.17 19
  2355. 01 Jun 1998 2.0.16 19
  2356. 27 May 1998 2.0.13 27 May 1998 19
  2357. 26 May 1998 2.0.12 18
  2358. 22 May 1998 2.0.11 18
  2359. 18 May 1998 2.0.9 18 May 1998 18
  2360. 17 May 1998 2.0.8 17
  2361. 15 May 1998 2.0.1 17
  2362. 14 May 1998 2.0.0 17
  2363. 17 Apr 1998 1.7.4 17
  2364. 13 Apr 1998 1.7.3 17
  2365. 05 Apr 1998 1.7.2 17
  2366. 26 Mar 1998 1.7.1 17
  2367. 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
  2368. 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
  2369. * DATE OF COMMIT is the date the protocol change was committed to CVS.