]> git.ipfire.org Git - suricata-reporter.git/log
suricata-reporter.git
17 hours agoconfigure: Bump version to 0.2 master 0.2
Michael Tremer [Wed, 3 Sep 2025 17:39:58 +0000 (17:39 +0000)] 
configure: Bump version to 0.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 hours agopo: Remove Makefile.in
Michael Tremer [Wed, 3 Sep 2025 17:39:42 +0000 (17:39 +0000)] 
po: Remove Makefile.in

This should not be under version control.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
20 hours agoreporter: Only optimize the database once
Michael Tremer [Wed, 3 Sep 2025 14:55:14 +0000 (14:55 +0000)] 
reporter: Only optimize the database once

This helps with contention issues and avoids running this multiple times
which is pointless.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
20 hours agoreporter: Remove all data older than 5 years from the database
Michael Tremer [Wed, 3 Sep 2025 14:45:22 +0000 (14:45 +0000)] 
reporter: Remove all data older than 5 years from the database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 hours agoreporter: Fix typo in email
Michael Tremer [Wed, 3 Sep 2025 13:01:16 +0000 (13:01 +0000)] 
reporter: Fix typo in email

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 hours agopo: Update POFILES.in
Michael Tremer [Wed, 3 Sep 2025 13:01:04 +0000 (13:01 +0000)] 
po: Update POFILES.in

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
24 hours agoREADME: Add note about Bugzilla
Michael Tremer [Wed, 3 Sep 2025 10:30:40 +0000 (10:30 +0000)] 
README: Add note about Bugzilla

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
24 hours agoreporter: Implement filtering email alerts by severity
Michael Tremer [Wed, 3 Sep 2025 10:27:20 +0000 (10:27 +0000)] 
reporter: Implement filtering email alerts by severity

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
24 hours agoreporter: Add the alert severity to the email headers
Michael Tremer [Wed, 3 Sep 2025 10:21:46 +0000 (10:21 +0000)] 
reporter: Add the alert severity to the email headers

That way, we can create filter rules that perform certain actions
depending on the value.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoMakefile: Add a little helper to upload a release tarball
Michael Tremer [Sun, 31 Aug 2025 15:33:36 +0000 (15:33 +0000)] 
Makefile: Add a little helper to upload a release tarball

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agocron: Send reports in the system's default language 0.1
Michael Tremer [Sun, 31 Aug 2025 15:23:58 +0000 (15:23 +0000)] 
cron: Send reports in the system's default language

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days ago.gitignore: Ignore any release tarballs
Michael Tremer [Sun, 31 Aug 2025 15:20:02 +0000 (15:20 +0000)] 
.gitignore: Ignore any release tarballs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agopo: Provide a German translation
Michael Tremer [Sun, 31 Aug 2025 15:19:36 +0000 (15:19 +0000)] 
po: Provide a German translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agopo: Ensure all strings are being translated
Michael Tremer [Sun, 31 Aug 2025 15:09:07 +0000 (15:09 +0000)] 
po: Ensure all strings are being translated

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoUse gettext to translate strings
Michael Tremer [Sun, 31 Aug 2025 15:02:58 +0000 (15:02 +0000)] 
Use gettext to translate strings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agogenerator: Allow to overwrite the locale
Michael Tremer [Sun, 31 Aug 2025 15:00:26 +0000 (15:00 +0000)] 
generator: Allow to overwrite the locale

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoreporter: Use threads instead of worker processes
Michael Tremer [Sun, 31 Aug 2025 14:01:59 +0000 (14:01 +0000)] 
reporter: Use threads instead of worker processes

Python seems to have a lot of issues when it comes to multiprocessing.
Since we won't have too much CPU-bound stuff to do here, we could also
switch to a thread-based model which would eliminate any queue
synchronisation issues between the parent and the worker processes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoreporter: Log the entire exception if something unhandled happened
Michael Tremer [Sun, 31 Aug 2025 13:56:54 +0000 (13:56 +0000)] 
reporter: Log the entire exception if something unhandled happened

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoreporter: Open and close the database in the worker process
Michael Tremer [Sun, 31 Aug 2025 13:56:23 +0000 (13:56 +0000)] 
reporter: Open and close the database in the worker process

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoreporter: Translate severity to strings in emails
Michael Tremer [Sun, 31 Aug 2025 12:36:52 +0000 (12:36 +0000)] 
reporter: Translate severity to strings in emails

