Skip to content

Commit

Permalink
Merge pull request #13 from userjack6880/dev
Browse files Browse the repository at this point in the history
feature-complete - merge dev (fc) into main (do last)
  • Loading branch information
userjack6880 authored Jul 27, 2022
2 parents 4a39a15 + 856ef15 commit 0a43db8
Show file tree
Hide file tree
Showing 12 changed files with 231 additions and 171 deletions.
29 changes: 8 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RBL Updater Suite

This is the RBL Updater Suite version 0 alpha-1.3 (0-α1.3) by John Bradley ([email protected]). The RBL Updater Suite is an Open Source suite of tools to be used in conjunction with rpsamd to help autogenerate a local realtime block list (RBL) not reliant on any external lists, such as spamhaus and the like.
This is the RBL Updater Suite Version 1 Feature Complete (1-fc) by John Bradley ([email protected]). The RBL Updater Suite is an Open Source suite of tools to be used in conjunction with rpsamd to help autogenerate a local realtime block list (RBL) not reliant on any external lists, such as spamhaus and the like.

This software is extremely experimental and may cause collateral damage on deliverability. USE AT YOUR OWN RISK.

Expand Down Expand Up @@ -183,21 +183,9 @@ Included is also an install script. As of this current version, it's not well te

# Latest Changes

## 0-α1.3
## Version 1 Feature Complete
- Updated documentation.
- Removed versioning from config.
- Added `list_bans`.
- Graceful JSON failure in `report`.
- Added ability to delete entries from `report`.
- Added IP queue in `monitor` for JSON failure handling.
- Dealt with some inconsistencies in how various ASN's list their information.
- Added "provider" field to each table.
- Reduced the information overload on `list_bans`.
- Gave the ability to limit how many entries `list_bans` will output in the ip blocklist table.
- Added logging to `monitor` and shifted informational output to `verbose` mode.
- Added ability for `monitor` to import past logs and to begin the tail at the start of log file rather than end.
- Updated `generate_list` with updated query similar to `list_bans` to not add to rspamd blocklists redundant IPs covered by network blocks.
- Created a rudementary `install` script.
- Feature complete release.

# Tested System Configuration

Expand All @@ -213,10 +201,9 @@ This project regular release cycle is not yet determined. Versioning is under th

| Version | Support Level | Released | End of Support | End of Life |
| ----------------------------------- | ---------------- | -------------- | -------------- | ------------- |
| Version 1 Feature Complete (future) | Full Support | TBD | TBD | TBD |
| Version 0 Alpha 1.3 (current) | Full Support | 2 May 2022 | TBD | TBD |
| Version 0 Alpha 1.2 | Critical Support | 20 March 2022 | 6 April 2022 | TBD |
| Version 0 Alpha 1.1 or Older | End of Life | 16 March 2022 | 20 March 2022 | 6 April 2022 |
| Version 1 Feature Complete | Full Support | 27 July 2022 | TBD | TBD |
| Version 0 Alpha 1.3 | Critical Support | 2 May 2022 | 27 July 2022 | TBD |
| Version 0 Alpha 1.2 | End of Life | 20 March 2022 | 6 April 2022 | 27 July 2022 |

# Contributing

Expand All @@ -230,6 +217,6 @@ Primary Contributors

