<r-cellspan="6-6"data-tooltiptitle="tcpdump -n -c10 -i eth0 dst 10.10.10.10">dst IP</r-cell><r-cellspan="7-10">Capture data sent to this host only</r-cell>
<r-cellspan="1"data-tooltiptitle="tcpdump -n -c10 -i eth0 net 10.10.10.0/24">net CIDR</r-cell><r-cellspan="2-5">Capture data to or from this subnet</r-cell>
<r-cellspan="6-6"data-tooltiptitle="tcpdump -n -c10 -i eth0 host 10.10.10.10 and port 53">port number</r-cell><r-cellspan="7-10">Use service name instead of port</r-cell>
<r-cellspan="1"data-tooltiptitle="tcpdump -n -i eth0 port not ssh">port not num|name</r-cell><r-cellspan="2-5">Exclude port or service in report</r-cell>
<r-cellspan="row"><h3>tcp flags</h3></r-cell>
<r-cellspan="1-2">[S] SYNC</r-cell>
<r-cellspan="3-4">[.|A] ACKNOWLEDGE</r-cell>
@ -265,6 +266,41 @@
<r-cellspan="6-6"data-tooltiptitle="mtr -i 0.2 10.10.10.1">-i float</r-cell><r-cellspan="7-10">set interval, default is 1 second</r-cell>
</r-grid><!-- mtr -->
</r-cell>
<r-cell>
<r-gridcolumns="10"class="panel">
<r-cellspan="row"><h2>iptables</h2></r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -vL">-vL</r-cell><r-cellspan="2-5">Shows rules hit counters</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -A OUTPUT">-A chain</r-cell><r-cellspan="7-10">Append rule to chain</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -I INPUT 2">-I chain num</r-cell><r-cellspan="2-5">Insert rule to chain at position</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -I OUTPUT -s 10.10.10.0/24">-s chain num</r-cell><r-cellspan="7-10">Packages from source</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -I INPUT -d 10.10.10.0/24">-d chain num</r-cell><r-cellspan="2-5">Packages to destination</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -I INPUT -m mac --mac-source 00:00:00:FF:FF:FF">-m extension</r-cell><r-cellspan="2-5">Use an extension to match packet</r-cell>
<r-cellspan="1"data-tooltiptitle="iptables -L [-t tablename]">-L</r-cell><r-cellspan="7-10">List all rules, use -t for specific tables</r-cell>
<r-cellspan="row"><h3>chains</h3></r-cell>
<r-cellspan="row">A chain defines a set of rules. They do not need either a source nor a destination. They can be applied to those later.</r-cell>
<r-celldata-tooltiptitle="Sent in this context means,<br>directly sent via the interface<br>this rule applies to"span="1-2">OUTPUT - When a package is sent</r-cell>
<r-cellspan="3-4">INPUT - When a package is received</r-cell>
<r-celldata-tooltiptitle="Example: Using another virtual interface<br>for e.g. a virtual machine."span="5-6">FORWARD - When a package is forwarded</r-cell>
<r-cellspan="7-10">USER DEFINED - You can define a user defined chain and apply it to any source/destination.</r-cell>
</r-grid>
</r-cell>
<r-cell>
<r-gridcolumns="10"class="panel">
<r-cellspan="row"><h2>Fibre cables color coding</h2></r-cell>