[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/6] pr-manager-helper: report event on connecti
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 6/6] pr-manager-helper: report event on connection/disconnection |
Date: |
Fri, 29 Jun 2018 12:15:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 28/06/2018 22:24, Eric Blake wrote:
> On 06/28/2018 02:57 PM, Paolo Bonzini wrote:
>> Let management know if there were any problems communicating with
>> qemu-pr-helper. The event is edge-triggered, and is sent every time
>> the connection status of the pr-manager-helper object changes.
>
> Is this something that guest actions can intentionally trigger, and thus
> cause a DoS attack by flooding the management app with events faster
> than they can process?
No, unless they find a way to crash qemu-pr-helper and libvirt
immediately restarts it. If anything libvirt could throttle the restart
of the process, or ultimately not restart it at all, but I don't think
it's necessary.
Paolo
> If so, this event should use rate-limiting.
>
>>
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>> qapi/block.json | 24 ++++++++++++++++++++++++
>> scsi/pr-manager-helper.c | 14 ++++++++++++++
>> 2 files changed, 38 insertions(+)
>
- [Qemu-devel] [PATCH v2 0/6] pr-manager/qemu-pr-helper patches for QEMU 3.0, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 3/6] pr-manager-helper: avoid SIGSEGV when writing to the socket fail, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 2/6] pr-helper: fix assertion failure on failed multipath PERSISTENT RESERVE IN, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 4/6] pr-manager: put stubs in .c file, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 1/6] pr-helper: fix --socket-path default in help, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 5/6] pr-manager: add query-pr-managers QMP command, Paolo Bonzini, 2018/06/28
- [Qemu-devel] [PATCH 6/6] pr-manager-helper: report event on connection/disconnection, Paolo Bonzini, 2018/06/28