brona / iproute2mac

CLI wrapper for basic network utilites on Mac OS X inspired with iproute2 on Linux systems - ip command.
MIT License
898 stars 73 forks source link

ip addr error: IndexError: list index out of range #56

Closed 0x67cq closed 2 months ago

0x67cq commented 3 months ago

OS Version 13.6.8 iproute2mac Version: 1.5.0 brew install: iproute2mac 1.5.0 is already installed and up-to-date.

Output:

    ➜ ip a
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 713, in <module>
    main(sys.argv[1:])
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/iproute2mac.py", line 96, in inner
    if not func(*args, **kwargs):
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 706, in main
    return cmd_func(argv, af, json_print, pretty_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/iproute2mac.py", line 96, in inner
    if not func(*args, **kwargs):
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 394, in do_addr
    return do_addr_show(argv, af, json_print, pretty_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 407, in do_addr_show
    return link_addr_show(argv, af, json_print, pretty_json, True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 106, in link_addr_show
    links = parse_ifconfig(res, af, address)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 31, in parse_ifconfig
    (ifname, flags, mtu, ifindex) = re.findall(
                                    ^^^^^^^^^^^
IndexError: list index out of range
brona commented 3 months ago

Thank you for the report. Can you please attach output of ifconfig -a -v ? Thank you

@signal-09 FYI

signal-09 commented 3 months ago

Thank you for the report. Can you please attach output of ifconfig -a -v ? Thank you

@signal-09 FYI

I'm unable to reproduce:

esimone@macOS-Ventura ~ % sw_vers 
ProductName:        macOS
ProductVersion:     13.6
BuildVersion:       22G120
esimone@macOS-Ventura ~ % ip a
1: lo0: <UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 status UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8
    inet6 ::1/128
    inet6 fe80::1/64
2: gif0: <POINTOPOINT,MULTICAST> mtu 1280 status UNKNOWN
    link/none
3: stf0: <> mtu 1280 status UNKNOWN
    link/unknown
4: anpi0: <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 status DOWN
    link/ether 8e:d2:98:3d:bb:bd brd ff:ff:ff:ff:ff:ff
    inet6 fe80::8cd2:98ff:fe3d:bbbd/64
5: en0: <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 status UP
    link/ether 2e:10:0e:90:0b:c3 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::48d:8a94:cba5:3ed7/64
    inet6 fd34:1552:2248:d54a:859:b331:756a:fb1b/64
    inet 192.168.108.4/24 brd 192.168.108.255
6: en1: <UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 status DOWN
    link/ether 8e:d2:98:3d:bb:9d brd ff:ff:ff:ff:ff:ff
10: utun3: <UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 status UNKNOWN
    link/none
    inet6 fe80::7e4f:470d:dc3a:1071/64
11: utun4: <UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 status UNKNOWN
    link/none
    inet6 fe80::f198:ab96:ebf2:6b0/64
12: utun5: <UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000 status UNKNOWN
    link/none
    inet6 fe80::ce81:b1c:bd2c:69e/64
esimone@macOS-Ventura ~ % ifconfig -a -v
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 index 1
    eflags=12000000<ECN_DISABLE,SENDLIST>
    xflags=4<NOAUTONX>
    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    inet 127.0.0.1 netmask 0xff000000 
    inet6 ::1 prefixlen 128 
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
    nd6 options=201<PERFORMNUD,DAD>
    link quality: 100 (good)
    state availability: 0 (true)
    timestamp: disabled
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 index 2
    eflags=1000000<ECN_ENABLE>
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
stf0: flags=0<> mtu 1280 index 3
    eflags=1000000<ECN_ENABLE>
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
anpi0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 4
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    xflags=2000<NOSHAPING>
    options=400<CHANNEL_IO>
    ether 8e:d2:98:3d:bb:bd 
    inet6 fe80::8cd2:98ff:fe3d:bbbd%anpi0 prefixlen 64 scopeid 0x4 
    netif: 689F5C64-6B6E-4A69-A704-A0E790C7F930
    flowswitch: ED8A149D-B513-4D45-8E5D-59DD881B6D99
    nd6 options=201<PERFORMNUD,DAD>
    media: none
    status: inactive
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 5
    eflags=410008c0<ACCEPT_RTADV,TXSTART,ARPLL,ECN_ENABLE,FASTLN_ON>
    options=463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO>
    ether 2e:10:0e:90:0b:c3 
    inet6 fe80::48d:8a94:cba5:3ed7%en0 prefixlen 64 secured scopeid 0x5 
    inet6 fd34:1552:2248:d54a:859:b331:756a:fb1b prefixlen 64 autoconf secured 
    inet 192.168.108.4 netmask 0xffffff00 broadcast 192.168.108.255
    netif: B21E250E-4438-4B26-9167-A0E3CF874B9B
    flowswitch: B40EE6E1-7B9C-4D91-B5CF-C072656CB0DD
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect <full-duplex,flow-control>
    status: active
    type: Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    unaligned pkts: 18171
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 6
    eflags=41000081<AUTOCONFIGURING,TXSTART,ECN_ENABLE,FASTLN_ON>
    options=400<CHANNEL_IO>
    ether 8e:d2:98:3d:bb:9d 
    netif: AC692277-917F-417E-BAF8-A6F66D72C559
    flowswitch: 9FD1FC52-6C7B-4D47-9798-6A62DAD1E470
    nd6 options=201<PERFORMNUD,DAD>
    media: none
    status: inactive
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 10
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::7e4f:470d:dc3a:1071%utun3 prefixlen 64 scopeid 0xa 
    nd6 options=201<PERFORMNUD,DAD>
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 index 11
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::f198:ab96:ebf2:6b0%utun4 prefixlen 64 scopeid 0xb 
    nd6 options=201<PERFORMNUD,DAD>
    agent domain:ids501 type:clientchannel flags:0xc3 desc:"IDSNexusAgent ids501 : clientchannel"
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun5: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000 index 12
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::ce81:b1c:bd2c:69e%utun5 prefixlen 64 scopeid 0xc 
    nd6 options=201<PERFORMNUD,DAD>
    agent domain:ids501 type:transport flags:0x4c3 desc:"IDSTransportAgent ids501 : transport"
    state availability: 0 (true)
    scheduler: FQ_CODEL 
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
esimone@macOS-Ventura ~ % ip -V
iproute2mac, v1.5.0
hhsnow commented 3 months ago

I'm seeing the same issue. I probably successfully last used iproute2mac commands within the last month on the same laptop.

MacOS: 14.6 iproute2mac: 1.5.0

❯ ip a
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 713, in <module>
    main(sys.argv[1:])
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/iproute2mac.py", line 96, in inner
    if not func(*args, **kwargs):
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 706, in main
    return cmd_func(argv, af, json_print, pretty_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/iproute2mac.py", line 96, in inner
    if not func(*args, **kwargs):
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 394, in do_addr
    return do_addr_show(argv, af, json_print, pretty_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 407, in do_addr_show
    return link_addr_show(argv, af, json_print, pretty_json, True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 106, in link_addr_show
    links = parse_ifconfig(res, af, address)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/iproute2mac/1.5.0/libexec/ip", line 31, in parse_ifconfig
    (ifname, flags, mtu, ifindex) = re.findall(
                                    ^^^^^^^^^^^
IndexError: list index out of range
❯ ifconfig -a -v
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 index 1
    eflags=12000000<ECN_DISABLE,SENDLIST>
    xflags=4<NOAUTONX>
    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    hwassist=29000ff<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_IP_FRAGS,CSUM_FRAGMENT,CSUM_TCPIPV6,CSUM_UDPIPV6,CSUM_FRAGMENT_IPV6,MULTIPAGES,TXSTATUS,SW_TIMESTAMP>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 1
    link quality: 100 (good)
    state availability: 0 (true)
    timestamp: disabled
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 index 2
    eflags=1000000<ECN_ENABLE>
    generation id: 2
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
stf0: flags=0<> mtu 1280 index 3
    eflags=1000000<ECN_ENABLE>
    generation id: 3
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
anpi1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 4
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    xflags=2000<NOSHAPING>
    options=400<CHANNEL_IO>
    ether 2e:16:13:d9:fa:b9
    netif: 678B7263-E9D7-4558-BE4B-4634ED023546
    media: none
    status: inactive
    generation id: 4
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
anpi0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 5
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    xflags=2000<NOSHAPING>
    options=400<CHANNEL_IO>
    ether 2e:16:13:d9:fa:b8
    netif: FFE0F7DA-D541-4DCF-AC1A-258B24560369
    media: none
    status: inactive
    generation id: 5
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 6
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=400<CHANNEL_IO>
    ether 2e:16:13:d9:fa:98
    netif: 997556A3-8801-4A06-B8C5-F20EB5589459
    flowswitch: 23F9FA9C-C33F-47A2-83D9-BEB1AF2B4C7D
    nd6 options=201<PERFORMNUD,DAD>
    media: none
    status: inactive
    generation id: 6
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 7
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=400<CHANNEL_IO>
    ether 2e:16:13:d9:fa:99
    netif: B67E525B-E875-4AED-8A5F-2C58CF43BAAA
    flowswitch: 5381AEB9-2526-439E-A260-CFB3AC6D2C95
    nd6 options=201<PERFORMNUD,DAD>
    media: none
    status: inactive
    generation id: 7
    type: USB Ethernet
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 8
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 36:32:70:3f:d9:00
    netif: 36A29A4C-2954-4A3A-A861-2787B66E08DE
    media: autoselect <full-duplex>
    status: inactive
    generation id: 8
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 9
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 36:32:70:3f:d9:04
    netif: 5077EC37-D29B-475B-BA8A-37BF74794443
    media: autoselect <full-duplex>
    status: inactive
    generation id: 9
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 10
    eflags=41010000<CLONE,ECN_ENABLE,FASTLN_ON>
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    hwassist=700067<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_TCPIPV6,CSUM_UDPIPV6,MULTIPAGES,TSO_V4,TSO_V6>
    ether 36:32:70:3f:d9:00
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x0
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 8 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en2 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 9 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    nd6 options=201<PERFORMNUD,DAD>
    media: <unknown type>
    status: inactive
    generation id: 10
    state availability: 0 (true)
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
ap1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 11
    eflags=45200080<TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 3e:06:30:39:1f:be
    inet6 fe80::3c06:30ff:fe39:1fbe%ap1 prefixlen 64 scopeid 0xb
    netif: 56CD49E8-CFEC-43EB-ACE1-32B179A4F6EE
    flowswitch: A3FAADE6-44D6-4831-B545-383723C57D73
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (<unknown type>)
    status: inactive
    generation id: 11
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 12
    eflags=452008d0<ADV_REPORT,ACCEPT_RTADV,TXSTART,ARPLL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 3c:06:30:39:1f:be
    inet6 fe80::1ccf:1df4:5bb0:8aed%en0 prefixlen 64 secured scopeid 0xc
    inet6 2603:7000:d83e:6943:497:cdd8:642e:dcd2 prefixlen 64 autoconf secured
    inet6 2603:7000:d83e:6943:f019:da4a:eb1f:2303 prefixlen 64 autoconf temporary
    inet 192.168.0.227 netmask 0xffffff00 broadcast 192.168.0.255
    netif: 789D8B41-87EB-423A-BA20-99F0A1DE4992
    flowswitch: 9EDF719A-AB17-4DE0-80E9-1AB5690A3E9B
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 12
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    agent domain:WiFiManager type:CallInProgress flags:0x3d desc:"WiFi"
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    uplink rate: 114.32 Mbps [eff] / 146.08 Mbps
    downlink rate: 114.32 Mbps [eff] / 146.08 Mbps [max]
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 13
    eflags=453e0080<TXSTART,LOCALNET_PRIVATE,ND6ALT,RESTRICTED_RECV,AWDL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether e2:15:c1:a8:20:95
    inet6 fe80::e015:c1ff:fea8:2095%awdl0 prefixlen 64 scopeid 0xd
    netif: FFD4600E-CFA7-431E-82AD-199A0F8966C5
    flowswitch: 80572234-230C-4548-B11A-E4376FCC615A
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 13
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    agent domain:com.apple.wifip2pd type:AWDL flags:0x203 desc:"com.apple.wifip2pd AWDL"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 14
    eflags=45200090<ADV_REPORT,TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    xflags=400<LOWLAT>
    options=400<CHANNEL_IO>
    ether e2:15:c1:a8:20:95
    inet6 fe80::e015:c1ff:fea8:2095%llw0 prefixlen 64 scopeid 0xe
    netif: 9F31AAC7-A790-4A74-8916-A16AF8382C42
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: inactive
    generation id: 14
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0x4c3 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 index 15
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::b20d:7f81:b8ac:55e3%utun0 prefixlen 64 scopeid 0xf
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 15
    agent domain:com.apple.rapport type:RapportNetworkAgent flags:0x7c3 desc:"Rapport Network Agent"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 16
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::9dc8:e77b:3812:2d12%utun1 prefixlen 64 scopeid 0x10
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 16
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 index 17
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::90af:a8f8:9d16:573%utun2 prefixlen 64 scopeid 0x11
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 17
    agent domain:ids501 type:clientchannel flags:0xc3 desc:"IDSNexusAgent ids501 : clientchannel"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000 index 18
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::ce81:b1c:bd2c:69e%utun3 prefixlen 64 scopeid 0x12
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 18
    agent domain:ids501 type:transport flags:0x4c3 desc:"IDSTransportAgent ids501 : transport"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 19
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::bd07:213:638a:3312%utun4 prefixlen 64 scopeid 0x13
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 19
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
vmenet0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 21
    eflags=51008080<TXSTART,ROUTER4,ECN_ENABLE,SENDLIST,FASTLN_ON>
    options=60<TSO4,TSO6>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 9e:d6:7e:b8:24:29
    media: autoselect
    status: active
    generation id: 32
    type: Ethernet
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL
    link rate: 100.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: enabled
    routermode6: enabled
bridge100: flags=8a63<UP,BROADCAST,SMART,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 index 22
    eflags=41018000<ROUTER4,CLONE,ECN_ENABLE,FASTLN_ON>
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    hwassist=700067<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_TCPIPV6,CSUM_UDPIPV6,MULTIPAGES,TSO_V4,TSO_V6>
    ether 3e:06:30:93:4f:64
    inet 192.168.64.1 netmask 0xffffff00 broadcast 192.168.64.255
    inet6 fe80::3c06:30ff:fe93:4f64%bridge100 prefixlen 64 scopeid 0x16
    inet6 fdd9:6e5:6223:2645:18e0:5f87:8f08:146a prefixlen 64 autoconf secured
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x0
    member: vmenet0 flags=10803<LEARNING,DISCOVER,PRIVATE,CSUM>
            ifmaxaddr 0 port 21 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
        checksum stats:
        in: IPv4=2 IPv6=9 UDP=2 TCP=0
            checksum offloaded: IPv4=2 UDP=2 TCP=0
        out: IPv4=0 IPv6=0 UDP=0 TCP=0
            checksum good sw: IPv4=0 UDP=0 TCP=0 hw: IPv4=0 UDP=0 TCP=0
            checksum bad sw: IPv4=0 UDP=0 TCP=0 hw: IPv4=0 UDP=0 TCP=0
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 33
    state availability: 0 (true)
    desc: com.apple.NetworkSharing
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: enabled
    routermode6: enabled
utun5: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420 index 20
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet 192.168.218.9 --> 192.168.218.9 netmask 0xffffff80
    generation id: 34
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
brona commented 3 months ago

Thanks @hhsnow, the breaking line was

bridge100: flags=8a63<UP,BROADCAST,SMART,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 index 22

With the new parsing logic, we were failing to accept the 8a63 as a hex value. I just committed fix, could you confirm it works for you?

git clone https://github.com/brona/iproute2mac.git
./iproute2mac/src/ip.py a

@0x67cq Can you please confirm as well? I would like to make sure there is not another case. Thanks

Since it is failing on the same line, I assume it is the same. I started v1.5.1 release at https://github.com/Homebrew/homebrew-core/pull/179829

hhsnow commented 2 months ago

@brona thanks, that fixed it for me.

0x67cq commented 2 months ago

@brona after update, it works fine. sorry about has no response since two week.

frankli0324 commented 2 months ago

hi I'm still getting similar issue on 1.5.3, should I start a new issue? here's my ifconfig -a -v:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 index 1
    eflags=12000000<ECN_DISABLE,SENDLIST>
    xflags=4<NOAUTONX>
    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    hwassist=29000ff<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_IP_FRAGS,CSUM_FRAGMENT,CSUM_TCPIPV6,CSUM_UDPIPV6,CSUM_FRAGMENT_IPV6,MULTIPAGES,TXSTATUS,SW_TIMESTAMP>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 1
    link quality: 100 (good)
    state availability: 0 (true)
    timestamp: disabled
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 index 2
    eflags=1000000<ECN_ENABLE>
    generation id: 2
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
stf0: flags=0<> mtu 1280 index 3
    eflags=1000000<ECN_ENABLE>
    generation id: 3
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 4
    eflags=21000080<TXSTART,ECN_ENABLE,DIRECTLINK>
    xflags=2000<NOSHAPING>
    ether ac:de:48:00:11:22
    inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (100baseTX <full-duplex>)
    status: active
    generation id: 4
    type: Ethernet
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL
    link rate: 100.00 Mbps
    qosmarking enabled: no mode: none
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 index 5
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet 100.97.132.128 --> 100.97.132.128 netmask 0xffffffff
    inet6 fe80::aede:48ff:fe00:1122%utun0 prefixlen 64 scopeid 0x5
    inet6 fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 --> fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 prefixlen 128
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 5
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 6
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:04
    netif: EEA2D1D0-358D-410E-9EA8-37936138B0E8
    media: autoselect <full-duplex>
    status: inactive
    generation id: 6
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 7
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:05
    netif: 713C1454-7D65-45D8-BE13-1C3A3ADF139D
    media: autoselect <full-duplex>
    status: inactive
    generation id: 7
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 8
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:01
    netif: E39EB6AA-7468-42EB-A9FD-264096703EDF
    media: autoselect <full-duplex>
    status: inactive
    generation id: 8
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 9
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:00
    netif: 2DAB98BA-25F1-412C-AB97-EDDDA25EE84D
    media: autoselect <full-duplex>
    status: inactive
    generation id: 9
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
ap1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 10
    eflags=45200080<TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 02:80:5b:e4:1f:4e
    inet6 fe80::80:5bff:fee4:1f4e%ap1 prefixlen 64 scopeid 0xa
    netif: AF672672-F005-443B-ADEF-DCC1853E8791
    flowswitch: 55AFD0FB-A245-496D-B5B7-E33766B7DCC7
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (<unknown type>)
    status: inactive
    generation id: 10
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 11
    eflags=452008d0<ADV_REPORT,ACCEPT_RTADV,TXSTART,ARPLL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    xflags=1<WOL>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 8e:1b:06:52:66:72
    inet6 fe80::1c66:bdd4:ddc4:669%en0 prefixlen 64 secured scopeid 0xb
    inet 192.168.18.201 netmask 0xffffff00 broadcast 192.168.18.255
    netif: 1EDC7252-A352-41A3-B080-2FA51574E05C
    flowswitch: 43B7A2F6-D4F2-4C33-AF87-086AF0749A77
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 11
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    agent domain:WiFiManager type:CallInProgress flags:0x3d desc:"WiFi"
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    uplink rate: 161.23 Mbps [eff] / 210.40 Mbps
    downlink rate: 161.23 Mbps [eff] / 210.40 Mbps [max]
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 12
    eflags=453e0080<TXSTART,LOCALNET_PRIVATE,ND6ALT,RESTRICTED_RECV,AWDL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether ea:7d:9f:66:f2:b8
    inet6 fe80::e87d:9fff:fe66:f2b8%awdl0 prefixlen 64 scopeid 0xc
    netif: 414D7556-2C06-44B3-B013-7204DB0FCC4E
    flowswitch: E73D2279-1016-485C-B724-0DC8C66F174A
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 12
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:com.apple.wifip2pd type:AWDL flags:0x203 desc:"com.apple.wifip2pd AWDL"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 13
    eflags=45200090<ADV_REPORT,TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    xflags=400<LOWLAT>
    options=400<CHANNEL_IO>
    ether ea:7d:9f:66:f2:b8
    inet6 fe80::e87d:9fff:fe66:f2b8%llw0 prefixlen 64 scopeid 0xd
    netif: 9CDC0184-F1F0-4C17-A6B0-D3803E78BA75
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: inactive
    generation id: 13
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0x4c3 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 14
    eflags=41010000<CLONE,ECN_ENABLE,FASTLN_ON>
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    hwassist=700067<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_TCPIPV6,CSUM_UDPIPV6,MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:01
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x0
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 8 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en2 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 9 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en3 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 7 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en4 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 6 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    nd6 options=201<PERFORMNUD,DAD>
    media: <unknown type>
    status: inactive
    generation id: 14
    state availability: 0 (true)
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 index 15
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::18b9:4279:2754:ba83%utun1 prefixlen 64 scopeid 0xf
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 15
    agent domain:com.apple.rapport type:RapportNetworkAgent flags:0x7c3 desc:"Rapport Network Agent"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 16
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::7f85:3570:8a75:c0db%utun2 prefixlen 64 scopeid 0x10
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 16
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 index 17
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::4124:610c:bc57:2173%utun3 prefixlen 64 scopeid 0x11
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 17
    agent domain:ids501 type:clientchannel flags:0xc3 desc:"IDSNexusAgent ids501 : clientchannel"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000 index 18
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::ce81:b1c:bd2c:69e%utun4 prefixlen 64 scopeid 0x12
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 18
    agent domain:ids501 type:transport flags:0x4c3 desc:"IDSTransportAgent ids501 : transport"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun5: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 19
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::c0a5:b9d:2543:3f40%utun5 prefixlen 64 scopeid 0x13
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 19
    state availability: 1 (false)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun6: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 20
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::2b74:5ac1:17dc:42af%utun6 prefixlen 64 scopeid 0x14
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 20
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
❯ ifconfig -v -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 index 1
    eflags=12000000<ECN_DISABLE,SENDLIST>
    xflags=4<NOAUTONX>
    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    hwassist=29000ff<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_IP_FRAGS,CSUM_FRAGMENT,CSUM_TCPIPV6,CSUM_UDPIPV6,CSUM_FRAGMENT_IPV6,MULTIPAGES,TXSTATUS,SW_TIMESTAMP>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 1
    link quality: 100 (good)
    state availability: 0 (true)
    timestamp: disabled
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 index 2
    eflags=1000000<ECN_ENABLE>
    generation id: 2
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
stf0: flags=0<> mtu 1280 index 3
    eflags=1000000<ECN_ENABLE>
    generation id: 3
    state availability: 0 (true)
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 4
    eflags=21000080<TXSTART,ECN_ENABLE,DIRECTLINK>
    xflags=2000<NOSHAPING>
    ether ac:de:48:00:11:22
    inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (100baseTX <full-duplex>)
    status: active
    generation id: 4
    type: Ethernet
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL
    link rate: 100.00 Mbps
    qosmarking enabled: no mode: none
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 index 5
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet 100.97.132.128 --> 100.97.132.128 netmask 0xffffffff
    inet6 fe80::aede:48ff:fe00:1122%utun0 prefixlen 64 scopeid 0x5
    inet6 fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 --> fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 prefixlen 128
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 5
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 6
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:04
    netif: EEA2D1D0-358D-410E-9EA8-37936138B0E8
    media: autoselect <full-duplex>
    status: inactive
    generation id: 6
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 7
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:05
    netif: 713C1454-7D65-45D8-BE13-1C3A3ADF139D
    media: autoselect <full-duplex>
    status: inactive
    generation id: 7
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 8
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:01
    netif: E39EB6AA-7468-42EB-A9FD-264096703EDF
    media: autoselect <full-duplex>
    status: inactive
    generation id: 8
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 index 9
    eflags=41000080<TXSTART,ECN_ENABLE,FASTLN_ON>
    options=460<TSO4,TSO6,CHANNEL_IO>
    hwassist=700000<MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:00
    netif: 2DAB98BA-25F1-412C-AB97-EDDDA25EE84D
    media: autoselect <full-duplex>
    status: inactive
    generation id: 9
    type: IP over Thunderbolt
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
ap1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 10
    eflags=45200080<TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 02:80:5b:e4:1f:4e
    inet6 fe80::80:5bff:fee4:1f4e%ap1 prefixlen 64 scopeid 0xa
    netif: AF672672-F005-443B-ADEF-DCC1853E8791
    flowswitch: 55AFD0FB-A245-496D-B5B7-E33766B7DCC7
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect (<unknown type>)
    status: inactive
    generation id: 10
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 11
    eflags=452008d0<ADV_REPORT,ACCEPT_RTADV,TXSTART,ARPLL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    xflags=1<WOL>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether 8e:1b:06:52:66:72
    inet6 fe80::1c66:bdd4:ddc4:669%en0 prefixlen 64 secured scopeid 0xb
    inet 192.168.18.201 netmask 0xffffff00 broadcast 192.168.18.255
    netif: 1EDC7252-A352-41A3-B080-2FA51574E05C
    flowswitch: 43B7A2F6-D4F2-4C33-AF87-086AF0749A77
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 11
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    agent domain:WiFiManager type:CallInProgress flags:0x3d desc:"WiFi"
    link quality: 100 (good)
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    uplink rate: 176.94 Mbps [eff] / 228.54 Mbps
    downlink rate: 176.94 Mbps [eff] / 228.54 Mbps [max]
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 12
    eflags=453e0080<TXSTART,LOCALNET_PRIVATE,ND6ALT,RESTRICTED_RECV,AWDL,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    options=6460<TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    hwassist=703000<CSUM_PARTIAL,CSUM_ZERO_INVERT,MULTIPAGES,TSO_V4,TSO_V6>
    ether e6:17:e3:14:65:d7
    inet6 fe80::e417:e3ff:fe14:65d7%awdl0 prefixlen 64 scopeid 0xc
    netif: 414D7556-2C06-44B3-B013-7204DB0FCC4E
    flowswitch: E73D2279-1016-485C-B724-0DC8C66F174A
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
    generation id: 12
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0xa443 desc:"Userspace Networking"
    agent domain:com.apple.wifip2pd type:AWDL flags:0x203 desc:"com.apple.wifip2pd AWDL"
    agent domain:Skywalk type:FlowSwitch flags:0x4483 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL (driver managed)
    link rate: 10.00 Mbps
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 13
    eflags=45200090<ADV_REPORT,TXSTART,NOACKPRI,ECN_ENABLE,CHANNEL_DRV,FASTLN_ON>
    xflags=400<LOWLAT>
    options=400<CHANNEL_IO>
    ether e6:17:e3:14:65:d7
    inet6 fe80::e417:e3ff:fe14:65d7%llw0 prefixlen 64 optimistic scopeid 0xd
    netif: 9CDC0184-F1F0-4C17-A6B0-D3803E78BA75
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: inactive
    generation id: 13
    type: Wi-Fi
    agent domain:Skywalk type:NetIf flags:0x4c3 desc:"Userspace Networking"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 14
    eflags=41010000<CLONE,ECN_ENABLE,FASTLN_ON>
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    hwassist=700067<CSUM_IP,CSUM_TCP,CSUM_UDP,CSUM_TCPIPV6,CSUM_UDPIPV6,MULTIPAGES,TSO_V4,TSO_V6>
    ether 82:c7:69:21:48:01
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x0
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 8 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en2 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 9 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en3 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 7 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    member: en4 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 6 priority 0 path cost 0
            hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
    nd6 options=201<PERFORMNUD,DAD>
    media: <unknown type>
    status: inactive
    generation id: 14
    state availability: 0 (true)
    qosmarking enabled: yes mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 index 15
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::18b9:4279:2754:ba83%utun1 prefixlen 64 scopeid 0xf
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 15
    agent domain:com.apple.rapport type:RapportNetworkAgent flags:0x7c3 desc:"Rapport Network Agent"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 16
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::7f85:3570:8a75:c0db%utun2 prefixlen 64 scopeid 0x10
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 16
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000 index 17
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::4124:610c:bc57:2173%utun3 prefixlen 64 scopeid 0x11
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 17
    agent domain:ids501 type:clientchannel flags:0xc3 desc:"IDSNexusAgent ids501 : clientchannel"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000 index 18
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::ce81:b1c:bd2c:69e%utun4 prefixlen 64 scopeid 0x12
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 18
    agent domain:ids501 type:transport flags:0x4c3 desc:"IDSTransportAgent ids501 : transport"
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun5: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 19
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::c0a5:b9d:2543:3f40%utun5 prefixlen 64 scopeid 0x13
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 19
    state availability: 1 (false)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
utun6: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380 index 20
    eflags=1002080<TXSTART,NOAUTOIPV6LL,ECN_ENABLE>
    xflags=4<NOAUTONX>
    inet6 fe80::2b74:5ac1:17dc:42af%utun6 prefixlen 64 scopeid 0x14
    nd6 options=201<PERFORMNUD,DAD>
    generation id: 20
    state availability: 0 (true)
    scheduler: FQ_CODEL
    qosmarking enabled: no mode: none
    low power mode: disabled
    multi layer packet logging (mpklog): disabled
    routermode4: disabled
    routermode6: disabled
brona commented 2 months ago

@frankli0324 can you please paste the exact error message you are getting? Thanks

signal-09 commented 2 months ago

@frankli0324 can you please paste the exact error message you are getting? Thanks

It's a point-to-point IPv6:inet6 fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 --> fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 prefixlen 128 that don't match RegEx

signal-09 commented 2 months ago

This is the output with the proposed fix:

> ip addr show
...
5: utun0: <UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 status UNKNOWN
    link/none
    inet 100.97.132.128 peer 100.97.132.128/32
    inet6 fe80::aede:48ff:fe00:1122/64
    inet6 fd7a:115c:a1e0:ab12:4843:cd96:6261:8480 peer fd7a:115c:a1e0:ab12:4843:cd96:6261:8480/128
brona commented 2 months ago

Thanks for the fix, v1.5.4 is being released to homebrew

https://github.com/Homebrew/homebrew-core/pull/182776