Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to DragonFly BSD #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ This runs on Windows, but you should instead use it from the more [fully feature

This will run on FreeBSD. It does not yet support sticky sockets. Fwmark is mapped to `SO_USER_COOKIE`.

### DragonFly BSD

This will run on DragonFly BSD. It does not yet support sticky sockets and Fwmark.

### OpenBSD

This will run on OpenBSD. It does not yet support sticky sockets. Fwmark is mapped to `SO_RTABLE`. Since the tun driver cannot have arbitrary interface names, you must either use `tun[0-9]+` for an explicit interface name or `tun` to have the program select one for you. If you choose `tun` as the interface name, and the environment variable `WG_TUN_NAME_FILE` is defined, then the actual name of the interface chosen by the kernel is written to the file specified by that variable.
Expand Down
2 changes: 1 addition & 1 deletion conn/mark_default.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux,!openbsd,!freebsd
// +build !linux,!openbsd,!freebsd,!dragonfly

/* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion conn/mark_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux openbsd freebsd
// +build openbsd freebsd dragonfly

/* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion ipc/uapi_bsd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build darwin freebsd openbsd
// +build darwin freebsd dragonfly openbsd

/* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion ipc/uapi_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux darwin freebsd openbsd
// +build linux darwin freebsd dragonfly openbsd

/* SPDX-License-Identifier: MIT
*
Expand Down
Loading