Monday, January 14, 2019
Import Certificate on Windows IIS
Wednesday, November 21, 2018
Checkpoint smartcenter - manage size of $FWDIR/log/postgres.elg
No rotation of log file has been added to /etc/cpshell/log_rotation.conf so file , over time, can grow to any size until it fills up all disk space
Simple work around until Checkpoint fixes it
- edit /etc/cpshell/log_rotation.conf file adding this line
- log_start list to verify that your change is visible
- cpstop && cpstart on management
Friday, September 28, 2018
Checkpoint how to clear all tables of IA
fw tab -t pdp_sessions -t pdp_super_sessions -t pdp_super_sessions -t pdp_encryption_keys -t pdp_whitelist -t pdp_timers -t
pdp_expired_timers -t pdp_ip -t pdp_net_reg -t pdp_net_db -t pdp_cluster_stat -t pep_pdp_db -t pep_networks_to_pdp_db -t
pep_net_reg -t pep_reported_network_masks_db -t pep_port_range_db -t pep_async_id_calls -t pep_client_db -t
pep_identity_index -t pep_revoked_key_clients -t pep_src_mapping_db -t pep_log_completion -x -y
This commands causes temporary disconnection for all traffic passing the firewall, so use it with caution
Wednesday, April 18, 2018
Checkpoint firewall reimaging via USB disk --- ISOMORPHIC

R80.40 MenuAvailable options:------------------1 - Boot from local disk2 - 2000, 4000, 12000, 13000, 21000 series3 - 3000, 5000, 6000, 15000, 16000, 23000, 26000 series4 - Smart-1 5/25/50/200/400/525/625/3000/5050/51505 - Smart-1 1506 - TE 250/TE1000/100X/250X/1000X/2000X7 - 41000, 44000, 61000, 640008 - UTM-1, Power-1, DLP-1, VSX-1, IPS-1, Connectra, IP series9 - Open Server with ACPI support10 - Open Server without ACPI support11 - Open Server with ACPI support (VGA)12 - Open Server without ACPI support (VGA)Default is 1, press <tab> for a list of options.
R81 & R81.10 MenuAvailable options:------------------1 - Boot from local disk2 - 2000, 4000, 12000, 13000, 21000 series3 - 3000, 5000, 6000, 7000, 15000, 16000, 23000, 26000, 28000 series4 - Smart-1 5/25/50/200/400/525/625/3000/5050/51505 - Smart-1 1506 - TE 250/TE1000/100X/250X/1000X/2000X7 - 41000, 44000, 61000, 640008 - UTM-1, Power-1, DLP-1, VSX-1, IPS-1, Connectra, IP series9 - Open Server with ACPI support10 - Open Server without ACPI support11 - Open Server with ACPI support (VGA)12 - Open Server without ACPI support (VGA)Default is 1, press <tab> for a list of options.
R81.20 menuAvailable options:------------------1 - Boot from local disk
2 - 2000, 4000, 12000, 13000, 21000 series
3 - 3000, 5000, 6000, 7000, 15000, 16000, 23000, 26000, 28000 series
4 - Smart-1 5/25/50/200/400/525/600/625/3000/5000/6000
5 - Smart-1 150
6 - TE 100X/250X/250XN/1000X/2000X/2000XN
7 - 41000, 44000, 61000, 64000
8 - UTM-1, Power-1, DLP-1, VSX-1, IPS-1, Connectra, IP series
9 - Open Server with ACPI support
10 - Open Server without ACPI support
11 - Open Server with ACPI support (VGA)
12 - Open Server without ACPI support (VGA)
Default is 1, press <tab> for a list of options.
Monday, November 27, 2017
Top CheckPoint CLI commands
| fw ctl zdebug drop | used to quickly see all dropped connections and more importantly the reason (e.g. anti-spoofing, IPS , FW rule , ....). USE WITH EXTREME CAUTION |
| cpstat fw | quickly see stats of number of connections
(accepted,denied,logged) with a breakdown if the FW was under a high load i would usually run " watch --interval=1 'cpstat fw' " (would see a real-time to see the interface that is causing this) |
| fw tab -s -t connections |
allowed me to quickly see how much load is (and was i.e "peak" ) on the FW |
| cphaprob stat | used to see state of cluster |
| fwaccel stats -s | to check acceleration status on FW |
| cphaprob -a if |
used to do troubleshooting cluster, verify all interfaces are
UP and the Virtual IP address for the cluster interfaces |
Friday, October 20, 2017
Policy installation failed after cluster configuration
On this new cluster the only interface configured was the MGMT, the other interfaces were all in shut and not configured, so in topology I defined the MGMT interface as cluster interface.
After creation of the cluster I tried to install policy and the policy installation failed.
This is a classic issue, the cluster always needs a sync interface so in topology I changed the interface and defined it as Sync, although it's not sync if.
After this change everything was ok and I was able to install policy.
Sunday, August 20, 2017
Easy ways to get your IP address on a Linux box
- dig +short myip.opendns.com @resolver1.opendns.com
- curl -s http://whatismyip.akamai.com/
curl -s icanhazip.com


