Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

JSON export - idea #148

Open
adulau opened this issue Feb 6, 2018 · 3 comments
Open

JSON export - idea #148

adulau opened this issue Feb 6, 2018 · 3 comments

Comments

@adulau
Copy link

adulau commented Feb 6, 2018

Hi Happy developers at DNS-OARC ;-),

A small question, is there a specific reason why a simple JSON stream export is not in dnscap? We did
some work on CBOR dns format but we still think that having a simple JSON stream export (just like the standard dig format export) would be of a great interest.

Is it something that you plan to do? If not, would you accept a contribution/pull-request to do a JSON stream export?

Thank you very much for your work.

@jelu
Copy link
Member

jelu commented Feb 7, 2018

The only reason would be that no one has made it yet.

The CDS format was created with a couple of specific targets, reduce the storage required to around 30% (as seen with C-DNS) and keep all uniqueness of the DNS message (incorrectness, invalid, exactly how the DNS labels are arranged etc).

With that in mind, JSON would bloat DNS rather then reduce the size. You would also need to describe the JSON which will bloat it even more. Also, dnscap should be able to capture at high rates, adding something as JSON output would add a lot of processing power requirements.

There is currently no plans to add JSON output but there is another experimental CBOR output that follows an RFC draft of DNS-over-JSON and CBOR can be easily converted to JSON.

This is an open source project, fire away them pull requests! :)

@jelu
Copy link
Member

jelu commented Feb 15, 2018

@adulau ping?

1 similar comment
@jelu
Copy link
Member

jelu commented Jun 22, 2018

@adulau ping?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants