Bug 235461

Summary: New port: dns/dnsjit: script-based engine for easy capturing, parsing and statistics gathering of DNS messages
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Daniel Engberg <diizzy>
Status: New ---    
Severity: Affects Only Me CC: diizzy, freebsd, pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
dnsjit.shar
none
dnsjit 0.9.8
none
dnsjit 0.9.8 fix
none
dnsjit 1.0.0
none
dnsjist 1.2.1
none
Patch for dnsjit none

Description Kurt Jaeger freebsd_committer 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 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 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 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 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 2021-09-26 07:09:57 UTC
Friendly ping