]> git.wh0rd.org - dump.git/blame_incremental - CHANGES
Security fixes from Antonomasia.
[dump.git] / CHANGES
... / ...
CommitLineData
1$Id: CHANGES,v 1.224 2003/03/31 10:09:37 stelian Exp $
2
3Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
4=======================================================================
5
61. Fixed the INSTALL file to reflect the actual install paths.
7 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
8 reporting the bug.
9
102. Fixed the configure script to only check for headers presence
11 instead of trying to compile them. This should fix issues
12 with old build environments. Thanks to Kari Lempiainen
13 <kari@funky.pp.fi> for reporting the bug.
14
153. Fixed restore to correctly ignore sockets when comparing
16 a dump (as socket cannot be properly restored anyway). Thanks
17 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
18
194. Fixed restore to correctly access the archive file (-A argument)
20 even when using a remote tape. Thanks to Fabrice Bellet
21 <fabrice@bellet.info> for reporting the bug.
22
235. Fixed (again) handling of long (largefile) seeks in rmt.
24 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
25 the bug.
26
276. Fixed restore corner case when dealing with large block sizes
28 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
29 <fabrice@bellet.info> for reporting the bug.
30
317. Fixed a bug preventing dump to access a filesystem having
32 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
33 for reporting the bug.
34
358. Made dump store dump dates using explicit timezones, fixing a
36 problem with incremental dumps if the timezone is modified
37 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
38 the bug report and the patch.
39
409. Fixed a bug encountered when dumping individual files (not full
41 filesystems or directories) and dangling symbolic links happen
42 to be in the list of files. For as far as dump is concerned,
43 dangling symbolic links are allowed, and are dumped as is.
44 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
45 bug and providing the fix.
46
4710. Fixed open and creation modes and permissions for QFA and
48 table-of-contents files in dump and restore. Thanks to
49 Philippe Troin <phil@fifi.org> for the patch.
50
5111. Fixed the archive file descriptor handling enabling it to be 0.
52 This can happen in some cases when shell redirections are used.
53 Thanks to Philippe Troin <phil@fifi.org> for the patch.
54
5512. Delayed the opening of archive file until after suid had been
56 dropped (fixing a possible security issue if dump is suid).
57 Thanks to Philippe Troin <phil@fifi.org> for the patch.
58
5913. Fixed the 'S' command handling in the rmt client part.
60 Thanks to Philippe Troin <phil@fifi.org> for the patch.
61
6214. Modified the end-of-tape script handling to print out statistics
63 (and stop the timer) before launching the eot script. Also, the eot
64 script does not get run anymore when using -M (which makes sense) or
65 when multiple tapes are listed on the command line
66 (-f tape0,tape1,tapen) (which also makes sense).
67 Thanks to Philippe Troin <phil@fifi.org> for the patch.
68
6915. Relicensed dump/restore under the 'revised' BSD license, as per
70 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
71
7216. Added LZO compression to dump. This new compression method has
73 the advantage of being super fast, thus not killing tape streaming
74 on slow machines. Thanks to Helmut Jarausch
75 <jarausch@igpm.rwth-aachen.de> for the patch and to
76 Markus Oberhumer <markus@oberhumer.com> for giving special permission
77 to include his miniLZO project (GPL licensed) in dump/restore.
78
7917. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
80 <ant@notatla.demon.co.uk> for reporting the bugs.
81
82Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
83=======================================================================
84
851. Added a note in the restore man page clarifying the question
86 'set the permissions on the current directory ?' asked by
87 restore at the end of treatment in -i and -x modes.
88
892. Fixed the endianess issues when reading compressed tapes.
90 Thanks to Dark Force <daq4th@users.sourceforge.net> for
91 reporting this bug and providing test cases.
92
933. Fixed the "ACL won't be dumped" warning message (which showed
94 an extra, unrelated error message). Thanks to Dragan Krnic
95 <dkrnic@lycos.com> for reporting this bug.
96
974. Made dump look first into /etc/mtab, then into /etc/fstab
98 when searching for filesystem paths. Also fixed some problems
99 caused by binding mounts or multiple block device mounts.
100 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
101 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
102 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
103 and #160305, Sourceforge bugs #618699 and #679832).
104
1055. Made dump's -I option accept the value '0' meaning all the
106 read errors will be ignored. This can be useful when running
107 dump from unattended sessions (like cron jobs). Thanks to
108 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
109
1106. Fixed the output of dump to indicate 'blocks' instead of
111 'tape blocks' in the various messages (blocks are always
112 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
113 made it clearly print the current blocksize at the start of
114 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
115 the suggestions.
116
1177. Made rmt understand long (largefiles) seeks.
118
1198. Fixed build with very old versions of libext2fs, where
120 EXT2_FT_* constants were undefined.
121
1229. Made dump accept the dumpdates path on the command line
123 (-D file option) instead of using only the hardcoded one.
124 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
125 suggestion.
126
12710. Enabled rmt, LFS, readline, QFA options by default in
128 ./configure. Updated the configure process (new versions
129 of config.guess, config.sub etc).
130
131Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
132=======================================================================
133
1341. Changed dump to use fcntl(F_SETLK) style locking instead
135 of flock() when locking the dumpdates file. With the old
136 locking scheme, a local user having read rights on the
137 dumpdates file could be able to do a Denial of Service attack
138 on dump. In order to lock the dumpdates file with the new
139 scheme, the user would need to have write access on the file.
140 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
141 reporting the bug (originally a bugtraq post).
142
1432. Fixed interactive 'ls' which caused spurious errors warnings
144 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
145 <jorgen_ostling@users.sourceforge.net> for reporting this
146 bug.
147
1483. Fixed dump's estimate when dealing with sparse inodes.
149
1504. Modified dump to allow setting a blocksize bigger than 32kB
151 (raised the limit to 1024kB), because newer hardware needs
152 this for proper operation. Thanks to Dirk Traenapp
153 <dtraenapp@users.sourceforge.net> for reporting this.
154
1555. Fixed a bug causing Dump to stop and report an error if an
156 inode number in the exclude file was followed by some amount
157 of whitespace. Thanks to Jeffrey Sofferin
158 <sofferin@users.sourceforge.net> for reporting this bug.
159
1606. Fixed a bug which caused restore, in some particular cases,
161 to ask some 'scary' questions and leave a bunch of RSTTMP
162 directories behind when restoring incremental tapes. Thanks
163 to Philippe Troin <phil@fifi.org> for reporting this bug and
164 providing the test cases.
165
1667. Changed the wording when inodes are excluded from dump:
167 replaced 'Added inode 7 to exclude list' with
168 'Excluding inode 7 (resize inode) from dump', as suggested
169 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
170
171Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
172===================================================================
173
1741. Fixed rmt open flags transmission (GNU's symbolic syntax over
175 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
176 <eros@lamel.bo.cnr.it> for reporting the bug.
177
178Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
179===================================================================
180
1811. Made dump print out the ext2 logical block number in case of a read
182 error, which can be given as an argument to debugfs' ncheck command,
183 in order to find out the affected inode. Added note about this
184 usage in dump's man page.
185
1862. Fixed a problem in restore when reading tapes written on big
187 endian machines with very old versions of dump. The patch was
188 contributed by George Helffrich <george@geology.bristol.ac.uk>.
189
1903. Fixed the tape length calculation when using large tapes
191 and compression. Thanks to Georg Lippold
192 <g_lippold@sourceforge.net> for reporting the bug.
193
1944. Added a new set of examples in dump_on_cd_2 directory, based
195 on dump_on_cd examples but somewhat enhanced, supporting DVD
196 media, and localized in english and german. Thanks to
197 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
198
1995. Made dump save 32 bit UID/GID. Internally, this was achieved
200 by switching from the old BSD inode format to the new BSD
201 inode format, which means that the tape format was changed.
202 However, since all restore versions out there should
203 transparently support both inode formats, the change should
204 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
205 reporting the bug.
206
2076. Fixed a lot of warnings in the code shown when compiling
208 with 'gcc -W'. Thanks to Matthias Andree
209 <matthias.andree@stud.uni-dortmund.de> for reporting this.
210
2117. Fixed a small markup bug in the dump man page. Thanks to
212 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
213 patch.
214
2158. Rewrote entirely the man pages using the tmac.an macro
216 package (Linux man page format) instead of the original BSD
217 format. They should be now cleaner and easier to modify.
218
219Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
220==================================================================
221
2221. Fixed a problem in the rmt ioctl command, where ioctl's issued from
223 non Linux clients were misinterpreted. The description of the problem
224 (incompatible numbering in Linux mtio opcodes) is documented at
225 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
226