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