Under R80.30 it is possible to encrypt CCP traffic. This is very useful to protect the cluster from manipulated CCP packets. Therefore new commands have been implemented on the CLI for this purpose. The following description shows you how to enable CCP encryption. All settings you make on the CLI are permanently stored in the following file “/etc/fw.boot/ha_boot.conf”. This means that all settings are preserved after the reboot. You have to set the settings on both gateways and they will take effect on the fly. The CCP encryption is disabled by default and must be enabled via CLI on both gateways.
The CCP Encryption:
- Supports SHA-256 hash.
- Key replacement is done on every policy installation
- Encryption & decryption is done by CPU using AES-GCM to achieve minimal effect on performance.
Example commands:
# cphaprob ccp_encrypt
clish> show cluster members ccpenc
With the following command the encryption can be permanently enabled on the fly:
# cphaconf ccp_encrypt on
In this way the encryption can be disabled on the fly
# cphaconf ccp_encrypt off
With this command you can test if the CCP encryption works. Here you should not see any cluster status information on the sync interface (blue). All packages should be visible under unknown when CCP encryption is enabled.
# tcpdump -nepi eth1 -x port -s 0 8116 2>/dev/null | ccp_analyzer -g –c
Unfortunately it is no longer possible to analyze the CCP packets via "ccp_analyzer " when encryption is enabled.
The CLISH commands:
- Toggle encryption mode: “set cluster member ccpenc <on/off>”
- Show encryption mode: “show cluster members ccpenc”
The commands under expert mode:
- Toggle encryption mode: "cphaconf ccp_encrypt <on/off>"
- Show encryption mode: "cphaprob ccp_encrypt"
- Display encryption key: "cphaprob ccp_encrypt_key
More interesting articles: cp.ankenbrand24.de
➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips