lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] lwip-cvs-20020124 and Linux 2.4


From: Michael Morrison
Subject: [lwip-users] [lwip] lwip-cvs-20020124 and Linux 2.4
Date: Thu, 09 Jan 2003 00:47:59 -0000

Hi folks,

I just started playing with lwip.
I downloaded lwip-cvs-20020124 and tried to get it to work with linux
2.4.7 on a fairly stock rh 7.2 system using unixsim.

I was able to get everything compiled and running and can ping lwip, but
can't get any of the 'apps' to work.  Below is a tcpdump trace of an
attempted telnet session.  Following the tcpdump trace is some debug
output from lwip.  Lwip is receiving the SYN Ok, ARP appears to work,
but it appears that all lwip is sending is the window (which is getting
sent twice).  
Am I doing something wrong? or is the current cvs version busted....

Yes I'm a lwip newbie and only know enough TCP/IP to be dangerous.


07:23:20.250568 arp who-has 192.168.1.17 tell 192.168.1.1
07:23:20.250568 arp reply 192.168.1.17 is-at 1:2:3:4:5:6
07:23:20.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984
(0) win 5840 <mss 1460,sackOK,timestamp 6275322 0,nop,wscale 0> (DF)
[tos 0x10]
07:23:20.250568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:23.140568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:23.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984
(0) win 5840 <mss 1460,sackOK,timestamp 6275622 0,nop,wscale 0> (DF)
[tos 0x10]
07:23:29.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984
(0) win 5840 <mss 1460,sackOK,timestamp 6276222 0,nop,wscale 0> (DF)
[tos 0x10]
07:23:29.500568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:41.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984
(0) win 5840 <mss 1460,sackOK,timestamp 6277422 0,nop,wscale 0> (DF)
[tos 0x10]
07:23:42.220568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
address@hidden tmp]# tcpdump -r /tmp/dump.pcap
07:23:20.250568 arp who-has 192.168.1.17 tell 192.168.1.1
07:23:20.250568 arp reply 192.168.1.17 is-at 1:2:3:4:5:6
07:23:20.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984(0) win 5840 <mss 1460,sackOK,timestamp 6275322
0,nop,wscale 0> (DF) [tos 0x10]
07:23:20.250568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:23.140568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:23.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984(0) win 5840 <mss 1460,sackOK,timestamp 6275622
0,nop,wscale 0> (DF) [tos 0x10]
07:23:29.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984(0) win 5840 <mss 1460,sackOK,timestamp 6276222
0,nop,wscale 0> (DF) [tos 0x10]
07:23:29.500568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
07:23:41.250568 192.168.1.1.33349 > 192.168.1.17.telnet: S
2640556984:2640556984(0) win 5840 <mss 1460,sackOK,timestamp 6277422
0,nop,wscale 0> (DF) [tos 0x10]
07:23:42.220568 192.168.1.17 > 192.168.1.1: (frag 1:address@hidden)
-------------------------------------------------------------------------------

ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x101007f (0xc0, 0x7f,
0x1101a800)
ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x1101a8c0 (0x1a8c0,
0x1a8c0, 0x11000000)
ip_input:
IP header:
+-------------------------------+
| 4 | 5 |   4096  |        60     | (v, hl, tos, len)
+-------------------------------+
|    29506      |010|       0   | (id, flags, offset)
+-------------------------------+
|   64  |    6  |    0x4407     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |    1  | (src)
+-------------------------------+
|  192  |  168  |    1  |   17  | (dest)
+-------------------------------+
ip_input: p->len 60 p->tot_len 60
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: LISTEN
TCP connection request 33349 -> 23.
TCP_REG 0x8079784 local port 23
tcp_enqueue: 0
tcp_enqueue: queueing 6558:6559 (0x12)
tcp_enqueue: 1 (after enqueued)
tcp_output: snd_wnd 5840, cwnd 1, wnd 1, effwnd 1, seq 6558, ack 6558
tcp_output: snd_wnd 5840, cwnd 1, wnd 1, effwnd 1, seq 6558, ack 6558,
i0
tcp_output_segment: rtseq 6558
tcp_output_segment: 6558:6559
ip_output_if: tp IP header:
+-------------------------------+
| 4 | 5 |    0  |        44     | (v, hl, tos, len)
+-------------------------------+
|        1      |000|      64   | (id, flags, offset)
+-------------------------------+
|   255  |    6  |    0x3828     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |   17  | (src)
+-------------------------------+
|  192  |  168  |    1  |    1  | (dest)
+-------------------------------+
State: LISTEN
tcp_timer_coarse: rtime 48 pcb->rto 6
tcp_rexmit_seg: skickar 6558:6559
ip_output_if: tp IP header:
+-------------------------------+
| 4 | 5 |    0  |        44     | (v, hl, tos, len)
+-------------------------------+
|        1      |000|      64   | (id, flags, offset)
+-------------------------------+
|   255  |    6  |    0x3828     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |   17  | (src)
+-------------------------------+
|  192  |  168  |    1  |    1  | (dest)
+-------------------------------+

tcp_rexmit_seg: cwnd 128 ssthresh 256
tcpip_thread: IP packet 0x8079e54
ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x101007f (0xc0, 0x7f,
0x1101a800)
ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x1101a8c0 (0x1a8c0,
0x1a8c0, 0x11000000)
ip_input:
IP header:
+-------------------------------+
| 4 | 5 |   4096  |        60     | (v, hl, tos, len)
+-------------------------------+
|    29507      |010|       0   | (id, flags, offset)
+-------------------------------+
|   64  |    6  |    0x4406     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |    1  | (src)
+-------------------------------+
|  192  |  168  |    1  |   17  | (dest)
+-------------------------------+
ip_input: p->len 60 p->tot_len 60
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: SYN_RCVD
tcp_output: nothing to send
tcp_output: snd_wnd 5840, cwnd 128, wnd 128, seg == NULL, ack 6558
State: SYN_RCVD
tcpip_thread: IP packet 0x8079e54
ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x101007f (0xc0, 0x7f,
0x1101a800)
ip_input: iphdr->dest 0x1101a8c0 netif->ip_addr 0x1101a8c0 (0x1a8c0,
0x1a8c0, 0x11000000)
ip_input:
IP header:
+-------------------------------+
| 4 | 5 |   4096  |        60     | (v, hl, tos, len)
+-------------------------------+
|    29508      |010|       0   | (id, flags, offset)
+-------------------------------+
|   64  |    6  |    0x4405     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |    1  | (src)
+-------------------------------+
|  192  |  168  |    1  |   17  | (dest)
+-------------------------------+
ip_input: p->len 60 p->tot_len 60
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: SYN_RCVD
tcp_output: nothing to send
tcp_output: snd_wnd 5840, cwnd 128, wnd 128, seg == NULL, ack 6558
State: SYN_RCVD
tcp_timer_coarse: rtime 54 pcb->rto 12
tcp_rexmit_seg: skickar 6558:6559
ip_output_if: tp IP header:
+-------------------------------+
| 4 | 5 |    0  |        44     | (v, hl, tos, len)
+-------------------------------+
|        1      |000|      64   | (id, flags, offset)
+-------------------------------+
|   255  |    6  |    0x3828     | (ttl, proto, chksum)
+-------------------------------+
|  192  |  168  |    1  |   17  | (src)
+-------------------------------+
|  192  |  168  |    1  |    1  | (dest)
+-------------------------------+
tcp_rexmit_seg: cwnd 128 ssthresh 256
tcpip_thread: IP packet 0x8079e54



[This message was sent through the lwip discussion list.]




reply via email to

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