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

Easy Debug - ONELINER

HeikoAnkenbrand
Champion Champion
Champion

This oneliner will do the work for you.
Use this onliner to start easy a debug without entering all debug commands by hand.

 


   echo 'clear; echo -n "Input debug filter: "; read dbfilter; function ctrl_c { fw ctl debug 0; rm /tmp/vd; exit 0;}; trap ctrl_c INT; fw ctl debug -buf 20480; fw ctl debug $dbfilter;echo -e "\e[7m"; echo " Stop VPN debug with CTRL-C "; echo -e "\e[0m"; fw ctl kdebug -f -T | tee /var/log/edebug.log; sleep 100000000;' > /tmp/vd; chmod 770 /tmp/vd; /tmp/vd
  
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




(1)
1 Reply

Joerg_B
Participant

Nice Solution.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos