-
Notifications
You must be signed in to change notification settings - Fork 82
TCPReflector
Tom Barbette edited this page Nov 25, 2022
·
3 revisions
TCPReflector — Click element; pretend to be a TCP server
TCPReflector()
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
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.
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.