[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] Re: [RFC PATCH 0/9] Support for Virtio-fs daemon crash re
From: |
Christian Schoenebeck |
Subject: |
Re: [External] Re: [RFC PATCH 0/9] Support for Virtio-fs daemon crash reconnection |
Date: |
Wed, 17 Mar 2021 12:49:37 +0100 |
On Mittwoch, 17. März 2021 11:05:32 CET Stefan Hajnoczi wrote:
> On Fri, Dec 18, 2020 at 05:39:34PM +0800, Jiachen Zhang wrote:
> > Thanks for the suggestions. Actually, we choose to save all state
> > information to QEMU because a virtiofsd has the same lifecycle as its
> > QEMU master. However, saving things to a file do avoid communication with
> > QEMU, and we no longer need to increase the complexity of vhost-user
> > protocol. The suggestion to save fds to the systemd is also very
> > reasonable
> > if we don't consider the lifecycle issues, we will try it.
>
> Hi,
> We recently discussed crash recovery in the virtio-fs bi-weekly call and
> I read some of this email thread because it's a topic I'm interested in.
I just had a quick fly over the patches so far. Shouldn't there be some kind
of constraint for an automatic reconnection feature after a crash to prevent
this being exploited by ROP brute force attacks?
E.g. adding some (maybe continuously increasing) delay and/or limiting the
amount of reconnects within a certain time frame would come to my mind.
Best regards,
Christian Schoenebeck
Re: [External] Re: [RFC PATCH 0/9] Support for Virtio-fs daemon crash reconnection, Jiachen Zhang, 2021/03/17