Files
bpfire/lfs/libnetfilter_conntrack
Adolf Belka bea1d4aef1 libnetfilter_conntrack: Update to version 1.0.9
- Update from version 1.0.8 to 1.0.9
- Update of rootfile
- Changelog
    1.0.9
		This release comes with the new nfct_nlmsg_build_filter() function that
		allows to add metadata for kernel-side filtering of conntrack entries
		during conntrack table dump.
		The nfct_query() API supports the new NFCT_Q_FLUSH_FILTER argument,
		it allows to flush only ipv4 or ipv6 entries from the connection
		tracking table.
		nfct_snprint family of functions have been updated.
		SCTP conntrack entries now support 'heartbeat sent/acked' state.
		Entries offloaded to hardware include '[HW_OFFLOAD]' in the formatted
		output string.
	Notable bugs fixed with this release include:
		Fix buffer overflows and out-of-bounds accesses in the
		nfct_snprintf() functions.
		nfct_nlmsg_build() did not work for ICMP flows unless all ICMP attributes
		were set in the reply tuple too, this affected the 'conntrack' tool
		where updates (e.g. setting the conntrack mark to a different value)
		of ICMP flows would not work.
	- Detailed Changes
	      src: Handle negative snprintf return values properly
	      src: Fix nfexp_snprintf return value docs
	      conntrack: Replace strncpy with snprintf to improve null byte handling
	      conntrack: Fix incorrect snprintf size calculation
	      include: Add ARRAY_SIZE() macro
	      conntrack: Fix buffer overflow on invalid icmp type in setters
	      conntrack: Move icmp request>reply type mapping to common file
	      conntrack: Fix buffer overflow in protocol related snprintf functions
	      conntrack: Fix buffer overflows in __snprintf_protoinfo* like in *2str fns
	      examples: check return value of nfct_nlmsg_build()
	      libnetfilter_conntrack.pc.in: add LIBMNL_LIBS to Libs.Private
	      conntrack: dccp print function should use dccp state
	      conntrack: sctp: update states
	      include: add CTA_STATS_CLASH_RESOLVE
	      include: sync uapi header with nf-next
	      src: add support for status dump filter
	      include: add CTA_STATS_CHAIN_TOOLONG from linux 5.15 uapi
	      libnetfilter_conntrack: bump version to 1.0.9
	      build: use the right automake variables
	      Update .gitignore
	      build: update obsolete autoconf macros
	      conntrack: fix invmap_icmpv6 entries
	      conntrack: Don't use ICMP attrs in decision to build repl tuple
	      src: add IPS_HW_OFFLOAD flag
	      conntrack: add flush filter command
	      build: missing internal/proto.h in Makefile.am
	      conntrack: add nfct_nlmsg_build_filter() helper
	      conntrack: don't cancel nest on unknown layer 4 protocols
	      tests: Fix for missing qa-connlabel.conf in tarball
	      tests: Add simple tests to TESTS variable

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-19 19:24:14 +00:00

78 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program 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 <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.0.9
THISAPP = libnetfilter_conntrack-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 701393338a0bf852b97d80a1e4ab078dea741f7181246b3dafcbe8cff287b5b9fae72c1c50867ea71baab83fa842471b2c7054fb4702bf35900a352078de8f3a
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)