diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-05-21 12:25:45 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-05-29 08:04:26 +0200 |
commit | 2c299ba65c51e9c407090dc83929d692c74ee3f2 (patch) | |
tree | bf23be293db950620a92527337dc258502e072fa | |
parent | c47c06470a0de70f5495d8919fd7f6b5369a5070 (diff) | |
download | NetworkManager-2c299ba65c51e9c407090dc83929d692c74ee3f2.tar.gz |
dbus: increase 'max_replies_per_connection' limit in D-Bus configuration
D-Bus default limit of replies per connection has been lowered to 128 due to
CVE-2014-3638, see:
http://cgit.freedesktop.org/dbus/dbus/commit/?id=5bc7f9519ebc6117ba300c704794b36b87c2194b
https://bugs.freedesktop.org/show_bug.cgi?id=81053
The limit seems to be too low and causes problems in libnm-glib, that will not
return all NetworkManager connection profiles if there are too many of them
(roughly more than the limit). As a consequence, libnm-glib based clients will
not work properly.
Lets increase the limit in our D-Bus org.freedesktop.NetworkManager.conf
configuration as we had it before.
See also older commit d5b31d55fa1536a5bd08cf85929ac63a8f723467 that did the
opposite thing (removing the limit because the default D-Bus limit was 8192 at
that time).
-rw-r--r-- | src/org.freedesktop.NetworkManager.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org.freedesktop.NetworkManager.conf b/src/org.freedesktop.NetworkManager.conf index fafa8f5bb5..dd03a70cfd 100644 --- a/src/org.freedesktop.NetworkManager.conf +++ b/src/org.freedesktop.NetworkManager.conf @@ -121,5 +121,7 @@ <deny send_interface="org.freedesktop.NetworkManager.VPN.Plugin"/> <deny send_interface="org.freedesktop.NetworkManager.PPP"/> </policy> + + <limit name="max_replies_per_connection">1024</limit> </busconfig> |