Hello again,
I forgot to attach the tcpdump file and also the lwipopts file. Also some
extra information from
LWIP Stats, however this also does not show any issues. This info comes
from a breakpoint in
tcp_server_send when an invalid packet comes in due to the slow response
previously.
MEMP STATS:
TCP_PCB: 16 avail, 1 used and max
TCP_PCB_LISTEN: 16 avail, 1 used and max
TCP_SEG: 64 avail, 1 used and max
REASSDATA: 5 avail, 0 used and max
FRAG_PBUF: 15 avail, 0 used and max
SYS_TIMEOUT: 5 avail, 3 used and max
PBUF_REF/ROM: 32 avail, 0 used and max
PBUF_POOL: 64 avail, 0 used and max
For all of the above, err and illegal are 0.
MEM STATS: 12800 avail, 5564 used, 5648 max, other are 0.
TCP STATS: 29140 xmit, 29142 recv, 29142 cachehit, others are 0.
IP STATS: 29140 xmit, 29146 recv, 4 drop, 4 proterr, other are 0.
ETHARP STATS: 4 xmit, 1590 recv, cachehit 29139, other are 0.
LINK, IP_FRAG and ICMP stats are all 0.
Also, I am not used to using mailing lists, how should I be replying to any
messages in the future? Just
want to make sure that I don't make a mess.
Thanks,
Sam
00:09:59.4294966546 172.27.12.78.52360 > 172.27.12.3.65527: P 68352:68416(64)
ack 36313 win 65297
00:09:59.4294966592 172.27.12.3.65527 > 172.27.12.78.52360: P 36313:36347(34)
ack 68416 win 65535
00:09:59.4294966592 172.27.12.78.52360 > 172.27.12.3.65527: P 68416:68480(64)
ack 36347 win 65263
00:10:00.4294966638 172.27.12.3.65527 > 172.27.12.78.52360: P 36347:36381(34)
ack 68480 win 65535
00:10:00.4294966638 172.27.12.78.52360 > 172.27.12.3.65527: P 68480:68544(64)
ack 36381 win 65229
00:10:00.4294966685 172.27.12.3.65527 > 172.27.12.78.52360: P 36381:36415(34)
ack 68544 win 65535
00:10:00.4294966594 172.27.12.3.65527 > 172.27.12.78.52360: P 36381:36619(238)
ack 68544 win 65535
00:10:01.4294966800 172.27.12.78.52360 > 172.27.12.3.65527: . ack 36619 win
64991
00:10:01.4294966800 172.27.12.3.65527 > 172.27.12.78.52360: P 36619:36659(40)
ack 68544 win 65535
00:10:01.4294966800 172.27.12.78.52360 > 172.27.12.3.65527: P 68544:68608(64)
ack 36619 win 64991
00:10:01.4294966974 172.27.12.3.65527 > 172.27.12.78.52360: P 36659:36683(24)
ack 68608 win 65535
00:10:01.4294966978 172.27.12.78.52360 > 172.27.12.3.65527: . ack 36683 win
64927
00:10:01.4294966978 172.27.12.3.65527 > 172.27.12.78.52360: P 36683:36691(8)
ack 68608 win 65535
00:10:01.4294966979 172.27.12.78.52360 > 172.27.12.3.65527: P 68608:68744(136)
ack 36691 win 64919
00:10:01.4294966979 172.27.12.3.65527 > 172.27.12.78.52360: F 36691:36691(0)
ack 68744 win 65535
00:10:01.4294966979 172.27.12.3.65477 > 172.27.12.78.52360: S
891886584:891886584(0) win 65535 <mss 1460,nop,wscale 2,nop,nop,timestamp 0 0>
00:10:01.4294966979 172.27.12.78.52360 > 172.27.12.3.65527: F 68744:68744(0)
ack 36692 win 64918
00:10:01.4294966979 172.27.12.3.65527 > 172.27.12.78.52360: . ack 68745 win
65535
00:10:03.4294966572 172.27.12.78.52360 > 172.27.12.3.65477: S 7671:7671(0) ack
891886585 win 65535 <mss 1460>
00:10:03.4294966572 172.27.12.3.65477 > 172.27.12.78.52360: . ack 1 win 65535
00:10:04.4294966611 172.27.12.3.65477 > 172.27.12.78.52360: P 1:9(8) ack 1 win
65535
00:10:04.4294966611 172.27.12.78.52360 > 172.27.12.3.65477: P 1:137(136) ack 9
win 65527
00:10:04.4294966657 172.27.12.3.65477 > 172.27.12.78.52360: P 9:17(8) ack 137
win 65535
00:10:04.4294966657 172.27.12.78.52360 > 172.27.12.3.65477: P 137:273(136) ack
17 win 65519
00:10:04.4294966703 172.27.12.3.65477 > 172.27.12.78.52360: P 17:25(8) ack 273
win 65535
00:10:04.4294966703 172.27.12.78.52360 > 172.27.12.3.65477: P 273:409(136) ack
25 win 65511
00:10:04.4294966749 172.27.12.3.65477 > 172.27.12.78.52360: P 25:33(8) ack 409
win 65535
00:10:04.4294966749 172.27.12.78.52360 > 172.27.12.3.65477: P 409:545(136) ack
33 win 65503
00:10:04.4294966796 172.27.12.3.65477 > 172.27.12.78.52360: P 33:41(8) ack 545
win 65535
00:10:04.4294966796 172.27.12.78.52360 > 172.27.12.3.65477: P 545:681(136) ack
41 win 65495
00:10:04.4294966841 172.27.12.3.65477 > 172.27.12.78.52360: P 41:71(30) ack 681
win 65535
00:10:04.4294966841 172.27.12.78.52360 > 172.27.12.3.65477: P 681:721(40) ack
71 win 65465
00:10:04.4294966888 172.27.12.3.65477 > 172.27.12.78.52360: P 71:105(34) ack
721 win 65535
00:10:04.4294966888 172.27.12.78.52360 > 172.27.12.3.65477: P 721:785(64) ack
105 win 65431
00:10:04.4294966934 172.27.12.3.65477 > 172.27.12.78.52360: P 105:139(34) ack
785 win 65535
00:10:04.4294966934 172.27.12.78.52360 > 172.27.12.3.65477: P 785:849(64) ack
139 win 65397
00:10:04.4294966980 172.27.12.3.65477 > 172.27.12.78.52360: P 139:173(34) ack
849 win 65535
00:10:04.4294966980 172.27.12.78.52360 > 172.27.12.3.65477: P 849:913(64) ack
173 win 65363
--------------------------------------------------------------------------------------------------------------
01:36:00.4294966997 172.27.12.3.65328 > 172.27.12.78.52360: P
2311799:2311833(34) ack 4352209 win 65535
01:36:00.4294966997 172.27.12.78.52360 > 172.27.12.3.65328: P
4352209:4352273(64) ack 2311833 win 65127
01:36:00.4294967044 172.27.12.3.65328 > 172.27.12.78.52360: P
2311833:2311867(34) ack 4352273 win 65535
01:36:00.4294967044 172.27.12.78.52360 > 172.27.12.3.65328: P
4352273:4352337(64) ack 2311867 win 65093
01:36:00.4294967089 172.27.12.3.65328 > 172.27.12.78.52360: P
2311867:2311901(34) ack 4352337 win 65535
01:36:01.4294966997 172.27.12.3.65328 > 172.27.12.78.52360: P
2311867:2312105(238) ack 4352337 win 65535
01:36:01.4294967108 172.27.12.78.52360 > 172.27.12.3.65328: . ack 2312105 win
64855
01:36:01.4294967108 172.27.12.3.65328 > 172.27.12.78.52360: P
2312105:2312129(24) ack 4352337 win 65535
01:36:02.4294966339 172.27.12.78.52360 > 172.27.12.3.65328: . ack 2312129 win
64831
01:36:02.4294966339 172.27.12.3.65328 > 172.27.12.78.52360: P
2312129:2312169(40) ack 4352337 win 65535
01:36:02.4294966339 172.27.12.78.52360 > 172.27.12.3.65328: P
4352337:4352401(64) ack 2312129 win 64831
01:36:02.4294966518 172.27.12.3.65328 > 172.27.12.78.52360: P
2312169:2312193(24) ack 4352401 win 65535
01:36:02.4294966522 172.27.12.78.52360 > 172.27.12.3.65328: . ack 2312193 win
64767
01:36:02.4294966522 172.27.12.3.65328 > 172.27.12.78.52360: P
2312193:2312201(8) ack 4352401 win 65535
01:36:02.4294966523 172.27.12.78.52360 > 172.27.12.3.65328: P
4352401:4352537(136) ack 2312201 win 64759
01:36:02.4294966523 172.27.12.3.65328 > 172.27.12.78.52360: F
2312201:2312201(0) ack 4352537 win 65535
01:36:02.4294966523 172.27.12.3.65097 > 172.27.12.78.52360: S
1844822790:1844822790(0) win 65535 <mss 1460,nop,wscale 2,nop,nop,timestamp 0 0>
01:36:02.4294966523 172.27.12.78.52360 > 172.27.12.3.65328: F
4352537:4352537(0) ack 2312202 win 64758
01:36:02.4294966523 172.27.12.3.65328 > 172.27.12.78.52360: . ack 4352538 win
65535
01:36:04.4294967110 172.27.12.78.52360 > 172.27.12.3.65097: S 16405:16405(0)
ack 1844822791 win 65535 <mss 1460>
01:36:04.4294967110 172.27.12.3.65097 > 172.27.12.78.52360: . ack 1 win 65535
01:36:04.4294967155 172.27.12.3.65097 > 172.27.12.78.52360: P 1:9(8) ack 1 win
65535
01:36:04.4294967155 172.27.12.78.52360 > 172.27.12.3.65097: P 1:137(136) ack 9
win 65527
01:36:04.4294967202 172.27.12.3.65097 > 172.27.12.78.52360: P 9:17(8) ack 137
win 65535
01:36:04.4294967202 172.27.12.78.52360 > 172.27.12.3.65097: P 137:273(136) ack
17 win 65519
01:36:04.4294967247 172.27.12.3.65097 > 172.27.12.78.52360: P 17:25(8) ack 273
win 65535
01:36:04.4294967247 172.27.12.78.52360 > 172.27.12.3.65097: P 273:409(136) ack
25 win 65511
01:36:04.4294967294 172.27.12.3.65097 > 172.27.12.78.52360: P 25:33(8) ack 409
win 65535
01:36:04.4294967294 172.27.12.78.52360 > 172.27.12.3.65097: P 409:545(136) ack
33 win 65503
01:36:05.4294966340 172.27.12.3.65097 > 172.27.12.78.52360: P 33:41(8) ack 545
win 65535
01:36:05.4294966340 172.27.12.78.52360 > 172.27.12.3.65097: P 545:681(136) ack
41 win 65495
01:36:05.4294966386 172.27.12.3.65097 > 172.27.12.78.52360: P 41:71(30) ack 681
win 65535
01:36:05.4294966386 172.27.12.78.52360 > 172.27.12.3.65097: P 681:721(40) ack
71 win 65465
01:36:05.4294966432 172.27.12.3.65097 > 172.27.12.78.52360: P 71:105(34) ack
721 win 65535
01:36:05.4294966432 172.27.12.78.52360 > 172.27.12.3.65097: P 721:785(64) ack
105 win 65431
01:36:05.4294966479 172.27.12.3.65097 > 172.27.12.78.52360: P 105:139(34) ack
785 win 65535
01:36:05.4294966479 172.27.12.78.52360 > 172.27.12.3.65097: P 785:849(64) ack
139 win 65397
/* USER CODE BEGIN Header */
/**
******************************************************************************
* File Name : Target/lwipopts.h
* Description : This file overrides LwIP stack default configuration
* done in opt.h file.
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion
--------------------------------------*/
#ifndef __LWIPOPTS__H__
#define __LWIPOPTS__H__
#include "main.h"
/*-----------------------------------------------------------------------------*/
/* Current version of LwIP supported by CubeMx: 2.1.2 -*/
/*-----------------------------------------------------------------------------*/
/* Within 'USER CODE' section, code will be kept by default at each generation
*/
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
#ifdef __cplusplus
extern "C" {
#endif
/* STM32CubeMX Specific Parameters (not defined in opt.h)
---------------------*/
/* Parameters set in STM32CubeMX LwIP Configuration GUI -*/
/*----- WITH_RTOS disabled (Since FREERTOS is not set) -----*/
#define WITH_RTOS 0
/*----- CHECKSUM_BY_HARDWARE enabled -----*/
#define CHECKSUM_BY_HARDWARE 1
/*-----------------------------------------------------------------------------*/
/* LwIP Stack Parameters (modified compared to initialization value in opt.h)
-*/
/* Parameters set in STM32CubeMX LwIP Configuration GUI -*/
/*----- Default Value for LWIP_UDP: 1 ---*/
#define LWIP_UDP 0
/*----- Default Value for MEMP_NUM_TCP_PCB: 5 ---*/
#define MEMP_NUM_TCP_PCB 16
/*----- Value in opt.h for NO_SYS: 0 -----*/
#define NO_SYS 1
/*----- Value in opt.h for SYS_LIGHTWEIGHT_PROT: 1 -----*/
#define SYS_LIGHTWEIGHT_PROT 0
/*----- Value in opt.h for MEM_ALIGNMENT: 1 -----*/
#define MEM_ALIGNMENT 4
/*----- Default Value for MEM_SIZE: 1600 ---*/
#define MEM_SIZE 12800
/*----- Default Value for MEMP_NUM_PBUF: 16 ---*/
#define MEMP_NUM_PBUF 32
/*----- Default Value for MEMP_NUM_TCP_PCB_LISTEN: 8 ---*/
#define MEMP_NUM_TCP_PCB_LISTEN 16
/*----- Default Value for MEMP_NUM_TCP_SEG: 16 ---*/
#define MEMP_NUM_TCP_SEG 64
/*----- Default Value for MEMP_NUM_SYS_TIMEOUT: 3 ---*/
#define MEMP_NUM_SYS_TIMEOUT 5
/*----- Default Value for PBUF_POOL_SIZE: 16 ---*/
#define PBUF_POOL_SIZE 64
/*----- Default Value for PBUF_POOL_BUFSIZE: 592 ---*/
#define PBUF_POOL_BUFSIZE 1184
/*----- Value in opt.h for LWIP_ETHERNET: LWIP_ARP || PPPOE_SUPPORT -*/
#define LWIP_ETHERNET 1
/*----- Value in opt.h for LWIP_DNS_SECURE: (LWIP_DNS_SECURE_RAND_XID |
LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING | LWIP_DNS_SECURE_RAND_SRC_PORT) -*/
#define LWIP_DNS_SECURE 7
/*----- Default Value for TCP_WND: 5840 ---*/
#define TCP_WND 65535
/*----- Default Value for TCP_MSS: 536 ---*/
#define TCP_MSS 1460
/*----- Default Value for TCP_SND_QUEUELEN: 9 ---*/
#define TCP_SND_QUEUELEN 32
/*----- Value in opt.h for LWIP_NETIF_LINK_CALLBACK: 0 -----*/
#define LWIP_NETIF_LINK_CALLBACK 1
/*----- Value in opt.h for LWIP_NETCONN: 1 -----*/
#define LWIP_NETCONN 0
/*----- Value in opt.h for LWIP_SOCKET: 1 -----*/
#define LWIP_SOCKET 0
/*----- Value in opt.h for RECV_BUFSIZE_DEFAULT: INT_MAX -----*/
#define RECV_BUFSIZE_DEFAULT 2000000000
/*----- Default Value for LWIP_STATS: 0 ---*/
#define LWIP_STATS 1
/*----- Default Value for LWIP_STATS_DISPLAY: 0 ---*/
#define LWIP_STATS_DISPLAY 1
/*----- Value in opt.h for MIB2_STATS: 0 or SNMP_LWIP_MIB2 -----*/
#define MIB2_STATS 0
/*----- Value in opt.h for CHECKSUM_GEN_IP: 1 -----*/
#define CHECKSUM_GEN_IP 0
/*----- Value in opt.h for CHECKSUM_GEN_UDP: 1 -----*/
#define CHECKSUM_GEN_UDP 0
/*----- Value in opt.h for CHECKSUM_GEN_TCP: 1 -----*/
#define CHECKSUM_GEN_TCP 0
/*----- Value in opt.h for CHECKSUM_GEN_ICMP: 1 -----*/
#define CHECKSUM_GEN_ICMP 0
/*----- Value in opt.h for CHECKSUM_GEN_ICMP6: 1 -----*/
#define CHECKSUM_GEN_ICMP6 0
/*----- Value in opt.h for CHECKSUM_CHECK_IP: 1 -----*/
#define CHECKSUM_CHECK_IP 0
/*----- Value in opt.h for CHECKSUM_CHECK_UDP: 1 -----*/
#define CHECKSUM_CHECK_UDP 0
/*----- Value in opt.h for CHECKSUM_CHECK_TCP: 1 -----*/
#define CHECKSUM_CHECK_TCP 0
/*----- Value in opt.h for CHECKSUM_CHECK_ICMP: 1 -----*/
#define CHECKSUM_CHECK_ICMP 0
/*----- Value in opt.h for CHECKSUM_CHECK_ICMP6: 1 -----*/
#define CHECKSUM_CHECK_ICMP6 0
/*----- Default Value for LWIP_DBG_MIN_LEVEL: LWIP_DBG_LEVEL_ALL ---*/
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_WARNING
/*----- Default Value for ETHARP_DEBUG: LWIP_DBG_OFF ---*/
#define ETHARP_DEBUG LWIP_DBG_ON
/*----- Default Value for NETIF_DEBUG: LWIP_DBG_OFF ---*/
#define NETIF_DEBUG LWIP_DBG_ON
/*----- Default Value for PBUF_DEBUG: LWIP_DBG_OFF ---*/
#define PBUF_DEBUG LWIP_DBG_ON
/*----- Default Value for ICMP_DEBUG: LWIP_DBG_OFF ---*/
#define ICMP_DEBUG LWIP_DBG_ON
/*----- Default Value for INET_DEBUG: LWIP_DBG_OFF ---*/
#define INET_DEBUG LWIP_DBG_ON
/*----- Default Value for IP_DEBUG: LWIP_DBG_OFF ---*/
#define IP_DEBUG LWIP_DBG_ON
/*----- Default Value for IP_REASS_DEBUG: LWIP_DBG_OFF ---*/
#define IP_REASS_DEBUG LWIP_DBG_ON
/*----- Default Value for RAW_DEBUG: LWIP_DBG_OFF ---*/
#define RAW_DEBUG LWIP_DBG_ON
/*----- Default Value for MEM_DEBUG: LWIP_DBG_OFF ---*/
#define MEM_DEBUG LWIP_DBG_ON
/*----- Default Value for MEMP_DEBUG: LWIP_DBG_OFF ---*/
#define MEMP_DEBUG LWIP_DBG_ON
/*----- Default Value for TIMERS_DEBUG: LWIP_DBG_OFF ---*/
#define TIMERS_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_INPUT_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_INPUT_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_FR_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_FR_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_RTO_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_RTO_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_CWND_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_CWND_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_WND_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_WND_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_OUTPUT_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_OUTPUT_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_RST_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_RST_DEBUG LWIP_DBG_ON
/*----- Default Value for TCP_QLEN_DEBUG: LWIP_DBG_OFF ---*/
#define TCP_QLEN_DEBUG LWIP_DBG_ON
/*----- Default Value for TCPIP_DEBUG: LWIP_DBG_OFF ---*/
#define TCPIP_DEBUG LWIP_DBG_ON
/*-----------------------------------------------------------------------------*/
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
#ifdef __cplusplus
}
#endif
#endif /*__LWIPOPTS__H__ */
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users