F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.82k stars 891 forks source link

Packet sent from f-stack vs non f-stack have IP fields #747

Open lotusdew-dushyant-goel opened 1 year ago

lotusdew-dushyant-goel commented 1 year ago

Hi experts,

I am connecting to a server with a f-stack client, based on the helloworld_epoll example. But communication is not established. I looked at packets flowing out from f-stack client and a C client with Wireshark and there were only 2 differences:

Here are additional details:

The server client communication goes as follows: client [SYN] seq0 --> server server [SYN, ACK] seq0, ack1 --> client client [ACK] seq1, ack1 --> server client [ACK] seq1, ack1 TCP Window Update server [RST, ACK] seq1, ack1

Is the window size (TCP ) something controlled by f-stack? Please tell me if there is additional information that is required.

Thanks

jfb8856606 commented 1 year ago

Can you show your client code and config.ini.