Git Product home page Git Product logo

dnssnarf's Introduction

DNSSnarf Logo

Description

DNSsnarf, a DNS statistics gatherer for use with any DNS daemon.

DNSSNARF(1)

NAME dnssnarf - a DNS statistics gatherer for use with any DNS daemon.

SYNOPSIS dnssnarf [-f] [-i INTERFACE]

DESCRIPTION This manual page documents briefly describes the dnssnarf daemon.

   The  dnssnarf  daemon  should  be  started  and stopped via its init.d script, which is automatically installed by the package.  Configuration options are specified in /etc/default/dnssnarf.  By
   default upon starting, the daemon will immediately fork itself and run into the background.

   -f     Runs DNSsnarf in the foreground.

   -i INTERFACE
          Run DNSsnarf on the specified interface, instead of the system default.

   Use the dnssnarfclient tool to retrieve the statistics that dnssnarf gathers.

SEE ALSO dnssnarfclient(1).

AUTHOR dnssnarf was written by Peter Geissler [email protected] and Nick Douma [email protected]

   This manual page was written by Nick Douma <[email protected]> for Cyso, and is licensed under GPLv2.

DNSSNARFCLIENT(1)

NAME dnssnarfclient - a tools to read statistics from DNSsnarf

SYNOPSIS dnssnarfclient -r RECORDTYPE -q | -a | -t

DESCRIPTION This manual page documents briefly describes the dnssnarfclient command and its options.

   dnssnarfclient  connects  with  a running dnssnarf daemon, using shared memory. It can then report statistics about DNS record types, and how many times a request has been received and processed
   for a specific type since the start of the dnssnarf daemon.

   -r RECORDTYPE
          Type of DNS record to receive statistics for. Can be any of: A, AAAA, CNAME, MB, MD, MF, MG, MR, MX, NAPTR, NS, PTR, RP, SOA, SPF, SRV, SSHFP, TX. Use all to sum up all record types.

   -q     Count of incoming packets.

   -a     Count of outgoing packets.

   -t     Count of incoming and outgoing packets combined.

SEE ALSO dnssnarf(1),

AUTHOR dnssnarf was written by Peter Geissler [email protected] and Nick Douma [email protected]

   This manual page was written by Nick Douma <[email protected]> for Cyso, and is licensed under GPLv2.

dnssnarf's People

Contributors

lordgaav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

teqt

dnssnarf's Issues

stack smashing

We ran into a stack smashing error on ns3, the relevant daemon.log entries are:

May 29 11:15:46 ns3 dnssnarf: started.
May 29 11:21:14 ns3 dnssnarf: *** stack smashing detected ***: /usr/bin/dnssnarf terminated

With some google skill and shitty C skills I think it's because we have a buffer overflow somewhere.

Debug logging

While using dnssnarf on a live server, we have experienced a crash. It would be useful if dnssnarf could support a debugging mode of sort, with which we can collect more data to determine the cause of any future crashes or problems.

Preserve state

Currently, if dnssnarf is shut down or otherwise stopped, the internal state is not preserved. This causes all counters to restart at 0 on the next run. Although this is probably not a problem if using dnssnarf with tools like Zabbix to create statistics, which can handle restarting counters, the right thing to do is preserving state between runs, so the dnssnarf can pick up where it left off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.