kohler / click

The Click modular router: fast modular packet processing and analysis
Other
734 stars 324 forks source link

TCP demux returning reject packet from unknown flow #462

Open AqsaKashaf opened 3 years ago

AqsaKashaf commented 3 years ago

I was running test-tcp.click with DPDK and I got this error. Please let me know what might be the reason

tbarbette commented 3 years ago

Could you IPPrint the packets and show a minimal example? I guess this configuration is supposed to see flows from the very first packet, an established connection you see in the middle would cause this kind of messages.

What's the ultimate goal here?

AqsaKashaf commented 3 years ago

This is what the output prints: p: 1597660160.064471523: 10.10.1.1.55688 > 10.10.1.2.12345: S 2902781271:2902781272(1,60,60) win 64240 reject packet from unknown flow p: 1597660161.093683038: 10.10.1.1.55688 > 10.10.1.2.12345: S 2902781271:2902781272(1,60,60) win 64240 reject packet from unknown flow

I am just doing telnet from the machine 10.10.1.1 to machine 10.10.1.2 on port 12345. I am using the same code given in test-tcp.click.

tbarbette commented 3 years ago

I think that config/elements are really "toys" elements. What are you trying to accomplish? For a full TCP stack you may look at ClickNF, for an in-the-middle Stack, MiddleClick.