Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47A24200497 for ; Wed, 23 Aug 2017 17:33:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 46301168FEA; Wed, 23 Aug 2017 15:33:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E912168FE9 for ; Wed, 23 Aug 2017 17:33:33 +0200 (CEST) Received: (qmail 79777 invoked by uid 500); 23 Aug 2017 15:33:31 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 79766 invoked by uid 99); 23 Aug 2017 15:33:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2017 15:33:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 85193180652 for ; Wed, 23 Aug 2017 15:33:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Level: X-Spam-Status: No, score=-3.501 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id D-MH3gfs3jid for ; Wed, 23 Aug 2017 15:33:29 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 095B45F4A9 for ; Wed, 23 Aug 2017 15:33:28 +0000 (UTC) Received: from [213.120.95.250] by 3c-app-mailcom-lxa03.server.lan (via HTTP); Wed, 23 Aug 2017 17:33:28 +0200 MIME-Version: 1.0 Message-ID: From: "Spud Strumpet" To: users@qpid.apache.org Subject: Qpid C++ Broker 1.36 Max Connections Per User Option not working Content-Type: text/plain; charset=UTF-8 Date: Wed, 23 Aug 2017 17:33:28 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:guCni46WLK8fiPgegv7S6qfK/4/Yv1quTtf6FgsPMkA xu9MP4I7AKQnyGe427TadKVzFu2XBlb38dPT+3LJCp/VCWilwu wG1Rce2+nb7N1az+1L0rcoYNLRR1cSfJNdpr1JoaFfini6u5YM bpdSuFz7ABL01tNlZwTq60ZsjMkbVApKhcWozhL9pmE9HYxn9B FRALL6pfNL+AG0Inz3SkEYmmOVZ5YNRqLlBVUb9337ddWmT33u vC+SZ2B7u2PjbWGPjqeE1vSeZJ4Ax8oe1oMniMir6YKy92EAFB yby5sM= X-UI-Out-Filterresults: notjunk:1;V01:K0:mLOp2F68Gbk=:mhXnUTfwCPnhta6OQ74r0S bSgL+pj7yIIzR09g2WrzOSEGSOV2yTFOIBuHADe6PRr5kULdrZxkCtnEbu7uIP+7p5M6dqSPd cYci5KhhZEJASIj+udOU22Hzf0UXVFAfFkg3bpSVCyl24Hu/v0l1967gkVsBUtHk9ueNxRq6V 3CQAeIeJe9zWPefC5jRBhQue/6fLvuLlIpCq77O56dQL8i3un4MxaJd2Mxmbn7FkWdP0uLu0M 24ZA/4BK3mYNP2FAVkQpImhLZV9ZvfvJpQb05ZSn5qNay51kxS01etuv8mfXeWT6PS5PoFcPh GbFArgZwiabmUblifOSImKEFTgZnL8ZTFmNfKazki52IPy3jvXQfbg66+fr5SAy0V5iJQWa95 TiJU5uM+Xnc1kqgvTafFcIS87E4pMJXpmaMEfsru3S7yTFVBlYp9hyXgfEnd8SeE6FHc+9j45 5yvkZE23zUkWj/8Ol7hqAcvaIG0eBJ9T0Yd7Kr0X1xXE9ROS5oLu archived-at: Wed, 23 Aug 2017 15:33:34 -0000 Hi, I have been trying to configure the maximum connections per user but none = of the options seem to be having an affect=2E I have tried various combinations of setting: * --connection-limit-per-user N on the command line, and * quota connections N username in the acl file In the broker trace log, it confirms that the connection limit is enabled,= but all connections then succeed anyway=2E None are rejected=2E I have tried setting max connections to zero in both places for all users,= but still I can connect=2E Is anyone able to confirm that the max connections options are working as = expected in the C++ 1=2E36 Broker? Here is the log output for debug+:Security: C:\Users\Bob\Desktop\qpid_broker_cpp>C:\qpid-cpp\bin\qpidd=2Eexe --data-di= r C:\qpid_data_dir --auth yes --acl-file aclfile=2Eacl --log-enable debug+:= Security 2017-08-23 16:12:13 [Security] notice ACL: Read file "C:\qpid_data_dir\acl= file=2Eacl" 2017-08-23 16:12:13 [Security] debug ACL: Group list: 0 groups found: 2017-08-23 16:12:13 [Security] debug ACL: name list: 2 names found: 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0* bob 2017-08-23 16:12:13 [Security] debug ACL: Rule list: 6 ACL rules found: 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A01 allow [bob] creat= e * 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A02 allow [bob] bind = * 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A03 allow [bob] consu= me * 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A04 allow [bob] publi= sh * 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A05 allow [bob] acces= s * 2017-08-23 16:12:13 [Security] debug ACL: =C2=A0 =C2=A06 deny [*] * 2017-08-23 16:12:13 [Security] debug ACL: connections quota: 1 rules found= : 2017-08-23 16:12:13 [Security] debug ACL: quota 1 : 0 connections for bob 2017-08-23 16:12:13 [Security] debug ACL: queues quota: 0 rules found: 2017-08-23 16:12:13 [Security] debug ACL: Load Rules 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A06 deny [*] * 2017-08-23 16:12:13 [Security] debug ACL: FoundMode deny 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A05 allow [bob] a= ccess * 2017-08-23 16:12:13 [Security] debug ACL: Adding actions {access} to objec= ts {broker,connection,exchange,link,method,query,queue} with props { } for = users {bob} 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A04 allow [bob] p= ublish * 2017-08-23 16:12:13 [Security] debug ACL: Adding actions {publish} to obje= cts {broker,connection,exchange,link,method,query,queue} with props { } for= users {bob} 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A03 allow [bob] c= onsume * 2017-08-23 16:12:13 [Security] debug ACL: Adding actions {consume} to obje= cts {broker,connection,exchange,link,method,query,queue} with props { } for= users {bob} 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A02 allow [bob] b= ind * 2017-08-23 16:12:13 [Security] debug ACL: Adding actions {bind} to objects= {broker,connection,exchange,link,method,query,queue} with props { } for us= ers {bob} 2017-08-23 16:12:13 [Security] debug ACL: Processing =C2=A01 allow [bob] c= reate * 2017-08-23 16:12:13 [Security] debug ACL: Adding actions {create} to objec= ts {broker,connection,exchange,link,method,query,queue} with props { } for = users {bob} 2017-08-23 16:12:13 [Security] debug ACL: global Connection Rule list : 0 = rules found : 2017-08-23 16:12:13 [Security] debug ACL: User Connection Rule lists : 0 u= ser lists found : 2017-08-23 16:12:13 [Security] debug ACL: Transfer ACL is Enabled! 2017-08-23 16:12:13 [Security] debug ACL: Connection quotas are Enabled=2E 2017-08-23 16:12:13 [Security] debug ACL: Default connection mode : allow 2017-08-23 16:12:13 [Security] info ACL Plugin loaded Many thanks in advance, Spud=2E --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org