You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2015/07/01 23:23:04 UTC

[jira] [Resolved] (PROTON-929) [SASL] If both client and server specify ANONYMOUS mech connection setup does not complete

     [ https://issues.apache.org/jira/browse/PROTON-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher resolved PROTON-929.
------------------------------------
    Resolution: Fixed

> [SASL] If both client and server specify ANONYMOUS mech connection setup does not complete
> ------------------------------------------------------------------------------------------
>
>                 Key: PROTON-929
>                 URL: https://issues.apache.org/jira/browse/PROTON-929
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.10
>            Reporter: Ken Giusti
>            Assignee: Andrew Stitcher
>             Fix For: 0.10
>
>
> If both sides of the connection specify just the ANONYMOUS mech, then the connection open does not complete.
> The frame trace for the connection attempt:
> ./test-runner unit_tests.connection.APITest.test_sasl_callbacks
> unit_tests.connection.APITest.test_sasl_callbacks ...........................................................................................[0x228c1e0]:  -> SASL
> [0x228c1e0]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"anonymous@t530.localdomain"]
> [0x228c1e0]:  -> AMQP
> [0x228c1e0]:0 -> @open(16) [container-id="test-container-2", channel-max=32767]
> [0x2475800]:  <- SASL
> [0x2475800]:0 <- @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"anonymous@t530.localdomain"]
> [0x2475800]:Authenticated user: anonymous with mechanism ANONYMOUS
> [0x2475800]:  <- AMQP
> [0x2475800]:0 <- @open(16) [container-id="test-container-2", channel-max=32767]
> [0x2475800]:  -> SASL
> [0x2475800]:0 -> @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
> [0x2475800]:0 -> @sasl-outcome(68) [code=0]
> [0x2475800]:  -> AMQP
> [0x2475800]:0 -> @open(16) [container-id="test-container-1", channel-max=32767]
> [0x228c1e0]:  <- SASL
> [0x228c1e0]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
> [0x228c1e0]:0 <- @sasl-outcome(68) [code=0]
>  
> <hangs waiting for connection to open>
> The server's open frame is never processed by the client, though it has been received 'on the wire'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)