2021-01-05 15:58:43 +01:00
|
|
|
|
## v1.X.Y
|
|
|
|
|
|
2021-03-09 17:55:55 +01:00
|
|
|
|
### Added
|
|
|
|
|
* New examples usecases (mostly for playbooks) in README.md.
|
2021-03-12 10:32:25 +01:00
|
|
|
|
* New rules (disable by default) can be define in *forward* chain (thanks to
|
|
|
|
|
@p-rintz − PR #14).
|
|
|
|
|
* Possibility to toggle file's backup (thanks to @p-rintz − PR #15).
|
2021-08-07 01:23:36 +02:00
|
|
|
|
* Gentoo-specific variables
|
|
|
|
|
* Ability to specify nft binary path through **nft__bin_location**
|
2021-03-09 17:55:55 +01:00
|
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
* Remove everything related to **in_udp_accept** (see conversation in PR #13).
|
|
|
|
|
Cause it was empty by default and the role currently doesn't manage it very
|
|
|
|
|
well. Take a look to new examples in README.md to find your preferred solution
|
|
|
|
|
(re-adding it, new simple/multi-ports filter rule,…).
|
|
|
|
|
|
|
|
|
|
### Fixed
|
2021-01-05 15:58:43 +01:00
|
|
|
|
* Ansible-lint: Fix line longer than 160 chars.
|
|
|
|
|
|
2021-01-04 16:53:16 +01:00
|
|
|
|
## v1.7.0
|
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
* Allow to merge group variables with **nft_merged_groups** (#11 #12).
|
|
|
|
|
|
|
|
|
|
### Enhancements
|
|
|
|
|
* Debug var with **nft_debug** (useful to set up merging group variables).
|
|
|
|
|
* Extra example to override default variables.
|
|
|
|
|
|
|
|
|
|
### Fix
|
|
|
|
|
* Add missing ICMPv6 rule.
|
|
|
|
|
|
2020-04-21 09:57:55 +02:00
|
|
|
|
## v1.6.0
|
2019-04-16 13:48:48 +02:00
|
|
|
|
|
2019-04-16 16:11:02 +02:00
|
|
|
|
### Features
|
|
|
|
|
* Able to manage a new NAT table (with prerouting and postrouting chains).
|
2020-04-21 08:31:51 +02:00
|
|
|
|
* Block ipv6 multicast by default.
|
2019-04-16 16:11:02 +02:00
|
|
|
|
|
2019-04-16 13:48:48 +02:00
|
|
|
|
### Enhancements
|
|
|
|
|
* Clean tasks name and comments in tasks/main.yml file.
|
2019-04-16 15:21:48 +02:00
|
|
|
|
* Order and clean comments in defaults/main.yml file.
|
2020-04-21 09:53:57 +02:00
|
|
|
|
* Reload rules instead of restart to avoid to loose rulebase due to invalid syntax (#3 Github).
|
2019-04-16 13:48:48 +02:00
|
|
|
|
|
2019-05-07 00:00:48 +02:00
|
|
|
|
### Fix
|
|
|
|
|
* Fix deprecation warning with ansible 2.7: Invoking "apt" only once while
|
|
|
|
|
using a loop via squash_actions is deprecated.
|
2019-05-31 15:28:45 +02:00
|
|
|
|
* Turn nft_old_pkg_list into a list.
|
2019-05-31 20:02:19 +02:00
|
|
|
|
* Add libiptc0 (iptables dependency) to the list of old package to remove.
|
2020-04-21 08:40:31 +02:00
|
|
|
|
* The 10 minutes delay at first run (#1)!
|
2019-05-07 00:00:48 +02:00
|
|
|
|
|
2019-04-16 11:50:30 +02:00
|
|
|
|
## v1.5.0
|
2019-03-15 11:13:26 +01:00
|
|
|
|
|
|
|
|
|
### Enhancements
|
|
|
|
|
* Add a variable to disable "Protect" instructions in systemd unit.
|
2019-04-15 15:28:27 +02:00
|
|
|
|
* Improve vars description/comments in default/main.yml.
|
2019-04-16 11:50:30 +02:00
|
|
|
|
* Add a variable to manage custom content (table, include,…).
|
2019-03-15 11:13:26 +01:00
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.4.1
|
2018-08-06 15:19:06 +02:00
|
|
|
|
|
|
|
|
|
### Fix
|
|
|
|
|
* Set empty dependencies line to fix Galaxy warning.
|
2018-08-07 11:03:29 +02:00
|
|
|
|
* Add possibility to restart Fail2ban service.
|
2019-02-27 13:28:27 +01:00
|
|
|
|
* Use to_nice_json to manage packages list.
|
2019-02-27 13:31:25 +01:00
|
|
|
|
* Fix E405 Remote package tasks should have a retry.
|
2018-08-06 15:19:06 +02:00
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.4.0
|
2018-05-16 14:38:33 +02:00
|
|
|
|
|
|
|
|
|
### Enhancements
|
|
|
|
|
* Set a variable to enable/disable the support of Nftables.
|
2018-08-06 15:09:20 +02:00
|
|
|
|
* Move two tasks in systemd handler (try to fix #1).
|
|
|
|
|
* Add a additionnal level for all vars for all hosts (group_vars/all).
|
2017-08-09 11:41:09 +02:00
|
|
|
|
|
2018-07-25 15:09:04 +02:00
|
|
|
|
### Fix
|
|
|
|
|
* Deprecation warning for state "installed".
|
2018-08-06 15:11:32 +02:00
|
|
|
|
* The role now might require Ansible 2.5 (available in Debian Stable backports).
|
2018-07-25 15:09:04 +02:00
|
|
|
|
|
2018-02-06 17:28:41 +01:00
|
|
|
|
## v1.3.1
|
|
|
|
|
|
|
|
|
|
### Fix
|
|
|
|
|
* Reload systemd daemons only if unit file change.
|
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.3.0
|
2018-02-06 16:58:18 +01:00
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
* Provide the systemd unit.
|
|
|
|
|
|
2018-02-06 15:50:31 +01:00
|
|
|
|
## v1.2.3
|
|
|
|
|
* Rename firewall table to filter table (most use on Debian).
|
|
|
|
|
|
2018-01-05 15:01:30 +01:00
|
|
|
|
## v1.2.2
|
|
|
|
|
|
|
|
|
|
### Fix
|
|
|
|
|
* Set's name can't exceed 15 characters !
|
|
|
|
|
|
2017-08-25 17:05:42 +02:00
|
|
|
|
## v1.2.1
|
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
* Allow icmpv6 outgoing traffic.
|
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.2.0
|
2017-08-18 09:18:43 +02:00
|
|
|
|
|
2017-08-18 09:25:28 +02:00
|
|
|
|
### Features
|
|
|
|
|
* Ensure to remove old packages (iptables,…).
|
|
|
|
|
|
2017-08-18 09:18:43 +02:00
|
|
|
|
### Fixes
|
|
|
|
|
* Ensure to create the the directory to store the differents configuration files (/etc/nftables.d).
|
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.1.0
|
2017-08-09 14:27:07 +02:00
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
* Manage nftables service at startup.
|
2017-08-09 15:01:35 +02:00
|
|
|
|
* Rollback to inet family to manage both ipv4 and ipv6.
|
2017-08-09 17:14:26 +02:00
|
|
|
|
* To allow multiple ports/range ports, it's possible to redifine vars or add a rule in a dict.
|
2017-08-09 14:27:07 +02:00
|
|
|
|
|
2017-08-09 14:56:20 +02:00
|
|
|
|
### Default Rules
|
2017-08-09 17:14:26 +02:00
|
|
|
|
* Use more sets and vars definitions for input/output to avoid multiple rules.
|
2017-08-09 16:04:54 +02:00
|
|
|
|
* Allow outgoing icmp.
|
2017-08-09 16:08:52 +02:00
|
|
|
|
* Remove DHCP incoming packets. The connection is started by the host, don't need incoming rule.
|
2017-08-11 13:46:50 +02:00
|
|
|
|
* Allow outgoing OpenPGP HTTP requests.
|
2017-08-09 14:56:20 +02:00
|
|
|
|
|
2019-02-27 13:28:27 +01:00
|
|
|
|
## v1.0.0
|
2017-08-09 11:41:09 +02:00
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
* Install `nftables` package for Debian based distros.
|
|
|
|
|
* Generate `nftables` main configuration file.
|
|
|
|
|
* Manage global, input and output chains with three dicts.
|
|
|
|
|
* Manage vars, sets and maps definition file.
|
|
|
|
|
* Restart `nftables` service.
|
|
|
|
|
|
|
|
|
|
### Default Rules
|
|
|
|
|
* Drop blackhole set input packets.
|
|
|
|
|
* Allow localhost traffic.
|
|
|
|
|
* Allow DHCP traffic.
|
|
|
|
|
* Allow SSH input (otherwise Ansible won't work).
|
|
|
|
|
* Allow DNS request.
|