Purpose
The udp element captures all UDP packets. This element can be prepended to port-related elements.
|
Note: When not prepended to other elements, the udp element is the equivalent of ip proto udp. |
Syntax
udp
udp element
Parameters
element |
String. A port-related filter string element that should be restricted to saving only UDP packets. This can be the following:
|
Example 1
The following filter string captures all UDP packets:
udp
Example 2
The following filter string captures all UDP packets destined for port 80:
udp dst port 80