Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
corpus/ | 03-May-2024 | - | ||||
README.md | D | 03-May-2024 | 1.1 KiB | 41 | 29 | |
bind-9.13.2.patch | D | 03-May-2024 | 12.1 KiB | 473 | 451 | |
bind-9.13.5-W1.patch | D | 03-May-2024 | 10.5 KiB | 397 | 386 | |
bind-9.14.1.patch | D | 03-May-2024 | 10.3 KiB | 391 | 380 | |
named.conf | D | 03-May-2024 | 1.7 KiB | 104 | 95 | |
test.zone | D | 03-May-2024 | 565 | 15 | 13 |
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