Hi, I'm experimenting with IPv6 and so far all is well except one thing: my ssh sessions are dropped/stalled after a few minutes. I'm using ipfw and by monitoring its dynamic/state-keeping rules I see that it's timeouting the rules after 60 seconds (this time is configured in net.inet.ip.fw.dyn_ack_lifetime).
The problem is, this is not happening with IPv4 ssh sessions. I see the timeout is counting down for my dynamic/stateful IPv4 ssh session but it's reset before it reaches 0, which is consistent with observed behaviour - on Windows, I can start putty, hybernate or sleep the OS (i.e. the machine practically turns off) and wake it up another day to see the ssh session still alive. Aside from obvious DOS opportunities on the server, I like this behaviour. This is *not* apparently created by using keepalive messages since they are obviously not sent while the machine is sleeping (and they are disabled in sshd_conf). Why is ssh over IPv6 behaving differently than on IPv4? Is there a special hack for ssh on IPv4? This is on 6-STABLE.
signature.asc
Description: OpenPGP digital signature