diff --git a/.github/Dockerfile.tshark b/.github/Dockerfile.tshark index 6c570092f4..38a6e00aee 100644 --- a/.github/Dockerfile.tshark +++ b/.github/Dockerfile.tshark @@ -1,19 +1,21 @@ -FROM ubuntu:20.04 +FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN \ set -eux; \ apt-get -o Acquire::Retries=3 update; \ - apt-get -o Acquire::Retries=3 install -y cmake libglib2.0-dev libc-ares-dev libgcrypt20-dev flex bison byacc libpcap-dev ninja-build wget build-essential; + apt-get -o Acquire::Retries=3 install -y cmake libglib2.0-dev libc-ares-dev libgcrypt20-dev flex bison byacc libpcap-dev ninja-build wget build-essential libnghttp3-dev libnghttp2-dev; -ARG version="4.0.2" +ARG version="4.2.3" RUN \ set -eux; \ wget https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz; \ tar xf wireshark-${version}.tar.xz; \ cd wireshark-${version}; \ - cmake -GNinja -DBUILD_wireshark=0 -DBUILD_qtshark=0 -DBUILD_editcap=1 -DBUILD_capinfos=0 -DBUILD_text2pcap=0 -DBUILD_rawshark=0 -DBUILD_sdjournal=0 -DBUILD_sshdump=0 -DBUILD_ciscodump=0 -DENABLE_STATIC=1 -DENABLE_PLUGINS=0 -DENABLE_LIBXML2=0 -DUSE_STATIC=1 -DENABLE_GNUTLS=1 .; \ + cmake -GNinja \ + -DBUILD_wireshark=0 -DBUILD_qtshark=0 -DBUILD_editcap=1 -DBUILD_capinfos=0 -DBUILD_text2pcap=0 -DBUILD_rawshark=0 -DBUILD_sdjournal=0 -DBUILD_sshdump=0 -DBUILD_ciscodump=0 -DBUILD_androiddump=0 -DBUILD_captype=0 -DBUILD_dcerpcidl2wrs=0 -DBUILD_sharkd=0 -DBUILD_wifidump=0 -DBUILD_randpktdump=0 -DBUILD_mmdbresolve=0 -DBUILD_udpdump=0 \ + -DENABLE_STATIC=1 -DENABLE_LTO=1 -DENABLE_PCAP=0 -DENABLE_PLUGINS=0 -DENABLE_LIBXML2=0 -DUSE_STATIC=1 -DENABLE_GNUTLS=1 -DENABLE_SBC=0 -DENABLE_SPANDSP=0 -DENABLE_BCG729=0 .; \ ninja; \ cp run/tshark run/editcap /usr/local/bin/; diff --git a/.github/workflows/qns.yml b/.github/workflows/qns.yml index 08429fb653..8640e0d59d 100644 --- a/.github/workflows/qns.yml +++ b/.github/workflows/qns.yml @@ -19,7 +19,7 @@ env: # This should be updated when updating wesleyrosenblum/quic-network-simulator NETWORK_SIMULATOR_REF: sha256:20abe0bed8c0e39e1d8750507b24295f7c978bdd7e05fa6f3a5afed4b76dc191 IPERF_ENDPOINT_REF: sha256:cb50cc8019d45d9cad5faecbe46a3c21dd5e871949819a5175423755a9045106 - WIRESHARK_VERSION: 3.7.1 + WIRESHARK_VERSION: 4.2.3 CDN: https://dnglbrstg7yg.cloudfront.net LOG_URL: logs/latest/SERVER_CLIENT/TEST/index.html diff --git a/.github/workflows/tshark.yml b/.github/workflows/tshark.yml index cf9099cd76..b2e1b3e667 100644 --- a/.github/workflows/tshark.yml +++ b/.github/workflows/tshark.yml @@ -23,14 +23,14 @@ on: version: description: 'wireshark version' required: true - default: '3.7.1' + default: '4.2.3' type: string jobs: build: runs-on: ubuntu-latest env: - WIRESHARK_VERSION: ${{ inputs.version || '3.7.1' }} + WIRESHARK_VERSION: ${{ inputs.version || '4.2.3' }} steps: - uses: actions/checkout@v4 @@ -46,14 +46,14 @@ jobs: cp /usr/local/bin/tshark /usr/local/bin/editcap /host-dir/ - uses: aws-actions/configure-aws-credentials@v4.0.2 - if: github.event_name == 'schedule' || github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name + if: github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.repository == github.event.pull_request.head.repo.full_name with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-west-1 - name: Upload to S3 - if: github.event_name == 'schedule' || github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name + if: github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.repository == github.event.pull_request.head.repo.full_name run: | aws s3 sync target/tshark "s3://s2n-quic-ci-artifacts/tshark" --acl private --follow-symlinks