brew install wireshark 失敗した
brew install wireshark Warning: Treating wireshark as a formula. For the cask, use homebrew/cask/wireshark ==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/manifests/1.17.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/blobs/sha256:514de64e48f4d2c6e448547a30ba03f613b899f30f97f9026740c59eb3f49aeb ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:514de64e48f4d2c6e448547a30ba03f613b899f30f97f9026740c5 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.3_3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/blobs/sha256:8a7a02cffb368dfdeaeb1176a7a7bcc6402371aee0a30bb001aff3452a4202c6 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:8a7a02cffb368dfdeaeb1176a7a7bcc6402371aee0a30bb001aff3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/manifests/3.9.6 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/blobs/sha256:1397f8fbb9c5858aa02b0177787cb74b8eb0dfede69fc37b64e2787d76baf2fe ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:1397f8fbb9c5858aa02b0177787cb74b8eb0dfede69fc37b64e278 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.68.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:ebfa4f4aa16221f88df0259b2468c23a43d86a0c0fb5fb39b4ceb8cdebc3502a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ebfa4f4aa16221f88df0259b2468c23a43d86a0c0fb5fb39b4ceb8 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.2.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:6a44705536f25c4b9f8547d44d129ae3b3657755039966ad2b86b821e187c32c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6a44705536f25c4b9f8547d44d129ae3b3657755039966ad2b86b8 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/manifests/8.0.4_2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/blobs/sha256:af8bfafe1425f3cc9923bd49a375f85c13255124ed7a952137fe924431adc1c4 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:af8bfafe1425f3cc9923bd49a375f85c13255124ed7a952137fe92 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.4.6_3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:a70ed5b9d74ec3b06bfc202ab36491c3ecd3da4ff2b602478675ba0c533aa466 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a70ed5b9d74ec3b06bfc202ab36491c3ecd3da4ff2b602478675ba ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/manifests/0.9.10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:5d336bd939f678b48dc1ced97ed0def383999638d80caa8cb2da780594556524 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5d336bd939f678b48dc1ced97ed0def383999638d80caa8cb2da78 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/guile/manifests/3.0.7 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/guile/blobs/sha256:776b3c2922a166b53c4613ff04fcd2d031a5cc34108f753c9b2857a271f89163 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:776b3c2922a166b53c4613ff04fcd2d031a5cc34108f753c9b2857 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/manifests/2.3.1-1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:25c6ccfc501690f453ebcb4ce56609bcfa3ba915da6dd29ecbf9afe0e3ef321b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:25c6ccfc501690f453ebcb4ce56609bcfa3ba915da6dd29ecbf9af ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/manifests/4.17.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/blobs/sha256:a045a7b16828e7c18bad248feb37207815daea23ff313c1cd6e94e94b222bb73 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a045a7b16828e7c18bad248feb37207815daea23ff313c1cd6e94e ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nettle/manifests/3.7.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nettle/blobs/sha256:80fa0a047c3d08ccb47c8820a566d187365e8ea75e0cdf903ef0653d3aa3bb67 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:80fa0a047c3d08ccb47c8820a566d187365e8ea75e0cdf903ef065 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/manifests/0.24.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/blobs/sha256:d72ad488a7efacfbd178e3c95fbc2315661cf27071500c05ff267abd196e2970 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d72ad488a7efacfbd178e3c95fbc2315661cf27071500c05ff267a ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jemalloc/manifests/5.2.1_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jemalloc/blobs/sha256:7797788be2da677a8343ac6199e2f180c2e6b627c0b9abc9da133fbc34e86678 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:7797788be2da677a8343ac6199e2f180c2e6b627c0b9abc9da133f ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libev/manifests/4.33 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libev/blobs/sha256:95ddf4b85924a6a10d4a88b6eb52616fa8375e745c99d0752618d5bb82f5248a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:95ddf4b85924a6a10d4a88b6eb52616fa8375e745c99d0752618d5 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/manifests/1.43.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/blobs/sha256:e6112c4ce4b08b60edbb3d7fca3e22498bbe1881bd6ca95df52b9f2726b0c62a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e6112c4ce4b08b60edbb3d7fca3e22498bbe1881bd6ca95df52b9f ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/manifests/1.13.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/blobs/sha256:c29ad2474ecb496f9e98a7389485cac2c542d8515d5fd2810bed05f206350a21 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:c29ad2474ecb496f9e98a7389485cac2c542d8515d5fd2810bed05 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/manifests/3.6.16 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/blobs/sha256:49e6f4d5d47e7d241b1c931593a74cbdef02e74ed01788b8b8c8ff2da75e22db ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:49e6f4d5d47e7d241b1c931593a74cbdef02e74ed01788b8b8c8ff ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libgpg-error/manifests/1.42 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libgpg-error/blobs/sha256:453688272ae89f5f4b5a852ec1c2c31d3c2410abb95ca5039f5a0d4edfc4b64b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:453688272ae89f5f4b5a852ec1c2c31d3c2410abb95ca5039f5a0d ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libgcrypt/manifests/1.9.3_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libgcrypt/blobs/sha256:20ad92478a6775e5f7a1eb47a5313acdd70f3ffd42bf8aef0e34ef525253f265 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:20ad92478a6775e5f7a1eb47a5313acdd70f3ffd42bf8aef0e34ef ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libmaxminddb/manifests/1.6.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libmaxminddb/blobs/sha256:44c4fa58c0113cb4e8784ac6fe0dfc7d2fc21d163c2c939171d83c45f5f70c8c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:44c4fa58c0113cb4e8784ac6fe0dfc7d2fc21d163c2c939171d83c ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libsmi/manifests/0.5.0-1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libsmi/blobs/sha256:5c3ea572911edc5c6beb54b78e34d840dc458d6b0b5f465298fd0fe673f117be ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5c3ea572911edc5c6beb54b78e34d840dc458d6b0b5f465298fd0f ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.9.5_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libssh/blobs/sha256:ba9752b774a055a0df12b12cb76c8faed66b13de0f8ebbb8d415dae9f21a899d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ba9752b774a055a0df12b12cb76c8faed66b13de0f8ebbb8d415da ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/lua/manifests/5.4.3-1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/lua/blobs/sha256:e59dc980047218242a11cd735216b5ec881c45c60f50fffd5edd68450c281b94 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e59dc980047218242a11cd735216b5ec881c45c60f50fffd5edd68 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/wireshark/manifests/3.4.7 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/wireshark/blobs/sha256:6f4e65abf38e75fabf26c88c20925298787e9003de581b28bad735d0a3951046 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6f4e65abf38e75fabf26c88c20925298787e9003de581b28bad735 ######################################################################## 100.0% ==> Installing dependencies for wireshark: c-ares, libffi, python@3.9, glib, gmp, bdw-gc, libtool, libunistring, guile, libidn2, libtasn1, nettle, p11-kit, jemalloc, libev, nghttp2, unbound, gnutls, libgpg-error, libgcrypt, libmaxminddb, libsmi, libssh and lua ==> Installing wireshark dependency: c-ares ==> Pouring c-ares--1.17.1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/c-ares/1.17.1: 85 files, 672.5KB ==> Installing wireshark dependency: libffi ==> Pouring libffi--3.3_3.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libffi/3.3_3: 17 files, 540.5KB ==> Installing wireshark dependency: python@3.9 ==> Pouring python@3.9--3.9.6.big_sur.bottle.tar.gz ==> /usr/local/Cellar/python@3.9/3.9.6/bin/python3 -m ensurepip ==> /usr/local/Cellar/python@3.9/3.9.6/bin/python3 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/pyth 🍺 /usr/local/Cellar/python@3.9/3.9.6: 3,078 files, 54.6MB ==> Installing wireshark dependency: glib ==> Pouring glib--2.68.3.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/glib/2.68.3: 442 files, 21MB ==> Installing wireshark dependency: gmp ==> Pouring gmp--6.2.1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/gmp/6.2.1: 21 files, 3.3MB ==> Installing wireshark dependency: bdw-gc ==> Pouring bdw-gc--8.0.4_2.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/bdw-gc/8.0.4_2: 69 files, 1.6MB ==> Installing wireshark dependency: libtool ==> Pouring libtool--2.4.6_3.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libtool/2.4.6_3: 71 files, 3.7MB ==> Installing wireshark dependency: libunistring ==> Pouring libunistring--0.9.10.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libunistring/0.9.10: 55 files, 4.5MB ==> Installing wireshark dependency: guile ==> Pouring guile--3.0.7.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/guile/3.0.7: 838 files, 56.8MB ==> Installing wireshark dependency: libidn2 ==> Pouring libidn2--2.3.1.big_sur.bottle.1.tar.gz 🍺 /usr/local/Cellar/libidn2/2.3.1: 73 files, 812.3KB ==> Installing wireshark dependency: libtasn1 ==> Pouring libtasn1--4.17.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libtasn1/4.17.0: 61 files, 640.3KB ==> Installing wireshark dependency: nettle ==> Pouring nettle--3.7.3.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/nettle/3.7.3: 89 files, 2.7MB ==> Installing wireshark dependency: p11-kit ==> Pouring p11-kit--0.24.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/p11-kit/0.24.0: 63 files, 3.1MB ==> Installing wireshark dependency: jemalloc ==> Pouring jemalloc--5.2.1_1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/jemalloc/5.2.1_1: 16 files, 2MB ==> Installing wireshark dependency: libev ==> Pouring libev--4.33.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libev/4.33: 12 files, 484.0KB ==> Installing wireshark dependency: nghttp2 ==> Pouring nghttp2--1.43.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/nghttp2/1.43.0: 24 files, 2.8MB ==> Installing wireshark dependency: unbound ==> Pouring unbound--1.13.1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/unbound/1.13.1: 57 files, 5.4MB ==> Installing wireshark dependency: gnutls ==> Pouring gnutls--3.6.16.big_sur.bottle.tar.gz ==> Regenerating CA certificate bundle from keychain, this may take a while... 🍺 /usr/local/Cellar/gnutls/3.6.16: 1,250 files, 11MB ==> Installing wireshark dependency: libgpg-error ==> Pouring libgpg-error--1.42.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libgpg-error/1.42: 27 files, 1MB ==> Installing wireshark dependency: libgcrypt ==> Pouring libgcrypt--1.9.3_1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libgcrypt/1.9.3_1: 23 files, 3.1MB ==> Installing wireshark dependency: libmaxminddb ==> Pouring libmaxminddb--1.6.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libmaxminddb/1.6.0: 30 files, 218.0KB ==> Installing wireshark dependency: libsmi ==> Pouring libsmi--0.5.0.big_sur.bottle.1.tar.gz 🍺 /usr/local/Cellar/libsmi/0.5.0: 476 files, 20.3MB ==> Installing wireshark dependency: libssh ==> Pouring libssh--0.9.5_1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libssh/0.9.5_1: 23 files, 1.2MB ==> Installing wireshark dependency: lua ==> Pouring lua--5.4.3.big_sur.bottle.1.tar.gz 🍺 /usr/local/Cellar/lua/5.4.3: 29 files, 743.6KB ==> Installing wireshark ==> Pouring wireshark--3.4.7.big_sur.bottle.tar.gz ==> Caveats This formula only installs the command-line utilities by default. Install Wireshark.app with Homebrew Cask: brew install --cask wireshark If your list of available capture interfaces is empty (default macOS behavior), install ChmodBPF: brew install --cask wireshark-chmodbpf ==> Summary 🍺 /usr/local/Cellar/wireshark/3.4.7: 1,182 files, 96.1MB ==> Upgrading 1 dependent: ansible 4.1.0 -> 4.2.0 ==> Upgrading ansible 4.1.0 -> 4.2.0 ==> Downloading https://ghcr.io/v2/homebrew/core/ansible/manifests/4.2.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/ansible/blobs/sha256:6d381c4cddef0c63cba4ba3dda87d53225a7c2c4e7fa9ac01801e5133126782c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6d381c4cddef0c63cba4ba3dda87d53225a7c2c4e7fa9ac01801e5 ######################################################################## 100.0% ==> Pouring ansible--4.2.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/ansible/4.2.0: 41,122 files, 391.6MB Removing: /usr/local/Cellar/ansible/4.1.0... (41,450 files, 385.1MB) Error: Directory not empty @ dir_s_rmdir - /usr/local/Cellar/ansible/4.1.0
brew install --cask wireshark で再チャレンジ
brew install --cask wireshark ==> Downloading https://2.na.dl.wireshark.org/osx/Wireshark%203.4.7%20Intel%2064.dmg ######################################################################## 100.0% ==> Installing Cask wireshark ==> Running installer for wireshark; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. Password: Sorry, try again. Password: installer: Package name is Add Wireshark to the system PATH installer: Installing at base path / installer: The install was successful. ==> Running installer for wireshark; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. installer: Package name is ChmodBPF installer: Installing at base path / installer: The install was successful. ==> Moving App 'Wireshark.app' to '/Applications/Wireshark.app' ==> Backing App 'Wireshark.app' up to '/usr/local/Caskroom/wireshark/3.4.7/Wireshark.app' ==> Removing App '/Applications/Wireshark.app' ==> Purging files for version 3.4.7 of Cask wireshark Error: It seems there is already a Binary at '/usr/local/bin/editcap'.
失敗した どうもさっきのインストール失敗したのが残っているみたい
brew list
消す
brew uninstall wireshark Warning: Treating wireshark as a formula. For the cask, use homebrew/cask/wireshark Uninstalling /usr/local/Cellar/wireshark/3.4.7... (1,182 files, 96.1MB)
再度
brew install --cask wireshark ==> Downloading https://2.na.dl.wireshark.org/osx/Wireshark%203.4.7%20Intel%2064.dmg Already downloaded: /Users/matsuno-taishi/Library/Caches/Homebrew/downloads/dbe32c2fb151fe2350df25030f5bbe9a83df5107710e2b60e965c3394ce08087--Wireshark 3.4.7 Intel 64.dmg ==> Installing Cask wireshark ==> Running installer for wireshark; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. installer: Package name is Add Wireshark to the system PATH installer: Upgrading at base path / installer: The upgrade was successful. ==> Running installer for wireshark; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. installer: Package name is ChmodBPF installer: Upgrading at base path / installer: The upgrade was successful. ==> Moving App 'Wireshark.app' to '/Applications/Wireshark.app' ==> Linking Binary 'editcap' to '/usr/local/bin/editcap' ==> Linking Binary 'idl2wrs' to '/usr/local/bin/idl2wrs' ==> Linking Binary 'mergecap' to '/usr/local/bin/mergecap' ==> Linking Binary 'mmdbresolve' to '/usr/local/bin/mmdbresolve' ==> Linking Binary 'randpkt' to '/usr/local/bin/randpkt' ==> Linking Binary 'reordercap' to '/usr/local/bin/reordercap' ==> Linking Binary 'sharkd' to '/usr/local/bin/sharkd' ==> Linking Binary 'text2pcap' to '/usr/local/bin/text2pcap' ==> Linking Binary 'tshark' to '/usr/local/bin/tshark' ==> Linking Binary 'androiddump' to '/usr/local/bin/androiddump' ==> Linking Binary 'ciscodump' to '/usr/local/bin/ciscodump' ==> Linking Binary 'randpktdump' to '/usr/local/bin/randpktdump' ==> Linking Binary 'sshdump' to '/usr/local/bin/sshdump' ==> Linking Binary 'udpdump' to '/usr/local/bin/udpdump' ==> Linking Binary 'rawshark' to '/usr/local/bin/rawshark' ==> Linking Binary 'capinfos' to '/usr/local/bin/capinfos' ==> Linking Binary 'captype' to '/usr/local/bin/captype' ==> Linking Binary 'dftest' to '/usr/local/bin/dftest' ==> Linking Binary 'dumpcap' to '/usr/local/bin/dumpcap' 🍺 wireshark was successfully installed!
macのtarcerouteでUDPを出す方法
調べていると下記コマンドで出せると書いてあったが
traceroute -U -p ポート番号 [ホスト名 or IPアドレス]
manを見ると存在しない
SYNOPSIS traceroute [-adeFISdNnrvx] [-A as_server] [-f first_ttl] [-g gateway] [-i iface] [-M first_ttl] [-m max_ttl] [-P proto] [-p port] [-q nqueries] [-s src_addr] [-t tos] [-w waittime] [-z pausemsecs] host [packetsize]
その代わり -Pがあって
-P proto
Send packets of specified IP protocol. The
currently supported protocols are: UDP ,
TCP , GRE and ICMP Other protocols may also
be specified (either by name or by number),
though traceroute does not implement any
special knowledge of their packet formats.
This option is useful for determining which
router along a path may be blocking packets
based on IP protocol number. But see BUGS
below.
と書いてある
But see BUGS below.
ってなんだろ、、
BUGS When using protocols other than UDP, functionality is reduced. In particular, the last packet will often appear to be lost, because even though it reaches the des- tination host, there's no way to know that because no ICMP message is sent back. In the TCP case, traceroute should listen for a RST from the destination host (or an intermediate router that's filtering packets), but this is not implemented yet.
The AS number capability reports information that may sometimes be inaccurate due
to discrepancies between the contents of the routing database server and the cur-
rent state of the Internet.
MACでやる場合は
traceroute -P UDP -p ポート番号 [ホスト名 or IPアドレス]
かな
そもそもデフォルトUDPだから
traceroute -p ポート番号 [ホスト名 or IPアドレス]
だけでよかったかもしれない
macOS Catalina 10.15.4 の証明書の信頼はSANのみ
ADCSで作成したサーバ証明書がMojave ではエラーがでず Catalinaでは証明書エラーが出るなぁと調べたところ
https://support.apple.com/ja-jp/HT21017OS
TLS サーバ証明書は、証明書の SAN (Subject Alternative Name) 拡張領域にサーバの DNS 名を記述する必要がある。
証明書の CommonName の DNS 名は今後は信頼されなくなります。
これでSANで作り直す必要あり
追記
Chromeで CommonNameだけだとエラーでるなーって思ったらSANがないとダメなんだ。。
blog.fileshelfplus.com
brew update 失敗
brew update を行ったところ 下記が出てUpdateできなかった。
✗ brew update BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing [ghq "CODECOMMIT-URL"] BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing Error: Fetching /usr/local/Homebrew failed! Fetching /usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts failed! Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed! Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed! Fetching /usr/local/Homebrew/Library/Taps/nnao45/homebrew-pexpo failed!
brewを削除して再インストールしたらできたが brew installしているとまたUpdateができなくなった。 原因は
brew instsall git
でinstallすると .gitconfigの中の http.postBufferが問題ぽい
[http] postBuffer = 100
なぜこの設定をしたかが忘れてしまったが
[http] postBuffer = 157286400
に変更