Skip to content

Latest commit

 

History

History
51 lines (25 loc) · 924 Bytes

iptables_statistics.md

File metadata and controls

51 lines (25 loc) · 924 Bytes
layout title tags
manual
iptables - Statistics of command combinations using double pipe
statistic

Before

The commands before iptables: If the given command failed, execute iptables.

Command percentage

After

The commands after iptables: If iptables failed, execute the given command.

Command Percentage
sudo 33%
su 33%
ip 33%

Related Scenarios

Below are the scenarios for all command combinations above.

The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.

If iptables failed, execute sudo

  • Block all FaceBook traffic

If iptables failed, execute su

  • Block all FaceBook traffic

If iptables failed, execute ip

  • Block all FaceBook traffic