a-lunev opened a new pull request #5138: URL: https://github.com/apache/incubator-nuttx/pull/5138
## Summary Advance sndseq by +1 because SYN and FIN occupy one sequence number (RFC 793). This PR refers to my previous PR #5102. ## Impact TCP ## Testing Install and configure vsftpd on Linux host. Build NuttX: ``` $ ./tools/configure.sh -l sim:tcpblaster $ make menuconfig (disable CONFIG_NET_TCP_WRITE_BUFFERS) $ make ``` Enable TUN/TAP on Linux host: ``` $ sudo setcap cap_net_admin+ep ./nuttx $ sudo ./tools/simhostroute.sh wlan0 on ``` Run NuttX on Linux host: ``` $ ./nuttx NuttShell (NSH) NuttX-10.2.0 nsh> ifconfig eth0 10.0.1.2 nsh> ifup eth0 ifup eth0...OK ``` Start Wireshark (or tcpdump) and capture appeared tap0 interface. Run in NuttX: ``` nsh> dd if=/dev/zero of=/tmp/test.bin count=1000 nsh> ftpc -4 -n LINUX_HOST_IP_ADDRESS NuttX FTP Client: login anonymous put /tmp/test.bin pub/test.bin quit ``` Observe TCP dump. Shutdown NuttX: `nsh> poweroff` Disable TUN/TAP on Linux host: `$ sudo ./tools/simhostroute.sh wlan0 off` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org