mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-21 13:23:11 +01:00
ongoing additions, changes, and fixes
This commit is contained in:
@@ -87,6 +87,25 @@ packets on CLI. It gives definite answers whether a packet reached the
|
|||||||
Fortigate, whether it was dropped by firewall rules, what was incoming/outgoing
|
Fortigate, whether it was dropped by firewall rules, what was incoming/outgoing
|
||||||
interface, and contents of the packet if needed.
|
interface, and contents of the packet if needed.
|
||||||
|
|
||||||
|
`verbosity` - level of detail to present, can be one of:
|
||||||
|
|
||||||
|
1 - packets' header, includes IP addresses, ports, and flags if set.
|
||||||
|
|
||||||
|
2 - packets' header and data for IP packet, i.e. same as above plus contents of
|
||||||
|
the packet.
|
||||||
|
|
||||||
|
3 - same as 2 above plus Ethernet header.
|
||||||
|
|
||||||
|
4 - packets' header (no contents) plus incoming/outgoing interface name for each
|
||||||
|
packet. This gives the indication whether the packet passed the Fortigate or was
|
||||||
|
dropped by it.
|
||||||
|
|
||||||
|
5 - same data as `4` plus contents of IP packets.
|
||||||
|
|
||||||
|
6 - packets' header starting from Ethernet plus contents and incoming/outgoing
|
||||||
|
interface names.
|
||||||
|
|
||||||
|
|
||||||
`count` - number of packets to capture, integer. If not set, will be capturing
|
`count` - number of packets to capture, integer. If not set, will be capturing
|
||||||
until the SSH/console timeout or until stopped with `CTRL + C`.
|
until the SSH/console timeout or until stopped with `CTRL + C`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user