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
|
# Example dnsjit module
This module is an example how to create your own modules for dnsjit.
`counter` is a simple filter module that counts objects passed through it.
# Dependencies
To build it you will need dnsjit's development files and if you want to run
the test then `dnsjit` itself also.
```
add-apt-repository ppa:dns-oarc/dnsjit-pr
apt-get install dnsjit dnsjit-dev
```
This module also uses two other example modules, input-example and
output-example, so they must also be installed.
## Build
```
sh autogen.sh
mkdir -p build
cd build
../configure
make
make install
```
## Test
```
make test
```
|