Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#47554 closed defect (worksforme)

openconnect compiled without UTUN support

Reported by: tte@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), Ionic (Mihai Moldovan)
Port: openconnect

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Installed latest openconnect 7.05 from ports onto MacOS 10.8.2. Starting OpenConnect results in error messge:

Failed to open tun device: Invalid argument

.. but i did not want to install/use the 'tun' interface, but instead MacOS standard utun interface as supported by openconnect since 7.0

When i downloaded openconnect from http://www.infradead.org/openconnect/ and tried to compile myself, ./configure complained about IF_UTUN... not to compile, so the config file created did not include UTUN support. I did manually changed it and it compiled fine and worked fine. I do suspect that the port binary of openconnect might have had the same problem in compilation. I did not try to investigate why that compile problem exist (autoconfigure scripts are too complex).

ALso note that the vpnc script that was installed by port openconnect seems to be quite outdated, aka: the package should be compiled with the latest downloaded from git.

Change History (3)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: openconnect utun removed

comment:2 in reply to:  description Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)

Replying to tte@…:

Installed latest openconnect 7.05 from ports onto MacOS 10.8.2. Starting OpenConnect results in error messge:

Failed to open tun device: Invalid argument

.. but i did not want to install/use the 'tun' interface, but instead MacOS standard utun interface as supported by openconnect since 7.0

When i downloaded openconnect from http://www.infradead.org/openconnect/ and tried to compile myself, ./configure complained about IF_UTUN... not to compile, so the config file created did not include UTUN support. I did manually changed it and it compiled fine and worked fine. I do suspect that the port binary of openconnect might have had the same problem in compilation. I did not try to investigate why that compile problem exist (autoconfigure scripts are too complex).

openconnect was updated to 7.06 in r137056 (#47945). Did that help?

ALso note that the vpnc script that was installed by port openconnect seems to be quite outdated, aka: the package should be compiled with the latest downloaded from git.

Note that openconnect does not install a vpnc script, but it does depend on another port that does. openconnect switched from using the vpnc port to using the vpnc-scripts port in r137024 (#47180). Did that help?

comment:3 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: ionic@… added
Resolution: worksforme
Status: newclosed

With the latest openconnect (and vpnc-scripts) version, I see this:

Connected utun0 as x.x.x.x, using SSL

I'll close this bug report with WORKSFORME. Feel free to reopen, if it's a problem still.

Last edited 9 years ago by Ionic (Mihai Moldovan) (previous) (diff)
Note: See TracTickets for help on using tickets.