156-587 · Question #88
When debugging is enabled on firewall kernel module using the fw ctl debug' command with required options, many debug messages are provided by the kernel that help the administrator to identify…
The correct answer is B. Messages are written to a buffer and collected using `fw ctl kdebug. When fw ctl debug is used to enable kernel debugging on a Check Point firewall, the generated debug messages are written to an in-memory kernel buffer - not directly to a file or console - and must be retrieved using fw ctl kdebug, which reads and outputs that buffer to a file…
Question
When debugging is enabled on firewall kernel module using the fw ctl debug' command with required options, many debug messages are provided by the kernel that help the administrator to identify Issues. Which of the following is true about these debug messages generated by the kernel module?
Options
- AMessages are written to /etc/dmesg file
- BMessages are written to a buffer and collected using `fw ctl kdebug
- CMessages are written to SFWDIR
- DMessages are written to console and also /var/log/messages file
How the community answered
(33 responses)- A3% (1)
- B88% (29)
- C3% (1)
- D6% (2)
Explanation
When fw ctl debug is used to enable kernel debugging on a Check Point firewall, the generated debug messages are written to an in-memory kernel buffer - not directly to a file or console - and must be retrieved using fw ctl kdebug, which reads and outputs that buffer to a file for analysis. Option A is wrong because /etc/dmesg is not a file (dmesg is a command that reads the kernel ring buffer on Linux, and /etc/ is for configuration files). Option C is incorrect because $FWDIR (the Check Point installation directory) is not where raw kernel debug output is captured. Option D is wrong because kernel debug messages from fw ctl debug do not go to the console or /var/log/messages - those paths are for OS-level or daemon log messages, not Check Point kernel module debug output.
Memory tip: Think of it as a two-step process - fw ctl debug enables the tap, and fw ctl kdebug drains the buffer into a file you can actually read. Debug → Buffer → Collect.
Topics
Community Discussion
No community discussion yet for this question.