Open
Description
Brief description
The tun interfaces on my Mac are all named "utun0", "utun1", etc.
How can I make scapy work with that?
Scapy version
2.5
Python version
3.10
Operating system
MacOS Ventura
Additional environment information
No response
How to reproduce
from scapy.layers.tuntap import TunTapInterface
if __name__ == "__main__":
t = TunTapInterface("utun3", mode_tun=True)
Actual result
ValueError: Interface names must start with tun
or tap
on BSD and Darwin
Expected result
No error
Related resources
No response