]> git.wh0rd.org - dump.git/blame - CHANGES
Security fixes from Antonomasia.
[dump.git] / CHANGES
CommitLineData
e2392789 1$Id: CHANGES,v 1.224 2003/03/31 10:09:37 stelian Exp $
ed194aec
SP
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.
4bb009da 9
d3e542e7
SP
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
1176b3c1
SP
153. Fixed restore to correctly ignore sockets when comparing
16 a dump (as socket cannot be properly restored anyway). Thanks
2d32c89c
SP
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.
1176b3c1 22
900bffdb
SP
235. Fixed (again) handling of long (largefile) seeks in rmt.
24 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
25 the bug.
26
6d834d25
SP
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
cdef84ca
SP
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
3458b64d
SP
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
2be77799
SP
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
c3f69f06
SP
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
e1abc9ce
SP
6915. Relicensed dump/restore under the 'revised' BSD license, as per
70 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
71
206f768c
SP
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
e2392789
SP
7917. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
80 <ant@notatla.demon.co.uk> for reporting the bugs.
81
cbdba727 82Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
4bb009da
SP
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.
d86089d1 88
c898ca7a
SP
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
a028bdc8
SP
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
a8a6a503 974. Made dump look first into /etc/mtab, then into /etc/fstab
1a886de8
SP
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
a8a6a503
SP
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).
1a886de8 104
3211c85b
SP
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
7fcd6df5
SP
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
5bf65105
SP
1177. Made rmt understand long (largefiles) seeks.
118
dbb649e8
SP
1198. Fixed build with very old versions of libext2fs, where
120 EXT2_FT_* constants were undefined.
121
c92d83ae
SP
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
1daf06b9
SP
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
51c11d00
SP
131Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
132=======================================================================
d86089d1
SP
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).
ba3af39e 142
2f562f4e
SP
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
1c736b78
SP
1483. Fixed dump's estimate when dealing with sparse inodes.
149
876861d2
SP
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
b8d848c9
SP
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
e531c442
SP
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
c993d83a
SP
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
cbc7fd6a 171Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
ba3af39e
SP
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.
35952b8f 177
4095abc0
SP
178Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
179===================================================================
aa1b1e7f
SP
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.
ed7c25a3
SP
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>.
f75cc889
SP
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.
a9c5ed48
SP
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
9ca70cf6
SP
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.
a18d5997
SP
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
2a2e321d
SP
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
153f9a83
SP
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
cf88ef4c
SP
219Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
220==================================================================
d24dc8af
SP
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