The
tee
node type has a purpose similar to the
tee(1)
command.
Tee
nodes are useful for debugging or
"snooping"
on a connection
between two netgraph nodes.
Tee
nodes have four hooks,
right,
left,
right2left,
and
left2right.
All data received on
right
is sent unmodified to
both
hooks
left
and
right2left.
Similarly, all data received on
left
is sent unmodified to both
right
and
left2right.
Packets may also be received on
right2left
and
left2right;
if so, they are forwarded unchanged out hooks
right
and
left,
respectively.