Page MenuHomeFreeBSD

if_ovpn: remove OVPN_SEND_PKT
ClosedPublic

Authored by kp on Dec 5 2022, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 25 2023, 7:09 PM
Unknown Object (File)
Dec 20 2023, 6:18 AM
Unknown Object (File)
Jul 5 2023, 5:20 AM
Unknown Object (File)
Jul 2 2023, 2:21 PM
Unknown Object (File)
Jul 2 2023, 2:21 PM
Unknown Object (File)
Jul 2 2023, 1:58 PM
Unknown Object (File)
Apr 10 2023, 1:40 AM
Unknown Object (File)
Apr 10 2023, 1:39 AM

Details

Reviewers
None
Group Reviewers
network
pfsense
Commits
rG66de89d4c298: if_ovpn: remove OVPN_SEND_PKT
Summary

OpenVPN userspace no longer uses the ioctl interface to send control
packets. It instead uses the socket directly.
The use of OVPN_SEND_PKT was never released, so we can remove this
without worrying about compatibility.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Dec 5 2022, 4:29 PM

OpenVPN userspace no longer uses the ioctl interface to send control packets.

Is the ioctl interface needed for compatibility with older version of OpenVPN userspace ?

In D37602#855154, @zlei wrote:

OpenVPN userspace no longer uses the ioctl interface to send control packets.

Is the ioctl interface needed for compatibility with older version of OpenVPN userspace ?

Only development versions of OpenVPN used this call. The first release version that includes DCO support (for any platform in fact) will be 2.6.0, expected to be released late this month.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 14 2022, 5:50 AM
This revision was automatically updated to reflect the committed changes.