Capture module: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 33: Line 33:
* '''ip''': An IP address. The packet is captured if either source or destination IP address of the packet match. A netmask and a port can also be specified. For IPv6 addresses with a specific port, the address must be written in brackets.  
* '''ip''': An IP address. The packet is captured if either source or destination IP address of the packet match. A netmask and a port can also be specified. For IPv6 addresses with a specific port, the address must be written in brackets.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 52: Line 52:
*'''mac''': A MAC address. The packet is captured if either source or destination MAC address of the packet match.  
*'''mac''': A MAC address. The packet is captured if either source or destination MAC address of the packet match.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 62: Line 62:
* '''port''': A TCP or UDP port. The packet is captured if either source or destination port match.  
* '''port''': A TCP or UDP port. The packet is captured if either source or destination port match.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 72: Line 72:
* '''portrange''': A TCP or UDP port range. The range can be a single number or a comma separated list of values or value ranges.  
* '''portrange''': A TCP or UDP port range. The range can be a single number or a comma separated list of values or value ranges.  


Example:
:Example:
{| class="wikitable sortable"   
<center> {| class="wikitable sortable"   
|-           
|-           
| portrange == 80,100-120,-10,65000-
| portrange == 80,100-120,-10,65000-
|-
|-
|}
|} </center>




* '''serverport''': A TCP or UDP port of a server. The packet is captured if the given port is a port of the server and not of a client.  
* '''serverport''': A TCP or UDP port of a server. The packet is captured if the given port is a port of the server and not of a client.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 92: Line 92:
* '''macProtocol''': A MAC protocol such as IPv4 or IPv6. For all seen MAC protocols, please consult the MAC Protocol Statistics module.  
* '''macProtocol''': A MAC protocol such as IPv4 or IPv6. For all seen MAC protocols, please consult the MAC Protocol Statistics module.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 103: Line 103:
* '''l4Protocol''': A layer 4 protocol such as TCP or UDP. Protocols can also be OR combined as a comma seperated list.  
* '''l4Protocol''': A layer 4 protocol such as TCP or UDP. Protocols can also be OR combined as a comma seperated list.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 121: Line 121:
* '''interface''': The physical interface. This can be a single number or a range. For interface ids please consult the Interface stats page.  
* '''interface''': The physical interface. This can be a single number or a range. For interface ids please consult the Interface stats page.  


Example:
:Example:
{| class="wikitable sortable"   
{| class="wikitable sortable"   
|-           
|-           
Line 136: Line 136:
===== Can also be any for every operation number. Following values are used:=====
===== Can also be any for every operation number. Following values are used:=====


'''0-''' connect
:'''0-''' connect


'''1-''' release
:'''1-''' release


'''2-''' read
:'''2-''' read


'''3-''' write
:'''3-''' write


'''4-''' control
:'''4-''' control


'''5-''' read implicit
:'''5-''' read implicit


* '''mpls''': A label of an outer or inner MPLS. May be a number or none or any.
* '''mpls''': A label of an outer or inner MPLS. May be a number or none or any.
1,775

edits