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