Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements rules persistence #4

Merged
merged 1 commit into from
Apr 19, 2017
Merged

Conversation

0xacb
Copy link
Contributor

@0xacb 0xacb commented Apr 18, 2017

Implements rules persistence using a sqlite database.
I don't know if you want to save all decisions (allow/deny once/all).

@evilsocket evilsocket merged commit f725121 into evilsocket:master Apr 19, 2017
gustavo-iniguez-goya added a commit that referenced this pull request Dec 9, 2020
If for some reason a Regex type rule can not be parsed, opensnitchd
panics and exit. We drop regex.MustCompile() in favor of
regex.Compile(), and in case of failure we just drop the packet.

In either case, the daemon should not panic but it should not received
an invalid rule either, specially from the UI.

Closes #4
gustavo-iniguez-goya added a commit that referenced this pull request Dec 9, 2020
As commented here #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants