diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2016-11-01 17:05:01 +0000 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2017-01-18 09:16:41 +0100 |
commit | 4804e66125cb4a2bfc186796b30e7120925af4d6 (patch) | |
tree | 4e4e9d663873d8e1b1cee601bec842b93e57a7f6 /tcp.h | |
parent | e9ac8b2c8588852576ef74f71338eceb1d820596 (diff) | |
download | tcpdump-4804e66125cb4a2bfc186796b30e7120925af4d6.tar.gz |
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.
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ struct tcphdr { #define TCPOPT_SCPS 20 /* SCPS-TP (CCSDS 714.0-B-2) */ #define TCPOPT_UTO 28 /* tcp user timeout (rfc5482) */ #define TCPOLEN_UTO 4 -#define TCPOPT_AUTH 29 /* Enhanced AUTH option (rfc5925) */ +#define TCPOPT_TCPAO 29 /* TCP authentication option (rfc5925) */ #define TCPOPT_MPTCP 30 /* MPTCP options */ #define TCPOPT_FASTOPEN 34 /* TCP Fast Open (rfc7413) */ #define TCPOPT_EXPERIMENT2 254 /* experimental headers (rfc4727) */ |