You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/27 23:53:12 UTC

[jira] [Commented] (DISPATCH-299) After policy rejects a connection queued Begin causes a crash

    [ https://issues.apache.org/jira/browse/DISPATCH-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261010#comment-15261010 ] 

ASF subversion and git services commented on DISPATCH-299:
----------------------------------------------------------

Commit 0f5a359365a5b88d47ca9147143bf0a6df900bdc in qpid-dispatch's branch refs/heads/master from [~chug]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=0f5a359 ]

DISPATCH-299: If connection is closed by policy then don't process further events.


> After policy rejects a connection queued Begin causes a crash
> -------------------------------------------------------------
>
>                 Key: DISPATCH-299
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-299
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Policy Engine
>    Affects Versions: 0.6
>            Reporter: Chuck Rolke
>
> Over the wire the router sees:
> {noformat}
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:AMQP 1.0 layer detected
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:  <- AMQP
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:0 <- @open(16) [container-id="B730345F-FCA9-4F05-9305-ACA2C04B55C9", hostname="172.28.128.5", channel-max=32767]
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:0 <- @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:0 <- @attach(18) [name="sender-xxx", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
> Wed Apr 27 16:07:23 2016 SERVER (trace) [1]:  -> AMQP
> Wed Apr 27 16:07:23 2016 POLICY (info) DENY AMQP Open for user 'anonymous', host '172.28.128.1', application '172.28.128.5': User is not in a user group and default users are denied
> Wed Apr 27 16:07:23 2016 POLICY (trace) ALLOW AMQP Begin Session. user: anonymous, hostip: 172.28.128.1, app: 172.28.128.5
> Wed Apr 27 16:07:23 2016 POLICY (info) DENY AMQP Attach anonymous sender for user 'anonymous', host '172.28.128.1', app '172.28.128.5'
> {noformat}
> After policy has rejected the connection it is unprepared to process the Begin event and further events on the connection should be dropped.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org