镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Remove the TAP backend: userspace proxy only (2.0.0) #72

Closed

Description

@compot-dev

Why. vtesse is a VTun client that needs no root and no kernel interface: lwIP, SOCKS5, port forwards, Android. The TAP backend (--tap) is a second, different product inside it — root, /dev/net/tun, hook and DHCP scripts — and doubles the build matrix and the tests. A kernel-interface client for stock vtund servers (type tun, tun.ko or camex.ko) moves to a separate project.

Change.

  • Remove netcore/tapdev.c, include/netcore/tapdev.h, the TAP build option and LWIP=0, --tap, --ifname, --hook.
  • Remove scripts/vtesse-hook.sh, scripts/vtesse-udhcpc.script, the built-in copies of both and the TAP parts of --install.
  • CI: drop the TAP-only build and bench.sh tap-test (and the TAP half of tun-test); the release loses the two scripts.
  • --tap, tap= in /etc/vtesse.conf or a hook key: a clear error naming the change, so an old installation fails loudly instead of silently changing mode.
  • README (en, ru, zh-CN), docs/usage.md, docs/architecture.md, CHANGELOG.
  • Both type ether (DHCP) and type tun (ip=) stay in the lwIP backend.

Version. Incompatible: 2.0.0, released together with the default-route wait (separate issue, separate PR).

Related: #68 (narrowed to lwIP), #69 (moves out).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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