]> The Tcpdump Group git mirrors - tcpdump/commit
PPP: report invalid PAP AACK/ANAK packets
authorMichael Haardt <[email protected]>
Tue, 18 Mar 2014 17:54:35 +0000 (17:54 +0000)
committerDenis Ovsienko <[email protected]>
Sun, 16 Oct 2016 17:54:35 +0000 (18:54 +0100)
commit32118c6a912874d06186481b8e5557b9dcd789ea
treeda79e2aac31323654b6fe6e6221153c154b0023c
parent3454c77635d58f0526b125e94f02f279a42d5dd3
PPP: report invalid PAP AACK/ANAK packets

I just came across a broken PPP PAP ACK packet which was just 4 bytes
long, because it lacked the message-length octet.

pppd 2.4.5 accepts such truncated PPP PAP ACKs and only logs a debugging
message, but at least it generates 5 byte packets. LWIP copied that
code. TI NDK accepts truncated packets as well, although it also
generates them, so perhaps it counts less. Wireshark correctly detects
truncated authentication ACKs for PAP in PPP, but tcpdump does not.
print-ppp.c