Code Monkey home page Code Monkey logo

Comments (4)

eandre avatar eandre commented on May 21, 2024

Thanks very much @frzam! For your first issue I documented this very recently in CONTRIBUTING.md. We should make this clearer in the instructions. (Perhaps we should commit some placeholder file so the build doesn't fail?)

As for your second issue, that's a new one. I think upgrading WireGuard is perfectly fine as a solution! Thanks very much for reporting and investigating. Want to send a PR to fix it? :)

from encore.

frzam avatar frzam commented on May 21, 2024

Yup sure.

from encore.

frzam avatar frzam commented on May 21, 2024

@eandre I think I missed something, on windows it is still not compiling 😔, this golang.zx2c4.com/wireguard also needs to updated from v0.0.20201118 to v0.0.0-20210728232740-bad6caeb82ed then it complies on windows, but then on linux(and most probably mac), it is not compiling because of conn.Bind param in https://pkg.go.dev/golang.zx2c4.com/wireguard/device#NewDevice
I am not familiar with wireguard api, but may be we can pass something like https://pkg.go.dev/golang.zx2c4.com/[email protected]/conn#NewDefaultBind (Don't know the implementation) in

device := device.NewDevice(tun, logger)
and
device := device.NewDevice(tun, logger)

from encore.

eandre avatar eandre commented on May 21, 2024

Thanks @frzam. As we discussed on Slack I believe the best path forward is to update golang.zx2c4.com/wireguard and use conn.NewDefaultBind(). Reopened this issue until we've sorted it out completely!

from encore.

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.