FAST STREAM INJECTION

Overview

The Fast Stream Injection scenario will clone the data and
inject it back to the stream.  No
modification is performed on the data.

All filters added sit in WFPSampler's
sublayer (which is weighted just below IPsec's sublayer), unless otherwise
specified using the -sl
<SUBLAYER> command line option.
All filters are associated with WFPSampler's
provider.

This scenario is meant to display the performance impact of
stream injection.  All injection is
performed synchronously (inline) from within the ClassifyFastStreamInjection().

CompleteFastStreamInjection() will indicate the final status of the data’s injection.  This function will also free any allocated
memory.

The following diagram shows how the code flows for this
callout:

Figure A. Code flow for Fast Stream Injection Scenario

Applicable Layers

v
FWPM_LAYER_STREAM_V4

v
FWPM_LAYER_STREAM_V6

Command Line Usage

Option

Argument

Meaning

-s

FAST_STREAM_INJECTION

Implement the FAST_STREAM_INJECTION scenario

-l

Applicable Layer

Layer at which this filter will apply

-sl

Applicable subLayer

SubLayer to associate with the filter.  [default is
WFPSAMPLER_SUBLAYER].

-v

Make the objects associated with this scenario’s instance dynamic

-b

Make the objects associated with this scenario’s instance available
during boot-time

-r

Remove objects associated with this scenario instance

-?

Display help

“WFPSampler.Exe -s
FAST_STREAM_INJECTION -?“
provides help output

“WFPSampler.Exe -s
FAST_STREAM_INJECTION -l FWPM_LAYER_STREAM_V4 -v“ adds
a dynamic filter (-v) at
FWPM_LAYER_STREAM_V4 (-l) which
references the appropriate callout.  This
filter will have no conditions, meaning it will act on all traffic seen at this
layer.

“WFPSampler.Exe -s
FAST_STREAM_INJECTION -l FWPM_LAYER_STREAM_V4 -v -r“
removes (-r) the dynamic
filter (-v) at FWPM_LAYER_STREAM_V4
(-l) which references the appropriate
callout.

“WFPSampler.Exe -s
FAST_STREAM_INJECTION -l FWPM_LAYER_STREAM_V4 -ipla
1.0.0.1 -ipra 1.0.0.254 –iprp
80“ adds a persistent filter at
FWPM_LAYER_STREAM_V4 (-l) which
references the appropriate callout.  This
filter will have 3 conditions; FWPM_CONDITION_IP_LOCAL_ADDRESS (-ipla) equals
1.0.0.1, FWPM_CONDITION_IP_REMOTE_ADDRESS (-ipra) equals 1.0.0.254, and
FWPM_CONDITION_IP_REMOTE_PORT (-iprp) equal 80.

For a list of conditions applicable to each layer, refer to Filtering
Conditions Available at Each Filtering Layer.

For a list of command line parameters for configuring each
condition, refer to Conditions
for Command Line.