]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #4132: Openness/closeness of RANGE intervals in rpl files.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Oct 2018 09:01:53 +0000 (09:01 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Oct 2018 09:01:53 +0000 (09:01 +0000)
git-svn-id: file:///svn/unbound/trunk@4953 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testdata/black_ds_entry.rpl
testdata/black_key_entry.rpl
testdata/black_prime_entry.rpl
testdata/iter_pcnamech.rpl
testdata/iter_pcnamechrec.rpl
testdata/net_signed_servfail.rpl

index 8e424e33594099552265ca4bf8d411210fec5275..ce0e2183137e326b9fd026eacded1c334167078a 100644 (file)
@@ -7,6 +7,7 @@
          deny-any: yes in unbound.conf.  This responds with an empty message
          to queries of type ANY.
        - Fix #4141: More randomness to rrset-roundrobin.
+       - Fix #4132: Openness/closeness of RANGE intervals in rpl files.
 
 24 October 2018: Ralph
        - Add markdel function to ECS slabhash.
index 8b4fa9bd7c232db8b318b7b2429fa125629b01be..e2367a980d3188525c561cc5cd83baa5e23f4889 100644 (file)
@@ -19,7 +19,7 @@ SCENARIO_BEGIN Test validator with blacked key entry for DS and further queries
 ; until the key entry expires.
 
 ; K.ROOT-SERVERS.NET.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 193.0.14.129 
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -47,7 +47,7 @@ ENTRY_END
 RANGE_END
 
 ; a.gtld-servers.net.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 192.5.6.30
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -116,7 +116,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.example.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.4
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -228,7 +228,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.blabla.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.5
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -336,7 +336,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.sub.example.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.4.6
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -402,7 +402,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.foo.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.4.7
 ENTRY_BEGIN
 MATCH opcode qtype qname
index 4fb3c719d9ade47f9514c5a028cc8d9831f5d9c8..37946c008cfd4f5fb6b0c74947f26562438ac1d7 100644 (file)
@@ -19,7 +19,7 @@ SCENARIO_BEGIN Test validator with blacked key entry and further queries
 ; until the key entry expires.
 
 ; K.ROOT-SERVERS.NET.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 193.0.14.129 
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -47,7 +47,7 @@ ENTRY_END
 RANGE_END
 
 ; a.gtld-servers.net.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 192.5.6.30
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -116,7 +116,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.example.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.4
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -228,7 +228,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.blabla.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.5
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -336,7 +336,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.sub.example.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.4.6
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -402,7 +402,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.foo.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.4.7
 ENTRY_BEGIN
 MATCH opcode qtype qname
index c3f93266fb102dacb19908a3ea615e43b309a018..8221d2db6b58adcdca5e6acb16582703b451384c 100644 (file)
@@ -18,7 +18,7 @@ SCENARIO_BEGIN Test validator with blacklist prime gives bad key entry
 ; comes from an 'expired signatures' name server.
 
 ; K.ROOT-SERVERS.NET.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 193.0.14.129 
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -46,7 +46,7 @@ ENTRY_END
 RANGE_END
 
 ; a.gtld-servers.net.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 192.5.6.30
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -96,7 +96,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.example.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.4
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -177,7 +177,7 @@ ENTRY_END
 RANGE_END
 
 ; ns.blabla.com.
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 1.2.3.5
 ENTRY_BEGIN
 MATCH opcode qtype qname
index 1aba95b07aa7af890a3c3f2f23331b0420fd4ff9..098ae0bb544923cc52001a84099748ed094e3553 100644 (file)
@@ -109,8 +109,8 @@ ENTRY_END
 
 RANGE_END
 
-; the working version, until time 50.
-RANGE_BEGIN 0 50
+; the working version, until time 49.
+RANGE_BEGIN 0 49
        ADDRESS 1.2.3.44
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -220,7 +220,7 @@ RANGE_END
 
 ; Broken.   Does not respond to anything (servfail instead
 ; of timeouts since this is easier to encode in .rpl file format).
-RANGE_BEGIN 0 50
+RANGE_BEGIN 0 49
        ADDRESS 1.2.3.55
 ENTRY_BEGIN
 MATCH opcode 
index 90745fcf3eb2310325f4d2d2dd82d58fa4fd800a..ca996bb389a58225c9d45fe3c66e5a82ea2950bc 100644 (file)
@@ -110,8 +110,8 @@ ENTRY_END
 
 RANGE_END
 
-; the working version, until time 50.
-RANGE_BEGIN 0 50
+; the working version, until time 49.
+RANGE_BEGIN 0 49
        ADDRESS 1.2.3.44
 ENTRY_BEGIN
 MATCH opcode qtype qname
@@ -221,7 +221,7 @@ RANGE_END
 
 ; Broken.   Does not respond to anything (servfail instead
 ; of timeouts since this is easier to encode in .rpl file format).
-RANGE_BEGIN 0 50
+RANGE_BEGIN 0 49
        ADDRESS 1.2.3.55
 ENTRY_BEGIN
 MATCH opcode 
index 925dceee25ece1f26f663e1c70668db8f72729d1..ada445574da74bfe3bacc3c1204674e30ea467dd 100644 (file)
@@ -19,7 +19,7 @@ SCENARIO_BEGIN Test validator with DS introduction for .net
 ; after introduction of a .NET DS in the root for a running validator.
 
 ; K.ROOT-SERVERS.NET. (before .net DS introduction)
-RANGE_BEGIN 0 100
+RANGE_BEGIN 0 99
        ADDRESS 193.0.14.129 
 ENTRY_BEGIN
 MATCH opcode qtype qname