Added custom Little Snitch rules file

This commit is contained in:
Michele Cereda
2023-01-27 02:01:01 +01:00
parent bf08fa5fa1
commit 135ec2617d
2 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# Little Snitch
1. [TL;DR](#tldr)
2. [Further readings](#further-readings)
## TL;DR
```sh
# Sort the remotes in a rules list.
jq -r '[.rules[] | .remote, ."remote-domains", ."remote-hosts" | select(. != null)] | sort | .[]' rules.lsrules
# Sort the rules by their 'remote', 'remote-domains' or 'remote-hosts' field.
FIXME
```
## Further readings
- [The .lsrules file format]
<!-- project's references -->
[the .lsrules file format]: https://help.obdev.at/littlesnitch5/ref-lsrules-file-format