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 8CF04200B36 for ; Wed, 6 Jul 2016 18:02:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8BBA3160A73; Wed, 6 Jul 2016 16:02:12 +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 DAF62160A55 for ; Wed, 6 Jul 2016 18:02:11 +0200 (CEST) Received: (qmail 49097 invoked by uid 500); 6 Jul 2016 16:02:11 -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 49075 invoked by uid 99); 6 Jul 2016 16:02:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 16:02:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EF2A62C027F for ; Wed, 6 Jul 2016 16:02:10 +0000 (UTC) Date: Wed, 6 Jul 2016 16:02:10 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6345) [MQTT] ping response without CONNECT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Jul 2016 16:02:12 -0000 [ https://issues.apache.org/jira/browse/AMQ-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364518#comment-15364518 ] ASF subversion and git services commented on AMQ-6345: ------------------------------------------------------ Commit 6dacef1c9552edbad656c31d784179c2cd179b2e in activemq's branch refs/heads/master from [~cshannon] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=6dacef1 ] https://issues.apache.org/jira/browse/AMQ-6345 The MQTT transport will now throw an exception if a PINGREQ is sent to the broker if a CONNECT packet has not been received first as the spec says CONNECT must be the first packet sent. > [MQTT] ping response without CONNECT > ------------------------------------ > > Key: AMQ-6345 > URL: https://issues.apache.org/jira/browse/AMQ-6345 > Project: ActiveMQ > Issue Type: Bug > Components: MQTT > Affects Versions: 5.13.3 > Environment: Ubuntu Linux 14.04 > Reporter: Martin Tappler > Assignee: Christopher L. Shannon > Priority: Minor > > I am currently investigating the behavior of several MQTT brokers and noticed that the ActiveMQ broker responds to PINGREQ packets with PINGRESP packets even if no CONNECT packet has been sent before. > This would be a violation of MQTT-3.1.0-1 and MQTT-4.8.0-1 of MQTT v3.1.1 while MQTT v3.1 is not that strict about this issue, but does also state "When a TCP/IP socket connection is established from a client to a server, a protocol level session must be created using a CONNECT flow." (http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html#connect) > Since ActiveMQ supports MQTT v3.1 according to http://activemq.apache.org/, > but also MQTT v3.1.1 according to Issue AMQ-4990, I am not sure whether this should actually be considered a bug. -- This message was sent by Atlassian JIRA (v6.3.4#6332)