Part Number: AM3359
Other Parts Discussed in Thread: TMDSICE3359
Tool/software: Linux
Hello,
my customer set up a virtual box with Ubuntu. The Molex stack is running on our TMDSICE3359 with Linux Image on SDHC. He can communicate with the stack and read the “list identity” through UDP with the Molex EIP test tool. Then He send TCP messages and gets following message:
„[ 1593.174255] TCP: request_sock_TCP: Possible SYN flooding on port 44818. Dropping request. Check SNMP counters.“
The iptables are empty.
He tries the follwing:
- Rule in iptables for TCP port 44818 configured:
iptables -I INPUT 1 -p tcp --dport 44818 -j ACCEPT
- sysctl -w net.ipv4.tcp_synack_retries=50000
- sysctl -w net.ipv4.tcp_syn_retries=50000
- tcp_syncookies couldn’t be set – may be it is disabled in the Kernel
The behaviour is the same.
Why and where will be TCP 44818 dropped?#
What should be changed so that TCP is running.
Conifugration:
- Ethernet interface: They use the physical RJ45 close to the PCB edge which maps to eth0 in Linux.
- Protocol: There is TI Linux image on SDHC taken from this link:
http://software-dl.ti.com/processor-sdk-linux-rt/esd/AM335X/latest/index_FDS.html
EIP stack with adaptation for Linux is taken from Molex as such – nothing modified. There are no further TI components.
- Ethernet/IP master: EIP-Tool from Molex is running on Win10 PC – firewall, antivirus etc. is disabled.
TCP is transmitted by the PC NIC, but EVb doesn´t reply/acknowledge (wireshark/tcpdump captures are attached).
- UDP is working well, but TCP causes the following message on the EVB:
„[ 1593.174255] TCP: request_sock_TCP: Possible SYN flooding on port 44818. Dropping request. Check SNMP counters.“
- PRU-ICSS EIP with TI RTOS is working fine.
- IP configured in the EIP tool (running on Win10 PC): 128.127.58.135
- Static IP on the PC´s NIC is 128.127.58.112
- Commands executed in the Linux console:
ifconfig eth0 128.127.58.135 netmask 255.255.255.0
ping 128.127.58.112 -c3
echo "r" "t" | ./eip_adapter okl
tcpdump -nnvXSs 0 -c10 -w /etc/tcpdump.pcap
Regards, Holger