Rules and traffic sniffing
Domain, IP, port, network, logical, provider, sub-rule, and final MATCH rules are processed by the shared Hako core. Sniffing can recover a domain name; process name, path, and UID are available for rule matching only on macOS.
Identity rules by platform
| Rule metadata | iOS / iPadOS | macOS | tvOS |
|---|---|---|---|
| Process name and path | Does not match | Supported | Does not match |
| UID | Unsupported | Supported | Unsupported |
| App signing or team ID | Unsupported | Unsupported | Unsupported |
| Per-App VPN / MDM | Not configured by YAML | Not configured by YAML | Not configured by YAML |
iOS and tvOS can parse PROCESS-* rules, but lack the system metadata required to match them, so these rules do not match there. Use domain, IP, port, or network-type rules instead.
2 fields shown
| Field | Type | iOS | macOS | tvOS | Platform notes |
|---|---|---|---|---|---|
rules | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sub-rules | map[string][]string | Supported | Supported | Supported | Consumed by the Hako core. |
11 fields shown
| Field | Type | iOS | macOS | tvOS | Platform notes |
|---|---|---|---|---|---|
sniffer.enable | bool | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.force-dns-mapping | bool | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.force-domain | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.override-destination | bool | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.parse-pure-ip | bool | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.port-whitelist | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.skip-domain | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.skip-dst-address | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.skip-src-address | []string | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.sniff | map[string]RawSniffingConfig | Supported | Supported | Supported | Consumed by the Hako core. |
sniffer.sniffing | []string | Supported | Supported | Supported | Consumed by the Hako core. |