]> The Tcpdump Group git mirrors - tcpdump/commit
TCP: put TCP-AO option decoding right
authorDenis Ovsienko <[email protected]>
Tue, 1 Nov 2016 17:05:01 +0000 (17:05 +0000)
committerDenis Ovsienko <[email protected]>
Tue, 1 Nov 2016 17:32:44 +0000 (17:32 +0000)
commit87dba333228b638fa7d3a60197f8ab8c82743043
tree7f91fc39aeabcfcbe686a8b0059e6fce7f86d3c5
parentcfb06c27a2fadc70008951b3c7d8363ed09115b8
TCP: put TCP-AO option decoding right

As it was correctly pointed out in GitHub issue #516, the TCPOPT_TCPAO
(formerly TCPOPT_AUTH) case had an issue with option length processing,
though without significant consequences thanks to a check elsewhere.
Besides that, the old code (introduced in 2005) decoded a structure
similar to a proposed encoding variant of the early (first published in
2007) revisions of the Internet-Draft but different from the encoding
of RFC 5925 (published in 2010). These issues are now addressed and the
TCP option renamed to TCP-AO.
print-tcp.c
tcp.h