• Home
  • History
  • Annotate
Name
Date
Size
#Lines
LOC

..--

corpus/23-Nov-2023-

README.mdD22-Nov-20231.1 KiB4129

bind-9.13.2.patchD23-Nov-202312.1 KiB473451

bind-9.13.5-W1.patchD23-Nov-202310.4 KiB393382

named.confD22-Nov-20231.7 KiB10495

test.zoneD22-Nov-2023565 1513

README.md

1 # Fuzzing ISC BIND 9.11.1 #
2 
3 **Requirements**
4 
5   * honggfuzz (1.1 or from the master branch)
6   * clang-4.0, or newer (5.0 works as well)
7   * ISC BIND (e.g.: 9.11.1 or newer)
8 
9 **Preparation**
10 
11 Note: The examples provided below use hardcoded paths (here to: _/home/jagger/_). These will have to be modified, so they reflect your actual build environment.
12 
13 1. Compile honggfuzz
14 2. Download and unpack bind-9.11.\*.tgz
15 3. Patch ISC BIND
16  ```
17 $ cd bind-9.11.1-P3
18 $ patch -p1 < honggfuzz/examples/bind/patch-bind-9.11.1-P3
19  ```
20 
21 4. Configure, compile and install ISC BIND
22 
23 * edit _compile.sh_, so it contains correct dist path
24  ```
25 $ ./compile.sh
26 $ make install
27  ```
28 
29 5. Copy the custom configuration files to ```/home/jagger/fuzz/bind/dist/etc/named.conf``` (i.e. to your bind/named dist directory)
30 
31 ```
32 $ cp honggfuzz/examples/bind/named.conf /home/jagger/fuzz/bind/dist/etc/
33 $ cp honggfuzz/examples/bind/test.zone /home/jagger/fuzz/bind/dist/etc/
34  ```
35 
36 6. **Go**
37 
38 ```
39 $ honggfuzz/honggfuzz -f IN.req-response/ -z -P -- ./dist/sbin/named -c /home/jagger/fuzz/bind/dist/etc/named.conf -g
40  ```
41