lwip-users
[Top][All Lists]
Advanced

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

=?iso-8859-1?Q?[RE:] [RE:] Re: [lwip-users] How to test IP over PPP =3F?


From: Kishore
Subject: =?iso-8859-1?Q?[RE:] [RE:] Re: [lwip-users] How to test IP over PPP =3F?=
Date: Wed, 3 Dec 2003 16:33:31 +0100

Hi all,
Im m studying my  log in detail , and i have some doubts to clarify.

After my Link was established as sou see below, both ends are trying to send 
IPCP packets which both simply discard.
I think IPCP config req should also be escaped ,isn it? But this is not the 
case.
Why this happens?
Pls help.

sio_write:
 ->lwip_ppp sending config req
  7e ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20
7d 25 7d 26 34 de 8c cf 7d 27 7d 22 7d 28 7d 22 57 8d 7e
fsm_sdata(LCP): Sent code 1,1,20.
LCP: sendisio_read:
->win ppp sends ack,but also sends a IPCP packet behind ack
  7e ff 7d 23 c0 21 7d 22 7d 21 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20
7d 25 7d 26 34 de 8c cf 7d 27 7d 22 7d 28 7d 22 bc e4 7e 7e 80 21  1  1 22  3  6
 c0 a8 fd 78 81  6 82  6 83  6 84  6 14 a0 7e
pppInProc[0]: got 68 bytes
pppInProc[0]: Dropping bad fcs 0x0A11 proto=0x8021 ->IPCP packet discarded
pppDrop: pbuf len=27
nuf len=27
pppInput[0]: LCP len=20
fsm_input(LCP):2,1,20
fsm_rconfack(LCP): Rcvd id 1 state=8
lcp_acki: Ack
ppp_send_config[0]: outACCM=0 0 0 0
ppp_recv_config[0]: inACCM=0 0 0 0
link_established: 0   ->Link although established :)
IPCP: lowerup state 0 -> 2
pppWrite[0]: len=30
sio_write:
 ->Wierd,please note IPCP packet without escape character,Why not?I think they 
should be escaped as well.
  7e ff  3 80 21  1  1  0 16  3  6  0  0  0  0 81  6  0  0  0  0 83  6  0  0  0
 0 6e db 7e
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 -> 6
sio_read:
  7e 80 21  4  1 16  3  6 81  6 83  6  5 57 7e
pppInProc[0]: got 15 bytes
pppInProc[0]: Dropping bad fcs 0x1F5E proto=0x8021
pppDrop: pbuf len=19
sio_read:
  7e 80 21  1  2 22  3  6 c0 a8 fd 78 81  6 82  6 83  6 84  6 b1 60 7e
pppInProc[0]: got 23 bytes
pppInProc[0]: Dropping bad fcs 0x1C62 proto=0x8021
pppDrop: pbuf len=27
IPCP: timeout resending Config-Request state=6
pppWrite[0]: len=30
sio_write:
  7e ff  3 80 21  1  1  0 16  3  6  0  0  0  0 81  6  0  0  0  0 83  6  0  0  0
 0 6e db 7e
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
sio_read:
  7e 80 21  4  1 16  3  6 81  6 83  6  5 57 7e
pppInProc[0]: got 15 bytes
pppInProc[0]: Dropping bad fcs 0x1F5E proto=0x8021
pppDrop: pbuf len=19
sio_read:
  7e 80 21  1  3 22  3  6 c0 a8 fd 78 81  6 82  6 83  6 84  6 d2 20 7e
pppInProc[0]: got 23 bytes
pppInProc[0]: Dropping bad fcs 0xE9BC proto=0x8021
pppDrop: pbuf len=27
sio_read:
  7e 80 21  1  4 22  3  6 c0 a8 fd 78 81  6 82  6 83  6 84  6 ea e9 7e
pppInProc[0]: got 23 bytes
pppInProc[0]: Dropping bad fcs 0x3084 proto=0x8021
pppDrop: pbuf len=27
IPCP: timeout resending Config-Request state=6
pppWrite[0]: len=30
sio_write:
  7e ff  3 80 21  1  1  0 16  3  6  0  0  0  0 81  6  0  0  0  0 83  6  0  0  0
 0 6e db 7e
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
sio_read:
  7e 80 21  4  1 16  3  6 81  6 83  6  5 57 7e
pppInProc[0]: got 15 bytes
pppInProc[0]: Dropping bad fcs 0x1F5E proto=0x8021
pppDrop: pbuf len=19
sio_read:
  7e 80 21  1  5 22  3  6 c0 a8 fd 78 81  6 82  6 83  6 84  6 89 a9 7e
pppInProc[0]: got 23 bytes
pppInProc[0]: Dropping bad fcs 0xC55A proto=0x8021
pppDrop: pbuf len=27
sio_read:
->Window ppp again sending Control packet for link termination.
  7e ff 7d 23 c0 21 7d 25 7d 26 7d 20 7d 30 2b a4 2e db 7d 20 3c cd 74 7d 20 7d
20 7d 20 7d 20 68 2b 7e
pppInProc[0]: got 34 bytes
pppInput[0]: LCP len=16
fsm_input(LCP):5,6,16
fsm_rtermreq(LCP): Rcvd id 6 state=9
LCP terminated by peer (2053f60) ->Happily Terminates  :-(
link_down: 0
IPCP: lowerdown state 6 -> 1
IPCP: close reason=LCP down state 1 -> 0
pppMainWakeup: unit 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
pppWrite[0]: len=17
sio_write:
  7e ff 7d 23 c0 21 7d 26 7d 26 7d 20 7d 24 f5 6e 7e
fsm_sdata(LCP): Sent code 6,6,4.




Kishore Kumar Sathyanadam
Software Developement 
TLON GmbH 
The Infranet Company 






reply via email to

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