Home | History | Annotate | only in /external/honggfuzz/examples/bind
Up to higher level directory
NameDateSize
IN.req-response/21-Aug-2018
named.conf21-Aug-20181.7K
patch-bind-9.11.1-P321-Aug-20189K
README.md21-Aug-20181.1K
test.zone21-Aug-2018565

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