• Home
Name Date Size #Lines LOC

..--

corpus/03-May-2024-

README.mdD03-May-20241.1 KiB4129

bind-9.13.2.patchD03-May-202412.1 KiB473451

bind-9.13.5-W1.patchD03-May-202410.5 KiB397386

bind-9.14.1.patchD03-May-202410.3 KiB391380

named.confD03-May-20241.7 KiB10495

test.zoneD03-May-2024565 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
11Note: 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
131. Compile honggfuzz
142. Download and unpack bind-9.11.\*.tgz
153. 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
214. 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
295. 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
366. **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