dmarcr

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

DMARCr

DMARCr is a command-line tool for reading and aggregating DMARC (Domain-based Message Authentication, Reporting, and Conformance) reports. It provides a simple way to parse DMARC XML reports and display aggregated data in a table format.

Features

  • Read DMARC reports from files or standard input.
  • Aggregate data based on source IP, disposition, DKIM, and SPF results.
  • Display aggregated data in a table format.

Installation

To install DMARCr, use the following command:

go install github.com/dubyte/dmarcr@latest

Usage

To read a DMARC report from a file:

dmarcr path/to/report.xml

To read DMARC reports from standard input:

cat *.xml | dmarcr

Example Outputs

Assuming you have DMARC reports with data similar to the following:

  • Source IP: 192.0.2.1, Count: 2, Disposition: none, DKIM: pass, SPF: pass
  • Source IP: 203.0.113.5, Count: 1, Disposition: reject, DKIM: fail, SPF: fail

The output of dmarcr would look like this:

Source IP            Count Disposition DKIM  SPF  
--------------------------------------------------
192.0.2.1            2     none        pass  pass 
203.0.113.5          1     reject      fail  fail 

Contributing

Contributions to DMARCr are welcome! Please feel free to open an issue or submit a pull request.

License

DMARCr is released under the GNU General Public License v3.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL