mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-11-30 06:12:16 +00:00
45aecc07cf74cfe2a91d887b7fa65910284a6f3e
UFTP multicast distribution of stateless images needs the uftp sender on the management node and the uftpd receiver in the image. RHEL and EPEL do not ship UFTP, so xcat-dep builds it. uftp/ holds the upstream 5.0.4 release archive, its SHA-256 in SHA256SUMS, and a spec that patches it and builds it with the distribution OpenSSL and build flags. The package installs the four binaries in /usr/bin, where the upstream makefile puts them, and enables no service. uftp/mockbuild.pl checks the archive and builds the package with mock, like the other builders. Sender: - A STATUS for a section past the end of the file is rejected. It made the sender write past its NAK list. - An encrypted message from a client without encryption state is rejected. It made the sender follow a null pointer. - A file with more sections than the 16 bit section count holds stops the sender with an error. The count wrapped to 0, and the sender divided by it. - The sender seeks past block 2^31, which the section count allows with large blocks. It retried that block without end. Receiver: - A FILESEG for a block that the file does not have is rejected. It made the receiver read and write past its NAK list. - Each received block stays inside the disk cache. A normal transfer overran the cache when a short last block fell at its end. - A last FILESEG of the wrong length is rejected. The receiver wrote bytes from past the disk cache into the file. - A DONE for a section past the end of the file is rejected. It made the receiver read and write past its section lists. - An ANNOUNCE with a block size that the sender does not accept is rejected. A block size of 0 made the receiver divide by zero. - A name with ".." in any component is rejected. Only the first ".." was checked. - An absolute name must be below a whole -D directory. With -D /dest, the name /dest-other/x matched. - A path through a symbolic link is rejected. A link that the sender created let a later file go outside the destination directory. - A FILEINFO with more sections than the 16 bit section count holds is rejected. The count wrapped to 0, and the receiver divided by it. - The list of files that the receiver moves at the end of a group grows as needed. It overflowed after 10000 entries. - Cleanup checks the path of a file again before it changes the file. Without -T, a FILEINFO of another group could put a symbolic link in the path, and cleanup then deleted a file outside the destination. - The NAK list holds a whole section. A STATUS for a full section read and sent one byte past the list, which every file above 2 MiB reaches with 512 byte blocks. - Cleanup leaves a file alone when another group replaced it. Without -T, an aborted group deleted the completed file of the other group. - Cleanup checks the path of the unused file of a restarted group before it deletes that file. With -T, a symbolic link in that path made cleanup delete a file outside the temp directory. - A backup with -A checks its path for a symbolic link. A link that an earlier backup moved into the backup directory sent a later backup outside it. - A name of the destination directory itself, such as "." or "/dest/.", is rejected. A delete request for it emptied the destination directory. Proxy: - The client lists stay inside the packet buffer. With an RSA-2048 key and -b 8800, the KEYINFO key list overran it. - An ANNOUNCE with a block size that the sender does not accept is rejected. A block size above the packet size made the proxy read past its buffers. - The STATUS that the proxy sends for a full section carries the whole NAK list. It was one byte short, so the sender rejected it and never resent the blocks that clients behind the proxy lost. - The NAKs of a client STATUS are read after its whole header, up to the end of the message. With -C tfmcc, the proxy read the TFMCC extension as NAKs. For a short section, it read old data from its buffer. Each program carries "(xCAT build 1)" in its version string, so that xCAT can refuse a UFTP build without these fixes. mockbuild-all.pl runs the builder for every EL target, riscv64 included, and every EL section of packages-manifest.conf lists uftp=5.0.4. xCAT does not require uftp, so it stays out of the required set, like conserver-xcat. The package is EL-only for now. There is no deb, and the uftp 4.10 that Ubuntu ships is not supported: the sender and the receiver must both run UFTP 5. The archive is the SourceForge release file. Its MD5 matches the one SourceForge publishes.
Description
No description provided
Languages
Perl
79.3%
JavaScript
6.3%
C
3.9%
Shell
3.1%
SQLPL
2%
Other
5.2%