[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip2.0.2 l2tp question
From: |
odobryabov |
Subject: |
Re: [lwip-users] lwip2.0.2 l2tp question |
Date: |
Fri, 30 Jun 2017 02:52:18 -0700 (MST) |
We don't use IPSec on our server.
I also turned on udp and IP debug. Logs of these frames:
udp_input: received datagram of length 28
UDP header:
+-------------------------------+
| 1701 | 49154 | (src port, dest port)
+-------------------------------+
| 28 | 0x0000 | (len, chksum)
+-------------------------------+
udp (192.168.15.20, 49154) <-- (192.168.15.2, 1701)
pcb (0.0.0.0, 49154) <-- (0.0.0.0, 0)
pcb (0.0.0.0, 1200) <-- (0.0.0.0, 0)
pcb (0.0.0.0, 161) <-- (0.0.0.0, 0)
pcb (0.0.0.0, 69) <-- (0.0.0.0, 0)
udp_input: calculating checksum
pppol2tp: input packet, len=0, tunnel=5701, session=35356, ns=0, nr=0
udp_send: added header in given pbuf 0x2000cd94
udp_send: sending datagram of length 26
udp_send: UDP packet length 26
udp_send: UDP checksum 0xfd4c
udp_send: ip_output_if (,,,,0x11,)
udp_input: received datagram of length 28
ip4_output_if: st0
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 46 | (v, hl, tos, len)
+-------------------------------+
| 43 |000| 0 | (id, flags, offset)
+-------------------------------+
| 255 | 17 | 0x1c2d | (ttl, proto, chksum)
+-------------------------------+
| 192 | 168 | 15 | 20 | (src)
+-------------------------------+
| 192 | 168 | 15 | 2 | (dest)
+-------------------------------+
ip4_output_if: call netif->output()
ip_input: iphdr->dest 0x140fa8c0 netif->ip_addr 0x140fa8c0 (0xfa8c0,
0xfa8c0, 0x14000000)
ip4_input: packet accepted on interface st
ip4_input:
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 48 | (v, hl, tos, len)
+-------------------------------+
| 12882 |000| 0 | (id, flags, offset)
+-------------------------------+
| 64 | 17 | 0xa904 | (ttl, proto, chksum)
+-------------------------------+
| 192 | 168 | 15 | 2 | (src)
+-------------------------------+
| 192 | 168 | 15 | 20 | (dest)
+-------------------------------+
ip4_input: p->len 48 p->tot_len 48
pppol2tp: input packet, len=0, tunnel=53427, session=47857, ns=0, nr=0
Could anybody send here a successful log of l2tp connection?
--
View this message in context:
http://lwip.100.n7.nabble.com/lwip2-0-2-l2tp-question-tp30013p30027.html
Sent from the lwip-users mailing list archive at Nabble.com.