This is much easier to understand than just a random number.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agogenerator: Express the rule severity by colors
Michael Tremer [Sun, 31 Aug 2025 12:32:39 +0000 (12:32 +0000)] 
generator: Express the rule severity by colors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agogenerator: Use Prompt as default font
Michael Tremer [Sun, 31 Aug 2025 11:59:44 +0000 (11:59 +0000)] 
generator: Use Prompt as default font

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agogenerator: Implement better line wrapping in the table
Michael Tremer [Sun, 31 Aug 2025 11:43:06 +0000 (11:43 +0000)] 
generator: Implement better line wrapping in the table

Sometimes the signature names are very long and we need to be able to
wrap the next which is only possible by using Paragraph() inside the
individual table cells.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoFix shebangs
Michael Tremer [Sun, 31 Aug 2025 11:42:47 +0000 (11:42 +0000)] 
Fix shebangs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoMakefile.am: Fix indentation
Michael Tremer [Thu, 21 Aug 2025 14:56:53 +0000 (14:56 +0000)] 
Makefile.am: Fix indentation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoDynamically replace /var/run
Michael Tremer [Thu, 21 Aug 2025 14:56:10 +0000 (14:56 +0000)] 
Dynamically replace /var/run

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoUpdate paths in reporter.conf, too
Michael Tremer [Thu, 21 Aug 2025 14:54:02 +0000 (14:54 +0000)] 
Update paths in reporter.conf, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoDynamically replace the configuration directory
Michael Tremer [Thu, 21 Aug 2025 14:52:26 +0000 (14:52 +0000)] 
Dynamically replace the configuration directory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoDynamically replace the logging directory
Michael Tremer [Thu, 21 Aug 2025 14:49:47 +0000 (14:49 +0000)] 
Dynamically replace the logging directory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoUse the Python interpreter that the configure script has detected
Michael Tremer [Thu, 21 Aug 2025 14:44:01 +0000 (14:44 +0000)] 
Use the Python interpreter that the configure script has detected

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoIntroduce autotools
Michael Tremer [Thu, 21 Aug 2025 14:41:18 +0000 (14:41 +0000)] 
Introduce autotools

This will check for the required Python modules and install all the
scripts to the right places.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agosuricata-reporter: Fix syntax difference to fast.log
Michael Tremer [Thu, 21 Aug 2025 13:41:55 +0000 (13:41 +0000)] 
suricata-reporter: Fix syntax difference to fast.log

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Implement sending reports via email
Michael Tremer [Mon, 11 Aug 2025 13:28:24 +0000 (14:28 +0100)] 
suricata-report-generator: Implement sending reports via email

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Don't print rows
Michael Tremer [Mon, 11 Aug 2025 13:28:00 +0000 (14:28 +0100)] 
suricata-report-generator: Don't print rows

