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

internal/wgopenbsd: first pass at Client.Devices implementation #49

Merged
merged 3 commits into from
May 17, 2019

Conversation

mdlayher
Copy link
Member

This doesn't actually incorporate any of the WireGuard plumbing yet; just the calls to access the devices that belong to the "wg" group.

wgopenbsd# WGCTRL_OPENBSD_KERNEL=1 go run main.go 
interface: wg0 (OpenBSD kernel)
  public key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
  private key: (hidden)
  listening port: 0

interface: wg1 (OpenBSD kernel)
  public key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
  private key: (hidden)
  listening port: 0

interface: tun0 (userspace)
  public key: L+V9o0fNYkMVKNqsX7spBzD/9oSvxM/C7ZCZX1jLO3Q=
  private key: (hidden)
  listening port: 0

Updates #34.

@mdlayher
Copy link
Member Author

I'll close this once I get a sanity check. I've opened a thread at https://groups.google.com/forum/#!topic/golang-nuts/FfasFTZvU_o.

@mdlayher
Copy link
Member Author

I haven't heard anything so far, but ncon on IRC gave a read through and I'd like to keep moving, so I'll merge this and do so.

@mdlayher mdlayher merged commit 58f1f7b into master May 17, 2019
@mdlayher mdlayher deleted the mdl-openbsd-devices branch May 17, 2019 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant