Project

General

Profile

Issue #3498

FreeBSD + dhcp+farp plugin

Added by Alexey Panfilov 7 months ago. Updated 3 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
freebsd
Affected version:
5.8.4
Resolution:

Description

Hello!
Is it possible to make working dhcp and farp plugin in FreeBSD?
As I understand, by default strongswan isn't compile with this options.
When I want to install strongswan from ports collection and run "make config-recursive" in "/usr/ports/security/strongswan" directory, i don't see options "dhcp" or "farp".

Associated revisions

Revision 95a0d800 (diff)
Added by Dan James 3 days ago

farp: Add support for macOS and FreeBSD

Co-authored-by: Tobias Brunner <>

Closes strongswan/strongswan#189.
References #3498.

History

#1 Updated by Tobias Brunner 7 months ago

  • Category set to freebsd
  • Status changed from New to Feedback

Is it possible to make working dhcp and farp plugin in FreeBSD?

Unfortunately, it's not so simple to port these plugins because FreeBSD does not support AF/PF_PACKET sockets, which both use. It might be possible to somehow use libpcap (or bpf directly) on FreeBSD, but I'm sure it would be quite some work.

#2 Updated by Alexey Panfilov 7 months ago

Tobias Brunner wrote:

Is it possible to make working dhcp and farp plugin in FreeBSD?

Unfortunately, it's not so simple to port these plugins because FreeBSD does not support AF/PF_PACKET sockets, which both use. It might be possible to somehow use libpcap (or bpf directly) on FreeBSD, but I'm sure it would be quite some work.

As I understand, it isn't possible to request a virtual IP from FreeBSD DHCP Server (DHCP is running on the same host as the strongswan daemon)?

#3 Updated by Tobias Brunner 3 days ago

With 5.9.2, the farp plugin will work on macOS and FreeBSD.

Also available in: Atom PDF