Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder libpcap-solaris11-amd64 Build #176

Results:

Build successful

SourceStamp:

Projectlibpcap
Repositoryhttps://git.tcpdump.org/libpcap
Branchmaster
Revisione3e8e5356c99804c5a9dde76fabe32fc0d2680f6
Got Revisione3e8e5356c99804c5a9dde76fabe32fc0d2680f6
Changes58 changes

BuildSlave:

unstable11x

Reason:

The SingleBranchScheduler scheduler named 'schedule-libpcap-solaris11-amd64' triggered this build

Steps and Logfiles:

  1. git update ( 15 secs )
    1. stdio
  2. shell './build_matrix.sh' ( 7 hrs, 36 mins, 32 secs )
    1. stdio
    2. config.log
  3. trigger triggered trigger-tcpdump-solaris10-amd64 ( 6 mins, 8 secs )
    1. - no logs -
    2. tcpdump-solaris10-amd64 #6225

Build Properties:

NameValueSource
branch master Build
builddir /export/home/buildbot/slave/libpcap-solaris11-amd64 slave
buildername libpcap-solaris11-amd64 Builder
buildnumber 176 Build
codebase Build
got_revision e3e8e5356c99804c5a9dde76fabe32fc0d2680f6 Git
project libpcap Build
repository https://git.tcpdump.org/libpcap Build
revision e3e8e5356c99804c5a9dde76fabe32fc0d2680f6 Build
scheduler schedule-libpcap-solaris11-amd64 Scheduler
slavename unstable11x BuildSlave
workdir /export/home/buildbot/slave/libpcap-solaris11-amd64 slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Denis Ovsienko
  2. Edem Khadiev
  3. Francois-Xavier Le Bail
  4. Guy Harris
  5. Robin Jarry
  6. deprrous

Timing:

StartThu Sep 3 15:06:18 2026
EndThu Sep 3 22:49:15 2026
Elapsed7 hrs, 42 mins, 56 secs

All Changes:

