[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] TCP FIN problem.

From: David Woodhouse
Subject: Re: [lwip-devel] TCP FIN problem.
Date: Fri, 03 Oct 2008 14:02:24 +0100

On Fri, 2008-10-03 at 13:43 +0100, Kieran Mansley wrote:
> On Fri, 2008-10-03 at 13:30 +0100, David Woodhouse wrote:
> > When I have the default 'outgoing connections only' firewall enabled on
> > Fedora, and I telnet into the simhost and then type 'quit', the
> > connection doesn't seem to get closed.
> Can you get a pcap file for this that I can load into wireshark to have
> a closer look?

Looks like pcb->rcv_nxt is being cleared to zero, in tcp_accept().
Slightly confused, debugging further...

Hardware watchpoint 2: *(int *) 6461504

Old value = -2094160047
New value = 0
tcp_accept (pcb=0x629810, accept=0)
at ../../../../../lwip/src/core/tcp.c:1118
1118    }
(gdb) bt
#0  tcp_accept (pcb=0x629810, accept=0)
    at ../../../../../lwip/src/core/tcp.c:1118
#1  0x000000000040f1a0 in do_close_internal (conn=0x62a1c0)
    at ../../../../../lwip/src/api/api_msg.c:606
#2  0x000000000040ff1c in do_close (msg=0x445d4018)
    at ../../../../../lwip/src/api/api_msg.c:1124
#3  0x0000000000410107 in tcpip_thread (arg=0x0)
    at ../../../../../lwip/src/api/tcpip.c:269
#4  0x000000372940729a in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#5  0x00000037288e439d in clone () from /lib64/libc.so.6


reply via email to

[Prev in Thread] Current Thread [Next in Thread]