qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/6] vnc: track & limit connections


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 6/6] vnc: track & limit connections
Date: Mon, 20 Oct 2014 09:02:43 +0200

  Hi,

> If we set the max trying times, and then
> There are some concepts:
>  - INTERVAL_TIME: a time window that user can connnet vnc server
>  - REJECT_TIME: the time of reject any connection
>  - MAX_TRY_TIMES: the times that user can connect vnc server in INTERVAL_TIME,
>    if attach the MAX_TRY_TIMES, the server will lock, any user can not 
> connect again
>    before REJECT_TIME attached. The old connected client will not be 
> influenced.

i.e. effectively rate-limit login attempts.  Makes sense to have an
option for that, although I'm not sure it is worth the trouble doing
something beyond a simple "one attempt per second allowed" (i.e. stop
polling the listening socket for a second after each accept).

cheers,
  Gerd






reply via email to

[Prev in Thread] Current Thread [Next in Thread]