# File lib/net/ssh/transport/state.rb, line 186
186:     def needs_rekey?
187:       max_packets && packets > max_packets ||
188:       max_blocks && blocks > max_blocks
189:     end