You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2015/10/05 16:08:26 UTC

[jira] [Updated] (QPID-6514) Implement plugin that warns and/or disconnects a client if the Qpid Client is too old.

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

Lorenz Quack updated QPID-6514:
-------------------------------
    Attachment: 0001-QPID-6514-Java-Broker-Allow-partial-matches-of-regex.patch

Previously the regexp had to match the entire version string. This patch allows to only match a part of it.
For example when you want to match {{mypattern}} anywhere in the string:
Before this patch: {{.\*mypattern.*}}
After this patch: {{mypattern}}


> Implement plugin that warns and/or disconnects a client if the Qpid Client is too old.
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-6514
>                 URL: https://issues.apache.org/jira/browse/QPID-6514
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Broker
>            Reporter: Lorenz Quack
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.0
>
>         Attachments: 0001-QPID-6514-Java-Broker-Allow-partial-matches-of-regex.patch, 0001-QPID-6514-Java-Broker-Implement-plugin-that-warns-an.patch, ConnectionVersionValidatorTest.java
>
>
> The Qpid Broker can validate each new messaging connection as it is formed against zero or more ConnectionValidation plugins. ConnectionValidator plugin implementations have the opportunity to inspect each connection and veto it if desired.
> ClientVersionValidatingPlugin will be configured by the context variables defining version number patterns that should always be allowed (a whitelist), and those that should be logged and those that should be rejected outright (two blacklists). The variables themselves will be regular expressions.
>     allowedConnectionVersions=<regexp>
>     loggedConnectionVersions=<regexp>
>     rejectedConnectionVersions=<regexp>
> If a client version string matches the allowed connection versions, the connection should be permitted without considering logged or rejected. If a client version string matches one or more of the regexps on the logged list, a message will be logged to the Broker log containing peer's ip, userid and the version number of the client. If a client version string matches one or more of the regexps on the reject list, an message should be logged with the same information and the connection refused (i.e. return false).



--
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