Skip to content

Commit

Permalink
feat: update iptables-persistent to 1.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
deepin-community-bot[bot] committed Nov 29, 2024
1 parent 9b7e435 commit 7ad90a7
Show file tree
Hide file tree
Showing 62 changed files with 2,773 additions and 27 deletions.
37 changes: 37 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/make -f

# This file is part of netfilter-persistent
# Copyright (C) 2014 Jonathan Wiltshire
#
# 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.

PREFIX=/
DEST=$(DESTDIR)$(PREFIX)

all:

clean:

install:
install -d $(DEST)/usr/sbin
install -d $(DEST)/usr/share/netfilter-persistent
install -d $(DEST)/usr/share/netfilter-persistent/plugins.d
# Main wrapper
install netfilter-persistent $(DEST)/usr/sbin
# Systemd
install -d $(DEST)/lib/systemd/system
install --mode=644 systemd/* $(DEST)/lib/systemd/system
# Manual
install -d $(DEST)/usr/share/man/man8
install --mode=644 netfilter-persistent.8 $(DEST)/usr/share/man/man8

install-plugins:
# Plugins
install plugins/* $(DEST)/usr/share/netfilter-persistent/plugins.d
# Explicit flush plugin
install --mode=755 iptb-expflush-plugin $(DEST)/usr/share/netfilter-persistent
ln -fs /usr/share/netfilter-persistent/iptb-expflush-plugin $(DEST)/usr/share/netfilter-persistent/plugins/12-iptb4-explicit-flush
ln -fs /usr/share/netfilter-persistent/iptb-expflush-plugin $(DEST)/usr/share/netfilter-persistent/plugins/20-iptb6-explicit-flush
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Empty file added USAR_DGIT!!!
Empty file.
12 changes: 12 additions & 0 deletions debian/NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
iptables-persistent (1.0.20) unstable; urgency=medium

iptables-persistent.service, ip6tables-persistent.service and
ipset-persistent.service are now aliases instead of alternatives, using
native functionality to provide alternative names. Users wishing to use such
names can use 'systemctl enable netfilter-persistent.service' to enable them,
and can override them using the standard systemd configuration mechanisms.
Other packages wishing to provide the same service names simply have to
declare the same aliases in their units, and users can enable the one they
prefer.

-- Luca Boccassi <[email protected]> Tue, 16 May 2023 01:40:17 +0100
22 changes: 22 additions & 0 deletions debian/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
netfilter-persistent and its plugins
------------------------------------

netfilter-persistent does no work on its own. You need the accompanying
plugins (for example, iptables-persistent) to load and save filter rules.

However, commands are run from netfilter-persistent. For example, to save
all filter rules:

netfilter-persistent save

or to load them:

netfilter-persistent start

For more details, see `man netfilter-persistent`.

The system service will try to load rules at startup if enabled, but by
default it will not flush rules at shutdown. This behaviour can be changed
by editing /etc/default/netfilter-persistent.

-- Jonathan Wiltshire <[email protected]> Sat, 02 Jan 2016 00:00:00 +0000
8 changes: 8 additions & 0 deletions debian/README.source
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

iptables-persistent has become a native package (meaning there is no
upstream tarball). In its present form, iptables-persistent is unlikely
to be useful outside Debian or Debian-derivatives, and I do not plan to
include any support for other distributions, so a native package makes the
maintenance overhead considerably smaller.

-- Jonathan Wiltshire <[email protected]> Wed, 29 Dec 2010 22:51:17 +0000
Loading

0 comments on commit 7ad90a7

Please sign in to comment.