Issue #3498
FreeBSD + dhcp+farp plugin
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
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.
farp: Add support for macOS and FreeBSD
Co-authored-by: Tobias Brunner <tobias@strongswan.org>
Closes strongswan/strongswan#189.
References #3498.