mirror of
https://salsa.debian.org/debian/knockd
synced 2025-12-23 13:05:13 +00:00
d/patches: fix manpage to match debian config
This commit is contained in:
28
debian/patches/0003-fix-manpage-to-match-debian-config.patch
vendored
Normal file
28
debian/patches/0003-fix-manpage-to-match-debian-config.patch
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
From: Leo Antunes <costela@debian.org>
|
||||||
|
Date: Mon, 18 Oct 2021 23:57:32 +0200
|
||||||
|
Subject: fix manpage to match debian config
|
||||||
|
|
||||||
|
---
|
||||||
|
doc/knockd.1.in | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/doc/knockd.1.in b/doc/knockd.1.in
|
||||||
|
index b69ca06..28d43ec 100644
|
||||||
|
--- a/doc/knockd.1.in
|
||||||
|
+++ b/doc/knockd.1.in
|
||||||
|
@@ -63,13 +63,13 @@ firewall and would like to access it discreetly.
|
||||||
|
sequence = 7000,8000,9000
|
||||||
|
seq_timeout = 10
|
||||||
|
tcpflags = syn
|
||||||
|
- command = /usr/sbin/iptables \-A INPUT \-s %IP% \-\-dport 22 \-j ACCEPT
|
||||||
|
+ command = /sbin/iptables \-A INPUT \-s %IP% \-\-dport 22 \-j ACCEPT
|
||||||
|
|
||||||
|
[closeSSH]
|
||||||
|
sequence = 9000,8000,7000
|
||||||
|
seq_timeout = 10
|
||||||
|
tcpflags = syn
|
||||||
|
- command = /usr/sbin/iptables \-D INPUT \-s %IP% \-\-dport 22 \-j ACCEPT
|
||||||
|
+ command = /sbin/iptables \-D INPUT \-s %IP% \-\-dport 22 \-j ACCEPT
|
||||||
|
|
||||||
|
.fi
|
||||||
|
.RE
|
||||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1,2 +1,3 @@
|
|||||||
default_config.patch
|
default_config.patch
|
||||||
syslog_facility_daemon.patch
|
syslog_facility_daemon.patch
|
||||||
|
0003-fix-manpage-to-match-debian-config.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user