Gustavo Iñiguez Goia
a7e9b5072f
project import paths changed
2019-10-20 21:51:35 +02:00
Gustavo Iñiguez Goia
eeed991f8d
Allow to configure daemon's default action rule
...
If the file /etc/opensnitchd/default-config.json exists,
read it and apply the options to the default rule when there's no client
connected.
If it doesn't exist, just apply the default rule, allow connections
once.
Config example: {"default_action": "deny", "default_duration": "once"}
2019-07-02 23:41:41 +02:00
Gustavo Iñiguez Goia
e356c84baa
Fix grpc sockets leaking when connecting to a UI
...
Failured connections to a UI were not being closed, so we ended up
with > 1024 opened sockets, which caused the error Too many files open.
2019-06-29 13:55:44 +02:00
Gustavo Iñiguez Goia
57d1198635
Fixed race when reading and collecting stats
...
When reading stats, a race can occur when sending them to remote UI via
Ping()s if at the same time more stats are being collected(written).
2019-06-29 13:46:26 +02:00
Jerzy Kozera
616fef6e83
Add a 'list' rule type
2018-11-21 22:51:33 +01:00
evilsocket
8009743d60
when the thc kicks in and you find a better logic, better naming, better design and new ideas
2018-04-08 15:32:20 +02:00
evilsocket
a33c463ffb
support rules with type=regexp ( closes #127 )
2018-04-07 13:52:25 +02:00
evilsocket
e920e85f97
added support for a tcp listener ( closes #119 )
2018-04-07 01:52:43 +02:00
evilsocket
36fff955c6
misc: small fix or general refactoring i did not bother commenting
2018-04-06 18:34:33 +02:00
evilsocket
5cef91e534
better protocol file manag.
2018-04-06 15:58:19 +02:00
evilsocket
314c526fc4
make the daemon log when the UI socket is available or goes down ( closes #123 )
2018-04-06 14:48:43 +02:00
evilsocket
f2f313c0bf
misc: small fix or general refactoring i did not bother commenting
2018-04-06 13:55:03 +02:00
evilsocket
0a26d4ea5d
misc: small fix or general refactoring i did not bother commenting
2018-04-06 01:44:15 +02:00
evilsocket
4ff210dfa6
misc: small fix or general refactoring i did not bother commenting
2018-04-05 18:30:44 +02:00
evilsocket
aa63a47bc1
misc: small fix or general refactoring i did not bother commenting
2018-04-05 16:37:51 +02:00
evilsocket
540335056b
misc: small fix or general refactoring i did not bother commenting
2018-04-03 14:51:58 +02:00
evilsocket
08da06acb7
ui service to test and benchmark gRPC IPC
2018-04-02 19:10:42 +02:00
evilsocket
b5b4a56a45
added ui ping/pong
2018-04-02 18:26:04 +02:00
evilsocket
36c9b515f1
misc: small fix or general refactoring i did not bother commenting
2018-04-02 18:11:36 +02:00
evilsocket
534ec8cd73
misc: small fix or general refactoring i did not bother commenting
2018-04-02 05:25:32 +02:00