Thanks to [all who contributed](https://github.com/userjack6880/rbl_updater/graphs/contributors) and [have given feedback](https://github.com/userjack6880/rbl_updater/issues?q=is%3Aissue).

# License
# Licenses and Copyrights

The RBL Updater Suite is released under GNU GPLv3. See `LICENSE`.
Copyright © 2022 John Bradley (userjack6880). The RBL Updater Suite is released under GNU GPLv3. See `LICENSE`.
29 changes: 28 additions & 1 deletion config.conf.pub
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
# RBL Updater Config File -----------------------------------------------------
# -----------------------------------------------------------------------------
#
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# config.conf
# configuration for rbl_updater
#
# Available at: https://github.com/userjack6880/rbl_updater
#
# -----------------------------------------------------------------------------
#
# This file is part of the RBL Updater Suite for use with rspamd
#
# The RBL Updater Suite is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------------

# see README for instructions regarding these lists
$asnlist = '/etc/rspamd/local.d/maps/blockasn.map';
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 1 Feature Complete
- Updated documentation.
- Feature complete release.

## 0-α1.3
- Updated documentation.
- Removed versioning from config.
Expand Down
2 changes: 1 addition & 1 deletion docs/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Open DMARC Analyzer Version Security Support
| ---------------------------- | --------- | -------------- |
| Version 1 Feature Complete | YES | TBD |
| Version 0 Alpha 1.3 | YES | TBD |
| Version 0 Alpha 1.2 | YES | TBD |
| Version 0 Alpha 1.2 | NO | 27 July 2022 |
| Version 0 Alpha 1.1 or Older | NO | 6 April 2022 |
6 changes: 3 additions & 3 deletions docs/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Due to the limited time available to developrs to maintain support, dates must b

| Version | Support Level | Released | End of Support | End of Life |
| ----------------------------------- | ---------------- | -------------- | -------------- | ------------- |
| Version 1 Feature Complete (future) | Full Support | TBD | TBD | TBD |
| Version 0 Alpha 1.3 (current) | Full Support | 2 May 2022 | TBD | TBD |
| Version 0 Alpha 1.2 | Critical Support | 20 March 2022 | 6 April 2022 | TBD |
| Version 1 Feature Complete | Full Support | 27 July 2022 | TBD | TBD |
| Version 0 Alpha 1.3 | Critical Support | 2 May 2022 | 27 July 2022 | TBD |
| Version 0 Alpha 1.2 | End of Life | 20 March 2022 | 6 April 2022 | 27 July 2022 |
| Version 0 Alpha 1.1 or Older | End of Life | 16 March 2022 | 20 March 2022 | 6 April 2022 |

# Support Levels
Expand Down
8 changes: 5 additions & 3 deletions generate_list
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

# -----------------------------------------------------------------------------
#
# RBL Updater Suite
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# generate_list
# 2022 - John Bradley (userjack6880)
# creates the plaintext file used by rspamd to block messages
#
# Available at: https://github.com/userjack6880/rbl_updater
#
Expand Down Expand Up @@ -36,7 +38,7 @@ use File::Basename;
use DBI;

# version number
my $version = '0 alpha-1.3';
my $version = '1 Feature Complete';

# basic settings --------------------------------------------------------------
my %opts = ();
Expand Down
8 changes: 5 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

# -----------------------------------------------------------------------------
#
# RBL Updater Suite
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# install
# 2022 - John Bradley (userjack6880)
# installation script
#
# Available at: https://github.com/userjack6880/rbl_updater
#
Expand All @@ -28,7 +30,7 @@
# -----------------------------------------------------------------------------

# version number
VERSION='0 alpha-1.3';
VERSION='1 Feature Complete';

# usage -----------------------------------------------------------------------
if [[ $1 == "--help" ]]
Expand Down
8 changes: 5 additions & 3 deletions list_bans
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

# -----------------------------------------------------------------------------
#
# RBL Updater Suite
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# list_bans
# 2022 - John Bradley (userjack6880)
# used to list all current bans by the system
#
# Available at: https://github.com/userjack6880/rbl_updater
#
Expand Down Expand Up @@ -37,7 +39,7 @@ use DBI;
use Text::Table;

# version number
my $version = '0 alpha-1.3';
my $version = '1 Feature Complete';

# basic settings --------------------------------------------------------------
my %opts = ();
Expand Down
9 changes: 6 additions & 3 deletions monitor
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

# -----------------------------------------------------------------------------
#
# RBL Updater Suite
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# monitor
# 2022 - John Bradley (userjack6880)
# monitors mail log for rejected emails and reports IP addresses to the
# system
#
# Available at: https://github.com/userjack6880/rbl_updater
#
Expand Down Expand Up @@ -39,7 +42,7 @@ use LWP::Protocol::https;
use DBI;

# version number
my $version = '0 alpha-1.3';
my $version = '1 Feature Complete';

# basic settings --------------------------------------------------------------
my %opts = ();
Expand Down
8 changes: 5 additions & 3 deletions report
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

# -----------------------------------------------------------------------------
#
# RBL Updater Suite
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# report
# 2022 - John Bradley (userjack6880)
# used to manually report and IP address or range
#
# Available at: https://github.com/userjack6880/rbl_updater
#
Expand Down Expand Up @@ -39,7 +41,7 @@ use LWP::Protocol::https;
use DBI;

# version number
my $version = '0 alpha-1.3';
my $version = '1 Feature Complete';

# basic settings --------------------------------------------------------------
my %opts = ();
Expand Down
29 changes: 29 additions & 0 deletions systemd/rbl-updater.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# -----------------------------------------------------------------------------
#
# RBL Updater Suite - a suite to update realtime blocklists for rspamd
# Copyright (C) 2022 - John Bradley (userjack6880)
#
# rbl-updater.service
# systemd service file for rbl_updater
#
# Available at: https://github.com/userjack6880/rbl_updater
#
# -----------------------------------------------------------------------------
#
# This file is part of the RBL Updater Suite for use with rspamd
#
# The RBL Updater Suite is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------------

[Unit]
Description=rbl_updater suite monitor
After=rspamd.service
Expand Down
Loading

0 comments on commit 0a43db8

Please sign in to comment.