Lorenz Quack created QPID-6514:
----------------------------------

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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to