Interfacing with TUN\TAP for MAC OSX (Lion) using Python

后端 未结 2 2026
逝去的感伤
逝去的感伤 2020-12-15 12:31

I found the following tun\\tap example program and can not get it to work:

http://www.secdev.org/projects/tuntap_udp/files/tunproxy.py

I have modified the fo

2条回答
  •  时光说笑
    2020-12-15 13:10

    so about the 'No such file or directory' error when doing:

    f = os.open("/dev/tun12", os.O_RDWR)

    this worked for me:

    brew install Caskroom/cask/tuntap

提交回复
热议问题