Install ulogd2-mysql by entering the following commands in the terminal:
sudo apt update sudo apt install ulogd2-mysql
Description:
MySQL extension to ulogd
ulogd is an advanced netfilter logging daemon. It can act as a replacement for syslog for logging netfilter ruleset violations (via the NFLOG or ULOG iptables targets), can gather per-connection accounting using NFCT, or gather per-rule accounting using NFACCT. Output can be sent to plain text log files, a variety of SQL database formats, XML files, pcap files, syslog, and many other formats. . This module adds MySQL support to ulogd. If you install this package, you can send netfilter logs or accounting data to a MySQL database.
Homepage: http://www.netfilter.org/projects/ulogd/
Version: 2.0.5-5
Section: universe/net