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