1Friday, August 30, 2024 / The Tcpdump Group 2 Summary for 4.99.5 tcpdump release 3 Refine protocol decoding for: 4 Arista: Use the test .pcap file from pull request #955 (HwInfo). 5 BGP: Fix an undefined behavior when it tries to parse a too-short packet. 6 CARP: Print the protocol name before any GET_(). 7 CDP: only hex-dump unknown TLVs in verbose mode. 8 DHCP: parse the SZTP redirect tag. 9 DHCPv6: client-id/server-id DUID type 2 correction; parse the user class, 10 boot file URL, and SZTP redirect options; add DUID-UUID printing 11 (RFC6355). 12 DNS: Detect and correctly handle too-short URI RRs. 13 EAP: Assign ndo_protocol in the eap_print() function. 14 ESP: Don't use EVP_add_cipher_alias() (fixes building on OpenBSD 7.5). 15 Frame Relay (Multilink): Fix the Timestamp Information Element printing. 16 ICMPv6: Fix printing the Home Agent Address Discovery Reply Message. 17 IEEE 802.11: no need for an element ID in the structures for IEs, make 18 the length in the IE structures a u_int, include the "TA" field while 19 printing Block Ack Control frame. 20 IP: Enable TSO (TCP Segmentation Offload) support; fix printing invalid 21 cases as invalid, not truncated; use ND_ICHECKMSG_ZU() to test the 22 header length. 23 IPv6: Fix printing invalid cases as invalid, not truncated; use 24 ND_ICHECKMSG_U() to print an invalid version. 25 IPv6: Fix invalid 32-bit versus 64-bit printouts of fragment headers. 26 ISAKMP: Fix printing Delete payload SPI when size is zero. 27 Kerberos: Print the protocol name, remove a redundant bounds check. 28 lwres: Fix an undefined behavior in pointer arithmetic. 29 OpenFlow 1.0: Fix indentation of PORT_MOD, improve handling of 30 some lengths, and fix handling of snapend. 31 TCP: Test ports < 1024 in port order to select the printer. 32 UDP: Move source port equal BCM_LI_PORT to bottom of long if else chain. 33 UDP: Test ports < 1024 in port order to select the printer. 34 LDP: Add missing fields of the Common Session Parameters TLV and fix the 35 offset for the A&D bits. 36 NFLOG: Use correct AF code points on all OSes. 37 NFS: Avoid printing non-ASCII characters. 38 OSPF: Pad TLVs in LS_OPAQUE_TYPE_RI to multiples of 4 bytes. 39 OSPF: Update LS-Ack printing not to run off the end of the packet. 40 OSPF6: Fix an undefined behavior. 41 pflog: use nd_ types in struct pfloghdr. 42 PPP: Check if there is some data to hexdump. 43 PPP: Remove an extra colon before LCP Callback Operation. 44 Use the buffer stack for de-escaping PPP; fixes CVE-2024-2397; 45 Note: This problem does not affect any tcpdump release. 46 PTP: Fix spelling of type SIGNALING, Parse major and minor version 47 correctly, Print majorSdoId field instead of just the first bit. 48 RIP: Make a couple trivial protocol updates. 49 RPKI-Router: Refine length and bounds checks. 50 RX: Use the "%Y-%m-%d" date format. 51 smbutil.c: Use the "%Y-%m-%d" date format. 52 SNMP: Fix two undefined behaviors. 53 Text protocols: Fix printing truncation if it is not the case. 54 ZEP: Use the "%Y-%m-%d" date format. 55 ZMTP: Replace custom code with bittok2str(). 56 User interface: 57 Print the supported time stamp types (-J) to stdout instead of stderr. 58 Print the list of data link types (-L) to stdout instead of stderr. 59 Use symmetrical quotation characters in error messages. 60 Update --version option to print 32/64-bit build and time_t size. 61 Improve error messages for invalid interface indexes specified 62 with -i. 63 Support "3des" as an alias for "des_ede3_cbc" even if the crypto 64 library doesn't support adding aliases. 65 Source code: 66 tcpdump: Fix a memory leak. 67 child_cleanup: reap as many child processes as possible. 68 Ignore failures when setting the default "any" device DLL to LINUX_SLL2. 69 Fix for backends which doesn't support capsicum. 70 Update ND_BYTES_BETWEEN() macro for better accuracy. 71 Update ND_BYTES_AVAILABLE_AFTER() macro for better accuracy. 72 Introduce new ND_ICHECK*() macros to deduplicate more code. 73 Skip privilege dropping when using -Z root on --with-user builds. 74 Add a nd_printjn() function. 75 Make nd_trunc_longjmp() not static inline. 76 Include <time.h> from netdissect.h. 77 Remove init_crc10_table() and the entourage. 78 Initialize tzcode early. 79 Capsicum support: Fix a 'not defined' macro error. 80 Update the "Error converting time" tests for packet times. 81 Fix warnings when building for 32-bit and defining _TIME_BITS=64. 82 Free interface list just before exiting where it wasn't being 83 freed. 84 Building and testing: 85 Add a configure option to help debugging (--enable-instrument-functions). 86 At build time require a proof of suitable snprintf(3) implementation in 87 libc (and document Solaris 9 as unsupported because of that). 88 Makefile.in: Add two "touch .devel" commands in the releasecheck target. 89 Autoconf: Get --with-user and --with-chroot right. 90 Autoconf: Fix --static-pcap-only test on Solaris 10. 91 Autoconf: Add some warning flags for clang 13 or newer. 92 Autoconf: Update config.{guess,sub}, timestamps 2024-01-01. 93 Autoconf: Add autogen.sh, remove configure and config.h.in and put 94 these generated files in the release tarball. 95 Autoconf: Update the install-sh script to the 2020-11-14.01 version. 96 configure: Apply autoupdate 2.69. 97 CMake: improve the comment before project(tcpdump C). 98 Do not require vsnprintf(). 99 tests: Use the -tttt option, by default, for the tests. 100 Autoconf, CMake: Get the size of a void * and a time_t. 101 Fix propagation of cc_werr_cflags() output. 102 Makefile.in: Fix the depend target. 103 mkdep: Exit with a non-zero status if a command fails. 104 Autoconf: use V_INCLS to update the list of include search paths. 105 Autoconf: don't put anything before -I and -L flags for local libpcap. 106 Autoconf, CMake: work around an Xcode 15+ issue. 107 Autoconf, CMake: use pkg-config and Homebrew when looking for 108 libcrypto. 109 Fix Sun C invocation from CMake. 110 mkdep: Use TMPDIR if it is set and not null. 111 Add initial support for building with TinyCC. 112 Makefile.in: Use the variable MAKE instead of the make command. 113 Makefile.in: Add instrumentation configuration in releasecheck target. 114 Make various improvements to the TESTrun script. 115 Untangle detection of pcap_findalldevs(). 116 Autoconf: don't use egrep, use $EGREP. 117 Autoconf: check for gethostbyaddr(), not gethostbyname(). 118 Autoconf, CMake: search for gethostbyaddr() in libnetwork. 119 Make illumos build warning-free. 120 Documentation: 121 Fixed errors in doc/README.Win32.md and renamed it to README.windows.md. 122 Make various improvements to the man page. 123 Add initial README file for Haiku. 124 Make various improvements to CONTRIBUTING.md. 125 126Friday, April 7, 2023 / The Tcpdump Group 127 Summary for 4.99.4 tcpdump release 128 Source code: 129 Fix spaces before tabs in indentation. 130 Updated printers: 131 LSP ping: Fix "Unused value" warnings from Coverity. 132 CVE-2023-1801: Fix an out-of-bounds write in the SMB printer. 133 DNS: sync resource types with IANA. 134 ICMPv6: Update the output to show a RPL DAO field name. 135 Geneve: Fix the Geneve UDP port test. 136 Building and testing: 137 Require at least autoconf 2.69. 138 Don't check for strftime(), as it's in C90 and beyond. 139 Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. 140 Documentation: 141 man: Document TCP flag names better. 142 143Thursday, January 12, 2023 / The Tcpdump Group 144 Summary for 4.99.3 tcpdump release 145 Updated printers: 146 PTP: Use the proper values for the control field and print un-allocated 147 values for the message field as "Reserved" instead of "none". 148 Source code: 149 smbutil.c: Replace obsolete function call (asctime) 150 Building and testing: 151 cmake: Update the minimum required version to 2.8.12 (except Windows). 152 CI: Introduce and use TCPDUMP_CMAKE_TAINTED. 153 Makefile.in: Add the releasecheck target. 154 Makefile.in: Add "make -s install" in the releasecheck target. 155 Cirrus CI: Run the "make releasecheck" command in the Linux task. 156 Makefile.in: Add the whitespacecheck target. 157 Cirrus CI: Run the "make whitespacecheck" command in the Linux task. 158 Address all shellcheck warnings in update-test.sh. 159 Makefile.in: Get rid of a remain of gnuc.h. 160 Documentation: 161 Reformat the installation notes (INSTALL.txt) in Markdown. 162 Convert CONTRIBUTING to Markdown. 163 CONTRIBUTING.md: Document the use of "protocol: " in a commit summary. 164 Add a README file for NetBSD. 165 Fix CMake build to set man page section numbers in tcpdump.1 166 167Saturday, December 31, 2022 / The Tcpdump Group 168 Summary for 4.99.2 tcpdump release 169 Updated printers: 170 BGP: Update cease notification decoding to RFC 9003. 171 BGP: decode BGP link-bandwidth extended community properly. 172 BGP: Fix parsing the AIGP attribute 173 BGP: make sure the path attributes don't go past the end of the packet. 174 BGP: Shutdown message can be up to 255 bytes length according to rfc9003 175 DSA: correctly determine VID. 176 EAP: fix some length checks and output issues. 177 802.11: Fix the misleading comment regarding "From DS", "To DS" Frame 178 Control Flags. 179 802.11: Fetch the CF and TIM IEs a field at a time. 180 802.15.4, BGP, LISP: fix some length checks, compiler warnings, 181 and undefined behavior warnings. 182 PFLOG: handle LINKTYPE_PFLOG/DLT_PFLOG files from all OSes on all 183 OSes. 184 RRCP: support more Realtek protocols than just RRCP. 185 MPLS: show the EXP field as TC, as per RFC 5462. 186 ICMP: redo MPLS Extension code as general ICMP Extension code. 187 VQP: Do not print unknown error codes twice. 188 Juniper: Add some bounds checks. 189 Juniper: Don't treat known DLT_ types as "Unknown". 190 lwres: Fix a length check, update a variable type. 191 EAP: Fix some undefined behaviors at runtime. 192 Ethernet: Rework the length checks, add a length check. 193 IPX: Add two length checks. 194 Zephyr: Avoid printing non-ASCII characters. 195 VRRP: Print the protocol name before any GET_(). 196 DCCP: Get rid of trailing commas in lists. 197 Juniper: Report invalid packets as invalid, not truncated. 198 IPv6: Remove an obsolete code in an always-false #if wrapper. 199 ISAKMP: Use GET_U_1() to replace a direct dereference. 200 RADIUS: Use GET_U_1() to replace a direct dereference. 201 TCP: Fix an invalid check. 202 RESP: Fix an invalid check. 203 RESP: Remove an unnecessary test. 204 Arista: Refine the output format and print HwInfo. 205 sFlow: add support for IPv6 agent, add a length check. 206 VRRP: add support for IPv6. 207 OSPF: Update to match the Router Properties registry. 208 OSPF: Remove two unnecessary dereferences. 209 OSPF: Add support bit Nt RFC3101. 210 OSPFv3: Remove two unnecessary dereferences. 211 ICMPv6: Fix output for Router Renumbering messages. 212 ICMPv6: Fix the Node Information flags. 213 ICMPv6: Remove an unused macro and extra blank lines. 214 ICMPv6: Add a length check in the rpl_dio_print() function. 215 ICMPv6: Use GET_IP6ADDR_STRING() in the rpl_dio_print() function. 216 IPv6: Add some checks for the Hop-by-Hop Options header 217 IPv6: Add a check for the Jumbo Payload Hop-by-Hop option. 218 NFS: Fix the format for printing an unsigned int 219 PTP: fix printing of the correction fields 220 PTP: Use ND_LCHECK_U for checking invalid length. 221 WHOIS: Add its own printer source file and printer function 222 MPTCP: print length before subtype inside MPTCP options 223 ESP: Add a workaround to a "use-of-uninitialized-value". 224 PPP: Add tests to avoid incorrectly re-entering ppp_hdlc(). 225 PPP: Don't process further if protocol is unknown (-e option). 226 PPP: Change the pointer to packet data. 227 ZEP: Add three length checks. 228 Add some const qualifiers. 229 Building and testing: 230 Update config.guess and config.sub. 231 Use AS_HELP_STRING macro instead of AC_HELP_STRING. 232 Handle some Autoconf/make errors better. 233 Fix an error when cross-compiling. 234 Use "git archive" for the "make releasetar" process. 235 Remove the release candidate rcX targets. 236 Mend "make check" on Solaris 9 with Autoconf. 237 Address assorted compiler warnings. 238 Fix auto-enabling of Capsicum on FreeBSD with Autoconf. 239 Treat "msys" as Windows for test exit statuses. 240 Clean up some help messages in configure. 241 Use unified diff by default. 242 Remove awk code from mkdep. 243 Fix configure test errors with Clang 15 244 CMake: Prevent stripping of the RPATH on installation. 245 AppVeyor CI: update Npcap site, update to 1.12 SDK. 246 Cirrus CI: Use the same configuration as for the main branch. 247 CI: Add back running tcpdump -J/-L and capture, now with Cirrus VMs. 248 Remove four test files (They are now in the libpcap tests directory). 249 On Solaris, for 64-bit builds, use the 64-bit pcap-config. 250 Tell CMake not to check for a C++ compiler. 251 CMake: Add a way to request -Werror and equivalents. 252 configure: Special-case macOS /usr/bin/pcap-config as we do in CMake. 253 configure: Use pcap-config --static-pcap-only if available. 254 configure: Use ac_c_werror_flag to force unknown compiler flags to fail. 255 configure: Use AC_COMPILE_IFELSE() and AC_LANG_SOURCE() for testing 256 flags. 257 Run the test that fails on OpenBSD only if we're not on OpenBSD. 258 Source code: 259 Fix some snapend-changing routines to protect against pointer 260 underflow. 261 Use __func__ from C99 in some function calls. 262 Memory allocator: Update nd_add_alloc_list() to a static function. 263 addrtoname.c: Fix two invalid tests. 264 Use more S_SUCCESS and S_ERR_HOST_PROGRAM in main(). 265 Add some comments about "don't use GET_IP6ADDR_STRING()". 266 Assign ndo->ndo_packetp in pretty_print_packet(). 267 Add ND_LCHECKMSG_U, ND_LCHECK_U, ND_LCHECKMSG_ZU and ND_LCHECK_ZU macros. 268 Update tok2strbuf() to a static function. 269 netdissect.h: Keep the link-layer dissectors names sorted. 270 setsignal(): Set SA_RESTART on non-lethal signals (REQ_INFO, FLUSH_PCAP) 271 to avoid corrupting binary pcap output. 272 Use __builtin_unreachable(). 273 Fail if nd_push_buffer() or nd_push_snaplen() fails. 274 Improve code style and fix many typos. 275 Documentation: 276 Some man page cleanups. 277 Update the print interface for the packet count to stdout. 278 Note that we require compilers to support at least some of C99. 279 Update AIX and Solaris-related specifics. 280 INSTALL.txt: Add doc/README.*, delete the deleted win32 directory. 281 Update README.md and README.Win32.md. 282 Update some comments with new RFC numbers. 283 284Wednesday, June 9, 2021 by gharris 285 Summary for 4.99.1 tcpdump release 286 Source code: 287 Squelch some compiler warnings 288 ICMP: Update the snapend for some nested IP packets. 289 MACsec: Update the snapend thus the ICV field is not payload 290 for the caller. 291 EIGRP: Fix packet header fields 292 SMB: Disable printer by default in CMake builds 293 OLSR: Print the protocol name even if the packet is invalid 294 MSDP: Print ": " before the protocol name 295 ESP: Remove padding, padding length and next header from the buffer 296 DHCPv6: Update the snapend for nested DHCPv6 packets 297 OpenFlow 1.0: Get snapend right for nested frames. 298 TCP: Update the snapend before decoding a MPTCP option 299 Ethernet, IEEE 802.15.4, IP, L2TP, TCP, ZEP: Add bounds checks 300 ForCES: Refine SPARSEDATA-TLV length check. 301 ASCII/hex: Use nd_trunc_longjmp() in truncation cases 302 GeoNet: Add a ND_TCHECK_LEN() call 303 Replace ND_TCHECK_/memcpy() pairs with GET_CPY_BYTES(). 304 BGP: Fix overwrites of global 'astostr' temporary buffer 305 ARP: fix overwrites of static buffer in q922_string(). 306 Frame Relay: have q922_string() handle errors better. 307 Building and testing: 308 Rebuild configure script when building release 309 Fix "make clean" for out-of-tree autotools builds 310 CMake: add stuff from CMAKE_PREFIX_PATH to PKG_CONFIG_PATH. 311 Documentation: 312 man: Update a reference as www.cifs.org is gone. 313 man: Update DNS sections 314 Solaris: 315 Fix a compile error with Sun C 316 317Wednesday, December 30, 2020, by mcr@sandelman.ca, denis and fxl. 318 Summary for 4.99.0 tcpdump release 319 CVE-2018-16301: For the -F option handle large input files safely. 320 Improve the contents, wording and formatting of the man page. 321 Print unsupported link-layer protocol packets in hex. 322 Add support for new network protocols and DLTs: Arista, Autosar SOME/IP, 323 Broadcom LI and Ethernet switches tag, IEEE 802.15.9, IP-over-InfiniBand 324 (IPoIB), Linux SLL2, Linux vsockmon, MACsec, Marvell Distributed Switch 325 Architecture, OpenFlow 1.3, Precision Time Protocol (PTP), SSH, WHOIS, 326 ZigBee Encapsulation Protocol (ZEP). 327 Make protocol-specific updates for: AH, DHCP, DNS, ESP, FRF.16, HNCP, 328 ICMP6, IEEE 802.15.4, IPv6, IS-IS, Linux SLL, LLDP, LSP ping, MPTCP, NFS, 329 NSH, NTP, OSPF, OSPF6, PGM, PIM, PPTP, RADIUS, RSVP, Rx, SMB, UDLD, 330 VXLAN-GPE. 331 User interface: 332 Make SLL2 the default for Linux "any" pseudo-device. 333 Add --micro and --nano shorthands. 334 Add --count to print a counter only instead of decoding. 335 Add --print, to cause packet printing even with -w. 336 Add support for remote capture if libpcap supports it. 337 Display the "wireless" flag and connection status. 338 Flush the output packet buffer on a SIGUSR2. 339 Add the snapshot length to the "reading from file ..." message. 340 Fix local time printing (DST offset in timestamps). 341 Allow -C arguments > 2^31-1 GB if they can fit into a long. 342 Handle very large -f files by rejecting them. 343 Report periodic stats only when safe to do so. 344 Print the number of packets captured only as often as necessary. 345 With no -s, or with -s 0, don't specify the snapshot length with newer 346 versions of libpcap. 347 Improve version and usage message printing. 348 Building and testing: 349 Install into bindir, not sbindir. 350 autoconf: replace --with-system-libpcap with --disable-local-libpcap. 351 Require the compiler to support C99. 352 Better detect and use various C compilers and their features. 353 Add CMake as the second build system. 354 Make out-of-tree builds more reliable. 355 Use pkg-config to detect libpcap if available. 356 Improve Windows support. 357 Add more tests and improve the scripts that run them. 358 Test both with "normal" and "x87" floating-point. 359 Eliminate dependency on libdnet. 360 FreeBSD: 361 Print a proper error message about monitor mode VAP. 362 Use libcasper if available. 363 Fix failure to capture on RDMA device. 364 Include the correct capsicum header. 365 Source code: 366 Start the transition to longjmp() for packet truncation handling. 367 Introduce new helper functions, including GET_*(), nd_print_protocol(), 368 nd_print_invalid(), nd_print_trunc(), nd_trunc_longjmp() and others. 369 Put integer signedness right in many cases. 370 Introduce nd_uint*, nd_mac_addr, nd_ipv4 and nd_ipv6 types to fix 371 alignment issues, especially on SPARC. 372 Fix many C compiler, Coverity, UBSan and cppcheck warnings. 373 Fix issues detected with AddressSanitizer. 374 Remove many workarounds for older compilers and OSes. 375 Add a sanity check on packet header length. 376 Add and remove plenty of bounds checks. 377 Clean up pcap_findalldevs() call to find the first interface. 378 Use a short timeout, rather than immediate mode, for text output. 379 Handle DLT_ENC files *not* written on the same OS and byte-order host. 380 Add, and use, macros to do locale-independent case mapping. 381 Use a table instead of getprotobynumber(). 382 Get rid of ND_UNALIGNED and ND_TCHECK(). 383 Make roundup2() generally available. 384 Resync SMI list against Wireshark. 385 Fix many typos. 386 387Friday, September 20, 2019, by mcr@sandelman.ca 388 A huge thank you to Denis, Francois-Xavier and Guy who did much of the heavy lifting. 389 Summary for 4.9.3 tcpdump release 390 Fix buffer overflow/overread vulnerabilities: 391 CVE-2017-16808 (AoE) 392 CVE-2018-14468 (FrameRelay) 393 CVE-2018-14469 (IKEv1) 394 CVE-2018-14470 (BABEL) 395 CVE-2018-14466 (AFS/RX) 396 CVE-2018-14461 (LDP) 397 CVE-2018-14462 (ICMP) 398 CVE-2018-14465 (RSVP) 399 CVE-2018-14881 (BGP) 400 CVE-2018-14464 (LMP) 401 CVE-2018-14463 (VRRP) 402 CVE-2018-14467 (BGP) 403 CVE-2018-10103 (SMB - partially fixed, but SMB printing disabled) 404 CVE-2018-10105 (SMB - too unreliably reproduced, SMB printing disabled) 405 CVE-2018-14880 (OSPF6) 406 CVE-2018-16451 (SMB) 407 CVE-2018-14882 (RPL) 408 CVE-2018-16227 (802.11) 409 CVE-2018-16229 (DCCP) 410 CVE-2018-16230 (BGP) 411 CVE-2018-16452 (SMB) 412 CVE-2018-16300 (BGP) 413 CVE-2018-16228 (HNCP) 414 CVE-2019-15166 (LMP) 415 CVE-2019-15167 (VRRP) 416 Fix for cmdline argument/local issues: 417 CVE-2018-14879 (tcpdump -V) 418 419Sunday September 3, 2017 denis@ovsienko.info 420 Summary for 4.9.2 tcpdump release 421 Do not use getprotobynumber() for protocol name resolution. Do not do 422 any protocol name resolution if -n is specified. 423 Improve errors detection in the test scripts. 424 Fix a segfault with OpenSSL 1.1 and improve OpenSSL usage. 425 Clean up IS-IS printing. 426 Fix buffer overflow vulnerabilities: 427 CVE-2017-11543 (SLIP) 428 CVE-2017-13011 (bittok2str_internal) 429 Fix infinite loop vulnerabilities: 430 CVE-2017-12989 (RESP) 431 CVE-2017-12990 (ISAKMP) 432 CVE-2017-12995 (DNS) 433 CVE-2017-12997 (LLDP) 434 Fix buffer over-read vulnerabilities: 435 CVE-2017-11541 (safeputs) 436 CVE-2017-11542 (PIMv1) 437 CVE-2017-12893 (SMB/CIFS) 438 CVE-2017-12894 (lookup_bytestring) 439 CVE-2017-12895 (ICMP) 440 CVE-2017-12896 (ISAKMP) 441 CVE-2017-12897 (ISO CLNS) 442 CVE-2017-12898 (NFS) 443 CVE-2017-12899 (DECnet) 444 CVE-2017-12900 (tok2strbuf) 445 CVE-2017-12901 (EIGRP) 446 CVE-2017-12902 (Zephyr) 447 CVE-2017-12985 (IPv6) 448 CVE-2017-12986 (IPv6 routing headers) 449 CVE-2017-12987 (IEEE 802.11) 450 CVE-2017-12988 (telnet) 451 CVE-2017-12991 (BGP) 452 CVE-2017-12992 (RIPng) 453 CVE-2017-12993 (Juniper) 454 CVE-2017-12994 (BGP) 455 CVE-2017-12996 (PIMv2) 456 CVE-2017-12998 (ISO IS-IS) 457 CVE-2017-12999 (ISO IS-IS) 458 CVE-2017-13000 (IEEE 802.15.4) 459 CVE-2017-13001 (NFS) 460 CVE-2017-13002 (AODV) 461 CVE-2017-13003 (LMP) 462 CVE-2017-13004 (Juniper) 463 CVE-2017-13005 (NFS) 464 CVE-2017-13006 (L2TP) 465 CVE-2017-13007 (Apple PKTAP) 466 CVE-2017-13008 (IEEE 802.11) 467 CVE-2017-13009 (IPv6 mobility) 468 CVE-2017-13010 (BEEP) 469 CVE-2017-13012 (ICMP) 470 CVE-2017-13013 (ARP) 471 CVE-2017-13014 (White Board) 472 CVE-2017-13015 (EAP) 473 CVE-2017-11543 (SLIP) 474 CVE-2017-13016 (ISO ES-IS) 475 CVE-2017-13017 (DHCPv6) 476 CVE-2017-13018 (PGM) 477 CVE-2017-13019 (PGM) 478 CVE-2017-13020 (VTP) 479 CVE-2017-13021 (ICMPv6) 480 CVE-2017-13022 (IP) 481 CVE-2017-13023 (IPv6 mobility) 482 CVE-2017-13024 (IPv6 mobility) 483 CVE-2017-13025 (IPv6 mobility) 484 CVE-2017-13026 (ISO IS-IS) 485 CVE-2017-13027 (LLDP) 486 CVE-2017-13028 (BOOTP) 487 CVE-2017-13029 (PPP) 488 CVE-2017-13030 (PIM) 489 CVE-2017-13031 (IPv6 fragmentation header) 490 CVE-2017-13032 (RADIUS) 491 CVE-2017-13033 (VTP) 492 CVE-2017-13034 (PGM) 493 CVE-2017-13035 (ISO IS-IS) 494 CVE-2017-13036 (OSPFv3) 495 CVE-2017-13037 (IP) 496 CVE-2017-13038 (PPP) 497 CVE-2017-13039 (ISAKMP) 498 CVE-2017-13040 (MPTCP) 499 CVE-2017-13041 (ICMPv6) 500 CVE-2017-13042 (HNCP) 501 CVE-2017-13043 (BGP) 502 CVE-2017-13044 (HNCP) 503 CVE-2017-13045 (VQP) 504 CVE-2017-13046 (BGP) 505 CVE-2017-13047 (ISO ES-IS) 506 CVE-2017-13048 (RSVP) 507 CVE-2017-13049 (Rx) 508 CVE-2017-13050 (RPKI-Router) 509 CVE-2017-13051 (RSVP) 510 CVE-2017-13052 (CFM) 511 CVE-2017-13053 (BGP) 512 CVE-2017-13054 (LLDP) 513 CVE-2017-13055 (ISO IS-IS) 514 CVE-2017-13687 (Cisco HDLC) 515 CVE-2017-13688 (OLSR) 516 CVE-2017-13689 (IKEv1) 517 CVE-2017-13690 (IKEv2) 518 CVE-2017-13725 (IPv6 routing headers) 519 520Sunday July 23, 2017 denis@ovsienko.info 521 Summary for 4.9.1 tcpdump release 522 CVE-2017-11108/Fix bounds checking for STP. 523 Make assorted documentation updates and fix a few typos in tcpdump output. 524 Fixup -C for file size >2GB (GH #488). 525 Show AddressSanitizer presence in version output. 526 Fix a bug in test scripts (exposed in GH #613). 527 On FreeBSD adjust Capsicum capabilities for netmap. 528 On Linux fix a use-after-free when the requested interface does not exist. 529 530Wednesday January 18, 2017 devel.fx.lebail@orange.fr 531 Summary for 4.9.0 tcpdump release 532 General updates: 533 Fix some heap overflows found with American Fuzzy Lop by Hanno Boeck and others 534 (More information in the log with CVE-2016-* and CVE-2017-*) 535 Change the way protocols print link-layer addresses (Fix heap overflows 536 in CALM-FAST and GeoNetworking printers) 537 Pass correct caplen value to ether_print() and some other functions 538 Fix lookup_nsap() to match what isonsap_string() expects 539 Clean up relative time stamp printing (Fix an array overflow) 540 Fix some alignment issues with GCC on Solaris 10 SPARC 541 Add some ND_TTEST_/ND_TCHECK_ macros to simplify writing bounds checks 542 Add a fn_printztn() which returns the number of bytes processed 543 Add nd_init() and nd_cleanup() functions. Improve libsmi support 544 Add CONTRIBUTING file 545 Add a summary comment in all printers 546 Compile with more warning options in devel mode if supported (-Wcast-qual, ...) 547 Fix some leaks found by Valgrind/Memcheck 548 Fix a bunch of de-constifications 549 Squelch some Coverity warnings and some compiler warnings 550 Update Coverity and Travis-CI setup 551 Update Visual Studio files 552 553 Frontend: 554 Fix capsicum support to work with zerocopy buffers in bpf 555 Try opening interfaces by name first, then by name-as-index 556 Work around pcap_create() failures fetching time stamp type lists 557 Fix a segmentation fault with 'tcpdump -J' 558 Improve addrtostr6() bounds checking 559 Add exit_tcpdump() function 560 Don't drop CAP_SYS_CHROOT before chrooting 561 Fixes issue where statistics not reported when -G and -W options used 562 563 Updated printers: 564 802.11: Beginnings of 11ac radiotap support 565 802.11: Check the Protected bit for management frames 566 802.11: Do bounds checking on last_presentp before dereferencing it (Fix a heap overflow) 567 802.11: Fix the radiotap printer to handle the special bits correctly 568 802.11: If we have the MCS field, it's 11n 569 802.11: Only print unknown frame type or subtype messages once 570 802.11: Radiotap dBm values get printed as dB; Update a test output accordingly 571 802.11: Source and destination addresses were backwards 572 AH: Add a bounds check 573 AH: Report to our caller that dissection failed if a bounds check fails 574 AP1394: Print src > dst, not dst > src 575 ARP: Don't assume the target hardware address is <= 6 octets long (Fix a heap overflow) 576 ATALK: Add bounds and length checks (Fix heap overflows) 577 ATM: Add some bounds checks (Fix a heap overflow) 578 ATM: Fix an incorrect bounds check 579 BFD: Update specification from draft to RFC 5880 580 BFD: Update to print optional authentication field 581 BGP: Add support for the AIGP attribute (RFC7311) 582 BGP: Print LARGE_COMMUNITY Path Attribute 583 BGP: Update BGP numbers from IANA; Print minor values for FSM notification 584 BOOTP: Add a bounds check 585 Babel: Add decoder for source-specific extension 586 CDP: Filter out non-printable characters 587 CFM: Fixes to match the IEEE standard, additional bounds and length checks 588 CSLIP: Add more bounds checks (Fix a heap overflow) 589 ClassicalIPoATM: Add a bounds check on LLC+SNAP header (Fix a heap overflow) 590 DHCP: Fix MUDURL and TZ options 591 DHCPv6: Process MUDURL and TZ options 592 DHCPv6: Update Status Codes with RFCs/IANA names 593 DNS: Represent the "DNSSEC OK" bit as "DO" instead of "OK". Add a test case 594 DTP: Improve packet integrity checks 595 EGP: Fix bounds checks 596 ESP: Don't use OpenSSL_add_all_algorithms() in OpenSSL 1.1.0 or later 597 Ethernet: Add some bounds checking before calling isoclns_print (Fix a heap overflow) 598 Ethernet: Print the Length/Type field as length when needed 599 FDDI: Fix -e output for FDDI 600 FR: Add some packet-length checks and improve Q.933 printing (Fix heap overflows) 601 GRE: Add some bounds checks (Fix heap overflows) 602 Geneve: Fix error message with invalid option length; Update list option classes 603 HNCP: Fix incorrect time interval format. Fix handling of IPv4 prefixes 604 ICMP6: Fetch a 32-bit big-endian quantity with EXTRACT_32BITS() 605 IGMP: Add a length check 606 IP: Add a bounds check (Fix a heap overflow) 607 IP: Check before fetching the protocol version (Fix a heap overflow) 608 IP: Don't try to dissect if IP version != 4 (Fix a heap overflow) 609 IP: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP 610 IPComp: Check whether we have the CPI before we fetch it (Fix a heap overflow) 611 IPoFC: Fix -e output (IP-over-Fibre Channel) 612 IPv6: Don't overwrite the destination IPv6 address for routing headers 613 IPv6: Fix header printing 614 IPv6: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP 615 ISAKMP: Clean up parsing of IKEv2 Security Associations 616 ISOCLNS/IS-IS: Add support for Purge Originator Identifier (RFC6232) and test cases 617 ISOCLNS/IS-IS: Don't overwrite packet data when checking the signature 618 ISOCLNS/IS-IS: Filter out non-printable characters 619 ISOCLNS/IS-IS: Fix segmentation faults 620 ISOCLNS/IS-IS: Have signature_verify() do the copying and clearing 621 ISOCLNS: Add some bounds checks 622 Juniper: Make sure a Juniper header TLV isn't bigger than what's left in the packet (Fix a heap overflow) 623 LLC/SNAP: With -e, print the LLC header before the SNAP header; without it, cut the SNAP header 624 LLC: Add a bounds check (Fix a heap overflow) 625 LLC: Clean up printing of LLC packets 626 LLC: Fix the printing of RFC 948-style IP packets 627 LLC: Skip the LLC and SNAP headers with -x for 802.11 and some other protocols 628 LLDP: Implement IANA OUI and LLDP MUD option 629 MPLS LSP ping: Update printing for RFC 4379, bug fixes, more bounds checks 630 MPLS: "length" is now the *remaining* packet length 631 MPLS: Add bounds and length checks (Fix a heap overflow) 632 NFS: Don't assume the ONC RPC header is nicely aligned 633 NFS: Don't overflow the Opaque_Handle buffer (Fix a segmentation fault) 634 NFS: Don't run past the end of an NFSv3 file handle 635 OLSR: Add a test to cover a HNA sgw case 636 OLSR: Fix 'Advertised networks' count 637 OLSR: Fix printing of smart-gateway HNAs in IPv4 638 OSPF: Add a bounds check for the Hello packet options 639 OSPF: Do more bounds checking 640 OSPF: Fix a segmentation fault 641 OSPF: Fix printing 'ospf_topology_values' default 642 OTV: Add missing bounds checks 643 PGM: Print the formatted IP address, not the raw binary address, as a string 644 PIM: Add some bounds checking (Fix a heap overflow) 645 PIMv2: Fix checksumming of Register messages 646 PPP: Add some bounds checks (Fix a heap overflow) 647 PPP: Report invalid PAP AACK/ANAK packets 648 Q.933: Add a missing bounds check 649 RADIUS: Add Value 13 "VLAN" to Tunnel-Type attribute 650 RADIUS: Filter out non-printable characters 651 RADIUS: Translate UDP/1700 as RADIUS 652 RESP: Do better checking of RESP packets 653 RPKI-RTR: Add a return value check for "fn_printn" call 654 RPKI-RTR: Remove printing when truncated condition already detected 655 RPL: Fix 'Consistency Check' control code 656 RPL: Fix suboption print 657 RSVP: An INTEGRITY object in a submessage covers only the submessage 658 RSVP: Fix an infinite loop; Add bounds and length checks 659 RSVP: Fix some if statements missing brackets 660 RSVP: Have signature_verify() do the copying and clearing 661 RTCP: Add some bounds checks 662 RTP: Add some bounds checks, fix two segmentation faults 663 SCTP: Do more bounds checking 664 SFLOW: Fix bounds checking 665 SLOW: Fix bugs, add checks 666 SMB: Before fetching the flags2 field, make sure we have it 667 SMB: Do bounds checks on NBNS resource types and resource data lengths 668 SNMP: Clean up the "have libsmi but no modules loaded" case 669 SNMP: Clean up the object abbreviation list and fix the code to match them 670 SNMP: Do bounds checks when printing character and octet strings 671 SNMP: Improve ASN.1 bounds checks 672 SNMP: More bounds and length checks 673 STP: Add a bunch of bounds checks, and fix some printing (Fix heap overflows) 674 STP: Filter out non-printable characters 675 TCP: Add bounds and length checks for packets with TCP option 20 676 TCP: Correct TCP option Kind value for TCP Auth and add SCPS-TP 677 TCP: Fix two bounds checks (Fix heap overflows) 678 TCP: Make sure we have the data offset field before fetching it (Fix a heap overflow) 679 TCP: Put TCP-AO option decoding right 680 TFTP: Don't use strchr() to scan packet data (Fix a heap overflow) 681 Telnet: Add some bounds checks 682 TokenRing: Fix -e output 683 UDLD: Fix an infinite loop 684 UDP: Add a bounds check (Fix a heap overflow) 685 UDP: Check against the packet length first 686 VAT: Add some bounds checks 687 VTP: Add a test on Mgmt Domain Name length 688 VTP: Add bounds checks and filter out non-printable characters 689 VXLAN: Add a bound check and a test case 690 ZeroMQ: Fix an infinite loop 691 692Tuesday October 25, 2016 mcr@sandelman.ca 693 Summary for 4.8.1 tcpdump release 694 Fix "-x" for Apple PKTAP and PPI packets 695 Improve separation frontend/backend (tcpdump/libnetdissect) 696 Fix display of timestamps with -tt, -ttt and -ttttt options 697 Add support for the Marvell Extended Distributed Switch Architecture header 698 Use PRIx64 to print a 64-bit number in hex. 699 Printer for HNCP (RFCs 7787 and 7788). 700 dagid is always an IPv6 address, not an opaque 128-bit string, and other fixes to RPL printer. 701 RSVP: Add bounds and length checks 702 OSPF: Do more bounds checking 703 Handle OpenSSL 1.1.x. 704 Initial support for the REdis Serialization Protocol known as RESP. 705 Add printing function for Generic Protocol Extension for VXLAN 706 draft-ietf-nvo3-vxlan-gpe-01 707 Network Service Header: draft-ietf-sfc-nsh-01 708 Don't recompile the filter if the new file has the same DLT. 709 Pass an adjusted struct pcap_pkthdr to the sub-printer. 710 Add three test cases for already fixed CVEs 711 CVE-2014-8767: OLSR 712 CVE-2014-8768: Geonet 713 CVE-2014-8769: AODV 714 Don't do the DDP-over-UDP heuristic first: GitHub issue #499. 715 Use the new debugging routines in libpcap. 716 Harmonize TCP source or destination ports tests with UDP ones 717 Introduce data types to use for integral values in packet structures. 718 RSVP: Fix an infinite loop 719 Support of Type 3 and Type 4 LISP packets. 720 Don't require IPv6 library support in order to support IPv6 addresses. 721 Many many changes to support libnetdissect usage. 722 Add a test that makes unaligned accesses: GitHub issue #478. 723 add a DNSSEC test case: GH #445 and GH #467. 724 BGP: add decoding of ADD-PATH capability 725 fixes to LLC header printing, and RFC948-style IP packets 726 727Friday April 10, 2015 guy@alum.mit.edu 728 Summary for 4.7.4 tcpdump release 729 RPKI to Router Protocol: Fix Segmentation Faults and other problems 730 RPKI to Router Protocol: print strings with fn_printn() 731 wb: fix some bounds checks 732 733Wednesday March 11, 2015 mcr@sandelman.ca 734 Summary for 4.7.3 tcpdump release 735 Capsicum fixes for FreeBSD 10 736 737Tuesday March 10, 2015 mcr@sandelman.ca 738 Summary for 4.7.2 tcpdump release 739 DCCP: update Packet Types with RFC4340/IANA names 740 fixes for CVE-2015-0261: IPv6 mobility header check issue 741 fixes for CVE-2015-2153, 2154, 2155: kday packets 742 743Friday Nov. 12, 2014 guy@alum.mit.edu 744 Summary for 4.7.0 tcpdump release 745 changes to hex printing of CDP packets 746 Fix PPI printing 747 Radius: update Packet Type Codes and Attribute Types with RFC/IANA names 748 Add a routine to print "text protocols", and add FTP/HTTP/SMTP/RTSP support. 749 improvements to telnet printer, even if not -v 750 omit length for bcp, print-tcp uses it 751 formatting fixes for a bunch of protocols 752 new bounds checks for a number of protocols 753 split netflow 1,6, and 6 dissector up. 754 added geneve dissector 755 CVE-2014-9140 PPP dissector fixed. 756 757Tuesday Sep. 2, 2014 mcr@sandelman.ca 758 Summary for 4.6.2 tcpdump release 759 fix out-of-source-tree builds: find libpcap that is out of source 760 better configure check for libsmi 761 762Saturday Jul. 19, 2014 mcr@sandelman.ca 763 Summary for 4.6.1 tcpdump release 764 added FreeBSD capsicum 765 add a short option '#', same as long option '--number' 766 767Wednesday Jul. 2, 2014 mcr@sandelman.ca 768 Summary for 4.6.0 tcpdump release 769 all of tcpdump is now using the new "NDO" code base (Thanks Denis!) 770 nflog, mobile, forces, pptp, AODV, AHCP, IPv6, OSPFv4, RPL, DHCPv6 enhancements/fixes 771 M3UA decode added. 772 many new test cases: 82 in 4.5.1 to 133 in 4.6.0 773 many improvements to travis continuous integration system: OSX, and Coverity options 774 cleaned up some unnecessary header files 775 Added bittok2str(). 776 a number of unaligned access faults fixed 777 -A flag does not consider CR to be printable anymore 778 fx.lebail took over coverity baby sitting 779 default snapshot size increased to 256K for accommodate USB captures 780 WARNING: this release contains a lot of very worthwhile code churn. 781 782Wednesday Jan. 15, 2014 guy@alum.mit.edu 783 Summary for 4.5.2 tcpdump release 784 Man page fix 785 Fix crashes on SPARC 786 787Monday Nov. 11, 2013 mcr@sandelman.ca 788 Summary for 4.5.1 tcpdump release 789 CREDITS file fixes 790 791Thursday Nov. 7, 2013 mcr@sandelman.ca and guy@alum.mit.edu. 792 Summary for 4.5.0 tcpdump release 793 some NFSv4 fixes for printing 794 fix printing of unknown TCP options, and tcp fast-open 795 fixes for syslog parser 796 some gcc-version-specific flag tuning 797 adopt MacOS deprecation workarounds for openssl 798 improvements to babel printing 799 add OpenFlow 1.0 (no SSL) and test cases 800 GeoNet printer. 801 added STBC Rx support 802 improvements to DHCPv6 decoder 803 clarify which autoconf is needed 804 Point users to the the-tcpdump-group repository on GitHub rather 805 than the mcr repository 806 Add MSDP printer. 807 Fixed IPv6 check on Solaris and other OSes requiring extra 808 networking libraries. 809 Add support for VXLAN (draft-mahalingam-dutt-dcops-vxlan-03), 810 and add "vxlan" as an option for -T. 811 Add support for OTV (draft-hasmit-otv-04). 812 fixes for DLT_IEEE802_11_RADIO datalink types 813 added MPTCP decoder 814 815Saturday April 6, 2013 guy@alum.mit.edu. 816 Summary for 4.4.0 tcpdump release 817 RPKI-RTR (RFC6810) is now official (TCP Port 323) 818 Fix detection of OpenSSL libcrypto. 819 Add DNSSL (RFC6106) support. 820 Add "radius" as an option for -T. 821 Update Action codes for handle_action function according to 822 802.11s amendment. 823 Decode DHCPv6 AFTR-Name option (RFC6334). 824 Updates for Babel. 825 Fix printing of infinite lifetime in ICMPv6. 826 Added support for SPB, SPBM Service Identifier, and Unicast 827 Address sub-TLV in ISIS. 828 Decode RIPv2 authentication up to RFC4822. 829 Fix RIP Request/full table decoding issues. 830 On Linux systems with cap-ng.h, drop root privileges 831 using Linux Capabilities. 832 Add support for reading multiple files. 833 Add MS NLB heartbeat printer. 834 Separate multiple nexthops in BGP. 835 836Wednesday November 28, 2012 guy@alum.mit.edu. 837 Summary for 4.3.1 tcpdump release 838 Print "LLDP, length N" for LLDP packets even when not in verbose 839 mode, so something is printed even if only the timestamp is 840 present 841 Document "-T carp" 842 Print NTP poll interval correctly (it's an exponent, so print 843 both its raw value and 2^value) 844 Document that "-e" is used to get MAC addresses 845 More clearly document that you need to escape or quote 846 backslashes in filter expressions on the command line 847 Fix some "the the" in the man page 848 Use the right maximum path length 849 Don't treat 192_1_2, when passed to -i, as an interface number 850 851Friday April 3, 2012. mcr@sandelman.ca. 852 Summary for 4.3.0 tcpdump release 853 fixes for forces: SPARSE data (per RFC 5810) 854 some more test cases added 855 updates to documentation on -l, -U and -w flags. 856 Fix printing of BGP optional headers. 857 Tried to include DLT_PFSYNC support, failed due to headers required. 858 added TIPC support. 859 Fix LLDP Network Policy bit definitions. 860 fixes for IGMPv3's Max Response Time: it is in units of 0.1 second. 861 SIGUSR1 can be used rather than SIGINFO for stats 862 permit -n flag to affect print-ip for protocol numbers 863 ND_OPT_ADVINTERVAL is in milliseconds, not seconds 864 Teach PPPoE parser about RFC 4638 865 866 867Friday December 9, 2011. guy@alum.mit.edu. 868 Summary for 4.2.1 tcpdump release 869 Only build the Babel printer if IPv6 is enabled. 870 Support Babel on port 6696 as well as 6697. 871 Include ppi.h in release tarball. 872 Include all the test files in the release tarball, and don't 873 "include" test files that no longer exist. 874 Don't assume we have <rpc/rpc.h> - check for it. 875 Support "-T carp" as a way of dissecting IP protocol 112 as CARP 876 rather than VRRP. 877 Support Hilscher NetAnalyzer link-layer header format. 878 Constify some pointers and fix compiler warnings. 879 Get rid of never-true test. 880 Fix an unintended fall-through in a case statement in the ARP 881 printer. 882 Fix several cases where sizeof(sizeof(XXX)) was used when just 883 sizeof(XXX) was intended. 884 Make stricter sanity checks in the ES-IS printer. 885 Get rid of some GCCisms that caused builds to fai with compilers 886 that don't support them. 887 Fix typo in man page. 888 Added length checks to Babel printer. 889 890Sunday July 24, 2011. mcr@sandelman.ca. 891 Summary for 4.2.+ 892 merged 802.15.4 decoder from Dmitry Eremin-Solenikov <dbaryshkov 893 at gmail dot com> 894 updates to forces for new port numbers 895 Use "-H", not "-h", for the 802.11s option. (-h always help) 896 Better ICMPv6 checksum handling. 897 add support for the RPKI/Router Protocol, per -ietf-sidr-rpki-rtr-12 898 get rid of uuencoded pcap test files, git can do binary. 899 sFlow changes for 64-bit counters. 900 fixes for PPI packet header handling and printing. 901 Add DCB Exchange protocol (DCBX) version 1.01. 902 Babel dissector, from Juliusz Chroboczek and Grégoire Henry. 903 improvements to radiotap for rate values > 127. 904 Many improvements to ForCES decode, including fix SCTP TML port 905 updated RPL type code to RPL-17 draft 906 Improve printout of DHCPv6 options. 907 added support and test case for QinQ (802.1q VLAN) packets 908 Handle DLT_IEEE802_15_4_NOFCS like DLT_IEEE802_15_4. 909 Build fixes for Sparc and other machines with alignment restrictions. 910 Merged changes from Debian package. 911 PGM: Add ACK decoding and add PGMCC DATA and FEEDBACK options. 912 Build fixes for OSX (Snow Leopard and others) 913 Add support for IEEE 802.15.4 packets 914 915Tue. July 20, 2010. guy@alum.mit.edu. 916 Summary for 4.1.2 tcpdump release 917 If -U is specified, flush the file after creating it, so it's 918 not zero-length 919 Fix TCP flags output description, and some typos, in the man 920 page 921 Add a -h flag, and only attempt to recognize 802.11s mesh 922 headers if it's set 923 When printing the link-layer type list, send *all* output to 924 stderr 925 Include the CFLAGS setting when configure was run in the 926 compiler flags 927 928Thu. April 1, 2010. guy@alum.mit.edu. 929 Summary for 4.1.1 tcpdump release 930 Fix build on systems with PF, such as FreeBSD and OpenBSD. 931 Don't blow up if a zero-length link-layer address is passed to 932 linkaddr_string(). 933 934Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 935 Summary for 4.1.0 tcpdump release 936 Fix printing of MAC addresses for VLAN frames with a length 937 field 938 Add some additional bounds checks and use the EXTRACT_ macros 939 more 940 Add a -b flag to print the AS number in BGP packets in ASDOT 941 notation rather than ASPLAIN notation 942 Add ICMPv6 RFC 5006 support 943 Decode the access flags in NFS access requests 944 Handle the new DLT_ for memory-mapped USB captures on Linux 945 Make the default snapshot (-s) the maximum 946 Print name of device (when -L is used) 947 Support for OpenSolaris (and SXCE build 125 and later) 948 Print new TCP flags 949 Add support for RPL DIO 950 Add support for TCP User Timeout (UTO) 951 Add support for non-standard Ethertypes used by 3com PPPoE gear 952 Add support for 802.11n and 802.11s 953 Add support for Transparent Ethernet Bridge ethertype in GRE 954 Add 4 byte AS support for BGP printer 955 Add support for the MDT SAFI 66 BG printer 956 Add basic IPv6 support to print-olsr 957 Add USB printer 958 Add printer for ForCES 959 Handle frames with an FCS 960 Handle 802.11n Control Wrapper, Block Acq Req and Block Ack frames 961 Fix TCP sequence number printing 962 Report 802.2 packets as 802.2 instead of 802.3 963 Don't include -L/usr/lib in LDFLAGS 964 On x86_64 Linux, look in lib64 directory too 965 Lots of code clean ups 966 Autoconf clean ups 967 Update testcases to make output changes 968 Fix compiling with/out smi (--with{,out}-smi) 969 Fix compiling without IPv6 support (--disable-ipv6) 970 971Mon. October 27, 2008. ken@netfunctional.ca. Summary for 4.0.0 tcpdump release 972 Add support for Bluetooth Sniffing 973 Add support for Realtek Remote Control Protocol (openrrcp.org.ru) 974 Add support for 802.11 AVS 975 Add support for SMB over TCP 976 Add support for 4 byte BGP AS printing 977 Add support for compiling on case-insensitive file systems 978 Add support for ikev2 printing 979 Update support for decoding AFS 980 Update DHCPv6 printer 981 Use newer libpcap API's (allows -B option on all platforms) 982 Add -I to turn on monitor mode 983 Bugfixes in lldp, lspping, dccp, ESP, NFS printers 984 Cleanup unused files and various cruft 985 986Mon. September 10, 2007. ken@xelerance.com. Summary for 3.9.8 tcpdump release 987 Rework ARP printer 988 Rework OSPFv3 printer 989 Add support for Frame-Relay ARP 990 Decode DHCP Option 121 (RFC 3442 Classless Static Route) 991 Decode DHCP Option 249 (MS Classless Static Route) the same as Option 121 992 TLV: Add support for Juniper .pcap extensions 993 Print EGP header in new-world-order style 994 Converted print-isakmp.c to NETDISSECT 995 Moved AF specific stuff into af.h 996 Test subsystem now table driven, and saves outputs and diffs to one place 997 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 998 libpcap files on an OS other than where the file was generated 999 1000 1001Wed. July 23, 2007. mcr@xelerance.com. Summary for 3.9.7 libpcap release 1002 1003 NFS: Print unsigned values as such. 1004 RX: parse safely. 1005 BGP: fixes for IPv6-less builds. 1006 801.1ag: use standard codepoint. 1007 use /dev/bpf on systems with such a device. 1008 802.11: print QoS data, avoid dissect of no-data frame, ignore padding. 1009 smb: make sure that we haven't gone past the end of the captured data. 1010 smb: squelch an uninitialized complaint from coverity. 1011 NFS: from NetBSD; don't interpret the reply as a possible NFS reply 1012 if it got MSG_DENIED. 1013 BGP: don't print TLV values that didn't fit, from www.digit-labs.org. 1014 revised INSTALL.txt about libpcap dependency. 1015 1016Wed. April 25, 2007. ken@xelerance.com. Summary for 3.9.6 tcpdump release 1017 Update man page to reflect changes to libpcap 1018 Changes to both TCP and IP Printer Output 1019 Fix a potential buffer overflow in the 802.11 printer 1020 Print basic info about a few more Cisco LAN protocols. 1021 mDNS cleanup 1022 ICMP MPLS rework of the extension code 1023 bugfix: use the correct codepoint for the OSPF simple text auth token 1024 entry, and use safeputs to print the password. 1025 Add support in pflog for additional values 1026 Add support for OIF RSVP Extensions UNI 1.0 Rev. 2 and additional RSVP objects 1027 Add support for the Message-id NACK c-type. 1028 Add support for 802.3ah loopback ctrl msg 1029 Add support for Multiple-STP as per 802.1s 1030 Add support for rapid-SPT as per 802.1w 1031 Add support for CFM Link-trace msg, Link-trace-Reply msg, 1032 Sender-ID tlv, private tlv, port, interface status 1033 Add support for unidirectional link detection as per 1034 https://tools.ietf.org/id/draft-foschiano-udld-02.txt 1035 Add support for the olsr protocol as per RFC 3626 plus the LQ 1036 extensions from olsr.org 1037 Add support for variable-length checksum in DCCP, as per section 9 of 1038 RFC 4340. 1039 Add support for per-VLAN spanning tree and per-VLAN rapid spanning tree 1040 Add support for Multiple-STP as per 802.1s 1041 Add support for the cisco proprietary 'dynamic trunking protocol' 1042 Add support for the cisco proprietary VTP protocol 1043 Update dhcp6 options table as per IETF standardization activities 1044 1045 1046Tue. September 19, 2006. ken@xelerance.com. Summary for 3.9.5 tcpdump release 1047 1048 Fix compiling on AIX (, at end of ENUM) 1049 Updated list of DNS RR typecodes 1050 Use local Ethernet defs on WIN32 1051 Add support for Frame-Relay ARP 1052 Fixes for compiling under MSVC++ 1053 Add support for parsing Juniper .pcap files 1054 Add support for FRF.16 Multilink Frame-Relay (DLT_MFR) 1055 Rework the OSPFv3 printer 1056 Fix printing for 4.4BSD/NetBSD NFS Filehandles 1057 Add support for Cisco style NLPID encapsulation 1058 Add cisco prop. eigrp related, extended communities 1059 Add support for BGP signaled VPLS 1060 Cleanup the bootp printer 1061 Add support for PPP over Frame-Relay 1062 Add some bounds checking to the IP options code, and clean up 1063 the options output a bit. 1064 Add additional modp groups to ISAKMP printer 1065 Add support for Address-Withdraw and Label-Withdraw Msgs 1066 Add support for the BFD Discriminator TLV 1067 Fixes for 64bit compiling 1068 Add support for PIMv2 checksum verification 1069 Add support for further dissection of the IPCP Compression Option 1070 Add support for Cisco's proposed VQP protocol 1071 Add basic support for keyed authentication TCP option 1072 Lots of minor cosmetic changes to output printers 1073 1074 1075Mon. September 19, 2005. ken@xelerance.com. Summary for 3.9.4 tcpdump release 1076 Decoder support for more Juniper link-layer types 1077 Fix a potential buffer overflow (although it can't occur in 1078 practice). 1079 Fix the handling of unknown management frame types in the 802.11 1080 printer. 1081 Add FRF.16 support, fix various Frame Relay bugs. 1082 Add support for RSVP integrity objects, update fast-reroute 1083 object printer to latest spec. 1084 Clean up documentation of vlan filter expression, document mpls 1085 filter expression. 1086 Document new pppoed and pppoes filter expressions. 1087 Update diffserver-TE codepoints as per RFC 4124. 1088 Spelling fixes in ICMPv6. 1089 Don't require any fields other than flags to be present in IS-IS 1090 restart signaling TLVs, and only print the system ID in 1091 those TLVs as system IDs, not as node IDs. 1092 Support for DCCP. 1093 1094Tue. July 5, 2005. ken@xelerance.com. Summary for 3.9.3 tcpdump release 1095 1096 Option to chroot() when dropping privs 1097 Fixes for compiling on nearly every platform, 1098 including improved 64bit support 1099 Many new testcases 1100 Support for sending packets 1101 Many compilation fixes on most platforms 1102 Fixes for recent version of GCC to eliminate warnings 1103 Improved Unicode support 1104 1105 Decoders & DLT Changes, Updates and New: 1106 AES ESP support 1107 Juniper ATM, FRF.15, FRF.16, PPPoE, 1108 ML-FR, ML-PIC, ML-PPP, PL-PPP, LS-PIC 1109 GGSN,ES,MONITOR,SERVICES 1110 L2VPN 1111 Axent Raptor/Symantec Firewall 1112 TCP-MD5 (RFC 2385) 1113 ESP-in-UDP (RFC 3948) 1114 ATM OAM 1115 LMP, LMP Service Discovery 1116 IP over FC 1117 IP over IEEE 1394 1118 BACnet MS/TP 1119 SS7 1120 LDP over TCP 1121 LACP, MARKER as per 802.3ad 1122 PGM (RFC 3208) 1123 LSP-PING 1124 G.7041/Y.1303 Generic Framing Procedure 1125 EIGRP-IP, EIGRP-IPX 1126 ICMP6 1127 Radio - via radiotap 1128 DHCPv6 1129 HDLC over PPP 1130 1131Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 1132 1133 No changes from 3.8.2. Version bumped only to maintain consistency 1134 with libpcap 0.8.3. 1135 1136Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 1137 1138 Fixes for print-isakmp.c CVE: CAN-2004-0183, CAN-2004-0184 1139 https://web.archive.org/web/20160328035955/https://www.rapid7.com/resources/advisories/R7-0017.jsp 1140 IP-over-IEEE1394 printing. 1141 some MINGW32 changes. 1142 updates for autoconf 2.5 1143 fixes for print-aodv.c - check for too short packets 1144 formatting changes to print-ascii for hex output. 1145 check for too short packets: print-bgp.c, print-bootp.c, print-cdp.c, 1146 print-chdlc.c, print-domain.c, print-icmp.c, print-icmp6.c, 1147 print-ip.c, print-lwres.c, print-ospf.c, print-pim.c, 1148 print-ppp.c,print-pppoe.c, print-rsvp.c, print-wb.c 1149 print-ether.c - better handling of unknown types. 1150 print-isoclns.c - additional decoding of types. 1151 print-llc.c - strings for LLC names added. 1152 print-pfloc.c - various enhancements 1153 print-radius.c - better decoding to strings. 1154 1155Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 3.8 release 1156 1157 changed syntax of -E argument so that multiple SAs can be decrypted 1158 fixes for Digital Unix headers and Documentation 1159 __attribute__ fixes 1160 CDP changes from Terry Kennedy <terry@tmk.com>. 1161 IPv6 mobility updates from Kazushi Sugyo <sugyo@pb.jp.nec.com> 1162 Fixes for ASN.1 decoder for 2.100.3 forms. 1163 Added a count of packets received and processed to clarify numbers. 1164 Incorporated WinDUMP patches for Win32 builds. 1165 PPPoE payload length headers. 1166 Fixes for HP C compiler builds. 1167 Use new pcap_breakloop() and pcap_findalldevs() if we can. 1168 BGP output split into multiple lines. 1169 Fixes to 802.11 decoding. 1170 Fixes to PIM decoder. 1171 SuperH is a CPU that can't handle unaligned access. Many fixes for 1172 unaligned access work. 1173 Fixes to Frame-Relay decoder for Q.933/922 frames. 1174 Clarified when Solaris can do captures as non-root. 1175 Added tests/ subdir for examples/regression tests. 1176 New -U flag. -flush stdout after every packet 1177 New -A flag -print ascii only 1178 support for decoding IS-IS inside Cisco HDLC Frames 1179 more verbosity for tftp decoder 1180 mDNS decoder 1181 new BFD decoder 1182 cross compilation patches 1183 RFC 3561 AODV support. 1184 UDP/TCP pseudo-checksum properly for source-route options. 1185 sanitized all files to modified BSD license 1186 Add support for RFC 2625 IP-over-Fibre Channel. 1187 fixes for DECnet support. 1188 Support RFC 2684 bridging of Ethernet, 802.5 Token Ring, and FDDI. 1189 RFC 2684 encapsulation of BPDUs. 1190 1191Tuesday, February 25, 2003. fenner@research.att.com. 3.7.2 release 1192 1193 Fixed infinite loop when parsing invalid isakmp packets. 1194 (reported by iDefense; already fixed in CVS) 1195 Fixed infinite loop when parsing invalid BGP packets. 1196 Fixed buffer overflow with certain invalid NFS packets. 1197 Pretty-print unprintable network names in 802.11 printer. 1198 Handle truncated nbp (appletalk) packets. 1199 Updated DHCPv6 printer to match draft-ietf-dhc-dhcpv6-22.txt 1200 Print IP protocol name even if we don't have a printer for it. 1201 Print IP protocol name or number for fragments. 1202 Print the whole MPLS label stack, not just the top label. 1203 Print request header and file handle for NFS v3 FSINFO and PATHCONF 1204 requests. 1205 Fix NFS packet truncation checks. 1206 Handle "old" DR-Priority and Bidir-Capable PIM HELLO options. 1207 Handle unknown RADIUS attributes properly. 1208 Fix an ASN.1 parsing error that would cause e.g. the OID 1209 2.100.3 to be misrepresented as 4.20.3 . 1210 1211Monday, January 21, 2002. mcr@sandelman.ottawa.on.ca. Summary for 3.7 release 1212 keyword "ipx" added. 1213 Better OSI/802.2 support on Linux. 1214 IEEE 802.11 support, from clenahan@fortresstech.com, achirica@ttd.net. 1215 LLC SAP support for FDDI/token ring/RFC-1483 style ATM 1216 BXXP protocol was replaced by the BEEP protocol; 1217 improvements to SNAP demux. 1218 Changes to "any" interface documentation. 1219 Documentation on pcap_stats() counters. 1220 Fix a memory leak found by Miklos Szeredi - pcap_ether_aton(). 1221 Added MPLS encapsulation decoding per RFC3032. 1222 DNS dissector handles TKEY, TSIG and IXFR. 1223 adaptive SLIP interface patch from Igor Khristophorov <igor@atdot.org> 1224 SMB printing has much improved bounds checks 1225 OUI 0x0000f8 decoded as encapsulated ethernet for Cisco-custom bridging 1226 Zephyr support, from Nickolai Zeldovich <kolya@MIT.EDU>. 1227 Solaris - devices with digits in them. Stefan Hudson <hudson@mbay.net> 1228 IPX socket 0x85be is for Cisco EIGRP over IPX. 1229 Improvements to fragmented ESP handling. 1230 SCTP support from Armando L. Caro Jr. <acaro@mail.eecis.udel.edu> 1231 Linux ARPHDR_ATM support fixed. 1232 Added a "netbeui" keyword, which selects NetBEUI packets. 1233 IPv6 ND improvements, MobileIP dissector, 2292bis-02 for RA option. 1234 Handle ARPHDR_HDLC from Marcus Felipe Pereira <marcus@task.com.br>. 1235 Handle IPX socket 0x553 -> NetBIOS-over-IPX socket, "nwlink-dgm" 1236 Better Linux libc5 compat. 1237 BIND9 lwres dissector added. 1238 MIPS and SPARC get strict alignment macros (affects print-bgp.c) 1239 Apple LocalTalk LINKTYPE_ reserved. 1240 New time stamp formats documented. 1241 DHCP6 updated to draft-22.txt spec. 1242 ICMP types/codes now accept symbolic names. 1243 Add SIGINFO handler from LBL 1244 encrypted CIPE tunnels in IRIX, from Franz Schaefer <schaefer@mond.at>. 1245 now we are -Wstrict-prototype clean. 1246 NetBSD DLT_PPP_ETHER; adapted from Martin Husemann <martin@netbsd.org>. 1247 PPPoE dissector cleaned up. 1248 Support for LocalTalk hardware, from Uns Lider <unslider@miranda.org>. 1249 In dissector, now the caller prints the IP addresses rather than proto. 1250 cjclark@alum.mit.edu: print the IP proto for non-initial fragments. 1251 LLC frames with a DSAP and LSAP of 0xe0 are IPX frames. 1252 Linux cooked frames with a type value of LINUX_SLL_P_802_3 are IPX. 1253 captures on the "any" device won't be done in promiscuous mode 1254 Token Ring support on DLPI - Onno van der Linden <onno@simplex.nl> 1255 ARCNet support, from NetBSD. 1256 HSRP dissector, from Julian Cowley <julian@lava.net>. 1257 Handle (GRE-encapsulated) PPTP 1258 added -C option to rotate save file every optarg * 1,000,000 bytes. 1259 support for "vrrp" name - NetBSD, by Klaus Klein <kleink@netbsd.org>. 1260 PPTP support, from Motonori Shindo <mshindo@mshindo.net>. 1261 IS-IS over PPP support, from Hannes Gredler <hannes@juniper.net>. 1262 CNFP support for IPv6,format. Harry Raaymakers <harryr@connect.com.au>. 1263 ESP printing updated to RFC2406. 1264 HP-UX can now handle large number of PPAs. 1265 MSDP printer added. 1266 L2TP dissector improvements from Motonori Shindo. 1267 1268Tuesday January 9, 2001. mcr@sandelman.ottawa.on.ca. Summary for 3.6 release 1269 Cleaned up documentation. 1270 Promisc mode fixes for Linux 1271 IPsec changes/cleanups. 1272 Alignment fixes for picky architectures 1273 1274 Removed dependency on native headers for packet dissectors. 1275 Removed Linux specific headers that were shipped 1276 1277 libpcap changes provide for exchanging capture files between 1278 systems. Save files now have well known PACKET_ values instead of 1279 depending upon system dependent mappings of DLT_* types. 1280 1281 Support for computing/checking IP and UDP/TCP checksums. 1282 1283 Updated autoconf stock files. 1284 1285 IPv6 improvements: dhcp (draft-15), mobile-ip6, ppp, ospf6, 1286 1287 Added dissector support for: ISOCLNS, Token Ring, IGMPv3, bxxp, 1288 timed, vrrp, radius, chdlc, cnfp, cdp, IEEE802.1d, raw-AppleTalk 1289 1290 Added filtering support for: VLANs, ESIS, ISIS 1291 1292 Improvements to: print-telnet, IPTalk, bootp/dhcp, ECN, PPP, 1293 L2TP, PPPoE 1294 1295 HP-UX 11.0 -- find the right dlpi device. 1296 Solaris 8 - IPv6 works 1297 Linux - Added support for an "any" device to capture on all interfaces 1298 1299 Security fixes: buffer overrun audit done. Strcpy replaced with 1300 strlcpy, sprintf replaced with snprintf. 1301 Look for lex problems, and warn about them. 1302 1303 1304v3.5 Fri Jan 28 18:00:00 PST 2000 1305 1306Bill Fenner <fenner@research.att.com> 1307- switch to config.h for autoconf 1308- unify RCSID strings 1309- Updated PIMv1, PIMv2, DVMRP, IGMP parsers, add Cisco Auto-RP parser 1310- Really fix the RIP printer 1311- Fix MAC address -> name translation. 1312- some -Wall -Wformat fixes 1313- update makemib to parse much of SMIv2 1314- Print TCP sequence # with -vv even if you normally wouldn't 1315- Print as much of IP/TCP/UDP headers as possible even if truncated. 1316 1317itojun@iijlab.net 1318- -X will make a ascii dump. from netbsd. 1319- telnet command sequence decoder (ff xx xx). from netbsd. 1320- print-bgp.c: improve options printing. ugly code exists for 1321 unaligned option parsing (need some fix). 1322- const poisoning in SMB decoder. 1323- -Wall -Werror clean checks. 1324- bring in KAME IPv6/IPsec decoding code. 1325 1326Assar Westerlund <assar@sics.se> 1327- SNMPv2 and SNMPv3 printer 1328- If compiled with libsmi, tcpdump can load MIBs on the fly to decode 1329 SNMP packets. 1330- Incorporate NFS parsing code from NetBSD. Adds support for nfsv3. 1331- portability fixes 1332- permit building in different directories. 1333 1334Ken Hornstein <kenh@cmf.nrl.navy.mil> 1335- bring in code at 1336 /afs/transarc.com/public/afs-contrib/tools/tcpdump for parsing 1337 AFS3 packets 1338 1339Andrew Tridgell <tridge@linuxcare.com> 1340- SMB printing code 1341 1342Love <lha@stacken.kth.se> 1343- print-rx.c: add code for printing MakeDir and StoreStatus. Also 1344 change date format to the right one. 1345 1346Michael C. Richardson <mcr@sandelman.ottawa.on.ca> 1347- Created tcpdump.org repository 1348 1349v3.4 Sat Jul 25 12:40:55 PDT 1998 1350 1351- Hardwire Linux slip support since it's too hard to detect. 1352 1353- Redo configuration of "network" libraries (-lsocket and -lnsl) to 1354 deal with IRIX. Thanks to John Hawkinson (jhawk@mit.edu) 1355 1356- Added -a which tries to translate network and broadcast addresses to 1357 names. Suggested by Rob van Nieuwkerk (robn@verdi.et.tudelft.nl) 1358 1359- Added a configure option to disable gcc. 1360 1361- Added a "raw" packet printer. 1362 1363- Not having an interface address is no longer fatal. Requested by John 1364 Hawkinson. 1365 1366- Rework signal setup to accommodate Linux. 1367 1368- OSPF truncation check fix. Also display the type of OSPF packets 1369 using MD5 authentication. Thanks to Brian Wellington 1370 (bwelling@tis.com) 1371 1372- Fix truncation check bugs in the Kerberos printer. Reported by Ezra 1373 Peisach (epeisach@mit.edu) 1374 1375- Don't catch SIGHUP when invoked with nohup(1). Thanks to Dave Plonka 1376 (plonka@mfa.com) 1377 1378- Specify full install target as a way of detecting if install 1379 directory does not exist. Thanks to Dave Plonka. 1380 1381- Bit-swap FDDI addresses for BSD/OS too. Thanks to Paul Vixie 1382 (paul@vix.com) 1383 1384- Fix off-by-one bug when testing size of ethernet packets. Thanks to 1385 Marty Leisner (leisner@sdsp.mc.xerox.com) 1386 1387- Add a local autoconf macro to check for routines in libraries; the 1388 autoconf version is broken (it only puts the library name in the 1389 cache variable name). Thanks to John Hawkinson. 1390 1391- Add a local autoconf macro to check for types; the autoconf version 1392 is broken (it uses grep instead of actually compiling a code fragment). 1393 1394- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 1395 formats. 1396 1397- Extend OSF ip header workaround to versions 1 and 2. 1398 1399- Fix some signed problems in the nfs printer. As reported by David 1400 Sacerdote (davids@silence.secnet.com) 1401 1402- Detect group wheel and use it as the default since BSD/OS' install 1403 can't hack numeric groups. Reported by David Sacerdote. 1404 1405- AIX needs special loader options. Thanks to Jonathan I. Kamens 1406 (jik@cam.ov.com) 1407 1408- Fixed the nfs printer to print port numbers in decimal. Thanks to 1409 Kent Vander Velden (graphix@iastate.edu) 1410 1411- Find installed libpcap in /usr/local/lib when not using gcc. 1412 1413- Disallow network masks with non-network bits set. 1414 1415- Attempt to detect "egcs" versions of gcc. 1416 1417- Add missing closing double quotes when displaying bootp strings. 1418 Reported by Viet-Trung Luu (vluu@picard.math.uwaterloo.ca) 1419 1420v3.3 Sat Nov 30 20:56:27 PST 1996 1421 1422- Added Linux support. 1423 1424- GRE encapsulated packet printer thanks to John Hawkinson 1425 (jhawk@mit.edu) 1426 1427- Rewrite gmt2local() to avoid problematic os dependencies. 1428 1429- Suppress nfs truncation message on errors. 1430 1431- Add missing m4 quoting in AC_LBL_UNALIGNED_ACCESS autoconf macro. 1432 Reported by Joachim Ott (ott@ardala.han.de) 1433 1434- Enable "ip_hl vs. ip_vhl" workaround for OSF4 too. 1435 1436- Print arp hardware type in host order. Thanks to Onno van der Linden 1437 (onno@simplex.nl) 1438 1439- Avoid solaris compiler warnings. Thanks to Bruce Barnett 1440 (barnett@grymoire.crd.ge.com) 1441 1442- Fix rip printer to not print one more route than is actually in the 1443 packet. Thanks to Jean-Luc Richier (Jean-Luc.Richier@imag.fr) and 1444 Bill Fenner (fenner@parc.xerox.com) 1445 1446- Use autoconf endian detection since BYTE_ORDER isn't defined on all systems. 1447 1448- Fix dvmrp printer truncation checks and add a dvmrp probe printer. 1449 Thanks to Danny J. Mitzel (mitzel@ipsilon.com) 1450 1451- Rewrite ospf printer to improve truncation checks. 1452 1453- Don't parse tcp options past the EOL. As noted by David Sacerdote 1454 (davids@secnet.com). Also, check tcp options to make sure they ar 1455 actually in the tcp header (in addition to the normal truncation 1456 checks). Fix the SACK code to print the N blocks (instead of the 1457 first block N times). 1458 1459- Don't say really small UDP packets are truncated just because they 1460 aren't big enough to be a RPC. As noted by David Sacerdote. 1461 1462v3.2.1 Sun Jul 14 03:02:26 PDT 1996 1463 1464- Added rfc1716 icmp codes as suggested by Martin Fredriksson 1465 (martin@msp.se) 1466 1467- Print mtu for icmp unreach need frag packets. Thanks to John 1468 Hawkinson (jhawk@mit.edu) 1469 1470- Decode icmp router discovery messages. Thanks to Jeffrey Honig 1471 (jch@bsdi.com) 1472 1473- Added a printer entry for DLT_IEEE802 as suggested by Tak Kushida 1474 (kushida@trl.ibm.co.jp) 1475 1476- Check igmp checksum if possible. Thanks to John Hawkinson. 1477 1478- Made changes for SINIX. Thanks to Andrej Borsenkow 1479 (borsenkow.msk@sni.de) 1480 1481- Use autoconf's idea of the top level directory in install targets. 1482 Thanks to John Hawkinson. 1483 1484- Avoid infinite loop in tcp options printing code. Thanks to Jeffrey 1485 Mogul (mogul@pa.dec.com) 1486 1487- Avoid using -lsocket in IRIX 5.2 and earlier since it breaks snoop. 1488 Thanks to John Hawkinson. 1489 1490- Added some more packet truncation checks. 1491 1492- On systems that have it, use sigset() instead of signal() since 1493 signal() has different semantics on these systems. 1494 1495- Fixed some more alignment problems on the alpha. 1496 1497- Add code to massage unprintable characters in the domain and ipx 1498 printers. Thanks to John Hawkinson. 1499 1500- Added explicit netmask support. Thanks to Steve Nuchia 1501 (steve@research.oknet.com) 1502 1503- Add "sca" keyword (for DEC cluster services) as suggested by Terry 1504 Kennedy (terry@spcvxa.spc.edu) 1505 1506- Add "atalk" keyword as suggested by John Hawkinson. 1507 1508- Added an igrp printer. Thanks to Francis Dupont 1509 (francis.dupont@inria.fr) 1510 1511- Print IPX net numbers in hex a la Novell Netware. Thanks to Terry 1512 Kennedy (terry@spcvxa.spc.edu) 1513 1514- Fixed snmp extended tag field parsing bug. Thanks to Pascal Hennequin 1515 (pascal.hennequin@hugo.int-evry.fr) 1516 1517- Added some ETHERTYPEs missing on some systems. 1518 1519- Added truncated packet macros and various checks. 1520 1521- Fixed endian problems with the DECnet printer. 1522 1523- Use $CC when checking gcc version. Thanks to Carl Lindberg 1524 (carl_lindberg@blacksmith.com) 1525 1526- Fixes for AIX (although this system is not yet supported). Thanks to 1527 John Hawkinson. 1528 1529- Fix bugs in the autoconf misaligned accesses code fragment. 1530 1531- Include sys/param.h to get BYTE_ORDER in a few places. Thanks to 1532 Pavlin Ivanov Radoslavov (pavlin@cs.titech.ac.jp) 1533 1534v3.2 Sun Jun 23 02:28:10 PDT 1996 1535 1536- Print new icmp unreachable codes as suggested by Martin Fredriksson 1537 (martin@msp.se). Also print code value when unknown for icmp redirect 1538 and time exceeded. 1539 1540- Fix an alignment endian bug in getname(). Thanks to John Hawkinson. 1541 1542- Define "new" domain record types if not found in arpa/nameserv.h. 1543 Resulted from a suggestion from John Hawkinson (jhawk@mit.edu). Also 1544 fixed an endian bug when printing mx record and added some new record 1545 types. 1546 1547- Added RIP V2 support. Thanks to Jeffrey Honig (jch@bsdi.com) 1548 1549- Added T/TCP options printing. As suggested by Richard Stevens 1550 (rstevens@noao.edu) 1551 1552- Use autoconf to detect architectures that can't handle misaligned 1553 accesses. 1554 1555v3.1 Thu Jun 13 20:59:32 PDT 1996 1556 1557- Changed u_int32/int32 to u_int32_t/int32_t to be consistent with bsd 1558 and bind (as suggested by Charles Hannum). 1559 1560- Port to GNU autoconf. 1561 1562- Add support for printing DVMRP and PIM traffic thanks to 1563 Havard Eidnes (Havard.Eidnes@runit.sintef.no). 1564 1565- Fix AppleTalk, IPX and DECnet byte order problems due to wrong endian 1566 define being referenced. Reported by Terry Kennedy. 1567 1568- Minor fixes to the man page thanks to Mark Andrews. 1569 1570- Endian fixes to RTP and vat packet dumpers, thanks to Bruce Mah 1571 (bmah@cs.berkeley.edu). 1572 1573- Added support for new dns types, thanks to Rainer Orth. 1574 1575- Fixed tftp_print() to print the block number for ACKs. 1576 1577- Document -dd and -ddd. Resulted from a bug report from Charlie Slater 1578 (cslater@imatek.com). 1579 1580- Check return status from malloc/calloc/etc. 1581 1582- Check return status from pcap_loop() so we can print an error and 1583 exit with a bad status if there were problems. 1584 1585- Bail if ip option length is <= 0. Resulted from a bug report from 1586 Darren Reed (darrenr@vitruvius.arbld.unimelb.edu.au). 1587 1588- Print out a little more information for sun rpc packets. 1589 1590- Add support for Kerberos 4 thanks to John Hawkinson (jhawk@mit.edu). 1591 1592- Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were 1593 wrong on little endian machines). 1594 1595- Fixed alignment bug in ipx_decode(). Thanks to Matt Crawford 1596 (crawdad@fnal.gov). 1597 1598- Fix ntp_print() to not print garbage when the stratum is 1599 "unspecified." Thanks to Deus Ex Machina (root@belle.bork.com). 1600 1601- Rewrote tcp options printer code to check for truncation. Added 1602 selective acknowledgment case. 1603 1604- Fixed an endian bug in the ospf printer. Thanks to Jeffrey C Honig 1605 (jch@bsdi.com) 1606 1607- Fix rip printer to handle 4.4 BSD sockaddr struct which only uses one 1608 octet for the sa_family member. Thanks to Yoshitaka Tokugawa 1609 (toku@dit.co.jp) 1610 1611- Don't checksum ip header if we don't have all of it. Thanks to John 1612 Hawkinson (jhawk@mit.edu). 1613 1614- Print out hostnames if possible in egp printer. Thanks to Jeffrey 1615 Honig (jhc@bsdi.com) 1616 1617 1618v3.1a1 Wed May 3 19:21:11 PDT 1995 1619 1620- Include time.h when SVR4 is defined to avoid problems under Solaris 1621 2.3. 1622 1623- Fix etheraddr_string() in the ETHER_SERVICE to return the saved 1624 strings, not the local buffer. Thanks to Stefan Petri 1625 (petri@ibr.cs.tu-bs.de). 1626 1627- Detect when pcap raises the snaplen (e.g. with snit). Print a warning 1628 that the selected value was not used. Thanks to Pascal Hennequin 1629 (Pascal.Hennequin@hugo.int-evry.fr). 1630 1631- Add a truncated packet test to print-nfs.c. Thanks to Pascal Hennequin. 1632 1633- BYTEORDER -> BYTE_ORDER Thanks to Terry Kennedy (terry@spcvxa.spc.edu). 1634 1635v3.0.3 Sun Oct 1 18:35:00 GMT 1995 1636 1637- Although there never was a 3.0.3 release, the linux boys cleverly 1638 "released" one in late 1995. 1639 1640v3.0.2 Thu Apr 20 21:28:16 PDT 1995 1641 1642- Change configuration to not use gcc v2 flags with gcc v1. 1643 1644- Redo gmt2local() so that it works under BSDI (which seems to return 1645 an empty timezone struct from gettimeofday()). Based on report from 1646 Terry Kennedy (terry@spcvxa.spc.edu). 1647 1648- Change configure to recognize IP[0-9]* as "mips" SGI hardware. Based 1649 on report from Mark Andrews (mandrews@alias.com). 1650 1651- Don't pass cc flags to gcc. Resulted from a bug report from Rainer 1652 Orth (ro@techfak.uni-bielefeld.de). 1653 1654- Fixed printout of connection id for uncompressed tcp slip packets. 1655 Resulted from a bug report from Richard Stevens (rstevens@noao.edu). 1656 1657- Hack around deficiency in Ultrix's make. 1658 1659- Add ETHERTYPE_TRAIL define which is missing from irix5. 1660 1661v3.0.1 Wed Aug 31 22:42:26 PDT 1994 1662 1663- Fix problems with gcc2 vs. malloc() and read() prototypes under SunOS 4. 1664 1665v3.0 Mon Jun 20 19:23:27 PDT 1994 1666 1667- Added support for printing tcp option timestamps thanks to 1668 Mark Andrews (mandrews@alias.com). 1669 1670- Reorganize protocol dumpers to take const pointers to packets so they 1671 never change the contents (i.e., they used to do endian conversions 1672 in place). Previously, whenever more than one pass was taken over 1673 the packet, the packet contents would be dumped incorrectly (i.e., 1674 the output form -x would be wrong on little endian machines because 1675 the protocol dumpers would modify the data). Thanks to Charles Hannum 1676 (mycroft@gnu.ai.mit.edu) for reporting this problem. 1677 1678- Added support for decnet protocol dumping thanks to Jeff Mogul 1679 (mogul@pa.dec.com). 1680 1681- Fix bug that caused length of packet to be incorrectly printed 1682 (off by ether header size) for unknown ethernet types thanks 1683 to Greg Miller (gmiller@kayak.mitre.org). 1684 1685- Added support for IPX protocol dumping thanks to Brad Parker 1686 (brad@fcr.com). 1687 1688- Added check to verify IP header checksum under -v thanks to 1689 Brad Parker (brad@fcr.com). 1690 1691- Move packet capture code to new libpcap library (which is 1692 packaged separately). 1693 1694- Prototype everything and assume an ansi compiler. 1695 1696- print-arp.c: Print hardware ethernet addresses if they're not 1697 what we expect. 1698 1699- print-bootp.c: Decode the cmu vendor field. Add RFC1497 tags. 1700 Many helpful suggestions from Gordon Ross (gwr@jericho.mc.com). 1701 1702- print-fddi.c: Improvements. Thanks to Jeffrey Mogul 1703 (mogul@pa.dec.com). 1704 1705- print-icmp.c: Byte swap netmask before printing. Thanks to 1706 Richard Stevens (rstevens@noao.edu). Print icmp type when unknown. 1707 1708- print-ip.c: Print the inner ip datagram of ip-in-ip encapsulated packets. 1709 By default, only the inner packet is dumped, appended with the token 1710 "(encap)". Under -v, both the inner and output packets are dumped 1711 (on the same line). Note that the filter applies to the original packet, 1712 not the encapsulated packet. So if you run tcpdump on a net with an 1713 IP Multicast tunnel, you cannot filter out the datagrams using the 1714 conventional syntax. (You can filter away all the ip-in-ip traffic 1715 with "not ip proto 4".) 1716 1717- print-nfs.c: Keep pending rpc's in circular table. Add generic 1718 nfs header and remove os dependences. Thanks to Jeffrey Mogul. 1719 1720- print-ospf.c: Improvements. Thanks to Jeffrey Mogul. 1721 1722- tcpdump.c: Add -T flag allows interpretation of "vat", "wb", "rpc" 1723 (sunrpc) and rtp packets. Added "inbound" and "outbound" keywords 1724 Add && and || operators 1725 1726v2.2.1 Tue Jun 6 17:57:22 PDT 1992 1727 1728- Fix bug with -c flag. 1729 1730v2.2 Fri May 22 17:19:41 PDT 1992 1731 1732- savefile.c: Remove hack that shouldn't have been exported. Add 1733 truncate checks. 1734 1735- Added the 'icmp' keyword. For example, 'icmp[0] != 8 and icmp[0] != 0' 1736 matches non-echo/reply ICMP packets. 1737 1738- Many improvements to filter code optimizer. 1739 1740- Added 'multicast' keyword and extended the 'broadcast' keyword can now be 1741 so that protocol qualifications are allowed. For example, "ip broadcast" 1742 and "ether multicast" are valid filters. 1743 1744- Added support for monitoring the loopback interface (i.e. 'tcpdump -i lo'). 1745 Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) contributed the kernel 1746 patches to netinet/if_loop.c. 1747 1748- Added support for the Ungermann-Bass Ethernet on IBM/PC-RTs running AOS. 1749 Contact Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) for the diffs. 1750 1751- Added EGP and OSPF printers, thanks to Jeffrey Honig. 1752 1753v2.1 Tue Jan 28 11:00:14 PST 1992 1754 1755- Internal release (never publicly exported). 1756 1757v2.0.1 Sun Jan 26 21:10:10 PDT 1758 1759- Various byte ordering fixes. 1760 1761- Add truncation checks. 1762 1763- inet.c: Support BSD style SIOCGIFCONF. 1764 1765- nametoaddr.c: Handle multi addresses for single host. 1766 1767- optimize.c: Rewritten. 1768 1769- pcap-bpf.c: don't choke when we get ptraced. only set promiscuous 1770 for broadcast nets. 1771 1772- print-atal.c: Fix an alignment bug (thanks to 1773 stanonik@nprdc.navy.mil) Add missing printf() argument. 1774 1775- print-bootp.c: First attempt at decoding the vendor buffer. 1776 1777- print-domain.c: Fix truncation checks. 1778 1779- print-icmp.c: Calculate length of packets from the ip header. 1780 1781- print-ip.c: Print frag id in decimal (so it's easier to match up 1782 with non-frags). Add support for ospf, egp and igmp. 1783 1784- print-nfs.c: Lots of changes. 1785 1786- print-ntp.c: Make some verbose output depend on -v. 1787 1788- print-snmp.c: New version from John LoVerso. 1789 1790- print-tcp.c: Print rfc1072 tcp options. 1791 1792- tcpdump.c: Print "0x" prefix for %x formats. Always print 6 digits 1793 (microseconds) worth of precision. Fix uid bugs. 1794 1795- A packet dumper has been added (thanks to Jeff Mogul of DECWRL). 1796 With this option, you can create an architecture independent binary 1797 trace file in real time, without the overhead of the packet printer. 1798 At a later time, the packets can be filtered (again) and printed. 1799 1800- BSD is supported. You must have BPF in your kernel. 1801 Since the filtering is now done in the kernel, fewer packets are 1802 dropped. In fact, with BPF and the packet dumper option, a measly 1803 Sun 3/50 can keep up with a busy network. 1804 1805- Compressed SLIP packets can now be dumped, provided you use our 1806 SLIP software and BPF. These packets are dumped as any other IP 1807 packet; the compressed headers are dumped with the '-e' option. 1808 1809- Machines with little-endian byte ordering are supported (thanks to 1810 Jeff Mogul). 1811 1812- Ultrix 4.0 is supported (also thanks to Jeff Mogul). 1813 1814- IBM RT and Stanford Enetfilter support has been added by 1815 Rayan Zachariassen <rayan@canet.ca>. tcpdump has been tested under 1816 both the vanilla Enetfilter interface, and the extended interface 1817 (#ifdef'd by IBMRTPC) present in the MERIT version of the Enetfilter. 1818 1819- TFTP packets are now printed (requests only). 1820 1821- BOOTP packets are now printed. 1822 1823- SNMP packets are now printed. (thanks to John LoVerso of Xylogics). 1824 1825- Sparc architectures, including the Sparcstation-1, are now 1826 supported thanks to Steve McCanne and Craig Leres. 1827 1828- SunOS 4 is now supported thanks to Micky Liu of Columbia 1829 University (micky@cunixc.cc.columbia.edu). 1830 1831- IP options are now printed. 1832 1833- RIP packets are now printed. 1834 1835- There's a -v flag that prints out more information than the 1836 default (e.g., it will enable printing of IP ttl, tos and id) 1837 and -q flag that prints out less (e.g., it will disable 1838 interpretation of AppleTalk-in-UDP). 1839 1840- The grammar has undergone substantial changes (if you have an 1841 earlier version of tcpdump, you should re-read the manual 1842 entry). 1843 1844 The most useful change is the addition of an expression 1845 syntax that lets you filter on arbitrary fields or values in the 1846 packet. E.g., "ip[0] > 0x45" would print only packets with IP 1847 options, "tcp[13] & 3 != 0" would print only TCP SYN and FIN 1848 packets. 1849 1850 The most painful change is that concatenation no longer means 1851 "and" -- e.g., you have to say "host foo and port bar" instead 1852 of "host foo port bar". The up side to this down is that 1853 repeated qualifiers can be omitted, making most filter 1854 expressions shorter. E.g., you can now say "ip host foo and 1855 (bar or baz)" to look at ip traffic between hosts foo and bar or 1856 between hosts foo and baz. [The old way of saying this was "ip 1857 host foo and (ip host bar or ip host baz)".] 1858 1859v2.0 Sun Jan 13 12:20:40 PST 1991 1860 1861- Initial public release. 1862