[libvirt] [PATCH v3 0/2] Introduce max_anonymous_clients

Michal Privoznik mprivozn at redhat.com
Wed Mar 5 12:08:08 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=981729

So far we can limit how many clients are connected,
how many are waiting in accept() line but we could
not control the count of accepted but not
authenticated yet.

diff to v2:
-Dan's suggestions worked in

Michal Privoznik (2):
  virNetServer: Introduce unauth clients counter
  daemon: Introduce max_anonymous_clients

 daemon/libvirtd-config.c    |   4 +-
 daemon/libvirtd-config.h    |   1 +
 daemon/libvirtd.aug         |   1 +
 daemon/libvirtd.c           |   1 +
 daemon/libvirtd.conf        |   6 ++-
 daemon/remote.c             |  21 +++++----
 daemon/test_libvirtd.aug.in |   3 +-
 src/locking/lock_daemon.c   |   2 +-
 src/lxc/lxc_controller.c    |   2 +-
 src/rpc/virnetserver.c      | 108 ++++++++++++++++++++++++++++++++++++++++----
 src/rpc/virnetserver.h      |   4 ++
 11 files changed, 130 insertions(+), 23 deletions(-)

-- 
1.9.0




More information about the libvir-list mailing list