]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove support for PF (Packet Filter)
authorAntonio Quartulli <a@unstable.cc>
Fri, 27 Aug 2021 19:00:14 +0000 (21:00 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 12 Sep 2021 08:24:25 +0000 (10:24 +0200)
commit1308ccec9f85418b088723bb870855c0a933311b
tree25743a6ffcfbf64868613330d37a924373cad3a8
parent9da733751ce80b2226ef19923365bd3102cfbd47
Remove support for PF (Packet Filter)

OpenVPN shipped a small packet filtering tool called PF. It has never
been straightforward as it required a plugin to work. On top of that,
keeping PF support, makes the code more complicated and increases the
maintenance cost of OpenVPN.

PF itself is not actually maintained at all and there is little
motivation in keeping it alive.

Some years ago an IPv6 extension for PF was proposed, but it was never
picked up for the reasons above.

External (and more appropriate) tools can still be used to implement
packet filtering on the OpenVPN interface.

Drop PF support for good.

Note that IDs used for external communication (i.e. to the plugin
or management interface) have been commented out, but not removed, as
they should not be used in the future.

v2:
* changed // to /* */
* changed "NOT IMPLEMENTED" to "REMOVED FEATURE"
* removed extra empty lines after removing ifdef blocks
* clarified on IRC that tls_final has to be removed and therefore that
  hunk is correct
* removed mi_prefix() function as it is now unused

Cc: Arne Schwabe <arne@rfc2549.org>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20210827190014.12640-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22780.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
25 files changed:
Changes.rst
configure.ac
doc/man-sections/generic-options.rst
include/openvpn-plugin.h.in
sample/sample-plugins/defer/simple.c
src/openvpn/Makefile.am
src/openvpn/errlevel.h
src/openvpn/forward.c
src/openvpn/init.c
src/openvpn/manage.c
src/openvpn/manage.h
src/openvpn/mroute.c
src/openvpn/mroute.h
src/openvpn/multi.c
src/openvpn/openvpn.h
src/openvpn/openvpn.vcxproj
src/openvpn/openvpn.vcxproj.filters
src/openvpn/options.c
src/openvpn/pf.c [deleted file]
src/openvpn/pf.h [deleted file]
src/openvpn/plugin.c
src/openvpn/ssl_common.h
src/openvpn/ssl_verify.c
src/openvpn/ssl_verify.h
src/openvpn/syshead.h