diff --git a/build_num b/build_num index 006bebda6..b5cc27cf8 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 704 +#define BUILD_NUM 705 diff --git a/doc/ChangeLog b/doc/ChangeLog index f531459ec..90037324f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,11 @@ 2008-12-21 vadim + * SSHSession.cpp (SSHSession::heartBeat): built-in installer + periodically "pings" the other end to keep ssh session alive. This + helps recreate state in the firewall state table if it is cleared + when rules are reloaded, which in turn prevents installer from + hanging. + * PolicyCompiler_pf.cpp (PolicyCompiler_pf::addDefaultPolicyRule): Deprecated options "generate commands for both in and out" and "pass all outgoing" in compiler for PF. Before, user could choose diff --git a/src/gui/SSHSession.cpp b/src/gui/SSHSession.cpp index fa10cc9db..d5fd7e783 100644 --- a/src/gui/SSHSession.cpp +++ b/src/gui/SSHSession.cpp @@ -387,6 +387,7 @@ void SSHSession::stopHeartBeat() void SSHSession::heartBeat() { if (fwbdebug) qDebug("SSHSession::heartBeat"); + proc->write("\n"); readFromStderr(); readFromStdout(); if (endOfCopy && closeStdin) diff --git a/test/pf/objects-for-regression-tests.fwb b/test/pf/objects-for-regression-tests.fwb index 58f9fbbce..765d1dfc5 100644 --- a/test/pf/objects-for-regression-tests.fwb +++ b/test/pf/objects-for-regression-tests.fwb @@ -13900,7 +13900,7 @@ - + @@ -14105,6 +14105,7 @@ + @@ -14120,7 +14121,7 @@ - + @@ -14143,6 +14144,7 @@ + @@ -14192,6 +14194,7 @@ +