]> Frank Brehm's Git Trees - config/ns1/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Fri, 21 Jul 2017 04:57:26 +0000 (06:57 +0200)
committerFrank Brehm <frank@brehm-online.com>
Fri, 21 Jul 2017 04:57:26 +0000 (06:57 +0200)
iptables/rules.v4
iptables/rules.v6
logwatch/conf/services/iptables.conf

index 750074925027d532136973049b618faec6fb4c61..2fd8eb0abdfb477b21c50e87824394ca3469ea63 100644 (file)
@@ -1,9 +1,10 @@
-# Generated by iptables-save v1.6.0 on Wed Jul 19 08:54:03 2017
+# Generated by iptables-save v1.6.0 on Thu Jul 20 10:19:41 2017
 *filter
 :INPUT ACCEPT [0:0]
 :FORWARD ACCEPT [0:0]
-:OUTPUT ACCEPT [68:14205]
+:OUTPUT ACCEPT [71:11710]
 :f2b-apache - [0:0]
+:rejects - [0:0]
 -A INPUT -p tcp -m multiport --dports 80,443 -j f2b-apache
 -A INPUT -s 220.192.0.0/12 -p tcp -m multiport --dports 22 -j REJECT --reject-with icmp-port-unreachable
 -A INPUT -s 222.184.0.0/13 -p tcp -m multiport --dports 22 -j REJECT --reject-with icmp-port-unreachable
 -A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
 -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
 -A INPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
--A INPUT -p tcp -m multiport --dports 23 -j REJECT --reject-with icmp-port-unreachable
+-A INPUT -j rejects
 -A INPUT -p tcp -m multiport --dports 445 -j REJECT --reject-with icmp-port-unreachable
--A INPUT -j NFLOG --nflog-prefix  "INPUT Reject " --nflog-threshold 1
 -A INPUT -j REJECT --reject-with icmp-port-unreachable
+-A rejects -s 134.119.179.226/32 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 23 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 445 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p udp -m udp --dport 137 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 137 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 1433 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 1900 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 2323 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 3389 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p udp -m udp --dport 5060 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 5060 -j REJECT --reject-with icmp-port-unreachable
+-A rejects -p tcp -m tcp --dport 8080 -j REJECT --reject-with icmp-port-unreachable
 COMMIT
-# Completed on Wed Jul 19 08:54:03 2017
+# Completed on Thu Jul 20 10:19:41 2017
index 8093672d32c29907f1e1278a51595283a400d9d3..be66a4bc3ecfe3b0ec9c2ecccb72ccea030f30fe 100644 (file)
@@ -1,8 +1,8 @@
-# Generated by ip6tables-save v1.6.0 on Wed Jul 19 08:54:03 2017
+# Generated by ip6tables-save v1.6.0 on Thu Jul 20 10:19:41 2017
 *filter
 :INPUT ACCEPT [0:0]
 :FORWARD ACCEPT [0:0]
-:OUTPUT ACCEPT [21768:7981252]
+:OUTPUT ACCEPT [49648:18025916]
 -A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
 -A INPUT -m conntrack --ctstate RELATED -j ACCEPT
 -A INPUT -p ipv6-icmp -j ACCEPT
@@ -25,4 +25,4 @@
 -A FORWARD -j NFLOG --nflog-prefix  "IPv6 FORWARD Reject " --nflog-threshold 1
 -A FORWARD -j REJECT --reject-with icmp6-port-unreachable
 COMMIT
-# Completed on Wed Jul 19 08:54:03 2017
+# Completed on Thu Jul 20 10:19:41 2017
index 854e3105da75fe2143f2ac2bb96d89ddafc5e01d..36d66dafc42480076eedd29b8794cd18d508ec27 100644 (file)
@@ -24,12 +24,12 @@ $iptables_ip_lookup = Yes
 # Set this to enable a filter on iptables/ipchains displays
 # This will block out hosts who have less than the specified
 # number of hits between all ports.  Defaults to 0.
-$iptables_host_min_count = 0
+$iptables_host_min_count = 5
 
 # If both of the following settings are enabled, two output lists
 # will be produced. If none is set, the old style output is prduced.
 # Set this to generate old style output (sorted by source hosts)
-#$iptables_list_by_host = 0
+$iptables_list_by_host = 1
 # Set this to generate new style output (sorted by targeted service)
 $iptables_list_by_service = 1