Commit e428e03
committed
Import tcpdump 4.99.6 (previous was 4.99.5)
Tuesday, December 30, 2025 / The Tcpdump Group
Summary for 4.99.6 tcpdump release
Remove protocol decoding for:
OTV (draft-hasmit-otv-04, this Internet-Draft is no longer active).
Refine protocol decoding for:
DNS: Use ND_TCHECK_LEN() instead of a custom bounds check.
IPv6: Add a missing comma and remove a colon in the output.
TCP: Note if the Urgent Pointer is non-zero while URG flag not set,
if the verbose level is > 1 (option -vv and more).
TCP: Note if the Acknowledgment Number is non-zero while ACK flag not set,
if the verbose level is > 1 (option -vv and more).
TCP: Fix Reset segment processing.
IP, IPv6: Fix setting the snapshot length for the payload.
IP: Use ND_TTEST_LEN() instead of a custom bounds check.
frag6: Add a bounds check in non-verbose mode.
PTP: Remove spaces before colons in output.
PTP: Fix management packet fields.
ISO: Avoid undefined behavior and integer overflow in the Fletcher
checksum calculation.
NFS: Delete dead code.
BOOTP: Use an uint16_t variable to get the result of a GET_BE_U_2().
ZEP: use the existing NTP time formatting code.
NTP: Fix p_ntp_time_fmt() using epoch 1/epoch 2 convention (RFC 4330).
NTP: Update a field name with the RFC 5905 name (Origin Timestamp).
IPv6 mobility: Modernize packet parsing and make fixes.
IP6OPTS: Modernize packet parsing and make fixes.
VXLAN: Add UDP port 8472 used by Linux as the default port.
EGP: Replace custom code with tok2str(); Modernize packet parsing and
fix printing with -v option.
User interface:
Add optional unit suffix on -C file size.
Improve the handling of size suffixes for -C.
Print errors for options -A, -x[x] and -X[X] (mutually exclusive).
Print errors about -C, -G and -z options usage.
For PCAP_ERROR_CAPTURE_NOTSUP, show the error message provided
by libpcap for that error if it's non-empty.
Update the -z option processing. Print "invalid option -- z" when it is.
Add the -g option, causing IPv4 output in verbose mode to be on one line.
Other:
Avoid race condition when receiving signal during shutdown.
Always show the interface name in error messages when the
interface can't be opened.
Clean up the message shown if a -i flag is specified with an
interface index that's too large.
Source code:
Fix '-tt' option printing when time > 2106-02-07T06:28:15Z.
Add sub-second packet timestamp checks for invalid micro/nano.
Remove unused missing/snprintf.c.
Fix incompatible pointer types with time functions calls on Windows.
Use C99 macros to define 64-bit constants and maximum 64-bit values.
Windows:
Fixed to find wpcap.dll if WinPcap isn't installed and Npcap was
installed without the WinPcap API compatibility option. (GitHub
issue #1226).
Building and testing:
Makefile.in: Use a local libpcap in the releasecheck target.
CMake: Fix build with CMake 3.31.
autotools, CMake: don't separately test whether snprintf(3) is
available and whether it's suitable - the test for whether it's
suitable also fails if it's unavailable.
CMake: Skip snprintf(3) tests when cross-compiling.
autotools, CMake: fix issues with snprintf test and sanitizers.
CMake: check whether check_c_source_runs() works, treat the build
as a cross-compile if it doesn't work.
Autoconf: Use AC_SYS_YEAR2038_RECOMMENDED when possible if the
environment variable BUILD_YEAR2038 = yes (via autogen.sh).
Autoconf: Avoid incorrectly include the libpcap's config.h.
Autoconf: Refine reporting of os-proto.h.
Require config.h to be from the tcpdump build.
AppVeyor: Update Npcap SDK to 1.15.
autogen.sh: Allow to configure Autoconf warnings.
autogen.sh: Delete all trailing blank lines at end of configure.1 parent 55e58d4 commit e428e03
File tree
441 files changed
+2723
-2032
lines changed- external/bsd/tcpdump/dist
- cmake/Modules
- doc
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
441 files changed
+2723
-2032
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
1 | 74 | | |
2 | 75 | | |
3 | 76 | | |
| |||
38 | 111 | | |
39 | 112 | | |
40 | 113 | | |
41 | | - | |
| 114 | + | |
42 | 115 | | |
43 | 116 | | |
44 | 117 | | |
| |||
122 | 195 | | |
123 | 196 | | |
124 | 197 | | |
| 198 | + | |
125 | 199 | | |
126 | 200 | | |
127 | 201 | | |
| |||
179 | 253 | | |
180 | 254 | | |
181 | 255 | | |
182 | | - | |
| 256 | + | |
183 | 257 | | |
184 | 258 | | |
185 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
| 27 | + | |
23 | 28 | | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
392 | 399 | | |
393 | 400 | | |
394 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
395 | 431 | | |
396 | 432 | | |
397 | 433 | | |
| |||
407 | 443 | | |
408 | 444 | | |
409 | 445 | | |
410 | | - | |
| 446 | + | |
411 | 447 | | |
412 | 448 | | |
413 | 449 | | |
414 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
415 | 456 | | |
416 | 457 | | |
417 | 458 | | |
| |||
493 | 534 | | |
494 | 535 | | |
495 | 536 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
554 | 602 | | |
555 | 603 | | |
556 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
557 | 608 | | |
558 | 609 | | |
559 | 610 | | |
| |||
908 | 959 | | |
909 | 960 | | |
910 | 961 | | |
911 | | - | |
| 962 | + | |
912 | 963 | | |
913 | 964 | | |
914 | 965 | | |
| |||
1160 | 1211 | | |
1161 | 1212 | | |
1162 | 1213 | | |
| 1214 | + | |
1163 | 1215 | | |
1164 | 1216 | | |
1165 | 1217 | | |
| |||
1331 | 1383 | | |
1332 | 1384 | | |
1333 | 1385 | | |
1334 | | - | |
1335 | 1386 | | |
1336 | 1387 | | |
1337 | 1388 | | |
| |||
1496 | 1547 | | |
1497 | 1548 | | |
1498 | 1549 | | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
1499 | 1553 | | |
1500 | 1554 | | |
1501 | 1555 | | |
| |||
1551 | 1605 | | |
1552 | 1606 | | |
1553 | 1607 | | |
1554 | | - | |
| 1608 | + | |
1555 | 1609 | | |
1556 | 1610 | | |
1557 | 1611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
0 commit comments