Sean Whalen
bd5774d71d
Merge branch 'master' of https://github.com/ramspoluri/parsedmarc into ramspoluri-master
2024-11-02 11:38:41 -04:00
Sean Whalen
8e9112bad3
Merge branch 'master' of https://github.com/ramspoluri/parsedmarc
2024-11-02 10:48:15 -04:00
Sean Whalen
40e041a8af
Merge branch 'master' of https://github.com/ramspoluri/parsedmarc
2024-11-02 10:48:10 -04:00
Sean Whalen
7ba433cddb
Fix code style
2024-11-02 10:39:05 -04:00
Sean Whalen
6d467c93f9
Update __init__.py
...
Add reference to https://www.rfc-editor.org/rfc/rfc3501#page-52
2024-11-02 10:35:22 -04:00
Sean Whalen
be38e83761
Code cleanup
2024-11-02 10:28:11 -04:00
Sean Whalen
ef4e1ac8dc
Code cleanup
2024-11-02 10:26:30 -04:00
Sean Whalen
39e4c22ecc
Fix syntax
2024-11-02 10:23:23 -04:00
Sean Whalen
88ff3a2c23
Update syntax to support Python < 3.10
2024-11-02 10:04:01 -04:00
Sean Whalen
d8aee569f7
Update __init__.py
2024-11-02 09:50:55 -04:00
Sean Whalen
debc28cc6e
8.15.4
...
- Fix crash if aggregate report timespan is > 24 hours
8.15.4
2024-10-24 19:53:44 -04:00
Sean Whalen
52ccf0536c
8.15.3
...
- Ignore aggregate reports with a timespan of > 24 hours (Fixes #282 )
2024-10-24 19:43:28 -04:00
Sean Whalen
976a3274e6
8.15.2
8.15.2
2024-10-24 18:04:19 -04:00
Sean Whalen
bb722e651a
Fix parsing when auth record is missing
2024-10-24 17:14:02 -04:00
PhiBo
ab280d7a34
Update Dockerfile ( #571 )
...
* Use multi-stage build to reduce image size
* Add ARGS to be more flexible during image builds
* Create user and use it instead of root
* Don't update pip in container. The Python image should have a recent
version
2024-10-24 14:18:29 -04:00
Alexej Sidorenko
92b12eaacf
issue #565 - Logfile is overwritten when parsedmarc (re)starts ( #569 )
...
Do not re-write the log file if already exists. Add a log handler in "append" mode (that should be an implicit value but it's defined explicitly for the visibility).
2024-10-10 15:27:15 -04:00
Jed Laundry
8444053476
Create optional dependency group for build, fix codecov ( #567 )
...
* Create optional dependency groups for build and cli
* revert cli optional-dependencies group
2024-10-07 13:47:35 -04:00
Sean Whalen
1ef3057110
8.15.1
...
- Proper IMAP namespace fix (Closes issue #557 and issue #563 )
- Require `mailsuite>=1.9.17`
- Revert PR #552
- Add pre-flight check for nameservers (PR #562 closes issue #543 )
- Reformat code with `ruff`
8.15.1
2024-10-02 21:19:57 -04:00
Paolo Schiro
fdb4e4cb36
Added nameservers pre-flight check, issue #543 ( #562 )
2024-10-02 20:48:02 -04:00
N4v41
d80ce744da
add some identified missing organizations ( #566 )
2024-09-26 12:37:00 -04:00
Sean Whalen
f12828485b
Parse aggregate reports with multiple policy_published records
2024-09-12 18:23:11 -04:00
centja1
0a6cfb602c
Added output to webhook as an option ( #558 )
...
* Added output to webhook as an option
* added documentation for new webhook configuration
---------
Co-authored-by: Sean Whalen <44679+seanthegeek@users.noreply.github.com >
2024-09-12 15:47:59 -04:00
Sean Whalen
cf46558fa3
Update reverse DNS map
2024-09-12 15:01:40 -04:00
Sean Whalen
f1a526c247
Update reverse DNS map
2024-09-12 14:55:01 -04:00
Sean Whalen
7344ea9dda
Update reverse DNS map
2024-09-12 14:53:59 -04:00
Sean Whalen
7633a30066
maildir fixes
2024-09-12 14:48:26 -04:00
Sean Whalen
266d57eb8c
Fix maildir connection
2024-09-06 16:00:23 -04:00
Paolo Schiro
7b7d20b1a4
Added input report maildir connector, issue #82 ( #555 )
...
Co-authored-by: Paolo Schiro <paolo.schiro@staff.aruba.it >
2024-09-06 15:44:57 -04:00
Sean Whalen
b530d624e6
Add example google SMTP-TLS report email
2024-09-04 20:03:51 -04:00
Sean Whalen
5973ca8205
Code style fixes
2024-09-04 16:48:07 -04:00
Sean Whalen
e967778f25
8.15.0
...
- Fix processing of SMTP-TLS reports ([#549 ](https://github.com/domainaware/parsedmarc/issues/549 )), which broke in commit [410663d ](https://github.com/domainaware/parsedmarc/commit/410663dbcaba019ca3d3744946348b56a635480b )(PR [#530 ](https://github.com/domainaware/parsedmarc/pull/530 ))
- This PR enforced a stricter check for base64-encoded strings, which SMTP TLS reports from Google did not pass
- Removing the check introduced its own issue, because some file paths were treated as base64-encoded strings
- Create a separate `extract_report_from_file_path()` function for processioning reports based on a file path
- Remove report extraction based on a file path from `extract_report()`
2024-09-04 16:31:41 -04:00
Sean Whalen
630863df5c
8.14.2
...
- Update `base_reverse_dns_map.csv` to fix over-replacement on [`f3a5f10`](https://github.com/domainaware/parsedmarc/commit/f3a5f10d67b02c5db31ae1f7ced68028f46ca2a3 ) (PR #553 )
2024-09-03 13:58:07 -04:00
Anael Mobilia
3a3b02687e
Update base_reverse_dns_map.csv ( #553 )
...
Fix over-replacement on f3a5f10
2024-09-03 13:51:30 -04:00
Sean Whalen
79cd7d3c3d
Actual 8.14.1 release
...
- Fix unit tests by enforcing base64 validation
2024-09-03 13:22:27 -04:00
Sean Whalen
3ca3d64775
8.14.1
2024-09-03 11:24:52 -04:00
Sean Whalen
21180f4bb8
8.14.0 release
...
- Fix processing of SMTP-TLS reports (#549 )
- Skip invalid aggregate report rows without calling the whole report invalid
- Some providers such as GoDaddy will send reports with some rows missing a source IP address, while other rows are fine
- Fix Dovecot support by using the seperator provided by the IPMAP namespace when possible (PR #552 closes #551 )
- Only download `base_reverse_dns_map.csv` once (fixes #542 )
- Update included `base_reverse_dns_map.csv`
- Replace University category with Education to be more inclusive
- Update included `dbip-country-lite.mmdb`
2024-09-03 08:37:19 -04:00
Sean Whalen
fc36a78a4d
8.14.0
...
- Skip invalid aggregate report rows without calling the whole report invalid
- Some providers such as GoDaddy will send reports with some rows missing a source IP address, while other rows are fine
- Fix Dovecot support by using the seperator provided by the IPMAP namespace when possible (PR #552 closes #551 )
- Only download `base_reverse_dns_map.csv` once (fixes #542 )
- Update included `base_reverse_dns_map.csv`
- Replace University category with Education to be more inclusive
- Update included `dbip-country-lite.mmdb`
2024-09-02 22:42:37 -04:00
Sean Whalen
f3a5f10d67
Replace University category with Education to be more inclusive
2024-09-02 21:08:17 -04:00
Frederico Freire Boaventura
4787da9ea1
Fix the tilde expansion for user home folder ( #550 )
...
This will enable the tilde expansion to map the output dir to the home
user using `~/path`.
2024-09-02 17:28:48 -04:00
Gaige B Paulsen
06d8578c47
fix: use namespace for separator ( #552 )
2024-09-02 17:27:28 -04:00
Sean Whalen
ef621d68c7
Cache the reverse DNS map
2024-09-02 17:25:55 -04:00
Sean Whalen
1c3bcc05c7
Skip invalid aggregate report rows without calling the whole report invalid
2024-09-02 17:08:51 -04:00
Sean Whalen
554888b3dd
Update IPDP database
2024-09-02 17:07:32 -04:00
N4v41
17d9599c54
Add various mail providers to the reverse DNS map ( #548 )
...
* Update base_reverse_dns_map.csv
Add Cloudflare E-mail routing service
* Add various missing mail providers
2024-08-31 12:08:15 -04:00
N4v41
fb0adf0627
Update base_reverse_dns_map.csv ( #547 )
...
Add Cloudflare E-mail routing service
2024-08-29 15:01:45 -04:00
N4v41
ef820c5d68
Update base_reverse_dns_map.csv ( #546 )
...
add Qualtrics to base_reverse_dns_map
2024-08-29 15:01:19 -04:00
Sean Whalen
cc1b6ae389
8.13.0
...
- Add Elastic/OpenSearch index prefix option (PR #531 closes #159 )
- Add GELF output support (PR #532 )
2024-08-24 21:29:32 -04:00
Sean Whalen
0fa6bebf5a
Fix error in docs
2024-08-24 20:10:57 -04:00
Sean Whalen
06ce080171
Update cli.py
...
Remove trailing spaces
2024-08-24 11:34:48 -04:00
Jason Lingohr
11e0461b9d
Add GELF support ( #532 )
...
* Implement the ability to log to a GELF server/input, via the use of pygelf.
* Fix flake8 style checks.
2024-08-24 11:28:55 -04:00