Ho lokolloa ha ts'ebeliso ea khokahano ea lifaele Rsync 3.2.4

Ka mor'a selemo le halofo ea tsoelo-pele, ho lokolloa ha Rsync 3.2.4 ho fumaneha, ho lumellana ha lifaele le ho boloka lisebelisoa tse u lumellang ho fokotsa sephethephethe ka ho kopitsa liphetoho ka ho eketseha. Sepalangoang e ka ba ssh, rsh kapa proprietary rsync protocol. E tšehetsa mokhatlo oa li-server tsa rsync tse sa tsejoeng, tse loketseng hantle bakeng sa ho netefatsa hore liipone li lumellana. Khoutu ea projeke e ajoa tlasa laesense ea GPLv3.

Har'a liphetoho tse ekelitsoeng:

  • Ho hlahisitsoe mokhoa o mocha oa ho sireletsa likhang tsa mola oa taelo, o ts'oanang le khetho ea "--protect-args" ("-s") e neng e fumaneha pele, empa ha e robe ts'ebetso ea rrsync script (restricted rsync). Tšireletso e theohela ho phonyoha litlhaku tse khethehileng, ho kenyelletsa le libaka, ha u romela likōpo ho mofetoleli oa taelo ea kantle. Mokhoa o mocha ha o balehe litlhaku tse khethehileng ka har'a boloko bo qotsitsoeng, e leng se u lumellang hore u sebelise matšoao a bonolo a qotso ho potoloha lebitso la faele ntle le ho phonyoha ho eketsehileng, mohlala, taelo "rsync -aiv host:' file e bonolo.pdf' e se e lumelloa .” Ho khutlisa boitšoaro ba khale, khetho ea "-old-args" le "RSYNC_OLD_ARGS=1" e fapaneng ea tikoloho e sisinngoe.
  • E rarollotse bothata ba nako e telele ka ho sebetsana le litlhaku tsa lintlha ho latela sebaka sa hajoale ("," ho fapana le "."). Bakeng sa lingoloa tse etselitsoeng ho sebetsa feela "." ka lipalo, haeba ho na le tlolo ea tumellano, u ka beha sebaka sa "C".
  • E tsitsitse ho ba kotsing (CVE-2018-25032) khoutu e kenyellelitsoeng ho tsoa laebraring ea zlib e lebisang ho buffer e phallang ha e leka ho hatella tatellano ea litlhaku tse lokiselitsoeng ka ho khetheha.
  • E kentse "--fsync" khetho ea ho letsetsa fsync () ts'ebetso ea faele ka 'ngoe ho hlakola cache ea disk.
  • Sengoloa sa rsync-ssl se sebelisa khetho ea "-verify_hostname" ha o fihlella openssl.
  • E ekelitsoe "--copy-devices" khetho ea ho kopitsa lifaele tsa sesebelisoa e le lifaele tse tloaelehileng.
  • Ho fokotsa tšebeliso ea memori ha ho ntse ho fetisa palo e kholo ea li-directory tse nyane.
  • Sethaleng sa macOS, khetho ea "-atimes" ea sebetsa.
  • E kentse tšebetsong bokhoni ba ho nchafatsa litšobotsi tsa xattrs bakeng sa lifaele ka mokhoa oa ho bala feela haeba mosebelisi a na le tumello ea ho fetola litokelo tsa phihlello (mohlala, ha e sebetsa joalo ka motso).
  • E kenyellelitsoe le ho nolofalloa ka ho sa feleng "--info=NONREG" parameter ho hlahisa litemoso mabapi le ho fetisa lifaele tse khethehileng.
  • Sengoloa sa rrsync (e thibetsoeng rsync) se ngotsoe hape ka Python. Ho ekelitsoe likhetho tse ncha "-munge", "-no-lock" le "-no-del". Ka kamehla, ho thibela --copy-links (-L), --copy-dirlinks (-k), le --keep-dirlinks (-K) ho nolofalloa ho etsa hore litlhaselo tse thetsang li-symlink ho li-directory li be thata haholoanyane.
  • Sengoloa sa atomic-rsync se ngotsoe hape ho Python 'me se atolositsoe ho iphapanyetsa likhoutu tsa ho khutlisa tse seng zero. Ka ho sa feleng, khoutu ea 24 e hlokomolohuoa ha lifaele li lahlehile ha rsync e ntse e sebetsa (mohlala, khoutu ea 24 e khutlisetsoa bakeng sa lifaele tsa nakoana tse neng li le teng nakong ea indexing ea pele empa li hlakotsoe ka nako ea ho falla).
  • Mongolo oa munge-symlinks o ngotsoe hape ka Python.

Source: opennet.ru

Eketsa ka tlhaloso