Update copyright information in the LICENSE file and executable.
[valtz.git] / CHANGES
1 New in version 0.8
2 ==================
3
4 * Add a man (1) page
5 * Dropped "-x" flag; the return code is always non-zero on error now.
6 * Warn about IP addresses in hostname fields
7 * Add support for SRV records
8 * Allow underscore characters in FQDNs and pointers
9 * Fixed support for generic records (thanks to Justin Hall)
10
11
12 New in version 0.7
13 ==================
14
15 STDIN can now also be an input source if
16 1, filename '-' is used when doing simple filtering.
17 2, filename '-' is stated as file with the 'zonefile' directive in
18 the filter configuration file (-F).
19 3, No zonefile is specified in the filter configuration file (-F).
20
21 -I switch fixed
22
23
24 New in version 0.6
25 ==================
26
27 A security problem existed as A-records in "forbidden" zones could be
28 sneaked in with MX/PTR/NS-records when specifiying ip as well. Now
29 these 'x'-fields are filtered equally as fqdn:s when specified along
30 with 'ip'-fields, i.e. implicit A-record.
31
32 -x switch added to exit program with exitcode instead of 0. This enables
33 shellscripts and Makefiles to determine if errors occured or not.
34
35 -q switch documented.
36
37 -v switch removed as it was not used.
38
39 hostname parts and fqdn:s now allowed to be stated in upper case.
40
41
42 New in version 0.5
43 ==================
44 Tiny cosmetic fix
45
46
47 New in version 0.4
48 ==================
49
50 Switch -r now just relaxes on 'root' records, i.e. fqdn == empty == root.
51
52 Switch -R now relaxes on 'mname', 'p' and 'rdata' being empty.
53 Valid but with limited value.
54
55 Switch -i now relaxes on empty 'ip'-values. Does not generate any record.
56 Really silly.
57
58 Totally empty records are also validated now. (i.e. max(tokens, mandatory))
59
60 :-records are now validated. Record type must not be 2 (NS), 5 (CNAME),
61 6 (SOA), 12 (PTR), 15 (MX), or 252 (AXFR).
62
63 File include is now possible in filter files like this:
64
65 deny file:/etc/zones/localzones.txt
66
67 or even
68
69 zonefile file:/etc/zones/zonefiles.txt
70
71 (Note that inclusion of a file is initiated when a value starts with 'file:'
72 and the part after this prefix is used as filename. This part is also
73 used as a key to cache the content read, so multiple inclusions of the same
74 file is not read from disk during a _single_ valtz-round. This is only
75 applicable when globbing with -F,
76 e.g. valtz -F /etc/zones/filters/zone-filter-external-*
77 and several of these files include the same file with file:... )
78
79 ipprefix is no longer mandatory in %lo-lines.
80
81 ignores excessive fields
82
83 Validates us of locations against previously defined %lo:s. Note that this
84 requires lo:s to be declared before use. Really natural anyway.
85
86 Ignore files ending with ,v ~ .bak .log .old .swp .tmp
87 (this ignoranze can be overridden by the switch -s)