generated from deepin-community/template-repository-main
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update iptables-persistent to 1.0.22
- Loading branch information
1 parent
9b7e435
commit 7ad90a7
Showing
62 changed files
with
2,773 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.