Basic INSPECT Syntax
This section, by presenting simple examples, provides a rudimentary description of how to read and understand INSPECT code.
INSPECT is a fairly simple script-like language that contains a series of statements designed to evaluate packets and make decisions about what to do with the packet. Although this is not a complete BNF[1] for the language, it should give you a rough idea of what to expect.
[1] BNF is an acronym for Backus Normal Form or Backus Naur Form. It is a standard format used to describe programming languages, first introduced in the Algol-60 report by John Backus and Peter Naur. Computer science luminary Donald Knuth recommended that Backus Normal Form should be renamed Backus Naur Form to honor the two authors ...
Get Essential Check Point™ FireWall-1® NG: An Installation, Configuration, and Troubleshooting Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.