As far as I can tell there is no way to enable tcp keepalives within kvm for its telnet server serial console config. Just checking that this would be a feature request and not something I'm missing. Or if folks have any thoughts on a workaround. Currently when I set up linux vms in kvm I want serial console with logging. For this I use the conserver package externally to connect to the kvm host telnet based virtual serial ports using something like this ex. from proxmox -serial tcp:0.0.0.0:2001,server,nowait This works fantastic 99% of the time. The only times it gets annoying is when my conserver application (telnet clients) goes down uncleanly leaving the telnet server connections in the ESTABLISHED state. Then new telnet connections to say port 2001 on the host shows nothing. So far to clear this each VM has to be stop/started to tear down the hung tcp sessions. Historically this sort of thing is solved with tcp keepalive functionality on the server sockets. I'm not missing some deep hidden config to enable tcp keepalives on the telnet server sockets right? potential workarounds: o run conserver locally on each host. a good bit of extra work for each host. serial console logging ends up on each host instead of one central conserver host. not perfect but may be workable. o look into netfilter conntrack setting on the host to tear down idle established sessions. without some form of keepalive will need to make sure the valid telnet sessons get re-established regularly which i think is possible with conserver but need to check. -denis -- __________________________ Denis Alan Hainsworth denis.hainsworth@xxxxxxxxx