GithubHelp home page GithubHelp logo

go get 失败 about go-tun2socks-build HOT 7 CLOSED

Sopage avatar Sopage commented on June 17, 2024
go get 失败

from go-tun2socks-build.

Comments (7)

xxf098 avatar xxf098 commented on June 17, 2024 2

add this function inside ./v2ray-core/infra/conf/dns.go

func NewHostAddress(addr *cfgcommon.Address) *HostAddress {
return &HostAddress{addr: addr}
}

from go-tun2socks-build.

xxf098 avatar xxf098 commented on June 17, 2024 1

remove these lines to use the default v2ray-core/xray-core lib

github.com/v2fly/v2ray-core/v4 v4.43.0 => ../v2ray-core
github.com/xtls/ v1.5.3 => ../xray-core

clone this repo https://github.com/xxf098/LiteSpeedTest to path ../lite-proxy

from go-tun2socks-build.

xxf098 avatar xxf098 commented on June 17, 2024 1

pull the latest code to fix the problem

modify v2ray/xray code for debug

from go-tun2socks-build.

Sopage avatar Sopage commented on June 17, 2024

作者你好,按你给的方式确实没有在出现上述问题!出现下面的新问题
github.com/xxf098/go-tun2socks-build imports
github.com/xxf098/go-tun2socks-build/settings: cannot find module providing package github.com/xxf098/go-tun2socks-build/settings

目前有个疑问:
作者对v2fly/v2ray-core和xtls/xray-core 在使用的时候有什么改动吗?

目前我有个想法想把wireguard的东西加到这里面想提交个PR

from go-tun2socks-build.

Sopage avatar Sopage commented on June 17, 2024

依赖没问题了!这回编译出问题了
go-tun2socks-build/v2ray/hosts.go:36:26: undefined: conf.NewHostAddress
发现
github.com/v2fly/v2ray-core/v4/infra/conf中不存在NewHostAddress
应该是你本地的v2fly/v2ray-core存在,而新v2fly/v2ray-core中被剔除了吧?
image

from go-tun2socks-build.

zeku2022 avatar zeku2022 commented on June 17, 2024

thanks a lot. It's very hard to find a good tun2socks framework...so many fails....
finally your git respo can successfully compile....😂

from go-tun2socks-build.

WangLiquan avatar WangLiquan commented on June 17, 2024

作者你好,现在的包好像还有这个问题,而且我看传参已经变了。现在是不是更换了要修改的文件和方法

from go-tun2socks-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.