File: 00_numeric_iptables-L.dpatch

package info (click to toggle)
fail2ban 0.7.5-2etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 620 kB
  • ctags: 754
  • sloc: python: 3,245; sh: 735; makefile: 43
file content (19 lines) | stat: -rw-r--r-- 779 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 00_numeric_iptables-L.dpatch by Yaroslav Halchenko <debian@onerussian.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad fail2ban~/config/action.d/iptables.conf fail2ban/config/action.d/iptables.conf
--- fail2ban~/config/action.d/iptables.conf	2007-11-06 15:00:04.000000000 -0500
+++ fail2ban/config/action.d/iptables.conf	2007-11-06 15:01:33.000000000 -0500
@@ -27,7 +27,7 @@
 # Notes.:  command executed once before each fwban command
 # Values:  CMD
 #
-actioncheck = iptables -L INPUT | grep -q fail2ban-<name>
+actioncheck = iptables -n -L INPUT | grep -q fail2ban-<name>
 
 # Option:  fwban
 # Notes.:  command executed when banning an IP. Take care that the