Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

TCPReflector Element Documentation

NAME

TCPReflector — Click element; pretend to be a TCP server

SYNOPSIS

TCPReflector()

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Pretend to be a TCP server; emit a plausible reply packet to each incoming TCP/IP packet. Maintains no state, so should be very fast.

EXAMPLES

FromDevice(eth1, 0)

 -> Strip(14)
 -> CheckIPHeader()
 -> IPFilter(allow tcp && dst host 1.0.0.77 && dst port 99 && not src port 99, deny all)
 -> Print(x)
 -> TCPReflector()
 -> Print(y)
 -> EtherEncap(0x0800, 1:1:1:1:1:1, 00:03:47:07:E9:94)
 -> ToDevice(eth1);

Generated by click-elem2man from ../elements/local/tcpreflector.hh:9 on 2017/10/17.

Clone this wiki locally