Skip to content

tubtap doesn't work on Mac os monterey 12.4 #3659

@jhay06

Description

@jhay06

Brief description

Scapy does not work on mac os monterey 12.4
I had already installed a tunnelblick to get the notarized tun tap kext

Scapy version

2.4.5

Python version

3.9

Operating system

Mac OS 12.4 Monterey

Additional environment information

ARm apple silicon

How to reproduce

from scapy.all import *

t=TunTapInterface('tun0')

Actual result

Traceback (most recent call last):
File "", line 1, in
File "/Users/me/Library/Python/3.9/lib/python/site-packages/scapy/layers/tuntap.py", line 171, in init
sock = open(devname, "r+b", buffering=0)
FileNotFoundError: [Errno 2] No such file or directory: b'/dev/tun0'

Expected result

should create a tun interface

Related resources

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions