Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Danny,

 

The CCC script is now pretty mature and perhaps it is possible to serve it from HTTPS with hash verification for installation from "Expert mode"?

Something along the lines of solution described here: https://stackoverflow.com/questions/2086424/creating-a-file-downloading-script-with-checksum-verific...

Regards,

Vladimir

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Yes, that's on the roadmap.

0 Kudos
Highlighted

Re: Common Check Point Commands (ccc)

very nice! thanks a lot!

 

 

daniel

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

@Vladimir: ccc is now served securely via HTTPS and uses SHA-512 to secure it's self-updates.

Secure Installation in expert mode :
src=`curl_cli -fsk https://dannyjung.de/ccc | zcat 2>/dev/null`; if [[ $? -eq 0 ]]; then if [[ `echo "$src" | sha512sum | cut -d " " -f 1` == `curl_cli -fsk https://dannyjung.de/ccc-sha512 | zcat` ]]; then echo "$src" > /usr/bin/ccc && chmod +x /usr/bin/ccc; else echo "SHA-512 doesn't match."; fi; else echo "No connection to dannyjung.de"; fi; unset src

Highlighted
Pearl

Re: Common Check Point Commands (ccc)

This is great!

Do you intend on hosting CCC yourself or are there considerations to move it to Check Point in the future?

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

I would love to move it to Check Point, but they don't seem to be interested at the moment.

0 Kudos
Highlighted
Admin
Admin

Re: Common Check Point Commands (ccc)

@Danny & @Vladimir, I think it is not a question of interest. There is an issue of support, updates and liabilities in case Check Point hosts this tool. It is not as easy as it seems...

0 Kudos
Highlighted

Re: Common Check Point Commands (ccc)

Hi Danny Sir,

 

I am gatting below error

 

[Expert@CP-R80.20:0]# ccc
-bash: /usr/bin/ccc: Permission denied
[Expert@CP-R80.20:0]#

0 Kudos
Highlighted
Admin
Admin

Re: Common Check Point Commands (ccc)

@suhasbhoir make sure your permissions are set properly:

chmod +x /usr/bin/ccc
0 Kudos
Highlighted
Iron

Re: Common Check Point Commands (ccc)

Hey Danny,
great tool. I recommend this to all my customers and use the tool almost every day.
Fantastic work!!!
Greetings Flo

0 Kudos
Highlighted
Sapphire

Re: Common Check Point Commands (ccc)

Strange error with newest version:

 MAIN < FIREWALL GATEWAY

execute first line:

  fw stat; ips stat; fw stat -b AMW; cpstat -f all polsrv; cp_conf sic state  Show FW + IPS/TP + Policy Server + SIC status

 

/usr/bin/ccc: eval: line 471: unexpected EOF while looking for matching ``'

/usr/bin/ccc: eval: line 472: syntax error: unexpected end of file

 

Done.

 

 

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Fixed in version 4.5

0 Kudos
Highlighted
Employee
Employee

Re: Common Check Point Commands (ccc)

Hi Danny,

Thank you for this great tool and keep it updated with more and more RFEs 🙂

Please consider adding the [ watch --i 1 --d 'cpstat -f fragments fw' ] to see if the GW is handling any fragmentation every sec.

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Hi Bechor,

thanks for your support.

I'm working on an update that will cover all the requests regarding the watch command to be included.

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Added in version 4.6

0 Kudos
Highlighted
Iron

Re: Common Check Point Commands (ccc)

Its Awesome...

Thanks,
CSR
0 Kudos
Highlighted
Employee+
Employee+

Re: Common Check Point Commands (ccc)

AMAZING !

 

This should be renamed to 

"Ultimate Checkpoint Toolkit"

 

Thanks for all your handwork on this.

 

Highlighted

Re: Common Check Point Commands (ccc)

Does using scripts like this or installing other 3rd parties packages (lets say Python) affect Vendor Support? Void it somehow?

 

0 Kudos

Re: Common Check Point Commands (ccc)

The script seems to follow the normal (debug) commans you can find in SecureKnowledge.

No harm in using them. But as with every tool. You can also do some damage if you use it incorrectly.

 

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

I'm glad to announce that ccc is recommended in the book: 📕 Max Power 2020 by @Timothy_Hall .

Highlighted
Pearl

Re: Common Check Point Commands (ccc)

The PDF slides of my CPX 2020 presentation in Vienna, which features a ccc special, can be found here.

I can provide you with the PPTX version upon request.

0 Kudos
Highlighted
Copper

Re: Common Check Point Commands (ccc)

Danny, this tool is fantastic thank you!

 

I know this may be an impossible task because I am not sure these commands exist but would love to see:

  • IPsec VPN phase 1 (with local IP, peer IP and lifetime remaining)
  • IPsec VPN phase 2 security associations with encryption domain IP addresses in a readable format and lifetime remaining

thanks

 

 

0 Kudos
Highlighted
Silver

Re: Common Check Point Commands (ccc)

Hi Danny,

long time no ccc install.

Today I installed ccc to a VSX R80.30 cluster and possibly I found a small bug.

The "shown blades" in the summary only shows "FW" even if there are more active blades.

 

More over:

ccc is showing that coreXL is off when running it on vsx.

This is correct, but somehow not the truth.

How about just showing "vsx" at corexl when ccc is detecting a vsx system?

 

Thanks for your efforts!

 

Cheers

Sven

 

 

 

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

Hi @Sven_Glock,

could you please tell me what enabled_blades is showing at your VSX host?

As for VSX and CoreXL, ccc is already showing that it's a VSX host, right?

Regards,
Danny

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

I'm glad to announce that ccc is now officially credited in Check Point's GAiA HealthCheck script for checks courtesy of ccc. Thanks @Nathan_Davieau.

Highlighted
Silver

Re: Common Check Point Commands (ccc)

People who has to use proxy can use this command to get ccc:

curl_cli --proxy proxy:port -k https://dannyjung.de/ccc | zcat > /usr/bin/ccc && chmod +x /usr/bin/ccc

Highlighted
Pearl

Re: Common Check Point Commands (ccc)

New version 4.7 released!

+ Added support for Maestro

thanks to @Laszlo_Csosza , @Anatoly Masover, @Tom_Hartig & Ilia Anokhin for training

thanks to @Maarten_Sjouw for testing and his Maestro basic setup documentation

greetings to all Maestro experts, @Evgeniy_Olkov  [1,2], @Lari_Luoma@Tomas_Vobruba@Summer_Kablawi@Vinicius_Figuei@Andy_Yelnik1@Liran_Abir etc.

+ Integrated the One-liner for Remote Access VPN Statistics

+ Added support for upcoming Check Point release R81

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

ℹ️ For those wanting to see the system info screen only, run ccc like this: echo q | ccc | head -n-16

Highlighted
Employee+
Employee+

Re: Common Check Point Commands (ccc)

This is really nice.  Do you typically install this on the Mgmt server only or on Mgmt and GW's?

0 Kudos
Highlighted
Pearl

Re: Common Check Point Commands (ccc)

ccc is typically installed on all types of Check Point Gaia based systems. This includes management servers, gateways, clusters, VSX environments and even Maestro Hyperscale solutions. Embedded Gaia (SMB) is not supported yet.

0 Kudos