Skip to content
Tom Barbette edited this page Nov 25, 2022 · 3 revisions

TCPReflector Element Documentation

NAME

TCPReflector — Click element; pretend to be a TCP server

SYNOPSIS

TCPReflector()

Batching: Batching natively supported
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/tcpudp/tcpreflector.hh:9 on 2022/11/25.

Clone this wiki locally