File: version_bind_hide.rpl

package info (click to toggle)
unbound 1.6.0-2~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 20,444 kB
  • sloc: ansic: 79,862; sh: 5,040; yacc: 1,900; makefile: 1,315; python: 1,302; perl: 141
file content (71 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
; config options
server:
	hide-identity: yes
	hide-version: yes
	identity: "test-identity"
	version: "test-version"
; we rely on the fact that there are no builtin stubs for class CH.
CONFIG_END
SCENARIO_BEGIN Test config hide options for identity and version queries

; version.bind.
STEP 1 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
version.bind. CH TXT
ENTRY_END
STEP 2 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA REFUSED
SECTION QUESTION
version.bind. CH TXT
ENTRY_END

; version.server.
STEP 3 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
version.server. CH TXT
ENTRY_END
STEP 4 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA REFUSED
SECTION QUESTION
version.server. CH TXT
ENTRY_END

; hostname.bind.
STEP 5 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
hostname.bind. CH TXT
ENTRY_END
STEP 6 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA REFUSED
SECTION QUESTION
hostname.bind. CH TXT
ENTRY_END

; id.server.
STEP 7 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
id.server. CH TXT
ENTRY_END
STEP 8 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA REFUSED
SECTION QUESTION
id.server. CH TXT
ENTRY_END

SCENARIO_END