Jimvin opened a new pull request, #11982:
URL: https://github.com/apache/nifi/pull/11982

   <!-- Licensed to the Apache Software Foundation (ASF) under one or more -->
   <!-- contributor license agreements.  See the NOTICE file distributed with 
-->
   <!-- this work for additional information regarding copyright ownership. -->
   <!-- The ASF licenses this file to You under the Apache License, Version 2.0 
-->
   <!-- (the "License"); you may not use this file except in compliance with -->
   <!-- the License.  You may obtain a copy of the License at -->
   <!--     http://www.apache.org/licenses/LICENSE-2.0 -->
   <!-- Unless required by applicable law or agreed to in writing, software -->
   <!-- distributed under the License is distributed on an "AS IS" BASIS, -->
   <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied. -->
   <!-- See the License for the specific language governing permissions and -->
   <!-- limitations under the License. -->
   
   # Summary
   
   [NIFI-16653](https://issues.apache.org/jira/browse/NIFI-16653) Added 
optional sender verification for cluster protocol node requests
   
   - Add `nifi.cluster.protocol.sender.verification.enabled` to 
`NiFiProperties` and the default `nifi.properties`, disabled by default.
   - Add `ClusterProtocolSenderAuthorizer`, following the approach of 
`ClusterLoadBalanceAuthorizer`. When enabled and TLS is configured, a request 
is accepted only when a DNS Subject Alternative Name of the sender certificate 
matches one of the following:
     - the host of the elected Cluster Coordinator, read from the 
`LeaderElectionManager`
     - the cluster protocol or API address of a node returned by 
`ClusterCoordinator.getNodeIdentifiers()`
   - Match wildcard Subject Alternative Names against a single leftmost label, 
consistent with TLS hostname verification.
   - Reject requests when the sender certificate has no DNS Subject Alternative 
Names, instead of treating an empty identity set as an unsecured connection.
   - Call the authorizer at the start of `StandardFlowService.handle()`. 
Requests from other senders fail with a `ProtocolException`.
   - Add a Cluster Protocol Security section to the Administration Guide. It 
covers network boundary protection and a certificate issuer scoped to the 
cluster, as described in the security model, and the scope of 
`nifi.cluster.firewall.file`. A subsection documents the new property and the 
certificate requirements for enabling it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to