On Fri, Sep 19, 2008 at 05:45:34PM -0400, Farrell Aultman wrote: > This adds a command line option for specifying an idle_timeout. The command > line is: > -I <secs>. If dropbear doesn't receive any data packets within <secs>, the > dropbear process > associated with that session will exit.
This patch looks good, though testing here it seems that OpenSSH's client will send keepalive message that thwart the timeout. What is your use case for this patch? Would updating the last_packet time only for DATA packets make more sense? Also the time should probably be a updated when sending data packets too? Matt