:

  1. Change #274266

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 07 Jul 2026 15:35:23
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 430e1bdddf15ff1e78adfc3302d4f6242cd5ba52

    Comments

    Address a few warnings from Sun C.
    cc: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30
    
    "./gencode.c", line 3180: statement not reached
      (E_STATEMENT_NOT_REACHED)
    "./gencode.c", line 3184: statement not reached
      (E_STATEMENT_NOT_REACHED)
    "./translatetest.c", line 273: end-of-loop code not reached
      (E_END_OF_LOOP_CODE_NOT_REACHED)

    Changed files

    • gencode.c
    • testprogs/translatetest.c
  2. Change #274267

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 07 Jul 2026 15:35:26
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision c28d595f4a9e932df08a5063e8c62378035a6fe9

    Comments

    doc: Update Solaris-like particulars. [skip ci]
    Remove a few old releases and add Sun C.

    Changed files

    • doc/README.solaris.md
  3. Change #274698

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sun 12 Jul 2026 19:15:48
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 40e1eb5d0ca19333c39fc1f5b637f43f3443b2b9

    Comments

    TESTrun: Cover folding into "jset #k" better.

    Changed files

    • testprogs/TESTrun
  4. Change #274699

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sun 12 Jul 2026 19:51:19
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision f283b98e2292c1577cf6a436b1c3915ac01d9e1a

    Comments

    Fix optimization of "jset #0xffffffff".
    This particular branch condition means "A is not zero", so replacing it
    with "always true" generates an incorrect filter program.  This bug has
    been in place since commit cae0540 in 2001.  Fix it, document the logic
    better and update the tests.

    Changed files

    • CHANGES
    • optimize.c
    • testprogs/TESTrun
  5. Change #274878

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Tue 14 Jul 2026 00:47:58
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 69a7d026f69b9146cf11772f5e30886b6b9a3e25

    Comments

    translatetest: expand the explanation of the "if" in the option processing.
    Explain in more detail why we're using an "if", and note that if we add
    any command-line options that *don't* cause us to do something quick and
    exit, we should turn the "if" back into a "while".

    Changed files

    • testprogs/translatetest.c
  6. Change #274879

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 14 Jul 2026 17:05:25
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 73c514ad282191a64f3de6b07cb4b41249ed3b55

    Comments

    cbpf-savefile(5): Bump MinorVer up. [skip ci]
    "Format changes that do not impact compatibility (e.g., new TLV types or
    flags) increment the minor version only.", and draft revision 7 has
    introduced the RND flag.

    Changed files

    • cbpf-savefile.manfile.in
  7. Change #275377

    Category libpcap
    Changed by Robin Jarry <rjarryohnoyoudont@redhat.com>
    Changed at Tue 21 Jul 2026 20:35:15
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 4d626a31477e160ee0a2e0a1b011484f40f6a410

    Comments

    dpdk: remove capture backend
    The current DPDK integration model is not useful in practice. Since
    libpcap/tcpdump takes exclusive ownership of DPDK ports via
    rte_eth_dev_configure(), it cannot capture traffic from an existing DPDK
    application. This makes it useless for the primary use case of observing
    packets in a running DPDK-based network stack.
    
    The support added in commit 8d7f0e39da08 ("enable dpdk for libpcap, test
    with DPDK v18.11") was never updated to follow the evolution of the
    public DPDK API. This led the backend to be disabled by default in
    commit 06fbfb73255d ("DPDK: don't enable it by default.") because the
    maintenance cost became too high.
    
    Remove all DPDK capture support from the source, build systems
    (autoconf, CMake) and documentation.
    
    Signed-off-by: Robin Jarry <rjarry@redhat.com>

    Changed files

    • CHANGES
    • CMakeLists.txt
    • INSTALL.md
    • Makefile.in
    • cmake/Modules/Finddpdk.cmake
    • cmakeconfig.h.in
    • configure.ac
    • pcap-dpdk.c
    • pcap-dpdk.h
    • pcap.c
  8. Change #275642

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Thu 23 Jul 2026 17:13:02
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 2c21af0f97cca37ed2479f20a90e95b6dd14141e

    Comments

    TESTrun: Introduce DNS_NXDOMAIN_TIMEOUT. [skip appveyor]
    Define a constant (5 seconds seems to be a reasonable first guess) and
    use it in several tests that have a history of timing out due to DNS.
    In time_test_command() and run_generic_reject_test() take the timeout as
    a parameter instead of a global variable; in run_generic_accept_test()
    and run_translate_reject_test() give the global default value as the
    argument; in run_filter_reject_test() give a timeout argument and allow
    a custom value to override the global default.

    Changed files

    • testprogs/TESTrun
  9. Change #275720

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Fri 24 Jul 2026 21:52:46
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 22888fa7f469219c35710c22b52571e403eaf83e

    Comments

    pcap-bpf: have device_exists() own the socket descriptor.
    That means that its caller doesn't need to open and close the descriptor
    itself.
    
    Also, treat a failure to open the socket as an error to be reported as
    such, treat an error from SIOCGIFFLAGS *other* than "there is no such
    device" as implying that there *is* such a device, and treat a failure
    to allocate a string to hold the name of the device to test as an error
    to be reported as such.
    
    (This code is currently used only on old versions of macOS - "old" as in
    "Mac OS X Tiger", which came out over 25 years ago - but it'll be useful
    for fixing the "report 'no such device', not 'permission denied', if the
    user doesn't have permission to capture on any device and the device
    doesn't exist" issue.)

    Changed files

    • pcap-bpf.c
  10. Change #275721

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Fri 24 Jul 2026 22:24:08
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision fd57ec6033d4e0bfd30dbee7150bd6f967acf8dd

    Comments

    pcap-bpf: fix some warnings.
    Remove some stuff that the previous change made unnecessary.

    Changed files

    • pcap-bpf.c
  11. Change #275725

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Fri 24 Jul 2026 22:28:00
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision aaac77c0581faaaeac2f70e68394c3f6e296ed64

    Comments

    pcap-bpf: move device_exists() for future use.
    Move it to a location where it's more convenient for later use to avoid
    returning "no permission" rather than "no such device" when trying to
    open a device that doesn't exist.

    Changed files

    • pcap-bpf.c
  12. Change #275728

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Fri 24 Jul 2026 22:42:10
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 7e326ee627c19d621b5d495e2e6d5e921c72a7a2

    Comments

    pcap-bpf: rename device_exists().
    Rename it to check_device_exists(), as its return value isn't a Boolean
    indicating whether it exists, it's 0 if it exists or an error code if it
    doesn't exist or an unrecoverable error occurred when checking it.

    Changed files

    • pcap-bpf.c
  13. Change #275956

    Category libpcap
    Changed by Edem Khadiev <edem.khadievohnoyoudont@dsr-corporation.com>
    Changed at Sun 26 Jul 2026 11:23:50
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 9f37478bad2abafb626a0bf8921506569960d48d

    Comments

    Add DLT_/LINKTYPE_ values for DECT_NR_TAP

    Changed files

    • pcap-common.c
    • pcap.c
    • pcap/dlt.h
  14. Change #276030

    Category libpcap
    Changed by deprrous <sukhbatsuugii2004ohnoyoudont@gmail.com>
    Changed at Mon 27 Jul 2026 01:30:55
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 8812e47dae896691a3d53ecc95b33835c2a95b05

    Comments

    Restore clang pragma pop for uninitialized const pointer helper

    Changed files

    • diag-control.h
  15. Change #276085

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 27 Jul 2026 11:06:37
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 9db8ee21ea765fad0ab29cbd7f9c901d60b3fc97

    Comments

    BPF_X is not valid for BPF_RET.
    Hence in pcap/bpf.h do not document it as valid and in atomuse() remove
    the test for BPF_RVAL(c) == BPF_X, which is always false.

    Changed files

    • optimize.c
    • pcap/bpf.h
  16. Change #276086

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 27 Jul 2026 11:25:06
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision a9b2c25e98a7b793699d73b58d8f4a21fa9dbd3f

    Comments

    Increase DNS_NXDOMAIN_TIMEOUT. [skip appveyor]
    In one of the yesterday builds reject_arp_host_nonexistent timed out,
    let's see if 10 seconds is long enough to accommodate that.

    Changed files

    • testprogs/TESTrun
  17. Change #276653

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 31 Jul 2026 17:20:38
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision aa6392609bf08eb43d4a5be23bcfb2f59c6ddce8

    Comments

    CHANGES: Update to reflect recent commits. [skip ci]

    Changed files

    • CHANGES
  18. Change #276860

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sat 01 Aug 2026 15:37:15
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision a4becd80f642ee22e766f00ffc606061aa82c8ac

    Comments

    doc: Update QNX particulars.

    Changed files

    • doc/README.qnx.md
  19. Change #276862

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sat 01 Aug 2026 15:41:30
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision f126e6a28b8741f871738dad24a76c9988c55dc0

    Comments

    CMake: Fix getaddrinfo() detection on QNX. [skip appveyor]
    Port the earlier Autoconf fix from commit 5c16ee9.  Tested in a native
    AArch64 build using SDP 8.0.5 (CMake 4.2.3).  This does not fix all
    known CMake build problems, but reduces the problem space.
    
    Before:
    -- Looking for getaddrinfo
    -- Looking for getaddrinfo - not found
    -- Looking for getaddrinfo in socket
    -- Looking for getaddrinfo in socket - not found
    -- Looking for getaddrinfo in network
    -- Looking for getaddrinfo in network - not found
    CMake Error at CMakeLists.txt:933 (message):
      getaddrinfo is required, but wasn't found
    
    After:
    -- Looking for getaddrinfo
    -- Looking for getaddrinfo - not found
    -- Looking for getaddrinfo in socket
    -- Looking for getaddrinfo in socket - not found
    -- Looking for getaddrinfo in network
    -- Looking for getaddrinfo in network - not found
    -- Looking for getaddrinfo in socket
    -- Looking for getaddrinfo in socket - found

    Changed files

    • CHANGES
    • CMakeLists.txt
  20. Change #277047

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Wed 05 Aug 2026 11:25:32
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision d7da31f8adef52855fa4a841bbce3ee5e27aafa8

    Comments

    Translate some 1991 mnemonics in opt_peep(). [skip ci]
    The "ldi", "addx", "ldxms" and "ild" mnemonics are specific to tcpdump
    release 2.0.0 (1991), which introduced most elements of BPF to replace
    the earlier solution space (EtherProtoOp, IpSrcNetOp, TcpDstPortOp etc.)
    of tcpdump "beta" (1990).  Release 2.2 (1992) amended the instruction
    set and the mnemonics, then the USENIX 1993 BPF paper documented the
    result.
    
    The last vestige of the 1991 mnemonics has been in opt_peep(), in a code
    block that still serves a purpose.  Leave the variables as they are, but
    translate the comments to the 1992 mnemonics to make the code easier to
    follow.  For reference, a complete translation table is below.
    
    +-----------------+-------------------+
    | 2.0.0 (1991)    | 2.2 (1992)        |
    +-----------------+-------------------+
    | nop             |                   |
    | ldi #k          | ld #k             |
    | ldxi #k         | ldx #k            |
    | ldlen           | ld #pktlen        |
    |                 | ldx #pktlen       |
    | ldm [k]         | ld M[k]           |
    | ldmx [k]        | ldx M[k]          |
    | ldb [k]         | ldb [k]           |
    | ldh [k]         | ldh [k]           |
    | ld [k]          | ld [k]            |
    | ild [x+k]       | ld [x+k]          |
    | ildh [x+k]      | ldh [x+k]         |
    | ildb [x+k]      | ldb [x+k]         |
    | ldxms [k]       | ldxb 4*([k]&0xf)  |
    | stm [k]         | st M[k]           |
    | stmx [k]        | stx M[k]          |
    |                 | ja L              |
    | eq #k jt L jf L | jeq #k jt L jf L  |
    | gt #k jt L jf L | jgt #k jt L jf L  |
    | ge #k jt L jf L | jge #k jt L jf L  |
    |                 | jset #k jt L jf L |
    |                 | jeq x jt L jf L   |
    |                 | jgt x jt L jf L   |
    |                 | jge x jt L jf L   |
    |                 | jset x jt L jf L  |
    | neg             | neg               |
    | addi #k         | add #k            |
    | subi #k         | sub #k            |
    | muli #k         | mul #k            |
    | divi #k         | div #k            |
    | andi #k         | and #k            |
    | ori #k          | or #k             |
    | lshi #k         | lsh #k            |
    | rshi #k         | rsh #k            |
    | addx            | add x             |
    | subx            | sub x             |
    | mulx            | mul x             |
    | divx            | div x             |
    | andx            | and x             |
    | orx             | or x              |
    | lshx            | lsh x             |
    | rshx            | rsh x             |
    | ret #k          | ret #k            |
    | reta            | ret               |
    | tax             | tax               |
    | txa             | txa               |
    +-----------------+-------------------+

    Changed files

    • optimize.c
  21. Change #277049

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Wed 05 Aug 2026 11:52:19
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision f26ae497fce4cda04355806101dd8d3e851d5672

    Comments

    Add missing spaces to several man pages. [skip ci]

    Changed files

    • pcap.3pcap.in
    • pcap_close.3pcap
    • pcap_compile.3pcap.in
    • pcap_dump_close.3pcap
    • pcap_dump_ftell.3pcap
    • pcap_dump_open.3pcap.in
    • pcap_findalldevs.3pcap
    • pcap_lookupnet.3pcap
    • pcap_loop.3pcap
    • pcap_next_ex.3pcap
    • pcap_open_offline.3pcap.in
    • pcap_set_datalink.3pcap
    • pcap_set_tstamp_precision.3pcap.in
    • pcap_setdirection.3pcap
    • pcap_stats.3pcap
    • rpcapd/rpcapd.manadmin.in
  22. Change #277646

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sun 09 Aug 2026 15:22:20
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 1a2a94ee8ef29e304e685ad5a3e3d2226b96e7d8

    Comments

    Refine the .gitignore files.
    Sort some files alphabetically and match more patterns in the current
    directory.  Remove scanner.c.bottom because it does not exist since
    commit c289c3d in 2015.

    Changed files

    • .gitignore
    • rpcapd/.gitignore
    • testprogs/.gitignore
  23. Change #277648

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sun 09 Aug 2026 16:10:35
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 10b9ce3d91c62e062635f2a8922432dad88d2756

    Comments

    testprogs: Constify a few variables.

    Changed files

    • testprogs/capturetest.c
    • testprogs/filtertest.c
    • testprogs/nonblocktest.c
    • testprogs/opentest.c
    • testprogs/selpolltest.c
    • testprogs/threadsignaltest.c
    • testprogs/translatetest.c
    • testprogs/valgrindtest.c
    • testprogs/writecaptest.c
  24. Change #277650

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Sun 09 Aug 2026 16:10:41
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision f06d125a3538dcad142ccc9026a26fd756de27aa

    Comments

    TESTrun: Update comments after commit c892ee6.

    Changed files

    • testprogs/TESTrun
  25. Change #277651

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 10 Aug 2026 10:59:10
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 0a88141d20699699d16be3985993311b77292c0d

    Comments

    TESTrun: Factor detect_testprog() out. [skip ci]

    Changed files

    • testprogs/TESTrun
  26. Change #277818

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 10 Aug 2026 17:08:12
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision b6f9050a86a94032b4c73e8bd3fd6c8054d3c7de

    Comments

    TESTrun: Call skip_no_translatetest() only once.
    The function tests a condition that depends only on the OS, which does
    not change from one test to another, so instead of checking it for every
    translate test check it once and use as the default in the two loops
    that generate translate test requests.  This also fixes the skip
    condition for translate tests that defined it incorrectly or not at all.

    Changed files

    • testprogs/TESTrun
  27. Change #277819

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 11 Aug 2026 13:21:50
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 0a472508b716f8796a9646455b480001c10c1825

    Comments

    translatetest: Get two function names right. [skip ci]

    Changed files

    • testprogs/translatetest.c
  28. Change #278232

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:48:05
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision a583f020af1668ed3d1dbc436d046f2b430d8c34

    Comments

    TESTrun: Factor normalise_expected_output() out.

    Changed files

    • testprogs/TESTrun
  29. Change #278233

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:49:01
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 5cac7852a115a57af7539bceb47ee73e76cb0427

    Comments

    enumeratetest: Add a new test program.
    The purpose of filtertest.c is to process one filter expression/program
    using the same set of functions and the purpose of translatetest.c is to
    process a single invocation of a function; both programs return the test
    result(s) no matter whether successful or not, so tests that invoke a
    function over a range of arguments and return successful results only
    need a separate test program.
    
    Add such a program, move enumerate_bpf_image() there and rewrite it as a
    few functions using strncmp(3) instead of strstr(3).  In TESTrun
    implement a new group of tests using the new program.

    Changed files

    • CHANGES
    • INSTALL.md
    • Makefile.in
    • testprogs/.gitignore
    • testprogs/CMakeLists.txt
    • testprogs/Makefile.in
    • testprogs/TESTrun
    • testprogs/enumeratetest.c
    • testprogs/filtertest.c
  30. Change #278234

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:49:03
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 25a649eb51cd0159fab264aad4bfa853931d1603

    Comments

    Start testing pcap_statustostr().

    Changed files

    • testprogs/TESTrun
    • testprogs/enumeratetest.c
    • testprogs/translatetest.c
  31. Change #278235

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:49:03
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 33ca9f7741ec291508fcd659b96e6b1ad9f26296

    Comments

    Return more useful strings from pcap_statustostr().
    In libpcap API return status 0 means success, so return "Success", not
    "Unknown error: 0".  Also describe unknown warnings as such, not as
    unknown errors.  Update the tests and the man page.

    Changed files

    • CHANGES
    • pcap.c
    • pcap_statustostr.3pcap
    • testprogs/TESTrun
    • testprogs/enumeratetest.c
  32. Change #278236

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:49:03
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 030ad47357d1d66fa35bb0bd48a634c01846a398

    Comments

    Start testing DLT and time stamp translation.

    Changed files

    • testprogs/TESTrun
    • testprogs/enumeratetest.c
  33. Change #278237

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 14 Aug 2026 12:49:03
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision add741b7951b2f87d959720f81ab9ce11213574b

    Comments

    Start testing the ctype-like macros.

    Changed files

    • testprogs/TESTrun
    • testprogs/enumeratetest.c
  34. Change #278257

    Category libpcap
    Changed by Francois-Xavier Le Bail <devel.fx.lebailohnoyoudont@orange.fr>
    Changed at Sat 15 Aug 2026 07:00:50
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision da43cb20b13439750cdc651dc2f82b5e263e0d2e

    Comments

    Rename SWAPSHORT(), SWAPLONG(), SWAPLL() to PCAP_BSWAP_({16,32,64})
    In particular, 'LONG' was ambiguous because it is 4 bytes in a 32-bit
    build and 8 bytes in a 64-bit build.
    
    Don't use BSWAP_({16,32,64}) to avoid redefine on Solaris/illumos.

    Changed files

    • CHANGES
    • gencode.c
    • pcap-dag.c
    • pcap-linux.c
    • pcap-util.c
    • pcap-util.h
    • sf-pcap.c
    • sf-pcapng.c
  35. Change #278258

    Category libpcap
    Changed by Francois-Xavier Le Bail <devel.fx.lebailohnoyoudont@orange.fr>
    Changed at Sat 15 Aug 2026 07:00:50
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 720fb235648dd06eaa5b0fc0e7b6bac84bf2bf28

    Comments

    Replace EXTRACT_SHORT by EXTRACT_BE_U_2, EXTRACT_LONG by EXTRACT_BE_U_4
    [skip ci]

    Changed files

    • CHANGES
    • bpf_filter.c
  36. Change #278487

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 17 Aug 2026 11:27:13
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision faa0f0f53bbc0c5a6a00e39442f537d853da3d4a

    Comments

    Add tests for the PCAP_BSWAP_ macros.

    Changed files

    • testprogs/TESTrun
    • testprogs/translatetest.c
  37. Change #278488

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 17 Aug 2026 11:27:14
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision f24d2e43be71d100ea723958cb59b8efa5ed1b35

    Comments

    Detect __builtin_ctz() directly.
    LLVM has been implementing the builtin since release 1.6.  LLVM release
    2.1 had introduced Clang, which originally started to define GCC version
    macros the same way as GCC 4.0.1 and later went up to GCC 4.2.1.  Clang
    release 10.0 had introduced the "-fgnuc-version=" command-line option to
    override this default behaviour.  This way, the current guard condition
    of GCC >= 3.4 usually matches Clang as well, but this is neither obvious
    nor certain.
    
    TinyCC does not define GCC version macros, its latest stable release at
    the time of this writing ("0.9.27", __TINYC__ == 927) does not support
    the builtin.  Later development snapshots started to support the builtin
    whilst still declaring __TINYC__ to 927, later __TINYC__ became 928, but
    the version is still "0.9.28rc".  This way, the current guard condition
    does not match TinyCC and cannot be extended to match, in a reliable
    manner, versions that support the builtin.
    
    Reduce this problem space to the only factor that matters: whether the
    compiler in fact implements the builtin.  This detects the expected
    results for:
    
    * GCC 14.2.0 (positive)
    * Clang 19.1.7 (positive)
    * TinyCC 0.9.27 (negative)
    * TinyCC 0.9.28rc mob@2be0218b (positive)
    * Sun C 5.15 (negative)

    Changed files

    • CMakeLists.txt
    • cmakeconfig.h.in
    • configure.ac
    • optimize.c
  38. Change #278714

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 17 Aug 2026 23:17:03
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 4c93eca12cff62fe4405c373bda752819416029a

    Comments

    Eliminate an UB in enumerate_bpf_space().
    As Francois-Xavier points out:
    
    enumeratetest.c:87:20: runtime error: implicit conversion from type
      'int' of value 65536 (32-bit, signed) to type 'u_short' (aka 'unsigned
      short') changed the value to 0 (16-bit, unsigned)
    
    Have each of the two loops iterate from the minimum to the maximum
    exactly without involving (and depending on) any overflows.

    Changed files

    • testprogs/enumeratetest.c
  39. Change #278810

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Thu 20 Aug 2026 13:34:32
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 229ba9f3498cd909cf0c7f439200c6e266ebbea8

    Comments

    pcap-util: clean up the byte-swapping macros.
    Use the same code style as PCAP_BSWAP_64() for PCAP_BSWAP_32() and
    PCAP_BSWAP_16().
    
    For all of them:
    
    - use uintNN_t types rather than u_short or u_int;
    - use UINTnn_C macros for the byte masks, so that the appropriate suffix
      is added (for example, if uint64_t is unsigned long, it will append UL
      rather than ULL to the constant if necessary);
    - put the (uintNN_t)(y) in parentheses;
    - put a final cast to the desired type around the entire expression,
      just as we were already doing for PCAP_BSWAP_16().
    
    Expand the comment before the macros to give additional information.
    
    Remove a no-longer-applies comment and and a now-unnecessary cast from
    testprogs/translatetest.c.

    Changed files

    • pcap-util.h
    • testprogs/translatetest.c
  40. Change #278811

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Thu 20 Aug 2026 13:44:41
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 925224432c686745c50795a0ebbcb3e97a68ca16

    Comments

    In PCAP_BSWAP_ use compiler builtins if available.
    Similarly to __builtin_ctz() earlier, for each of __builtin_bswap16(),
    __builtin_bswap32() and __builtin_bswap64() test if the compiler
    implements the builtin and use it instead of the respective bulky
    byte-swapping expression.  Add comments to clarify that different
    builtins require different methods of testing.

    Changed files

    • CMakeLists.txt
    • cmakeconfig.h.in
    • configure.ac
    • optimize.c
    • pcap-util.h
  41. Change #278869

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 21 Aug 2026 14:18:54
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 13a9dca6cb010472cde6e41f29deb5fd1ab29ef3

    Comments

    Lose two type casts of pcap_t.buffer.
    These have been no-op since commit f8e510a.

    Changed files

    • pcap-netfilter-linux.c
    • pcap-rpcap.c
  42. Change #278870

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 21 Aug 2026 14:35:13
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 6e82f0bd896193e8dfe8c77ffbd19d2e9b06b0f0

    Comments

    Refine function name quoting in a few messages.

    Changed files

    • pcap-rpcap.c
    • testprogs/findalldevstest.c
  43. Change #278871

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Fri 21 Aug 2026 14:36:47
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 7fc0bcd48aee89f0b09fdc1c10346fe55b386a80

    Comments

    Fix a couple typos in comments. [skip ci]

    Changed files

    • pcap-rpcap.c
    • rpcapd/daemon.c
  44. Change #279774

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 11:43:25
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 3dd718c673a8d8a4d29f020070137da1a40264df

    Comments

    optimizer: Fix stale mentions of "malloc".
    opt_init() has been using calloc(3) since commit 6adab10 in 2007.

    Changed files

    • optimize.c
  45. Change #279777

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 11:44:04
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 2649f805aed8f7d8236a5d41fe8e0233f345396b

    Comments

    optimizer: In icode_to_fcode() just use calloc(3).
    There is no sense in improvising it.

    Changed files

    • optimize.c
  46. Change #279779

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 11:44:09
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 30f46a0cadc2810e5556f1a94634236fedeba490

    Comments

    optimizer: Improve some comments.
    In opt_peep() fix spelling and note that clearing BPF_X produces BPF_K.
    
    In intern_blocks() the "don't shadow global" note refers to the renaming
    of the local variable 'done' to 'done1' in commit a6186fa (2007), which
    made sense at the time, but the global variable 'done' has been removed
    in commit fb20696 (2016).  Do not rename the local variable back, but
    remove the stale comment.
    
    Reword the dot_dump() comment for clarity.

    Changed files

    • optimize.c
  47. Change #279783

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 11:44:09
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 23db36e1047e622f25cfeb5cd31cb7b29573a4ba

    Comments

    optimizer: Constify some function parameters.
    Address the following cppcheck errors:
    
    optimize.c:421:23: style: Parameter 'opt_state' can be declared as
      pointer to const [constParameterPointer]
    optimize.c:470:52: style: Parameter 'root' can be declared as pointer to
      const [constParameterPointer]
    optimize.c:503:22: style: Parameter 's' can be declared as pointer to
      const [constParameterPointer]
    optimize.c:648:22: style: Parameter 'opt_state' can be declared as
      pointer to const [constParameterPointer]
    optimize.c:648:47: style: Parameter 'root' can be declared as pointer to
      const [constParameterPointer]
    optimize.c:1582:28: style: Parameter 'b' can be declared as pointer to
      const [constParameterPointer]
    optimize.c:1582:45: style: Parameter 'succ' can be declared as pointer
      to const [constParameterPointer]
    optimize.c:2137:52: style: Parameter 'root' can be declared as pointer
      to const [constParameterPointer]

    Changed files

    • optimize.c
  48. Change #279786

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 12:09:26
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 89b13df76e1126b490903a02ba6b6da8f719ddc7

    Comments

    optimizer: Improve various DOT-related aspects.
    Merge the code common to dot_dump() and plain_dump() into opt_dump().
    This reduces plain_dump() to two lines of code, so merge the function
    into opt_dump() as well.  In dot_dump() set DOT defaults to render nodes
    as boxes and to use a fixed-width font for nodes and edges.
    
    In dot_dump_edge() test both JT and JF before dereferencing each, lose
    trailing space in the output and do not specify a port for the
    destination node.
    
    In dot_dump_node() constify two variables, switch to unsigned, reduce
    the scope and lose a type cast.  Remove the "shape" attribute because
    dot_dump() specifies the default now, remove the "id" attribute because
    it has no purpose in the graph, for the "label" attribute align every
    line of text to the left.  Ibid., add a comma before any "tooltip"
    attribute and print the attribute only if any values are known for the
    current block; to that end, replace a common expression with a new
    IS_KNOWN() macro and apply it to A_ATOM and X_ATOM as well; consider A
    and X for printing before the scratch memory, not after.  Test both JT
    and JF before producing any "peripheries" attribute.
    
    Constify a few more function parameters.  In the comment before
    dot_dump() update the example output, which now looks a bit more like
    what the current BPF Exam renders.

    Changed files

    • CHANGES
    • gencode.h
    • optimize.c
  49. Change #279788

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 25 Aug 2026 12:10:15
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 106244265f05d79420f2e87ad0c45cf81262be6a

    Comments

    optimizer: Defluff some code in eq_slist().
    Instead of reimplementing this_op() just use it.  Comment and condense
    the end-of-list checks, the latter addresses a cppcheck error:
    
    optimize.c:2336:13: style: Return value 'x==0' is always false
      [knownConditionTrueFalse]

    Changed files

    • optimize.c
  50. Change #279789

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Wed 26 Aug 2026 00:24:51
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision b3928479e954e1e13569d9b99cadaed6a51d5f93

    Comments

    optimizer: Mind 'k' better in 'opcode' context.
    In opt_peep() zero 'k' when converting an instruction that uses it
    ("ldx M[k]") to an instruction that does not ("tax").  Introduce
    pcapint_opcode_without_k(), in eq_slist() use it to compare 'k' only if
    'k' is a part of the instruction.  Add a test for the new function,
    exempt enumeratetest from building and respective tests from running on
    Windows.  This does not fix any known bugs, but hopefully makes new ones
    less likely.

    Changed files

    • optimize.c
    • pcap-int.h
    • testprogs/CMakeLists.txt
    • testprogs/TESTrun
    • testprogs/enumeratetest.c
  51. Change #280040

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 31 Aug 2026 00:14:25
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 19395175be1c38d930f80000b1ef71e8a9cdd9ad

    Comments

    Cirrus CI has shut down. [skip ci]

    Changed files

    • .cirrus.yml
  52. Change #280060

    Category libpcap
    Changed by Francois-Xavier Le Bail <devel.fx.lebailohnoyoudont@orange.fr>
    Changed at Mon 31 Aug 2026 10:36:59
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 760fb1897463df70e74fa2efab1e28d39a308dc9

    Comments

    Fix building libpcap with CMake without libnl-genl-3-dev
    libpcap now require libnl-genl-3 only because the latter requires
    libnl-3.
    
    The error was:
    $ MATRIX_CC=gcc MATRIX_CMAKE=yes MATRIX_REMOTE=no MATRIX_PROTOCHAIN=no \
      ./build_matrix.sh
    ...
    /usr/bin/ld: cannot find -lnl-genl-3: No such file or directory
    collect2: error: ld returned 1 exit status
    [ 61%] Building C object CMakeFiles/pcap_static.dir/sf-pcapng.c.o
    make[2]: *** [CMakeFiles/pcap.dir/build.make:530: libpcap.so.1.11.0-PRE-GIT] Error 1
    make[1]: *** [CMakeFiles/Makefile2:166: CMakeFiles/pcap.dir/all] Error 2

    Changed files

    • CMakeLists.txt
  53. Change #280132

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Mon 31 Aug 2026 17:16:40
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 8d6fce214e79e397089ba11dc0ebcd8fce3dbab9

    Comments

    Update Haiku particulars for R1/beta6. [skip ci]
    Update the README file and document a new warning from Clang 22.
    
    > uname -srvm
    Haiku R1~beta6 hrev59866+79 Aug 25 2026 03:02: x86_64
    
    > clang --version
    clang version 22.1.8
    Target: x86_64-unknown-haiku
    Thread model: posix
    InstalledDir: /boot/system/bin

    Changed files

    • build.sh
    • doc/README.haiku.md
  54. Change #280434

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 01 Sep 2026 14:17:09
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 899f200d1e9d9627abd039cefd66f209db264963

    Comments

    netmap: Improve ioctl(2) error handling.
    In pcap_netmap_ioctl() fill the error buffer with a useful message
    before returning PCAP_ERROR.  In pcap_netmap_close() do not attempt
    SIOCSIFFLAGS if SIOCGIFFLAGS has failed.  In pcap_netmap_activate()
    propagate the error if either SIOCGIFFLAGS or SIOCSIFFLAGS has failed.
    
    This does not fix a known bug and does not make a previously unknown bug
    manifest, but could make a future problem easier to debug.

    Changed files

    • pcap-netmap.c
  55. Change #280435

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 01 Sep 2026 14:20:35
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 2b7dd5fc505ac666087a9fdd794a5d5dc010fe9d

    Comments

    QNX: Fix promiscuous mode for netmap.
    When FreeBSD network stack is in use, redefining IFF_PPROMISC to
    IFF_PROMISC causes two effects: one is a compiler warning and another is
    that in netmap mode the network interface never enters promiscuous mode
    because a userland request to change IFF_PROMISC is a no-op.
    
    To fix this, in pcap-netmap.c treat QNX the same way as FreeBSD and add
    a comment with the rationale.  This addresses one warning that is
    specific to a cross-compiled build on Linux for QNX (so the exemption
    should have been conditional to Linux instead) and has been tested using
    QNX SDP 8.0.5 and aarch64-unknown-nto-qnx8.0.0-gcc 12.2.0.

    Changed files

    • CHANGES
    • build.sh
    • pcap-netmap.c
  56. Change #280436

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Tue 01 Sep 2026 14:20:39
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision 1d567321ce8b1065c10b461a4a072e504496d4a6

    Comments

    Make QNX build warning-free.
    In pcap_read_bpf() the warning is noise and has the same root cause as
    in commit 909eeb4 earlier, so squelch it the same way.  This addresses
    the last remaining warning, which is specific to a native build on QNX,
    and has been tested using QSTI build 297 and QNX clang 21.1.3.

    Changed files

    • CHANGES
    • build.sh
    • pcap-bpf.c
  57. Change #280437

    Category libpcap
    Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
    Changed at Wed 02 Sep 2026 14:02:27
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision c23873049122165eaeb3f60d1f54565116fceaf1

    Comments

    free(3) argument needs no type cast.

    Changed files

    • gencode.c
    • optimize.c
    • pcap-options.c
  58. Change #280454

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Wed 02 Sep 2026 15:31:25
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision e3e8e5356c99804c5a9dde76fabe32fc0d2680f6

    Comments

    Suppress sanitizer warnings for unsigned left shifts.
    Since LLVM 12, Clang has included a sanitizer for left shifts of
    unsigned values that shift 1 bits out the top. We do shifts like that in
    some places, but that's not a problem in the cases where we're doing it.
    
    (You don't get those warnings by default, but you do get it with
    "-fsanitize=integer".)
    
    Add attributes to suppress those warnings in functions that do shifts of
    that sort.
    
    Addresses the issues in #1729.

    Changed files

    • Makefile.in
    • gencode.c
    • no_sanitize.h
    • optimize.c