~ubuntu-branches/ubuntu/utopic/ufw/utopic

« back to all changes in this revision

Viewing changes to tests/root/live/result

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2014-02-20 09:23:54 UTC
  • mfrom: (30.1.16)
  • Revision ID: package-import@ubuntu.com-20140220092354-bfbvpmrbgpxlxxha
Tags: 0.34~rc-0ubuntu1
* New upstream pre-release (LP: #1059060, #1065297, #1062521, #1101304,
  LP: #1075975, #1089262, #262421)
* Dropped the following patches now included upstream:
  - 0002-lp1044361.patch
  - 0003-fix-typeerror-on-error.patch
  - 0004-lp1039729.patch
  - 0005-lp1191197.patch
* Remaining changes:
  - 0001-optimize-boot.patch: only read in /etc/ufw/ufw.conf when disabled
* debian/before[6].rules.md5sum: adjusted for new release
* debian/control: update Standards-Version to 3.9.5
* debian/rules:
  - only ship /usr/share/ufw/iptables/*rules and not /usr/share/ufw/
  - *.init files should also be config files
* debian/ufw.links: added to makes symlinks from /usr/share/ufw/iptables/*
  to /usr/share/ufw/ (so ucf is happy on upgrades)
* debian/ufw.postinst:
  - use TEMPLATE_PATH/iptables/*rules instead of TEMPLATE_PATH/*rules (not
    strictly required since we are using dh_link, but makes the intent
    clearer)
  - copy /usr/share/ufw/*.init in to /etc/ufw

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
-A ufw-user-input -p udp -d 1.2.3.4 --dport 5469 -s 1.2.3.5 --sport 5469 -j ACCEPT
146
146
 
147
147
### tuple ### limit tcp 22 0.0.0.0/0 any 0.0.0.0/0 in
148
 
-A ufw-user-input -p tcp --dport 22 -m state --state NEW -m recent --set
149
 
-A ufw-user-input -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
148
-A ufw-user-input -p tcp --dport 22 -m conntrack --ctstate NEW -m recent --set
 
149
-A ufw-user-input -p tcp --dport 22 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
150
150
### tuple ### allow any 53 ::/0 any ::/0 in
151
151
-A ufw6-user-input -p tcp --dport 53 -j ACCEPT
152
152
-A ufw6-user-input -p udp --dport 53 -j ACCEPT
368
368
-A ufw-user-input -p udp -d 1.2.3.4 --dport 5469 -s 1.2.3.5 --sport 5469 -j ACCEPT
369
369
 
370
370
### tuple ### limit tcp 22 0.0.0.0/0 any 0.0.0.0/0 in
371
 
-A ufw-user-input -p tcp --dport 22 -m state --state NEW -m recent --set
372
 
-A ufw-user-input -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
371
-A ufw-user-input -p tcp --dport 22 -m conntrack --ctstate NEW -m recent --set
 
372
-A ufw-user-input -p tcp --dport 22 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
373
373
TESTING ARGS (delete allow/deny to/from)
374
374
48: delete allow 53
375
375
WARN: Checks disabled
1057
1057
-A ufw-user-input -i eth1 -p udp -d 192.168.0.1 --dport 22 -j REJECT
1058
1058
--
1059
1059
### tuple ### limit any any 0.0.0.0/0 80 10.0.0.1 in_eth1
1060
 
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1061
 
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1060
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1061
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1062
1062
--
1063
1063
### tuple ### allow any any 192.168.0.1 any 10.0.0.1 in_eth1
1064
1064
-A ufw-user-input -i eth1 -d 192.168.0.1 -s 10.0.0.1 -j ACCEPT
1072
1072
-A ufw-user-input -i eth1 -p udp -d 192.168.0.1 -s 10.0.0.1 --sport 80 -j REJECT
1073
1073
--
1074
1074
### tuple ### limit any 22 192.168.0.1 80 10.0.0.1 in_eth1
1075
 
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1076
 
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1075
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1076
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1077
1077
--
1078
1078
### tuple ### allow udp 137,138 0.0.0.0/0 any 0.0.0.0/0 Samba - in_eth2
1079
1079
-A ufw-user-input -i eth2 -p udp -m multiport --dports 137,138 -j ACCEPT -m comment --comment 'dapp_Samba'
1082
1082
-A ufw-user-input -i eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1083
1083
 
1084
1084
### tuple ### allow_log any any 0.0.0.0/0 any 0.0.0.0/0 in_eth0
1085
 
-A ufw-user-logging-input -i eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1085
-A ufw-user-logging-input -i eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1086
1086
-A ufw-user-logging-input -i eth0 -j RETURN
1087
1087
--
1088
1088
### tuple ### allow_log tcp 24 10.0.0.1 any 192.168.0.1 in_eth0
1089
 
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1089
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1090
1090
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -j RETURN
1091
1091
--
1092
1092
### tuple ### deny_log-all tcp 25 10.0.0.1 any 192.168.0.1 in_eth0
1109
1109
-A ufw6-user-input -i eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1110
1110
 
1111
1111
### tuple ### allow_log any any ::/0 any ::/0 in_eth0
1112
 
-A ufw6-user-logging-input -i eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1112
-A ufw6-user-logging-input -i eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1113
1113
-A ufw6-user-logging-input -i eth0 -j RETURN
1114
1114
--
1115
1115
### tuple ### allow udp 137,138 ::/0 any ::/0 Samba - in_eth0
1312
1312
-A ufw-user-output -o eth1 -p udp -d 192.168.0.1 --dport 22 -j REJECT
1313
1313
--
1314
1314
### tuple ### limit any any 0.0.0.0/0 80 10.0.0.1 out_eth1
1315
 
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1316
 
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1315
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1316
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1317
1317
--
1318
1318
### tuple ### allow any any 192.168.0.1 any 10.0.0.1 out_eth1
1319
1319
-A ufw-user-output -o eth1 -d 192.168.0.1 -s 10.0.0.1 -j ACCEPT
1327
1327
-A ufw-user-output -o eth1 -p udp -d 192.168.0.1 -s 10.0.0.1 --sport 80 -j REJECT
1328
1328
--
1329
1329
### tuple ### limit any 22 192.168.0.1 80 10.0.0.1 out_eth1
1330
 
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1331
 
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1330
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1331
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1332
1332
--
1333
1333
### tuple ### allow udp 137,138 0.0.0.0/0 any 0.0.0.0/0 Samba - out_eth2
1334
1334
-A ufw-user-output -o eth2 -p udp -m multiport --dports 137,138 -j ACCEPT -m comment --comment 'dapp_Samba'
1337
1337
-A ufw-user-output -o eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1338
1338
 
1339
1339
### tuple ### allow_log any any 0.0.0.0/0 any 0.0.0.0/0 out_eth0
1340
 
-A ufw-user-logging-output -o eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1340
-A ufw-user-logging-output -o eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1341
1341
-A ufw-user-logging-output -o eth0 -j RETURN
1342
1342
--
1343
1343
### tuple ### allow_log tcp 24 10.0.0.1 any 192.168.0.1 out_eth0
1344
 
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1344
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1345
1345
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -j RETURN
1346
1346
--
1347
1347
### tuple ### deny_log-all tcp 25 10.0.0.1 any 192.168.0.1 out_eth0
1364
1364
-A ufw6-user-output -o eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1365
1365
 
1366
1366
### tuple ### allow_log any any ::/0 any ::/0 out_eth0
1367
 
-A ufw6-user-logging-output -o eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1367
-A ufw6-user-logging-output -o eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1368
1368
-A ufw6-user-logging-output -o eth0 -j RETURN
1369
1369
--
1370
1370
### tuple ### allow udp 137,138 ::/0 any ::/0 Samba - out_eth0
1556
1556
-A ufw-user-input -i eth1 -p udp -d 192.168.0.1 --dport 22 -j REJECT
1557
1557
--
1558
1558
### tuple ### limit any any 0.0.0.0/0 80 10.0.0.1 in_eth1
1559
 
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1560
 
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1559
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1560
-A ufw-user-input -i eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1561
1561
--
1562
1562
### tuple ### allow any any 192.168.0.1 any 10.0.0.1 in_eth1
1563
1563
-A ufw-user-input -i eth1 -d 192.168.0.1 -s 10.0.0.1 -j ACCEPT
1571
1571
-A ufw-user-input -i eth1 -p udp -d 192.168.0.1 -s 10.0.0.1 --sport 80 -j REJECT
1572
1572
--
1573
1573
### tuple ### limit any 22 192.168.0.1 80 10.0.0.1 in_eth1
1574
 
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1575
 
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1574
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1575
-A ufw-user-input -i eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1576
1576
--
1577
1577
### tuple ### allow udp 137,138 0.0.0.0/0 any 0.0.0.0/0 Samba - in_eth2
1578
1578
-A ufw-user-input -i eth2 -p udp -m multiport --dports 137,138 -j ACCEPT -m comment --comment 'dapp_Samba'
1581
1581
-A ufw-user-input -i eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1582
1582
 
1583
1583
### tuple ### allow_log any any 0.0.0.0/0 any 0.0.0.0/0 in_eth0
1584
 
-A ufw-user-logging-input -i eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1584
-A ufw-user-logging-input -i eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1585
1585
-A ufw-user-logging-input -i eth0 -j RETURN
1586
1586
--
1587
1587
### tuple ### allow_log tcp 24 10.0.0.1 any 192.168.0.1 in_eth0
1588
 
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1588
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1589
1589
-A ufw-user-logging-input -i eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -j RETURN
1590
1590
--
1591
1591
### tuple ### deny_log-all tcp 25 10.0.0.1 any 192.168.0.1 in_eth0
1777
1777
-A ufw-user-output -o eth1 -p udp -d 192.168.0.1 --dport 22 -j REJECT
1778
1778
--
1779
1779
### tuple ### limit any any 0.0.0.0/0 80 10.0.0.1 out_eth1
1780
 
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1781
 
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1780
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1781
-A ufw-user-output -o eth1 -p tcp -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1782
1782
--
1783
1783
### tuple ### allow any any 192.168.0.1 any 10.0.0.1 out_eth1
1784
1784
-A ufw-user-output -o eth1 -d 192.168.0.1 -s 10.0.0.1 -j ACCEPT
1792
1792
-A ufw-user-output -o eth1 -p udp -d 192.168.0.1 -s 10.0.0.1 --sport 80 -j REJECT
1793
1793
--
1794
1794
### tuple ### limit any 22 192.168.0.1 80 10.0.0.1 out_eth1
1795
 
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --set
1796
 
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m state --state NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
 
1795
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --set
 
1796
-A ufw-user-output -o eth1 -p tcp -d 192.168.0.1 --dport 22 -s 10.0.0.1 --sport 80 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6 -j ufw-user-limit
1797
1797
--
1798
1798
### tuple ### allow udp 137,138 0.0.0.0/0 any 0.0.0.0/0 Samba - out_eth2
1799
1799
-A ufw-user-output -o eth2 -p udp -m multiport --dports 137,138 -j ACCEPT -m comment --comment 'dapp_Samba'
1802
1802
-A ufw-user-output -o eth2 -p tcp -m multiport --dports 139,445 -j ACCEPT -m comment --comment 'dapp_Samba'
1803
1803
 
1804
1804
### tuple ### allow_log any any 0.0.0.0/0 any 0.0.0.0/0 out_eth0
1805
 
-A ufw-user-logging-output -o eth0 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1805
-A ufw-user-logging-output -o eth0 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1806
1806
-A ufw-user-logging-output -o eth0 -j RETURN
1807
1807
--
1808
1808
### tuple ### allow_log tcp 24 10.0.0.1 any 192.168.0.1 out_eth0
1809
 
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
 
1809
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -m conntrack --ctstate NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
1810
1810
-A ufw-user-logging-output -o eth0 -p tcp -d 10.0.0.1 --dport 24 -s 192.168.0.1 -j RETURN
1811
1811
--
1812
1812
### tuple ### deny_log-all tcp 25 10.0.0.1 any 192.168.0.1 out_eth0
1974
1974
289: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
1975
1975
 
1976
1976
 
1977
 
290: logging on
1978
 
 
1979
 
 
1980
 
291: disable
1981
 
 
1982
 
 
1983
 
292: enable
1984
 
 
1985
 
 
1986
 
293: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
1987
 
 
1988
 
 
1989
 
294: iptables -L INPUT -n | egrep -q 'ufw-before-input'
1990
 
 
1991
 
 
1992
 
295: iptables -L INPUT -n | egrep -q 'ufw-after-input'
1993
 
 
1994
 
 
1995
 
296: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
1996
 
 
1997
 
 
1998
 
297: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
1999
 
 
2000
 
 
2001
 
298: iptables -L INPUT -n | egrep -q 'ufw-track-input'
2002
 
 
2003
 
 
2004
 
299: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
2005
 
 
2006
 
 
2007
 
300: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
2008
 
 
2009
 
 
2010
 
301: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
2011
 
 
2012
 
 
2013
 
302: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
2014
 
 
2015
 
 
2016
 
303: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
2017
 
 
2018
 
 
2019
 
304: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
2020
 
 
2021
 
 
2022
 
305: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
2023
 
 
2024
 
 
2025
 
306: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
2026
 
 
2027
 
 
2028
 
307: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
2029
 
 
2030
 
 
2031
 
308: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
2032
 
 
2033
 
 
2034
 
309: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
2035
 
 
2036
 
 
2037
 
310: logging low
2038
 
 
2039
 
 
2040
 
311: disable
2041
 
 
2042
 
 
2043
 
312: enable
2044
 
 
2045
 
 
2046
 
313: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
2047
 
 
2048
 
 
2049
 
314: iptables -L INPUT -n | egrep -q 'ufw-before-input'
2050
 
 
2051
 
 
2052
 
315: iptables -L INPUT -n | egrep -q 'ufw-after-input'
2053
 
 
2054
 
 
2055
 
316: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
2056
 
 
2057
 
 
2058
 
317: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
2059
 
 
2060
 
 
2061
 
318: iptables -L INPUT -n | egrep -q 'ufw-track-input'
2062
 
 
2063
 
 
2064
 
319: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
2065
 
 
2066
 
 
2067
 
320: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
2068
 
 
2069
 
 
2070
 
321: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
2071
 
 
2072
 
 
2073
 
322: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
2074
 
 
2075
 
 
2076
 
323: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
2077
 
 
2078
 
 
2079
 
324: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
2080
 
 
2081
 
 
2082
 
325: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
2083
 
 
2084
 
 
2085
 
326: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
2086
 
 
2087
 
 
2088
 
327: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
2089
 
 
2090
 
 
2091
 
328: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
2092
 
 
2093
 
 
2094
 
329: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
2095
 
 
2096
 
 
2097
 
330: logging medium
2098
 
 
2099
 
 
2100
 
331: disable
2101
 
 
2102
 
 
2103
 
332: enable
2104
 
 
2105
 
 
2106
 
333: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
2107
 
 
2108
 
 
2109
 
334: iptables -L INPUT -n | egrep -q 'ufw-before-input'
2110
 
 
2111
 
 
2112
 
335: iptables -L INPUT -n | egrep -q 'ufw-after-input'
2113
 
 
2114
 
 
2115
 
336: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
2116
 
 
2117
 
 
2118
 
337: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
2119
 
 
2120
 
 
2121
 
338: iptables -L INPUT -n | egrep -q 'ufw-track-input'
2122
 
 
2123
 
 
2124
 
339: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
2125
 
 
2126
 
 
2127
 
340: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
2128
 
 
2129
 
 
2130
 
341: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
2131
 
 
2132
 
 
2133
 
342: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
2134
 
 
2135
 
 
2136
 
343: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
2137
 
 
2138
 
 
2139
 
344: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
2140
 
 
2141
 
 
2142
 
345: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
2143
 
 
2144
 
 
2145
 
346: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
2146
 
 
2147
 
 
2148
 
347: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
2149
 
 
2150
 
 
2151
 
348: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
2152
 
 
2153
 
 
2154
 
349: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
2155
 
 
2156
 
 
2157
 
350: logging high
2158
 
 
2159
 
 
2160
 
351: disable
2161
 
 
2162
 
 
2163
 
352: enable
2164
 
 
2165
 
 
2166
 
353: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
2167
 
 
2168
 
 
2169
 
354: iptables -L INPUT -n | egrep -q 'ufw-before-input'
2170
 
 
2171
 
 
2172
 
355: iptables -L INPUT -n | egrep -q 'ufw-after-input'
2173
 
 
2174
 
 
2175
 
356: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
2176
 
 
2177
 
 
2178
 
357: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
2179
 
 
2180
 
 
2181
 
358: iptables -L INPUT -n | egrep -q 'ufw-track-input'
2182
 
 
2183
 
 
2184
 
359: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
2185
 
 
2186
 
 
2187
 
360: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
2188
 
 
2189
 
 
2190
 
361: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
2191
 
 
2192
 
 
2193
 
362: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
2194
 
 
2195
 
 
2196
 
363: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
2197
 
 
2198
 
 
2199
 
364: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
2200
 
 
2201
 
 
2202
 
365: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
2203
 
 
2204
 
 
2205
 
366: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
2206
 
 
2207
 
 
2208
 
367: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
2209
 
 
2210
 
 
2211
 
368: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
2212
 
 
2213
 
 
2214
 
369: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
2215
 
 
2216
 
 
2217
 
370: logging full
2218
 
 
2219
 
 
2220
 
371: disable
2221
 
 
2222
 
 
2223
 
372: enable
2224
 
 
2225
 
 
2226
 
373: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
2227
 
 
2228
 
 
2229
 
374: iptables -L INPUT -n | egrep -q 'ufw-before-input'
2230
 
 
2231
 
 
2232
 
375: iptables -L INPUT -n | egrep -q 'ufw-after-input'
2233
 
 
2234
 
 
2235
 
376: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
2236
 
 
2237
 
 
2238
 
377: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
2239
 
 
2240
 
 
2241
 
378: iptables -L INPUT -n | egrep -q 'ufw-track-input'
2242
 
 
2243
 
 
2244
 
379: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
2245
 
 
2246
 
 
2247
 
380: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
2248
 
 
2249
 
 
2250
 
381: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
2251
 
 
2252
 
 
2253
 
382: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
2254
 
 
2255
 
 
2256
 
383: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
2257
 
 
2258
 
 
2259
 
384: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
2260
 
 
2261
 
 
2262
 
385: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
2263
 
 
2264
 
 
2265
 
386: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
2266
 
 
2267
 
 
2268
 
387: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
2269
 
 
2270
 
 
2271
 
388: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
2272
 
 
2273
 
 
2274
 
389: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
1977
290: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
 
1978
 
 
1979
 
 
1980
291: logging on
 
1981
 
 
1982
 
 
1983
292: disable
 
1984
 
 
1985
 
 
1986
293: enable
 
1987
 
 
1988
 
 
1989
294: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
 
1990
 
 
1991
 
 
1992
295: iptables -L INPUT -n | egrep -q 'ufw-before-input'
 
1993
 
 
1994
 
 
1995
296: iptables -L INPUT -n | egrep -q 'ufw-after-input'
 
1996
 
 
1997
 
 
1998
297: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
 
1999
 
 
2000
 
 
2001
298: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
 
2002
 
 
2003
 
 
2004
299: iptables -L INPUT -n | egrep -q 'ufw-track-input'
 
2005
 
 
2006
 
 
2007
300: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
 
2008
 
 
2009
 
 
2010
301: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
 
2011
 
 
2012
 
 
2013
302: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
 
2014
 
 
2015
 
 
2016
303: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
 
2017
 
 
2018
 
 
2019
304: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
 
2020
 
 
2021
 
 
2022
305: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
 
2023
 
 
2024
 
 
2025
306: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
 
2026
 
 
2027
 
 
2028
307: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
 
2029
 
 
2030
 
 
2031
308: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
 
2032
 
 
2033
 
 
2034
309: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
 
2035
 
 
2036
 
 
2037
310: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
2038
 
 
2039
 
 
2040
311: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
 
2041
 
 
2042
 
 
2043
312: logging low
 
2044
 
 
2045
 
 
2046
313: disable
 
2047
 
 
2048
 
 
2049
314: enable
 
2050
 
 
2051
 
 
2052
315: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
 
2053
 
 
2054
 
 
2055
316: iptables -L INPUT -n | egrep -q 'ufw-before-input'
 
2056
 
 
2057
 
 
2058
317: iptables -L INPUT -n | egrep -q 'ufw-after-input'
 
2059
 
 
2060
 
 
2061
318: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
 
2062
 
 
2063
 
 
2064
319: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
 
2065
 
 
2066
 
 
2067
320: iptables -L INPUT -n | egrep -q 'ufw-track-input'
 
2068
 
 
2069
 
 
2070
321: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
 
2071
 
 
2072
 
 
2073
322: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
 
2074
 
 
2075
 
 
2076
323: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
 
2077
 
 
2078
 
 
2079
324: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
 
2080
 
 
2081
 
 
2082
325: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
 
2083
 
 
2084
 
 
2085
326: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
 
2086
 
 
2087
 
 
2088
327: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
 
2089
 
 
2090
 
 
2091
328: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
 
2092
 
 
2093
 
 
2094
329: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
 
2095
 
 
2096
 
 
2097
330: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
 
2098
 
 
2099
 
 
2100
331: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
2101
 
 
2102
 
 
2103
332: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
 
2104
 
 
2105
 
 
2106
333: logging medium
 
2107
 
 
2108
 
 
2109
334: disable
 
2110
 
 
2111
 
 
2112
335: enable
 
2113
 
 
2114
 
 
2115
336: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
 
2116
 
 
2117
 
 
2118
337: iptables -L INPUT -n | egrep -q 'ufw-before-input'
 
2119
 
 
2120
 
 
2121
338: iptables -L INPUT -n | egrep -q 'ufw-after-input'
 
2122
 
 
2123
 
 
2124
339: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
 
2125
 
 
2126
 
 
2127
340: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
 
2128
 
 
2129
 
 
2130
341: iptables -L INPUT -n | egrep -q 'ufw-track-input'
 
2131
 
 
2132
 
 
2133
342: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
 
2134
 
 
2135
 
 
2136
343: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
 
2137
 
 
2138
 
 
2139
344: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
 
2140
 
 
2141
 
 
2142
345: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
 
2143
 
 
2144
 
 
2145
346: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
 
2146
 
 
2147
 
 
2148
347: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
 
2149
 
 
2150
 
 
2151
348: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
 
2152
 
 
2153
 
 
2154
349: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
 
2155
 
 
2156
 
 
2157
350: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
 
2158
 
 
2159
 
 
2160
351: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
 
2161
 
 
2162
 
 
2163
352: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
2164
 
 
2165
 
 
2166
353: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
 
2167
 
 
2168
 
 
2169
354: logging high
 
2170
 
 
2171
 
 
2172
355: disable
 
2173
 
 
2174
 
 
2175
356: enable
 
2176
 
 
2177
 
 
2178
357: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
 
2179
 
 
2180
 
 
2181
358: iptables -L INPUT -n | egrep -q 'ufw-before-input'
 
2182
 
 
2183
 
 
2184
359: iptables -L INPUT -n | egrep -q 'ufw-after-input'
 
2185
 
 
2186
 
 
2187
360: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
 
2188
 
 
2189
 
 
2190
361: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
 
2191
 
 
2192
 
 
2193
362: iptables -L INPUT -n | egrep -q 'ufw-track-input'
 
2194
 
 
2195
 
 
2196
363: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
 
2197
 
 
2198
 
 
2199
364: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
 
2200
 
 
2201
 
 
2202
365: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
 
2203
 
 
2204
 
 
2205
366: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
 
2206
 
 
2207
 
 
2208
367: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
 
2209
 
 
2210
 
 
2211
368: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
 
2212
 
 
2213
 
 
2214
369: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
 
2215
 
 
2216
 
 
2217
370: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
 
2218
 
 
2219
 
 
2220
371: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
 
2221
 
 
2222
 
 
2223
372: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
 
2224
 
 
2225
 
 
2226
373: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
2227
 
 
2228
 
 
2229
374: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
 
2230
 
 
2231
 
 
2232
375: logging full
 
2233
 
 
2234
 
 
2235
376: disable
 
2236
 
 
2237
 
 
2238
377: enable
 
2239
 
 
2240
 
 
2241
378: iptables -L INPUT -n | egrep -q 'ufw-before-logging-input'
 
2242
 
 
2243
 
 
2244
379: iptables -L INPUT -n | egrep -q 'ufw-before-input'
 
2245
 
 
2246
 
 
2247
380: iptables -L INPUT -n | egrep -q 'ufw-after-input'
 
2248
 
 
2249
 
 
2250
381: iptables -L INPUT -n | egrep -q 'ufw-after-logging-input'
 
2251
 
 
2252
 
 
2253
382: iptables -L INPUT -n | egrep -q 'ufw-reject-input'
 
2254
 
 
2255
 
 
2256
383: iptables -L INPUT -n | egrep -q 'ufw-track-input'
 
2257
 
 
2258
 
 
2259
384: iptables -L OUTPUT -n | egrep -q 'ufw-before-logging-output'
 
2260
 
 
2261
 
 
2262
385: iptables -L OUTPUT -n | egrep -q 'ufw-before-output'
 
2263
 
 
2264
 
 
2265
386: iptables -L OUTPUT -n | egrep -q 'ufw-after-output'
 
2266
 
 
2267
 
 
2268
387: iptables -L OUTPUT -n | egrep -q 'ufw-after-logging-output'
 
2269
 
 
2270
 
 
2271
388: iptables -L OUTPUT -n | egrep -q 'ufw-reject-output'
 
2272
 
 
2273
 
 
2274
389: iptables -L OUTPUT -n | egrep -q 'ufw-track-output'
 
2275
 
 
2276
 
 
2277
390: iptables -L FORWARD -n | egrep -q 'ufw-before-logging-forward'
 
2278
 
 
2279
 
 
2280
391: iptables -L FORWARD -n | egrep -q 'ufw-before-forward'
 
2281
 
 
2282
 
 
2283
392: iptables -L FORWARD -n | egrep -q 'ufw-after-forward'
 
2284
 
 
2285
 
 
2286
393: iptables -L FORWARD -n | egrep -q 'ufw-after-logging-forward'
 
2287
 
 
2288
 
 
2289
394: iptables -L FORWARD -n | egrep -q 'ufw-reject-forward'
 
2290
 
 
2291
 
 
2292
395: iptables -L FORWARD -n | egrep -q 'ufw-track-forward'
2275
2293
 
2276
2294
 
2277
2295
Verify secondary chains
2278
 
390: logging off
2279
 
 
2280
 
 
2281
 
391: disable
2282
 
 
2283
 
 
2284
 
392: enable
2285
 
 
2286
 
 
2287
 
393: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2288
 
 
2289
 
 
2290
 
394: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2291
 
 
2292
 
 
2293
 
395: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2294
 
 
2295
 
 
2296
 
396: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2297
 
 
2298
 
 
2299
 
397: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2300
 
 
2301
 
 
2302
 
398: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2303
 
 
2304
 
 
2305
 
399: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2306
 
 
2307
 
 
2308
 
400: iptables -L ufw-user-limit -n | egrep -q '0 references'
2309
 
 
2310
 
 
2311
 
401: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2312
 
 
2313
 
 
2314
 
402: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2315
 
 
2316
 
 
2317
 
403: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2318
 
 
2319
 
 
2320
 
404: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2321
 
 
2322
 
 
2323
 
405: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2324
 
 
2325
 
 
2326
 
406: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2327
 
 
2328
 
 
2329
 
407: logging on
2330
 
 
2331
 
 
2332
 
408: disable
2333
 
 
2334
 
 
2335
 
409: enable
2336
 
 
2337
 
 
2338
 
410: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2339
 
 
2340
 
 
2341
 
411: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2342
 
 
2343
 
 
2344
 
412: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2345
 
 
2346
 
 
2347
 
413: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2348
 
 
2349
 
 
2350
 
414: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2351
 
 
2352
 
 
2353
 
415: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2354
 
 
2355
 
 
2356
 
416: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2357
 
 
2358
 
 
2359
 
417: iptables -L ufw-user-limit -n | egrep -q '0 references'
2360
 
 
2361
 
 
2362
 
418: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2363
 
 
2364
 
 
2365
 
419: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2366
 
 
2367
 
 
2368
 
420: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2369
 
 
2370
 
 
2371
 
421: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2372
 
 
2373
 
 
2374
 
422: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2375
 
 
2376
 
 
2377
 
423: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2378
 
 
2379
 
 
2380
 
424: logging low
2381
 
 
2382
 
 
2383
 
425: disable
2384
 
 
2385
 
 
2386
 
426: enable
2387
 
 
2388
 
 
2389
 
427: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2390
 
 
2391
 
 
2392
 
428: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2393
 
 
2394
 
 
2395
 
429: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2396
 
 
2397
 
 
2398
 
430: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2399
 
 
2400
 
 
2401
 
431: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2402
 
 
2403
 
 
2404
 
432: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2405
 
 
2406
 
 
2407
 
433: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2408
 
 
2409
 
 
2410
 
434: iptables -L ufw-user-limit -n | egrep -q '0 references'
2411
 
 
2412
 
 
2413
 
435: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2414
 
 
2415
 
 
2416
 
436: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2417
 
 
2418
 
 
2419
 
437: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2420
 
 
2421
 
 
2422
 
438: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2423
 
 
2424
 
 
2425
 
439: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2426
 
 
2427
 
 
2428
 
440: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2429
 
 
2430
 
 
2431
 
441: logging medium
2432
 
 
2433
 
 
2434
 
442: disable
2435
 
 
2436
 
 
2437
 
443: enable
2438
 
 
2439
 
 
2440
 
444: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2441
 
 
2442
 
 
2443
 
445: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2444
 
 
2445
 
 
2446
 
446: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2447
 
 
2448
 
 
2449
 
447: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2450
 
 
2451
 
 
2452
 
448: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2453
 
 
2454
 
 
2455
 
449: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2456
 
 
2457
 
 
2458
 
450: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2459
 
 
2460
 
 
2461
 
451: iptables -L ufw-user-limit -n | egrep -q '0 references'
2462
 
 
2463
 
 
2464
 
452: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2465
 
 
2466
 
 
2467
 
453: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2468
 
 
2469
 
 
2470
 
454: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2471
 
 
2472
 
 
2473
 
455: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2474
 
 
2475
 
 
2476
 
456: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2477
 
 
2478
 
 
2479
 
457: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2480
 
 
2481
 
 
2482
 
458: logging high
2483
 
 
2484
 
 
2485
 
459: disable
2486
 
 
2487
 
 
2488
 
460: enable
2489
 
 
2490
 
 
2491
 
461: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2492
 
 
2493
 
 
2494
 
462: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2495
 
 
2496
 
 
2497
 
463: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2498
 
 
2499
 
 
2500
 
464: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2501
 
 
2502
 
 
2503
 
465: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2504
 
 
2505
 
 
2506
 
466: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2507
 
 
2508
 
 
2509
 
467: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2510
 
 
2511
 
 
2512
 
468: iptables -L ufw-user-limit -n | egrep -q '0 references'
2513
 
 
2514
 
 
2515
 
469: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2516
 
 
2517
 
 
2518
 
470: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2519
 
 
2520
 
 
2521
 
471: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2522
 
 
2523
 
 
2524
 
472: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2525
 
 
2526
 
 
2527
 
473: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2528
 
 
2529
 
 
2530
 
474: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2531
 
 
2532
 
 
2533
 
475: logging full
2534
 
 
2535
 
 
2536
 
476: disable
2537
 
 
2538
 
 
2539
 
477: enable
2540
 
 
2541
 
 
2542
 
478: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
2543
 
 
2544
 
 
2545
 
479: ! iptables -L ufw-not-local -n | egrep -q '0 references'
2546
 
 
2547
 
 
2548
 
480: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
2549
 
 
2550
 
 
2551
 
481: ! iptables -L ufw-user-input -n | egrep -q '0 references'
2552
 
 
2553
 
 
2554
 
482: ! iptables -L ufw-user-output -n | egrep -q '0 references'
2555
 
 
2556
 
 
2557
 
483: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
2558
 
 
2559
 
 
2560
 
484: iptables -L ufw-logging-allow -n | egrep -q '0 references'
2561
 
 
2562
 
 
2563
 
485: iptables -L ufw-user-limit -n | egrep -q '0 references'
2564
 
 
2565
 
 
2566
 
486: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
2567
 
 
2568
 
 
2569
 
487: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
2570
 
 
2571
 
 
2572
 
488: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
2573
 
 
2574
 
 
2575
 
489: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
2576
 
 
2577
 
 
2578
 
490: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
2579
 
 
2580
 
 
2581
 
491: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
2582
 
 
2583
 
 
2584
 
492: logging on
2585
 
 
2586
 
 
2587
 
493: disable
 
2296
396: logging off
 
2297
 
 
2298
 
 
2299
397: disable
 
2300
 
 
2301
 
 
2302
398: enable
 
2303
 
 
2304
 
 
2305
399: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2306
 
 
2307
 
 
2308
400: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2309
 
 
2310
 
 
2311
401: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2312
 
 
2313
 
 
2314
402: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2315
 
 
2316
 
 
2317
403: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2318
 
 
2319
 
 
2320
404: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2321
 
 
2322
 
 
2323
405: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2324
 
 
2325
 
 
2326
406: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2327
 
 
2328
 
 
2329
407: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2330
 
 
2331
 
 
2332
408: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2333
 
 
2334
 
 
2335
409: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2336
 
 
2337
 
 
2338
410: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2339
 
 
2340
 
 
2341
411: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2342
 
 
2343
 
 
2344
412: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2345
 
 
2346
 
 
2347
413: logging on
 
2348
 
 
2349
 
 
2350
414: disable
 
2351
 
 
2352
 
 
2353
415: enable
 
2354
 
 
2355
 
 
2356
416: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2357
 
 
2358
 
 
2359
417: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2360
 
 
2361
 
 
2362
418: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2363
 
 
2364
 
 
2365
419: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2366
 
 
2367
 
 
2368
420: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2369
 
 
2370
 
 
2371
421: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2372
 
 
2373
 
 
2374
422: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2375
 
 
2376
 
 
2377
423: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2378
 
 
2379
 
 
2380
424: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2381
 
 
2382
 
 
2383
425: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2384
 
 
2385
 
 
2386
426: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2387
 
 
2388
 
 
2389
427: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2390
 
 
2391
 
 
2392
428: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2393
 
 
2394
 
 
2395
429: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2396
 
 
2397
 
 
2398
430: logging low
 
2399
 
 
2400
 
 
2401
431: disable
 
2402
 
 
2403
 
 
2404
432: enable
 
2405
 
 
2406
 
 
2407
433: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2408
 
 
2409
 
 
2410
434: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2411
 
 
2412
 
 
2413
435: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2414
 
 
2415
 
 
2416
436: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2417
 
 
2418
 
 
2419
437: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2420
 
 
2421
 
 
2422
438: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2423
 
 
2424
 
 
2425
439: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2426
 
 
2427
 
 
2428
440: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2429
 
 
2430
 
 
2431
441: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2432
 
 
2433
 
 
2434
442: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2435
 
 
2436
 
 
2437
443: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2438
 
 
2439
 
 
2440
444: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2441
 
 
2442
 
 
2443
445: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2444
 
 
2445
 
 
2446
446: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2447
 
 
2448
 
 
2449
447: logging medium
 
2450
 
 
2451
 
 
2452
448: disable
 
2453
 
 
2454
 
 
2455
449: enable
 
2456
 
 
2457
 
 
2458
450: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2459
 
 
2460
 
 
2461
451: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2462
 
 
2463
 
 
2464
452: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2465
 
 
2466
 
 
2467
453: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2468
 
 
2469
 
 
2470
454: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2471
 
 
2472
 
 
2473
455: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2474
 
 
2475
 
 
2476
456: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2477
 
 
2478
 
 
2479
457: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2480
 
 
2481
 
 
2482
458: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2483
 
 
2484
 
 
2485
459: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2486
 
 
2487
 
 
2488
460: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2489
 
 
2490
 
 
2491
461: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2492
 
 
2493
 
 
2494
462: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2495
 
 
2496
 
 
2497
463: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2498
 
 
2499
 
 
2500
464: logging high
 
2501
 
 
2502
 
 
2503
465: disable
 
2504
 
 
2505
 
 
2506
466: enable
 
2507
 
 
2508
 
 
2509
467: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2510
 
 
2511
 
 
2512
468: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2513
 
 
2514
 
 
2515
469: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2516
 
 
2517
 
 
2518
470: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2519
 
 
2520
 
 
2521
471: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2522
 
 
2523
 
 
2524
472: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2525
 
 
2526
 
 
2527
473: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2528
 
 
2529
 
 
2530
474: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2531
 
 
2532
 
 
2533
475: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2534
 
 
2535
 
 
2536
476: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2537
 
 
2538
 
 
2539
477: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2540
 
 
2541
 
 
2542
478: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2543
 
 
2544
 
 
2545
479: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2546
 
 
2547
 
 
2548
480: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2549
 
 
2550
 
 
2551
481: logging full
 
2552
 
 
2553
 
 
2554
482: disable
 
2555
 
 
2556
 
 
2557
483: enable
 
2558
 
 
2559
 
 
2560
484: ! iptables -L ufw-logging-deny -n | egrep -q '0 references'
 
2561
 
 
2562
 
 
2563
485: ! iptables -L ufw-not-local -n | egrep -q '0 references'
 
2564
 
 
2565
 
 
2566
486: ! iptables -L ufw-user-forward -n | egrep -q '0 references'
 
2567
 
 
2568
 
 
2569
487: ! iptables -L ufw-user-input -n | egrep -q '0 references'
 
2570
 
 
2571
 
 
2572
488: ! iptables -L ufw-user-output -n | egrep -q '0 references'
 
2573
 
 
2574
 
 
2575
489: ! iptables -L ufw-skip-to-policy-input -n | egrep -q '0 references'
 
2576
 
 
2577
 
 
2578
490: iptables -L ufw-logging-allow -n | egrep -q '0 references'
 
2579
 
 
2580
 
 
2581
491: iptables -L ufw-user-limit -n | egrep -q '0 references'
 
2582
 
 
2583
 
 
2584
492: iptables -L ufw-user-limit-accept -n | egrep -q '0 references'
 
2585
 
 
2586
 
 
2587
493: iptables -L ufw-user-logging-forward -n | egrep -q '0 references'
 
2588
 
 
2589
 
 
2590
494: iptables -L ufw-user-logging-input -n | egrep -q '0 references'
 
2591
 
 
2592
 
 
2593
495: iptables -L ufw-user-logging-output -n | egrep -q '0 references'
 
2594
 
 
2595
 
 
2596
496: iptables -L ufw-skip-to-policy-output -n | egrep -q '0 references'
 
2597
 
 
2598
 
 
2599
497: iptables -L ufw-skip-to-policy-forward -n | egrep -q '0 references'
 
2600
 
 
2601
 
 
2602
498: logging on
 
2603
 
 
2604
 
 
2605
499: disable
2588
2606
 
2589
2607
 
2590
2608
'Resource temporarily unavailable' test
2591
 
494: disable
2592
 
 
2593
 
 
2594
 
495: allow 22/tcp
2595
 
 
2596
 
 
2597
 
496: enable
2598
 
 
2599
 
 
2600
 
497: ufw-init start/flush-all
2601
 
 
2602
 
 
2603
 
498: ufw-init start/flush-all
2604
 
 
2605
 
 
2606
 
499: ufw-init start/flush-all
2607
 
 
2608
 
 
2609
 
500: ufw-init start/flush-all
2610
 
 
2611
 
 
2612
 
501: ufw-init start/flush-all
2613
 
 
2614
 
 
2615
 
502: ufw-init start/flush-all
 
2609
500: disable
 
2610
 
 
2611
 
 
2612
501: allow 22/tcp
 
2613
 
 
2614
 
 
2615
502: enable
2616
2616
 
2617
2617
 
2618
2618
503: ufw-init start/flush-all
2672
2672
521: ufw-init start/flush-all
2673
2673
 
2674
2674
 
2675
 
522: enable
2676
 
 
2677
 
 
2678
 
523: delete allow 22/tcp
 
2675
522: ufw-init start/flush-all
 
2676
 
 
2677
 
 
2678
523: ufw-init start/flush-all
 
2679
 
 
2680
 
 
2681
524: ufw-init start/flush-all
 
2682
 
 
2683
 
 
2684
525: ufw-init start/flush-all
 
2685
 
 
2686
 
 
2687
526: ufw-init start/flush-all
 
2688
 
 
2689
 
 
2690
527: ufw-init start/flush-all
 
2691
 
 
2692
 
 
2693
528: enable
 
2694
 
 
2695
 
 
2696
529: delete allow 22/tcp
2679
2697
 
2680
2698
 
2681
2699
Reset test
2682
 
524: enable
2683
 
 
2684
 
 
2685
 
525: allow 12345
2686
 
 
2687
 
 
2688
 
526: reset
 
2700
530: enable
 
2701
 
 
2702
 
 
2703
531: allow 12345
 
2704
 
 
2705
 
 
2706
532: reset
2689
2707
 
2690
2708
 
2691
2709
Show
2692
2710
Setting IPV6 to yes
2693
 
527: disable
2694
 
 
2695
 
 
2696
 
528: enable
2697
 
 
2698
 
 
2699
 
529: show raw
2700
 
 
2701
 
 
2702
 
530: show builtins
2703
 
 
2704
 
 
2705
 
531: show before-rules
2706
 
 
2707
 
 
2708
 
532: show user-rules
2709
 
 
2710
 
 
2711
 
533: show after-rules
2712
 
 
2713
 
 
2714
 
534: show logging-rules
2715
 
 
2716
 
 
2717
 
535: show listening
 
2711
533: disable
 
2712
 
 
2713
 
 
2714
534: enable
 
2715
 
 
2716
 
 
2717
535: show raw
 
2718
 
 
2719
 
 
2720
536: show builtins
 
2721
 
 
2722
 
 
2723
537: show before-rules
 
2724
 
 
2725
 
 
2726
538: show user-rules
 
2727
 
 
2728
 
 
2729
539: show after-rules
 
2730
 
 
2731
 
 
2732
540: show logging-rules
 
2733
 
 
2734
 
 
2735
541: show listening
2718
2736
 
2719
2737
 
2720
2738
Setting IPV6 to no
2721
 
536: disable
2722
 
 
2723
 
 
2724
 
537: enable
2725
 
 
2726
 
 
2727
 
538: show raw
2728
 
 
2729
 
 
2730
 
539: show builtins
2731
 
 
2732
 
 
2733
 
540: show before-rules
2734
 
 
2735
 
 
2736
 
541: show user-rules
2737
 
 
2738
 
 
2739
 
542: show after-rules
2740
 
 
2741
 
 
2742
 
543: show logging-rules
2743
 
 
2744
 
 
2745
 
544: show listening
2746
 
 
2747
 
 
2748
 
545: disable
 
2739
542: disable
 
2740
 
 
2741
 
 
2742
543: enable
 
2743
 
 
2744
 
 
2745
544: show raw
 
2746
 
 
2747
 
 
2748
545: show builtins
 
2749
 
 
2750
 
 
2751
546: show before-rules
 
2752
 
 
2753
 
 
2754
547: show user-rules
 
2755
 
 
2756
 
 
2757
548: show after-rules
 
2758
 
 
2759
 
 
2760
549: show logging-rules
 
2761
 
 
2762
 
 
2763
550: show listening
 
2764
 
 
2765
 
 
2766
551: disable
2749
2767
 
2750
2768
 
2751
2769
Delete by number
2752
2770
Setting IPV6 to yes
2753
 
546: disable
2754
 
 
2755
 
 
2756
 
547: enable
2757
 
 
2758
 
 
2759
 
548: allow 1
2760
 
 
2761
 
 
2762
 
549: allow 2
2763
 
 
2764
 
 
2765
 
550: allow 3
2766
 
 
2767
 
 
2768
 
551: allow 4
 
2771
552: disable
 
2772
 
 
2773
 
 
2774
553: enable
 
2775
 
 
2776
 
 
2777
554: allow 1
 
2778
 
 
2779
 
 
2780
555: allow 2
 
2781
 
 
2782
 
 
2783
556: allow 3
 
2784
 
 
2785
 
 
2786
557: allow 4
2769
2787
 
2770
2788
 
2771
2789
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2798
2816
### tuple ### allow any 4 ::/0 any ::/0 in
2799
2817
-A ufw6-user-input -p tcp --dport 4 -j ACCEPT
2800
2818
-A ufw6-user-input -p udp --dport 4 -j ACCEPT
2801
 
552: --force delete 8
 
2819
558: --force delete 8
2802
2820
 
2803
2821
 
2804
2822
### tuple ### allow any 1 ::/0 any ::/0 in
2812
2830
### tuple ### allow any 3 ::/0 any ::/0 in
2813
2831
-A ufw6-user-input -p tcp --dport 3 -j ACCEPT
2814
2832
-A ufw6-user-input -p udp --dport 3 -j ACCEPT
2815
 
553: --force delete 4
 
2833
559: --force delete 4
2816
2834
 
2817
2835
 
2818
2836
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2826
2844
### tuple ### allow any 3 0.0.0.0/0 any 0.0.0.0/0 in
2827
2845
-A ufw-user-input -p tcp --dport 3 -j ACCEPT
2828
2846
-A ufw-user-input -p udp --dport 3 -j ACCEPT
2829
 
554: --force delete 6
 
2847
560: --force delete 6
2830
2848
 
2831
2849
 
2832
2850
### tuple ### allow any 1 ::/0 any ::/0 in
2836
2854
### tuple ### allow any 2 ::/0 any ::/0 in
2837
2855
-A ufw6-user-input -p tcp --dport 2 -j ACCEPT
2838
2856
-A ufw6-user-input -p udp --dport 2 -j ACCEPT
2839
 
555: --force delete 3
 
2857
561: --force delete 3
2840
2858
 
2841
2859
 
2842
2860
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2846
2864
### tuple ### allow any 2 0.0.0.0/0 any 0.0.0.0/0 in
2847
2865
-A ufw-user-input -p tcp --dport 2 -j ACCEPT
2848
2866
-A ufw-user-input -p udp --dport 2 -j ACCEPT
2849
 
556: --force delete 4
 
2867
562: --force delete 4
2850
2868
 
2851
2869
 
2852
2870
### tuple ### allow any 1 ::/0 any ::/0 in
2853
2871
-A ufw6-user-input -p tcp --dport 1 -j ACCEPT
2854
2872
-A ufw6-user-input -p udp --dport 1 -j ACCEPT
2855
 
557: --force delete 2
 
2873
563: --force delete 2
2856
2874
 
2857
2875
 
2858
2876
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2859
2877
-A ufw-user-input -p tcp --dport 1 -j ACCEPT
2860
2878
-A ufw-user-input -p udp --dport 1 -j ACCEPT
2861
 
558: --force delete 2
2862
 
 
2863
 
 
2864
 
559: --force delete 1
 
2879
564: --force delete 2
 
2880
 
 
2881
 
 
2882
565: --force delete 1
2865
2883
 
2866
2884
 
2867
2885
Setting IPV6 to no
2868
 
560: disable
2869
 
 
2870
 
 
2871
 
561: enable
2872
 
 
2873
 
 
2874
 
562: allow 1
2875
 
 
2876
 
 
2877
 
563: allow 2
2878
 
 
2879
 
 
2880
 
564: allow 3
2881
 
 
2882
 
 
2883
 
565: allow 4
 
2886
566: disable
 
2887
 
 
2888
 
 
2889
567: enable
 
2890
 
 
2891
 
 
2892
568: allow 1
 
2893
 
 
2894
 
 
2895
569: allow 2
 
2896
 
 
2897
 
 
2898
570: allow 3
 
2899
 
 
2900
 
 
2901
571: allow 4
2884
2902
 
2885
2903
 
2886
2904
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2898
2916
### tuple ### allow any 4 0.0.0.0/0 any 0.0.0.0/0 in
2899
2917
-A ufw-user-input -p tcp --dport 4 -j ACCEPT
2900
2918
-A ufw-user-input -p udp --dport 4 -j ACCEPT
2901
 
566: --force delete 4
 
2919
572: --force delete 4
2902
2920
 
2903
2921
 
2904
2922
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2912
2930
### tuple ### allow any 3 0.0.0.0/0 any 0.0.0.0/0 in
2913
2931
-A ufw-user-input -p tcp --dport 3 -j ACCEPT
2914
2932
-A ufw-user-input -p udp --dport 3 -j ACCEPT
2915
 
567: --force delete 3
 
2933
573: --force delete 3
2916
2934
 
2917
2935
 
2918
2936
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2922
2940
### tuple ### allow any 2 0.0.0.0/0 any 0.0.0.0/0 in
2923
2941
-A ufw-user-input -p tcp --dport 2 -j ACCEPT
2924
2942
-A ufw-user-input -p udp --dport 2 -j ACCEPT
2925
 
568: --force delete 2
 
2943
574: --force delete 2
2926
2944
 
2927
2945
 
2928
2946
### tuple ### allow any 1 0.0.0.0/0 any 0.0.0.0/0 in
2929
2947
-A ufw-user-input -p tcp --dport 1 -j ACCEPT
2930
2948
-A ufw-user-input -p udp --dport 1 -j ACCEPT
2931
 
569: --force delete 1
 
2949
575: --force delete 1
2932
2950
 
2933
2951
 
2934
2952
Testing interface with '+'
2935
2953
Setting IPV6 to yes
2936
 
570: disable
2937
 
 
2938
 
 
2939
 
571: enable
2940
 
 
2941
 
 
2942
 
572: allow in on lo+
 
2954
576: disable
 
2955
 
 
2956
 
 
2957
577: enable
 
2958
 
 
2959
 
 
2960
578: allow in on lo+
2943
2961
WARN: Checks disabled
2944
2962
Rule added
2945
2963
Rule added (v6)
2951
2969
### tuple ### allow any any ::/0 any ::/0 in_lo+
2952
2970
-A ufw6-user-input -i lo+ -j ACCEPT
2953
2971
 
2954
 
573: delete allow in on lo+
 
2972
579: delete allow in on lo+
2955
2973
WARN: Checks disabled
2956
2974
Rule deleted
2957
2975
Rule deleted (v6)
2958
2976
 
2959
2977
 
2960
2978
Setting IPV6 to yes
2961
 
574: disable
2962
 
 
2963
 
 
2964
 
575: enable
2965
 
 
2966
 
 
2967
 
576: allow out on lo+
 
2979
580: disable
 
2980
 
 
2981
 
 
2982
581: enable
 
2983
 
 
2984
 
 
2985
582: allow out on lo+
2968
2986
WARN: Checks disabled
2969
2987
Rule added
2970
2988
Rule added (v6)
2976
2994
### tuple ### allow any any ::/0 any ::/0 out_lo+
2977
2995
-A ufw6-user-output -o lo+ -j ACCEPT
2978
2996
 
2979
 
577: delete allow out on lo+
 
2997
583: delete allow out on lo+
2980
2998
WARN: Checks disabled
2981
2999
Rule deleted
2982
3000
Rule deleted (v6)
2983
3001
 
2984
3002
 
2985
3003
Setting IPV6 to no
2986
 
578: disable
2987
 
 
2988
 
 
2989
 
579: enable
2990
 
 
2991
 
 
2992
 
580: allow in on lo+
 
3004
584: disable
 
3005
 
 
3006
 
 
3007
585: enable
 
3008
 
 
3009
 
 
3010
586: allow in on lo+
2993
3011
WARN: Checks disabled
2994
3012
Rule added
2995
3013
 
2997
3015
### tuple ### allow any any 0.0.0.0/0 any 0.0.0.0/0 in_lo+
2998
3016
-A ufw-user-input -i lo+ -j ACCEPT
2999
3017
 
3000
 
581: delete allow in on lo+
 
3018
587: delete allow in on lo+
3001
3019
WARN: Checks disabled
3002
3020
Rule deleted
3003
3021
 
3004
3022
 
3005
3023
Setting IPV6 to no
3006
 
582: disable
3007
 
 
3008
 
 
3009
 
583: enable
3010
 
 
3011
 
 
3012
 
584: allow out on lo+
 
3024
588: disable
 
3025
 
 
3026
 
 
3027
589: enable
 
3028
 
 
3029
 
 
3030
590: allow out on lo+
3013
3031
WARN: Checks disabled
3014
3032
Rule added
3015
3033
 
3017
3035
### tuple ### allow any any 0.0.0.0/0 any 0.0.0.0/0 out_lo+
3018
3036
-A ufw-user-output -o lo+ -j ACCEPT
3019
3037
 
3020
 
585: delete allow out on lo+
 
3038
591: delete allow out on lo+
3021
3039
WARN: Checks disabled
3022
3040
Rule deleted
3023
3041
 
3024
3042
 
3025
 
586: disable
 
3043
592: disable
3026
3044
 
3027
3045
 
3028
3046
Show added
3029
3047
Setting IPV6 to yes
3030
 
587: disable
3031
 
 
3032
 
 
3033
 
588: enable
3034
 
 
3035
 
 
3036
 
589: limit 22/tcp
3037
 
 
3038
 
 
3039
 
590: allow in on eth0 to 2001::211:aaaa:bbbb:d54c port 123 proto tcp
3040
 
 
3041
 
 
3042
 
591: deny Samba
3043
 
 
3044
 
 
3045
 
592: show added
 
3048
593: disable
 
3049
 
 
3050
 
 
3051
594: enable
 
3052
 
 
3053
 
 
3054
595: limit 22/tcp
 
3055
 
 
3056
 
 
3057
596: allow in on eth0 to 2001::211:aaaa:bbbb:d54c port 123 proto tcp
 
3058
 
 
3059
 
 
3060
597: deny Samba
 
3061
 
 
3062
 
 
3063
598: show added
3046
3064
WARN: Checks disabled
3047
3065
Added user rules (see 'ufw status' for running firewall):
3048
3066
ufw limit 22/tcp
3050
3068
ufw allow in on eth0 to 2001::211:aaaa:bbbb:d54c port 123 proto tcp
3051
3069
 
3052
3070
 
3053
 
593: delete limit 22/tcp
3054
 
 
3055
 
 
3056
 
594: delete allow in on eth0 to 2001::211:aaaa:bbbb:d54c port 123 proto tcp
3057
 
 
3058
 
 
3059
 
595: delete deny Samba
3060
 
 
3061
 
 
3062
 
596: show added
 
3071
599: delete limit 22/tcp
 
3072
 
 
3073
 
 
3074
600: delete allow in on eth0 to 2001::211:aaaa:bbbb:d54c port 123 proto tcp
 
3075
 
 
3076
 
 
3077
601: delete deny Samba
 
3078
 
 
3079
 
 
3080
602: show added
3063
3081
WARN: Checks disabled
3064
3082
Added user rules (see 'ufw status' for running firewall):
3065
3083
(None)
3066
3084
 
3067
3085
 
3068
3086
Setting IPV6 to no
3069
 
597: disable
3070
 
 
3071
 
 
3072
 
598: enable
3073
 
 
3074
 
 
3075
 
599: limit 22/tcp
3076
 
 
3077
 
 
3078
 
600: deny Samba
3079
 
 
3080
 
 
3081
 
601: show added
 
3087
603: disable
 
3088
 
 
3089
 
 
3090
604: enable
 
3091
 
 
3092
 
 
3093
605: limit 22/tcp
 
3094
 
 
3095
 
 
3096
606: deny Samba
 
3097
 
 
3098
 
 
3099
607: show added
3082
3100
WARN: Checks disabled
3083
3101
Added user rules (see 'ufw status' for running firewall):
3084
3102
ufw limit 22/tcp
3085
3103
ufw deny Samba
3086
3104
 
3087
3105
 
3088
 
602: delete limit 22/tcp
3089
 
 
3090
 
 
3091
 
603: delete deny Samba
3092
 
 
3093
 
 
3094
 
604: show added
 
3106
608: delete limit 22/tcp
 
3107
 
 
3108
 
 
3109
609: delete deny Samba
 
3110
 
 
3111
 
 
3112
610: show added
3095
3113
WARN: Checks disabled
3096
3114
Added user rules (see 'ufw status' for running firewall):
3097
3115
(None)
3098
3116
 
3099
3117
 
3100
 
605: disable
3101
 
 
3102
 
 
3103
 
606: disable
 
3118
611: disable
 
3119
 
 
3120
 
 
3121
612: disable
3104
3122
 
3105
3123