Bug 235461 - New port: dns/dnsjit: script-based engine for easy capturing, parsing and statistics gathering of DNS messages
Summary: New port: dns/dnsjit: script-based engine for easy capturing, parsing and sta...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-03 13:04 UTC by Kurt Jaeger
Modified: 2021-10-04 21:46 UTC (History)
3 users (show)

See Also:


Attachments
dnsjit.shar (4.69 KB, text/plain)
2019-02-03 13:04 UTC, Kurt Jaeger
no flags Details
dnsjit 0.9.8 (4.88 KB, patch)
2020-02-24 14:36 UTC, Leo Vandewoestijne
no flags Details | Diff
dnsjit 0.9.8 fix (5.02 KB, patch)
2020-02-24 15:07 UTC, Leo Vandewoestijne
no flags Details | Diff
dnsjit 1.0.0 (5.21 KB, text/plain)
2020-07-28 08:44 UTC, Leo Vandewoestijne
no flags Details
dnsjist 1.2.1 (7.53 KB, text/shar)
2021-09-16 11:15 UTC, Leo Vandewoestijne
no flags Details
Patch for dnsjit (7.87 KB, patch)
2021-09-17 10:16 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2019-02-03 13:04:38 UTC
Created attachment 201681 [details]
dnsjit.shar

dnsjit is a combination of parts taken from dsc, dnscap, drool, and
put together around Lua to create a script-based engine for easy
capturing, parsing and statistics gathering of DNS messages while
also providing facilities for replaying DNS traffic.

One of the core functionality that dnsjit brings is to tie together
C and Lua modules through a receiver/receive interface. This allows
creation of custom chains of functionality to meet various requirements.
Another core functionality is the ability to parse and process DNS
messages even if the messages are non-compliant with the DNS
standards.

WWW: https://www.dns-oarc.net/tools/dnsjit

---------

right now, the program does not yet run properly.
Comment 1 Leo Vandewoestijne 2020-02-24 14:36:04 UTC
Created attachment 211898 [details]
dnsjit 0.9.8

Same same - but 0.9.8
Comment 2 Leo Vandewoestijne 2020-02-24 15:07:04 UTC
Created attachment 211900 [details]
dnsjit 0.9.8 fix

Oups; I forgot some plist problems. This solves.
Comment 3 Leo Vandewoestijne 2020-07-28 08:44:43 UTC
Created attachment 216826 [details]
dnsjit 1.0.0

Same same - but 1.0.0
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2021-09-15 21:59:22 UTC
Apologize for the very long time processing this submission but if it still is of interest please update to latest current version otherwise close the report. Also  please include on what platform you're run-tested on.
Comment 5 Leo Vandewoestijne 2021-09-16 11:15:11 UTC
Created attachment 227934 [details]
dnsjist 1.2.1

This should be it.

Tested successful using poudriere on 12.2-RELEASE-p10 amd64.

Validated using portlint, portclippy and portformat.
Portlint is nagging about order, portclippy and portformat are not.
Comment 6 Daniel Engberg freebsd_committer freebsd_triage 2021-09-16 15:34:21 UTC
Hi Leo,

I pinged upstream about openresty compatibility as it supports more platforms which would be nice and I seem to have fixed what portlint was nagging about. As Kurt seems a bit busy would you mind being the maintainer of this port?

Best regards,
Daniel
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2021-09-17 10:16:56 UTC
Created attachment 227958 [details]
Patch for dnsjit

Minor fixes and use openresty fork of luajit
Comment 8 Daniel Engberg freebsd_committer freebsd_triage 2021-09-17 10:18:52 UTC
Leo, can you give this a go?
This also uses openresty's fork as it provides better arch support than luajit and looking at other distros we're probably going to use that as primary variant of luajit in the end.
Comment 9 Daniel Engberg freebsd_committer freebsd_triage 2021-09-26 07:09:57 UTC
Friendly ping
Comment 10 Leo Vandewoestijne 2021-09-28 13:29:06 UTC
Friendly pong - please hold on.
(just returned from abroad, will look at this this week).
Comment 11 Leo Vandewoestijne 2021-09-29 13:41:28 UTC
Comment on attachment 227958 [details]
Patch for dnsjit

All perfect, and certainly in favor of the luajit-openresty.

Thanks!
Comment 12 commit-hook freebsd_committer freebsd_triage 2021-10-04 21:44:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bfcb458976fe81177098555c5f259f2d076a2b3a

commit bfcb458976fe81177098555c5f259f2d076a2b3a
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2021-10-04 21:31:10 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-04 21:43:54 +0000

    dns/dnsjit: New port: Engine for capturing, parsing and replaying DNS

    dnsjit is a combination of parts taken from dsc, dnscap, drool, and
    put together around Lua to create a script-based engine for easy
    capturing, parsing and statistics gathering of DNS messages while
    also providing facilities for replaying DNS traffic.

    WWW: https://github.com/DNS-OARC/dnsjit

    Originally submitted by pi, updated by Leo Vandewoestijne and I made
    some minor fixes on top of Leo's patch

    PR:             235461
    Approved by:    arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32268

 dns/Makefile               |   1 +
 dns/dnsjit/Makefile (new)  |  35 ++++++++++
 dns/dnsjit/distinfo (new)  |   5 ++
 dns/dnsjit/pkg-descr (new) |  13 ++++
 dns/dnsjit/pkg-plist (new) | 158 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 212 insertions(+)
Comment 13 Daniel Engberg freebsd_committer freebsd_triage 2021-10-04 21:46:33 UTC
Committed, thanks!