connection
ipv6/firewall/connection
Type: Directory
List of the IPv6 connections that connection tracking holds. All properties are read-only. See Connection tracking.
| Flag | Name | Description |
|---|---|---|
| E | expected | The connection was expected by a connection helper (/ip/firewall/service-port), for example the data connection of an FTP session. |
| S | seen-reply | The destination has replied: the connection has seen packets in both directions. |
| A | assured | The connection is assured: it is not removed early when the connection list is full. |
| C | confirmed | The connection is confirmed: its first packet has left the router. |
| D | dying | The connection is being removed because its timeout has ended. |
| F | fasttrack | The connection is FastTracked. |
| H | hw-offload | The connection is offloaded to hardware. |
| s | srcnat | Source NAT is applied to the connection, including masquerade. |
| d | dstnat | Destination NAT is applied to the connection, for example a port forward. |
| h | uses-helper | A connection helper of /ip/firewall/service-port handles the connection. |
| Read-only Argument | Type | Description |
|---|---|---|
| protocol | enum () | Connection protocol. |
| src-address | ip6Addr | Source IP address of the connection. |
| src-port | num | Source port of the connection. |
| dst-address | ip6Addr | Destination IP address of the connection. |
| dst-port | num | Destination port of the connection. |
| ip6Addr | Source IP address that the reply packets have. With destination NAT, it differs from dst-address. | |
| num | Source port that the reply packets have. | |
| ip6Addr | Destination IP address that the reply packets have. With source NAT, it differs from src-address. | |
| num | Destination port that the reply packets have. | |
| tcp-state | enum (none | syn-sent | syn-recv | established | fin-wait | close-wait | last-ack | time-wait | close | listen) { none:0, syn-sent:1, syn-recv:2, established:3, fin-wait:4, close-wait:5, last-ack:6, time-wait:7, close:8, listen:9 } | State of the TCP connection, for example syn-sent, established or time-wait. The state selects the timeout of the entry. |
| icmp-type | num | ICMP type. |
| icmp-code | num | ICMP code. |
| icmp-id | num | ICMP ID. |
| gre-protocol | num | Protocol of the payload that GRE carries. |
| gre-version | num | Version of the GRE protocol. |
| gre-key | num | Contents of the GRE key field. |
| connection-type | string | Type that a connection helper has set, for example ftp, tftp or pptp. Empty when connection tracking cannot determine the type, for example on a related connection that a helper created. |
| timeout | time | Time after which the router removes the connection from the list if it sees no more packets of it. |
| connection-mark | string | Connection mark that a mangle rule has set. |
| orig-packets | num | Number of packets sent from the source address of the connection. |
| orig-bytes | num | Number of bytes sent from the source address of the connection. |
| orig-fasttrack-packets | num | Number of FastTracked packets sent from the source address of the connection. |
| orig-fasttrack-bytes | num | Number of FastTracked bytes sent from the source address of the connection. |
| repl-packets | num | Number of packets sent from the destination address of the connection. |
| repl-bytes | num | Number of bytes sent from the destination address of the connection. |
| repl-fasttrack-packets | num | Number of FastTracked packets sent from the destination address of the connection. |
| repl-fasttrack-bytes | num | Number of FastTracked bytes sent from the destination address of the connection. |
| orig-rate | num | Current data rate from the source address of the connection. |
| repl-rate | num | Current data rate from the destination address of the connection. |