[Bug 3524] Rekey interval timeout not working when no package is being transfered

2023-10-11 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3524

Damien Miller  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|NEW |RESOLVED

--- Comment #4 from Damien Miller  ---
I disagree - the timed based rekeying will happen immediately and not
doing it for an otherwise idle connection saves needless rekeys. If you
want to force time-based rekeying to happen promptly, then you can use
ClientAliveInterval/ServerAliveInterval to guarantee some traffic on
the connection to trigger the rekey.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 3524] Rekey interval timeout not working when no package is being transfered

2023-01-23 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3524

--- Comment #3 from sanjeetkaransingh...@gmail.com ---
Hi Damien,

Thanks for reply, I think that's expected behavior when we set timeout
based rekey value, that timer based rekey should happen regardless of
traffic. 

It was working fine before following commit: 

https://github.com/openssh/openssh-portable/commit/21da87f439b48a85b951ef1518fe85ac0273e719

As before that, server was sending keep alive signals at rekey timeout
which produce traffic and rekeying start happening.

Than, I see a fix from upstream related to this:   
https://github.com/openssh/openssh-portable/commit/073f45c236550f158c9a94003e4611c07dea5279#diff-6e5958092d48b108bef3faadd24f2259a7e999ba8771cb64c986179c059fe130

But, even this fix didn't solve the issue, as there is a check for
traffic that's preventing rekeying.

Sorry due to account issues created another Pull request,
https://github.com/openssh/openssh-portable/pull/373

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 3524] Rekey interval timeout not working when no package is being transfered

2023-01-22 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3524

Damien Miller  changed:

   What|Removed |Added

 CC||d...@mindrot.org

--- Comment #2 from Damien Miller  ---
I'm not sure whether the proposed behaviour is more desirable - the
connection will rekey the next time there is traffic sent or received,
and there is little point rekeying a connection without traffic.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 3524] Rekey interval timeout not working when no package is being transfered

2023-01-18 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3524

--- Comment #1 from sanjeetkaransingh...@gmail.com ---
My config includes the following:

RekeyLimit default 10
ClientAliveInterval 15

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs