{"skill":{"slug":"little-snitch","displayName":"little-snitch","summary":"Control Little Snitch firewall on macOS. View logs, manage profiles and rule groups, monitor network traffic. Use when the user wants to check firewall activity, enable/disable profiles or blocklists, or troubleshoot network connections.","description":"---\nname: little-snitch\ndescription: Control Little Snitch firewall on macOS. View logs, manage profiles and rule groups, monitor network traffic. Use when the user wants to check firewall activity, enable/disable profiles or blocklists, or troubleshoot network connections.\n---\n\n# Little Snitch CLI\n\nControl Little Snitch network monitor/firewall on macOS.\n\n## Setup\n\nEnable CLI access in **Little Snitch → Preferences → Security → Allow access via Terminal**\n\nOnce enabled, the `littlesnitch` command is available in Terminal.\n\n⚠️ **Security Warning:** The littlesnitch command is very powerful and can potentially be misused by malware. When access is enabled, you must take precautions that untrusted processes cannot gain root privileges.\n\nReference: https://help.obdev.at/littlesnitch5/adv-commandline\n\n## Commands\n\n| Command | Root? | Description |\n|---------|-------|-------------|\n| `--version` | No | Show version |\n| `restrictions` | No | Show license status |\n| `log` | No | Read log messages |\n| `profile` | Yes | Activate/deactivate profiles |\n| `rulegroup` | Yes | Enable/disable rule groups & blocklists |\n| `log-traffic` | Yes | Print traffic log data |\n| `list-preferences` | Yes | List all preferences |\n| `read-preference` | Yes | Read a preference value |\n| `write-preference` | Yes | Write a preference value |\n| `export-model` | Yes | Export data model (backup) |\n| `restore-model` | Yes | Restore from backup |\n| `capture-traffic` | Yes | Capture process traffic |\n\n## Examples\n\n### View Recent Logs (no root)\n```bash\nlittlesnitch log --last 10m --json\n```\n\n### Stream Live Logs (no root)\n```bash\nlittlesnitch log --stream\n```\n\n### Check License Status (no root)\n```bash\nlittlesnitch restrictions\n```\n\n### Activate Profile (requires root)\n```bash\nsudo littlesnitch profile --activate \"Silent Mode\"\n```\n\n### Deactivate All Profiles (requires root)\n```bash\nsudo littlesnitch profile --deactivate-all\n```\n\n### Enable/Disable Rule Group (requires root)\n```bash\nsudo littlesnitch rulegroup --enable \"My Rules\"\nsudo littlesnitch rulegroup --disable \"Blocklist\"\n```\n\n### View Traffic History (requires root)\n```bash\nsudo littlesnitch log-traffic --begin-date \"2026-01-25 00:00:00\"\n```\n\n### Stream Live Traffic (requires root)\n```bash\nsudo littlesnitch log-traffic --stream\n```\n\n### Backup Configuration (requires root)\n```bash\nsudo littlesnitch export-model > backup.json\n```\n\n## Log Options\n\n| Option | Description |\n|--------|-------------|\n| `--last <time>[m\\|h\\|d]` | Show entries from last N minutes/hours/days |\n| `--stream` | Live stream messages |\n| `--json` | Output as JSON |\n| `--predicate <string>` | Filter with predicate |\n\n## Notes\n\n- macOS only\n- Many commands require `sudo` (root access)\n- Profiles: predefined rule sets (e.g., \"Silent Mode\", \"Alert Mode\")\n- Rule groups: custom rule collections and blocklists\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":2577,"installsAllTime":97,"installsCurrent":3,"stars":2,"versions":2},"createdAt":1769410881096,"updatedAt":1778987124540},"latestVersion":{"version":"1.0.1","createdAt":1769411133431,"changelog":"Fix setup instructions, add security warning","license":null},"metadata":null,"owner":{"handle":"gumadeiras","userId":"s1753zvp6tjqvngzbef17gxshh849mep","displayName":"Gustavo Madeira Santana","image":"https://avatars.githubusercontent.com/u/5599352?v=4"},"moderation":null}