Opened 10 years ago

Closed 7 years ago

#41480 closed defect (wontfix)

socat @1.7.2.1 builds without tun/tap support

Reported by: mikel.izal@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: mikel.izal@…
Port: socat

Description

On Mac OS X 10.9 with Xcode 5.0.2 socat builds and works fine but when used to open TUN addresses fails with error

$ socat STDIO TUN:10.0.0.1/24
2013/11/21 13:30:45 socat[45107] E unknown device/address "TUN"

socat help doesn't list tun as a valid address

$ socat -h
   ...
   address-head:
      ...
      tcp6-connect:<host>:<port>	groups=FD,SOCKET,CHILD,RETRY,IP6,TCP
      tcp6-listen:<port>	groups=FD,SOCKET,LISTEN,CHILD,RETRY,RANGE,IP6,TCP
      udp-connect:<host>:<port>	groups=FD,SOCKET,IP4,IP6,UDP
      udp-datagram:<host>:<port>	groups=FD,SOCKET,RANGE,IP4,IP6,UDP
      ...

even in that system the tuntaposx port is installed and working (it works for n2n for example)

Change History (6)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tun tap socat removed
Owner: changed from macports-tickets@… to md@…

comment:2 Changed 10 years ago by mikel.izal@…

Cc: mikel.izal@… added

Cc Me!

comment:3 Changed 10 years ago by mikel.izal@…

Cc: mikel.izal@… removed

Cc Me!

comment:4 Changed 10 years ago by mikel.izal@…

Cc: mikel.izal@… added

Cc Me!

comment:5 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from md@… to macports-tickets@…

This port no longer has a maintainer. See #47548.

comment:6 Changed 7 years ago by g5pw (Aljaž Srebrnič)

Resolution: wontfix
Status: newclosed

As you can see here the documentation explicitly mentions Linux when talking about TUN/TAP. My interpretation is that TUN/TAP is not supported under OS X. I also checked the configure logs, and the script explicitly looks for linux/tun.h and says:

 configure: WARNING: include file linux/if_tun.h not found

The software probably needs modifications in order to use tuntaposx libraries, you'll have to check with upstream if integration is possible.

Note: See TracTickets for help on using tickets.