-
Notifications
You must be signed in to change notification settings - Fork 321
TCPReflector
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
TCPReflector — Click element; pretend to be a TCP server
TCPReflector()
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/local/tcpreflector.hh:9
on 2017/10/17.