otupy.profiles.slpf
StateLess Packet Filter profile
This module collects all public definition that are exported as part of the SLPF profile. All naming follows as much as possible the terminology in the SLPF Specification, by also applying generic ~otupy conventions.
This definition also registers all extensions defined in the SLPF profile (Args, Target, Profile, Results).
The SLPF profile extends the language specification with the following elements:
-
data:Directionis used to specify the rule applies to incoming, outgoing, or both kinds of packets;
-
RuleIDidentifies a rule identifier to distinguish firewalling rules;
-
RuleIDis the identifier of an SLPF rule;
Args:Argsis extended withdrop_process,persistent,direction, andinsert_rulearguments;
-
Resultsis extended with therule_idfield;
validation:
AllowedCommandTargetcontains all validTargetfor eachActions;AllowedCommandArgumentscontains all validArgsfor each <Actions,Target> pair;
helper functions:
validate_commandchecks a <Target,Actions> pair in aCommandis present inAllowedCommandTarget;validate_argschecks a <Args,Actions,Target> triple in aCommandis present inAllowedCommandArguments.
SLPF Specifiers |
|
SLPF Arguments |
|
SLPF additional data types |
|
Statless Packet Filter namespace |
|
SLPF Response extensions |
|
SLPF additional data types |
|
SLPF validation rules |