Debian Patches

Status for ufw/0.36-7.1

Patch Description Author Forwarded Bugs Origin Last update
0001-optimize-boot.patch to improve boot speed when disabled, don't source all of ufw-init-functions (which also sources in other files).

===================================================================
Jamie Strandboge <jamie@canonical.com> no
0002-fix-check-requirements.patch allow check-requirements to pass with later py3=================================================================== no dce24d1b3a17c819100021d29d9128f0fee2866c
0003-lp1838764.patch commit 569edf283bd18c5816f980b8480cf02f1d1ead03

common: add direction when no interfaces specified in get_app_tuple()

Reference:
https://launchpad.net/bugs/1838764

===================================================================
Jamie Strandboge <jamie@ubuntu.com> no 2019-08-25
0013-add-prepend-to-help.patch src/frontend.py: add 'prepend' to help commit 97af0c98830b2a4ec87fc9d11c5ef8dcc69ac67e

===================================================================
Jamie Strandboge <jamie@ubuntu.com> no
0004-make-root-tests-chain-order-agnostic.patch commit d34c9efdf3a64eb947294111666d5fd80aff1614

root/valid*: call iptables -n -L <primary> to account for newer iptables

diff --git a/tests/root/valid/runtest.sh b/tests/root/valid/runtest.sh
index fc68e4d..5b73f9c 100755
Jamie Strandboge <jamie@ubuntu.com> no 2019-08-25
0005-use-only-python3.patch use python3 with setup.py=================================================================== Jamie Strandboge <jamie@canonical.com> no debian
0006-bug921680.patch commit 3b132ea12603f4c4d9ccd89639acc81c4c9ec163

setup.py: look for iptables in /usr/sbin first

Historically iptables was in /sbin, then later also symlinked from
/usr/sbin/iptables to /sbin/iptables. Debian bullseye moves iptables to
/usr/sbin with no symlink in /sbin except on upgrades. To accommodate
buildds that may still have the old iptables, search /usr/sbin first

References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921680

===================================================================
Jamie Strandboge <jamie@ubuntu.com> no 2020-01-21
0007-bug921680-pt2.patch commit a66d32e34a378604d3ebce3675ec2ed650ea769c

src/util.py: search for iptables when exe is not specified

We prefer to hardcode the iptables dir in common.py, but we do not
import common.py here. While internally ufw always uses common.py to
determine the path, _find_system_iptables() is implemented for
get_iptables_version() and get_netfilter_capabilities() so as to not
break API for external consumers since these have historically used a
default for 'exe'.

===================================================================
Jamie Strandboge <jamie@ubuntu.com> no 2020-01-21
0008-fix-check-requirements-again.patch commit 7054614f0cc0f44469f3cf808b5c69b8958588e7

tests/check-requirements: simplify and support python 3.8

diff --git a/tests/check-requirements b/tests/check-requirements
index 0062335..0794d47 100755
Jamie Strandboge <jamie@ubuntu.com> no 2020-02-16
0009-empty-non-functioning-ipt-modules.patch empty out IPT_MODULES and update documentation regarding modern use of connection tracking modules.
===================================================================
Jamie Strandboge <jamie@ubuntu.com> no
0010-add-other-firewall-checks.patch adjust check-requirements to look for other firewall software=================================================================== Jamie Strandboge <jamie@ubuntu.com> no
0011-suppress-legacy-warnings-in-tests.patch suppress iptables warnings about legacy rules being present in root functional tests
===================================================================
Jamie Strandboge <jamie@ubuntu.com> no
0012-pyflakes3.patch Makefile: base pyflakes executable on PYTHON commit 9a457ce95cd1c901886a3d40a2c19e797f89bf10

===================================================================
Jamie Strandboge <jamie@ubuntu.com> no
python3-versions.diff no

All known versions for source package 'ufw'

Links