opensnitch | Linux interactive application firewall inspired by Little | Firewall library
kandi X-RAY | opensnitch Summary
kandi X-RAY | opensnitch Summary
OpenSnitch is a GNU/Linux application firewall.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Load a firewall rule
- Resets all widgets in the topWidget
- Get rule by uuid
- Return the node with the given address
- Called when the client is listening
- Reply to a reply notification
- Get peer address
- Create database tables
- Set the schema version
- Callback called when a notification is received
- Callback called when the command clicked
- Called when the user is clicked
- Subscribe to a new node
- Add a firewall rule
- Setup table widget
- Insert a rule into the firewall
- Deal with node actions
- Add a peer to the list
- Double clicked
- Set query string
- Refresh viewport
- Update apply button
- Called when a tree item is clicked
- Post an alert
- Reimplemented to set the settings
- Ask rule
opensnitch Key Features
opensnitch Examples and Code Snippets
Community Discussions
Trending Discussions on opensnitch
QUESTION
opensnitch is an open-source security tool modeled after the MAC OS-X littlesnitch
app.
I've been using Gustavo Iniguez Goya's fork of opensnitch (which is a big improvement over the original great pioneering work by Simone Margaritelli) on my desktop to limit outgoing connections based on rules. The goal is to beef-up outgoing network security, for example to catch malware or limit some "phone-home" apps from talking to the outside world.
Configuration/rulesThe default rules which drive opensnitch, are created under /etc/opensnitchd/rules
are stored as *.json
files, one file per rule. When I use the UI to add a rule, a new *.json
rule file gets created.
ANSWER
Answered 2021-Jan-15 at 11:24Is it possible to limit such rule and allow running only a certain executable script (1st arg to /usr/bin/python) ?
You can select the option "from this command line" to filter by the whole command.
More generally: what would be the syntax, with an example, for an AND conjunction in the rule, and a clause for a regex-match vs. other arguments of the command line or remote IP-addresses, or both?
take a look at the documentation (maybe you already did... but just in case):
https://github.com/gustavo-iniguez-goya/opensnitch/wiki/Rules https://github.com/gustavo-iniguez-goya/opensnitch/wiki/Rules-editor
For example, if you wanted to filter by a particular (python) script:
[x] From this command line: ".*/usr/bin/dnsping.*
"
(By the way, we finally are contributing to the original repo, so you can use latest releases from there)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install opensnitch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page