https://github.com/bluk/ls_rules
A Little Snitch Rules (LsRules) model to help serialize/deserialize LsRules data.
https://github.com/bluk/ls_rules
application-firewall little-snitch lsrules serde serde-json
Last synced: 6 months ago
JSON representation
A Little Snitch Rules (LsRules) model to help serialize/deserialize LsRules data.
- Host: GitHub
- URL: https://github.com/bluk/ls_rules
- Owner: bluk
- License: apache-2.0
- Created: 2020-05-29T23:16:27.000Z (over 5 years ago)
- Default Branch: trunk
- Last Pushed: 2024-05-15T16:44:47.000Z (over 1 year ago)
- Last Synced: 2025-04-12T08:52:51.668Z (6 months ago)
- Topics: application-firewall, little-snitch, lsrules, serde, serde-json
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# LsRules
[Little Snitch][little_snitch] is like an application based firewall. It allows
a user to control what connections can be made to and from local applications.
You can choose to allow or deny connections based on a set of rules (such as the
domain or hostname being connected to, the ports used, the application receiving
or making the connection, etc.).[LsRules][lsrules] is a file format which specifies rules which Little Snitch
can use. This library is a [Serde][serde] model for serializing and
deserializing `.lsrules` files.## Installation
```toml
[dependencies]
ls_rules = "0.4.1"
```## License
Licensed under either of [Apache License, Version 2.0][LICENSE_APACHE] or [MIT
License][LICENSE_MIT] at your option.### Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.[LICENSE_APACHE]: LICENSE-APACHE
[LICENSE_MIT]: LICENSE-MIT
[little_snitch]: https://www.obdev.at/products/littlesnitch/index.html
[lsrules]: https://help.obdev.at/littlesnitch/ref-lsrules-file-format
[serde]: https://serde.rs