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 24A82200C68 for ; Wed, 3 May 2017 17:15:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23568160BB5; Wed, 3 May 2017 15:15:09 +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 69988160BAA for ; Wed, 3 May 2017 17:15:08 +0200 (CEST) Received: (qmail 49760 invoked by uid 500); 3 May 2017 15:15:07 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 49751 invoked by uid 99); 3 May 2017 15:15:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2017 15:15:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3B8CF1A01D7 for ; Wed, 3 May 2017 15:15:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Bm_O1iq8YHRJ for ; Wed, 3 May 2017 15:15:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C7E7E5FB62 for ; Wed, 3 May 2017 15:15:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0D502E0BE1 for ; Wed, 3 May 2017 15:15:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5F3A321DEE for ; Wed, 3 May 2017 15:15:04 +0000 (UTC) Date: Wed, 3 May 2017 15:15:04 +0000 (UTC) From: "clebert suconic (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-209) [AMQP] Broker sends frames after SASL failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 May 2017 15:15:09 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995043#comment-15995043 ] clebert suconic commented on ARTEMIS-209: ----------------------------------------- [~chug] Tim fixed something on master. can you try master? > [AMQP] Broker sends frames after SASL failure > --------------------------------------------- > > Key: ARTEMIS-209 > URL: https://issues.apache.org/jira/browse/ARTEMIS-209 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: AMQP > Affects Versions: 1.0.0 > Environment: SASL negotiation over AMQP > Reporter: Chuck Rolke > Assignee: Timothy Bish > > The client sends bogus credentials to the Artemis server. The server correctly fails with sasl.outcome code: auth(1). So far so good. Then the server sends an AMQP protocol negotiation frame as if everything was OK. > After failing SASL the server should close the connection. > Trace file: https://people.apache.org/~chug/artemis/20150821-1/artemis-sasl-fail-but-sends-amqp-header.html > From the trace: > {noformat} > 10.10.1.1:1340 -> 10.10.10.254:5672 -> init SASL (3): (1.0.0) > 10.10.1.1:1340 -> 10.10.10.254:5672 -> method sasl.init > 10.10.1.1:1340 <- 10.10.10.254:5672 <- init SASL (3): (1.0.0), method sasl.mechanisms, method sasl.outcome > 10.10.1.1:1340 <- 10.10.10.254:5672 <- init AMQP (0): (1.0.0) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)