Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

libpacket Binary toolkit #7

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

libpacket Binary toolkit #7

wants to merge 13 commits into from

Conversation

wtfbbqhax
Copy link
Owner

This branch introduces a number of tools built using libpacket and snort3/libdaq

In this pack we have

  • dnshog, Study of DNS packets
  • flood, A packet generator
  • allstars, Another packet generator
  • net_echo, A traffic reflector
  • bpf_filter, A traffic matching engine using libpcap BPF filter programs.

This commit introduces an initial study for the DNS protocol.
These changes are still a work in progress.

The DNS protocol is very information dense, and all the information I'm
interested in is easily abusable.

include/packet/dns.h,
src/dns.cc:

 * Add data types to facilitate DNS parsing

 * Added decode_dns() function
   Currently only capable of parsing queries and answers.

src/udp.c:

 * Initial definition of a bind_udp() to passthrough to decode_dns().
   NOTE: This is disabled for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant