Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
During firewall kernel debug with fw ctl zdebug you received less information that expected. You noticed that a lot of messages were lost since the time the debug was started. What should you do to resolve this issue?
A.
Increase debug buffer; Use fw ctl debug -buf 32768
B.
Redirect debug output to file; Use fw ctl debug -o ./debug.elg
C.
Redirect debug output to file; Use fw ctl zdebug -o ./debug.elg
D.
Increase debug buffer; Use fw ctl zdebug -buf 32768
At first I was thinking C, but to output to a file the command is: fw ctl zdebug > /var/log/tmp/fw_ctl_zdebug_drop.txt therefore C and by extension B cannot be correct and D cannot be correct as you cannot adjust the buffer in zdebug as it's fixed to 1024, therefore A is the only possible answer.
To me it's answer A.
fw ctl zdebug is an internal R&D macros to cut corners when developing and testing new features in the sterile environment. It is equivalent to the following sequence of commands:
fw ctl debug -buf 1024
fw ctl debug (your options)
fw ctl kdebug -f
fw ctl debug 0
(Please check https://checkpoint-master-architect.blogspot.com/2017/11/kernel-debug-best-practices-or-why-fw.html)
This way, we can't modify buffer on zdebug and so we have to use fw ctl debug (and not zdebug).
your comment is correct, but probably the answer is incomplete and the answer should be about using in this case fw ctl debug/fw ctl kdebug to a file with output to a file through the symbol >
zdebug does not allow the user to allocate a buffer. It automatically enables a 1MB buffer.
So, this makes option A and D invalid.
The only option is to save all information into a file.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ToadRobertson2
3 months, 2 weeks agoDaimaxians
3 months, 2 weeks agobabochnik
2 weeks, 1 day agoSakan
4 months, 2 weeks ago