Add some filters to nftables.conf

This commit is contained in:
Kevin Fenzi 2019-06-28 14:42:22 -07:00
parent 96fc5b7d7a
commit 4266c59ade
2 changed files with 8 additions and 2 deletions

View File

@ -1,14 +1,17 @@
# #
# This this will contain your nftables rules and # This file will contain your nftables rules and
# is read by the systemd service when restarting # is read by the systemd service when restarting
# #
# These provide an iptables like set of filters # These provide an iptables like set of filters
# (uncomment to include) # (uncomment to include)
# include "/etc/nftables/arp-filter.nft"
# include "/etc/nftables/bridge-filter.nft" # include "/etc/nftables/bridge-filter.nft"
# include "/etc/nftables/inet-filter.nft" # include "/etc/nftables/inet-filter.nft"
# include "/etc/nftables/ipv4-filter.nft" # include "/etc/nftables/ipv4-filter.nft"
# include "/etc/nftables/ipv4-mangle.nft" # include "/etc/nftables/ipv4-mangle.nft"
# include "/etc/nftables/ipv4-nat.nft" # include "/etc/nftables/ipv4-nat.nft"
# include "/etc/nftables/ipv4-raw.nft"
# include "/etc/nftables/ipv6-filter.nft" # include "/etc/nftables/ipv6-filter.nft"
# include "/etc/nftables/ipv6-mangle.nft" # include "/etc/nftables/ipv6-mangle.nft"
# include "/etc/nftables/ipv6-nat.nft" # include "/etc/nftables/ipv6-nat.nft"
# include "/etc/nftables/ipv6-raw.nft"

View File

@ -3,7 +3,7 @@
Name: nftables Name: nftables
Version: 0.9.1 Version: 0.9.1
#Release: 0.1.%%{snapdate}git%%{?dist} #Release: 0.1.%%{snapdate}git%%{?dist}
Release: 1%{?dist} Release: 2%{?dist}
# Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track. # Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track.
Epoch: 1 Epoch: 1
Summary: Netfilter Tables userspace utillites Summary: Netfilter Tables userspace utillites
@ -100,6 +100,9 @@ chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%{_includedir}/nftables/libnftables.h %{_includedir}/nftables/libnftables.h
%changelog %changelog
* Fri Jun 28 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-2
- Add some filters to nftables.conf
* Tue Jun 25 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-1 * Tue Jun 25 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-1
- Update to 0.9.1. Fixes bug #1723515 - Update to 0.9.1. Fixes bug #1723515