Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--port | int | 8080 | Proxy listen port |
--data-dir | string | ~/.httpmon | Data directory for CA certs and scripts |
--buffer-size | int | 10000 | Max flows in memory |
--block | string | Comma-separated host patterns to block | |
--allow | string | Comma-separated host patterns to allow | |
--throttle | string | Throttle preset: 3g, 4g, wifi | |
--latency | duration | 0 | Added latency per response |
--maplocal | string | Path to map-local rules JSON file | |
--install-ca | bool | false | Install CA cert and exit (needs sudo) |
--version | bool | false | Print version and exit |
Usage examples
--block and --allow flags accept wildcard patterns with *. You can combine them to control which hosts the proxy intercepts.
The --throttle flag applies bandwidth limits and base latency from the selected preset. Use --latency alongside it to override the preset’s latency value.
