Refactored folder structure

This commit is contained in:
Michele Cereda
2023-03-04 12:56:23 +01:00
parent 83f8e179c5
commit bf7455519f
16 changed files with 27 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
# Little Snitch
1. [Rules](#rules)
1. [Sources](#sources)
## Rules
Available [complete][full ruleset] or in [parts].
## Sources
- [Commonly whitelisted domains]
<!-- internal references-->
[full ruleset]: rules/all.lsrules
[parts]: rules/parts/
<!-- external references -->
[commonly whitelisted domains]: https://discourse.pi-hole.net/t/commonly-whitelisted-domains/212

View File

@@ -52,6 +52,8 @@
"ocsp.godaddy.com",
"ocsp.pki.goog",
"ocsp.r2m01.amazontrust.com",
"ocsp.r2m02.amazontrust.com",
"ocsp.rootca1.amazontrust.com",
"ocsp.sca1b.amazontrust.com",
"ocsp.sectigo.com",
"ocsp.usertrust.com",
@@ -193,7 +195,7 @@
"action": "allow",
"notes": "Allow Spotify to advertise its capabilities on the local network.",
"ports": "1900",
"process": "/Users/mek/Applications/Spotify.app/Contents/MacOS/Spotify",
"process": "/Applications/Spotify.app/Contents/MacOS/Spotify",
"protocol": "udp",
"remote-addresses": "239.255.255.250"
},
@@ -210,6 +212,8 @@
"ocsp.godaddy.com",
"ocsp.pki.goog",
"ocsp.r2m01.amazontrust.com",
"ocsp.r2m02.amazontrust.com",
"ocsp.rootca1.amazontrust.com",
"ocsp.sca1b.amazontrust.com",
"ocsp.sectigo.com",
"ocsp.usertrust.com",

View File

@@ -23,6 +23,6 @@ done
jq --indent 4 -M \
'.rules=([inputs.rules]|flatten)' \
"${WORKDIR}/ruleset.lsrules" \
"${WORKDIR}/all.lsrules" \
"${WORKDIR}/parts/"*.lsrules \
| sponge "${WORKDIR}/ruleset.lsrules"
| sponge "${WORKDIR}/all.lsrules"

View File

@@ -6,7 +6,7 @@
"action": "allow",
"notes": "Allow Spotify to advertise its capabilities on the local network.",
"ports": "1900",
"process": "/Users/mek/Applications/Spotify.app/Contents/MacOS/Spotify",
"process": "/Applications/Spotify.app/Contents/MacOS/Spotify",
"protocol": "udp",
"remote-addresses": "239.255.255.250"
}