summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2023-12-10 09:45:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2023-12-10 09:45:27 +0000
commit38b6c8c8ca8294c87bce5325fbba50fba1a40465 (patch)
tree14f869a6270a904547a6abcb113c5425554d8331 /README.md
parentAdding upstream version 1.2.3. (diff)
downloaddnsjit-38b6c8c8ca8294c87bce5325fbba50fba1a40465.tar.xz
dnsjit-38b6c8c8ca8294c87bce5325fbba50fba1a40465.zip
Adding upstream version 1.3.0.upstream/1.3.0
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index a7485ee..7fe8043 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ Debian/Ubuntu: `apt-get install libluajit-5.1-dev libpcap-dev luajit liblmdb-dev
- Note: On Xenial you'll need to install `libzstd1-dev`
CentOS: `yum install luajit-devel libpcap-devel lmdb-devel ck-devel gnutls-devel lz4-devel libzstd-devel`
+- Note: You might need EPEL and/or PowerTools repositories enabled
FreeBSD: `pkg install luajit libpcap lmdb gnutls concurrencykit zstd liblz4`
@@ -120,6 +121,7 @@ while true do
local object = producer(ctx)
if object == nil then break end
if object:type() == "payload" then
+ dns:reset()
dns.obj_prev = object
if dns:parse_header() == 0 then
print(dns.id)
@@ -128,11 +130,14 @@ while true do
end
```
+Disclaimer, to keep the above example short it only works on pre-prepared
+PCAPs with only UDP DNS traffic in them.
+
See more examples in the [examples](https://github.com/DNS-OARC/dnsjit/tree/develop/examples) directory.
## Copyright
-Copyright (c) 2018-2022, OARC, Inc.
+Copyright (c) 2018-2023, OARC, Inc.
All rights reserved.