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)
Sep 14 2024, 12:25 AM
Unknown Object (File)
Sep 10 2024, 11:55 AM
Unknown Object (File)
Sep 8 2024, 3:12 PM
Unknown Object (File)
Sep 6 2024, 3:22 AM
Unknown Object (File)
Aug 25 2024, 5:59 PM
Unknown Object (File)
Aug 25 2024, 5:50 PM
Unknown Object (File)
Aug 18 2024, 6:52 PM
Unknown Object (File)
Aug 18 2024, 11:15 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.