opensnitch/daemon/rule
Gustavo Iñiguez Goia 9207465d58 Do not panic if we can't parse a Regex type rule
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
2020-02-14 23:15:14 +01:00
..
loader.go Added initial support for advanced rules (lists) 2019-11-20 10:27:28 +01:00
operator.go Do not panic if we can't parse a Regex type rule 2020-02-14 23:15:14 +01:00
rule.go Do not panic if we can't parse a Regex type rule 2020-02-14 23:15:14 +01:00