Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement the CoderVPN NetworkExtension #2

Closed
Assignees
ethanndickson
Labels
enhancementNew feature or request
@spikecurtis

Description

@spikecurtis

To implement the CoderVPN feature, we'll use aNetwork Extension PacketTunnelProvider. It extends the abstract base classNEPacketTunnelProvider. From this process, we will contact the Coder Server and download a dynamic library (dylib), written in Go using cgo for C FFI bindings (coder/coder#14734)

Image

After downloading the CoderVPN library, we shouldcheck the digital signature on it before exec’ing it. We should verify the following fields:

After verifying the digital signature, the NetworkExtension creates a pair of pipes to communicate with the CoderVPN library (via#1 ), and opens the library viadlopen. Then it starts the VPN, passing the pipes.

Over the CoderVPN Protocol it receives

  • Peer status updates, which it sends to the user application
  • Logs, which it sends to the system log via native APIs
  • Network Settings (IP and DNS config) which it uses to configure networking viasetTunnelNetworkSettings()

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp