evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.74k stars 498 forks source link

default timeouts of 30 seconds or more are not respected #255

Closed p- closed 3 years ago

p- commented 5 years ago

If a user specifies a default_timeout of 30 seconds or more it is not respected by the OpenSnitch daemon.

What happens instead: The GRPC client reaches it's deadline of 30 seconds as defined on this line and then uses its "allow once" clientErrorRule. Additionally, following text is written to the log:

Error while asking for rule: rpc error: code = DeadlineExceeded desc = context deadline exceeded

Meanwhile, the UI is still counting down.

Some questions:

gustavo-iniguez-goya commented 3 years ago

finally we've fixed this issue. Now the GUI doesn't block the daemon, it applies the default action while waiting for a user response.