Hi, Sylvain. > -----Original Message----- > From: lwip-users > On Behalf Of Sylvain Rochet > Sent: Wednesday, 10 August 2016 17:59 > On Wed, Aug 10, 2016 at 03:56:43PM +0000, Greg Smith wrote: > > > > At the very bottom is a clip with some sample output I get during > > connecting and > > > > reception of a couple TCP keepalive packets. (The keepalive seems to > > print the packet data.) > > This is a bug, packet trace is meant to only display packets that are useful > to > diagnose a PPP link establishment. IPv4, IPv6, VJ comp/uncomp, Compressed > packet are data packets which are just passing through PPP layers without > having any effect on the PPP state machine.
Well that's a bummer. It was kind of neat to see what bytes were flowing by. But I understand the reason _not_ to show the bytes for everything. It could/would get rather out of control quickly once "real" communications started. > > But I don't see any lines showing raw data going out (or, generally, > > coming in, either). (Ignore the missing data at the end of the line > > with TCP_KEEPINTV; that's a function of my output capture.) > > Yes, that's expected :-), if you want to see everything, comment the filtering > rules in the ppp_dump_packet function. I tried this just to see. (ppp_dump_packet is now basically only 1 line: ppp_dbglog() .) I get to see some more (rcvd) data, but not overwhelmingly more, which is good. Hopefully that can help me see what lwIP is trying to do when I get into this funky state. > > And when I get into the state where pppd seems to being ignore LCP > > packets, I do not get anything from pppd. > > That's not normal, even if pppd would ignore the LCP packet for any > reason, it should at least display it with the debug option enabled. > Same for lwIP. What is filtered though are LCP echo request/reply > packets, because they are mostly useless in the packet trace. Agreed. Do you happen to know if there's a way to turn of the filter with a command-line option for pppd so I could see similar to what I'm not able to see in lwIP? -- G --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