This is a left-over debug statement.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata: Automatically email reports once per month/week/day
Michael Tremer [Mon, 11 Aug 2025 11:47:55 +0000 (12:47 +0100)] 
suricata: Automatically email reports once per month/week/day

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Add ability to reload the configuration
Michael Tremer [Sat, 9 Aug 2025 14:14:53 +0000 (15:14 +0100)] 
suricata-reporter: Add ability to reload the configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Add all alerts in full detail
Michael Tremer [Thu, 7 Aug 2025 16:32:13 +0000 (17:32 +0100)] 
suricata-report-generator: Add all alerts in full detail

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Render a PDF document and give it a title page
Michael Tremer [Thu, 7 Aug 2025 14:07:29 +0000 (15:07 +0100)] 
suricata-report-generator: Render a PDF document and give it a title page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Allow span selection
Michael Tremer [Thu, 7 Aug 2025 10:28:20 +0000 (11:28 +0100)] 
suricata-report-generator: Allow span selection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-report-generator: Create some scaffolding
Michael Tremer [Thu, 7 Aug 2025 10:04:44 +0000 (11:04 +0100)] 
suricata-report-generator: Create some scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create a example configuration file
Michael Tremer [Wed, 6 Aug 2025 16:56:34 +0000 (17:56 +0100)] 
suricata-reporter: Create a example configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Add source/destination ports to the emails, too
Michael Tremer [Wed, 6 Aug 2025 16:03:56 +0000 (17:03 +0100)] 
suricata-reporter: Add source/destination ports to the emails, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Don't let workers terminate if something goes wrong
Michael Tremer [Wed, 6 Aug 2025 16:00:02 +0000 (17:00 +0100)] 
suricata-reporter: Don't let workers terminate if something goes wrong

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Log any alerts to a database
Michael Tremer [Wed, 6 Aug 2025 15:58:21 +0000 (16:58 +0100)] 
suricata-reporter: Log any alerts to a database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Make ownership of the socket configurable
Michael Tremer [Wed, 6 Aug 2025 15:24:29 +0000 (16:24 +0100)] 
suricata-reporter: Make ownership of the socket configurable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Make the socket path configurable
Michael Tremer [Wed, 6 Aug 2025 15:09:02 +0000 (16:09 +0100)] 
suricata-reporter: Make the socket path configurable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Make the number of workers configurable
Michael Tremer [Wed, 6 Aug 2025 15:06:23 +0000 (16:06 +0100)] 
suricata-reporter: Make the number of workers configurable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create capability to send alerts to syslog
Michael Tremer [Wed, 6 Aug 2025 15:01:56 +0000 (16:01 +0100)] 
suricata-reporter: Create capability to send alerts to syslog

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Read the email configuration from file
Michael Tremer [Wed, 6 Aug 2025 14:31:51 +0000 (15:31 +0100)] 
suricata-reporter: Read the email configuration from file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Read a configuration file
Michael Tremer [Wed, 6 Aug 2025 14:12:14 +0000 (15:12 +0100)] 
suricata-reporter: Read a configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Parse alerts and generate emails
Michael Tremer [Wed, 6 Aug 2025 14:04:31 +0000 (15:04 +0100)] 
suricata-reporter: Parse alerts and generate emails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata: Enable EVE logging to the reporter
Michael Tremer [Wed, 6 Aug 2025 10:13:14 +0000 (11:13 +0100)] 
suricata: Enable EVE logging to the reporter

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Replace logic on termination signals
Michael Tremer [Tue, 5 Aug 2025 17:07:57 +0000 (18:07 +0100)] 
suricata-reporter: Replace logic on termination signals

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Close the queue on termination
Michael Tremer [Tue, 5 Aug 2025 17:07:30 +0000 (18:07 +0100)] 
suricata-reporter: Close the queue on termination

This will allow us to not have an extra signal to check across
processes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create a listening socket
Michael Tremer [Tue, 5 Aug 2025 15:04:52 +0000 (16:04 +0100)] 
suricata-reporter: Create a listening socket

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Handle signals to gracefully terminate
Michael Tremer [Tue, 5 Aug 2025 14:33:47 +0000 (15:33 +0100)] 
suricata-reporter: Handle signals to gracefully terminate

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create a queue we can push events into the workers with
Michael Tremer [Tue, 5 Aug 2025 14:25:04 +0000 (15:25 +0100)] 
suricata-reporter: Create a queue we can push events into the workers with

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create a couple of worker processes
Michael Tremer [Tue, 5 Aug 2025 14:18:15 +0000 (15:18 +0100)] 
suricata-reporter: Create a couple of worker processes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agosuricata-reporter: Create some scaffolding
Michael Tremer [Tue, 5 Aug 2025 14:03:14 +0000 (15:03 +0100)] 
suricata-reporter: Create some scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>