opensnitch/daemon
Gustavo Iñiguez Goia 4332469fc2 improved nodes connectivity handling
problem:
 - after losing network connectivity node<->server, the node didn't restore
   the connection. In reality, the connection with the server was not
   closed, but the notifications channel was closed due to inactivity
   after 20s.

set inactivity timeouts to 20s on both node and server. Previous
timeouts were 2h for the main connection and 20s for the streaming
channels (notifications).

- get rid of the logic to determine if the server is alive or not based
  on sending pings.
  Instead, use the connection events when a node connects/disconnects
  (Subscribe).
  The Ping call is still used to send the statistics.

other:
- fixed exception when updating the status of a node.
2021-04-11 20:55:14 +02:00
..
conman Use ebpf program to find PID of new connections. (#397) 2021-04-05 11:28:16 +02:00
core Bump versions to 1.4.0rc1 2021-03-26 00:59:16 +01:00
dns updated import paths 2020-12-09 18:18:42 +01:00
firewall flush conntrack at start 2021-02-28 15:21:07 +03:00
log minor fixes to prevent go vet from complaining 2021-02-13 19:18:38 +03:00
netfilter wait for success when sending packet to chan, don't error out after first failed attempt. 2021-02-19 09:01:01 +03:00
netlink Fix random typos 2020-12-23 13:24:59 -05:00
netstat updated import paths 2020-12-09 18:18:42 +01:00
procmon fixed ebpf error logging 2021-04-05 12:19:00 +02:00
rule prevent leaks when reloading domains lists in debug 2021-03-21 21:16:57 +01:00
statistics Use daemon's event timestamp in UI. 2020-12-22 22:50:18 +03:00
ui improved nodes connectivity handling 2021-04-11 20:55:14 +02:00
.gitignore daemon -> opensnitchd (ref #118) 2018-04-10 18:38:04 +02:00
default-config.json set server address and log file from the default config 2020-10-26 23:16:27 +01:00
go.mod Support more recent protoc-gen-go 2021-03-28 16:38:21 +02:00
Gopkg.toml fix: calling ftrace probe Reset in order to start from a clean state (fixes #159) 2018-04-18 02:00:12 +02:00
main.go Use ebpf program to find PID of new connections. (#397) 2021-04-05 11:28:16 +02:00
Makefile makefile: 2021-02-13 18:48:49 +03:00
opensnitch.spec Bump versions to 1.4.0rc1 2021-03-26 00:59:16 +01:00
opensnitchd.service set server address and log file from the default config 2020-10-26 23:16:27 +01:00
system-fw.json Merge branch 'priority-rules' into main 2020-11-13 00:14:39 +01:00