Skip to content

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