Skip to content

Generate sample data for every possible kernel debug of Check Point Firewall kernel (module).

License

Notifications You must be signed in to change notification settings

Jcpetrucci/bash-debug-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bash-debug-sampler

Purpose:

Educational. Generate sample data for every possible kernel debug of Check Point Firewall kernel (module).

Usage:

Takes a single optional argument; a file name containing TYPE, MODULE and FLAG names in the format of:
TYPE MODULE FLAG [FLAG [FLAG]]...
..separated by newline. TYPE is one of {fw1|fwaccel|sim}.
Multiple FLAGs can be given per debug line (e.g. fw1 fw conn drop, where 'conn' & 'drop' are flags).
Multi-flag debugs are only possible when a manual file is specified, as the automatic discovery mechanism simply iterates through each discovered flag one by one.

If no argument is given, automatic discovery will be used to determine all of the available modules and flags.

Examples:

               ./debug-sampler.sh
               ./debug-sampler.sh myflags.txt

Demo:

Demo asciicast

About

Generate sample data for every possible kernel debug of Check Point Firewall kernel (module).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages