Debugging on a Checkpoint

1) Prepare the debug:
[Expert@FW]# fw ctl debug 0  This defaults (clears) all the kernal debugging options
[Expert@FW]# fw ctl debug -buff 32000  This is the buffer that the kernel users to store debugging messages
[Expert@FW]# YOUR DEBUG FILTER HERE

2) Verify the debug
[Expert@FW]# fw ctl debug -m fw

3) Start and write the debug to a file
[Expert@FW]# fw ctl kdebug -T -f 1>> /var/log/debug.txt 2>> /var/log/debug.txt  The ‘1’ means standard output and ‘2’ means standard error