On 05.03.2014 13:08, Michal Privoznik wrote:
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(-)
I'd like to get this merged asap so we give upstream enough time to test it.
Michal