Code Monkey home page Code Monkey logo

Comments (4)

cbeuw avatar cbeuw commented on May 26, 2024 1
  1. I'm not quite sure about the binding to UDP bit. Cloak doesn't listen to any UDP port and relies entirely on Shadowsocks for any UDP relay. Maybe you tried to bind to a protected UDP port as a non-root user, and since systemctl gives root privilege it solves the permission issue?
  2. Yes it means the newly generated UID. It was worded weirdly. I'll fix that.
  3. In the code I arbitrarily made UNLIMITED equal to 1e12 in ck-client so that the rate limiter will not do anything on the client side (this may be a bit too small now I think about it). In ck-server I think I made admin server to have 1e15 bytes of up and down credits. Again this is just arbitrary. When you are adding a new user, 0 is interpreted literally as 0 so you'll just have to put in a very big number that's smaller than 2^63-1.

It failed to bind to an IPv6 address because it's not properly square-bracketed. I mentioned it here. v1.1.0 has fixed this.

I'm not sure why it crashed since the log was incomplete, but it shouldn't have crashed because of some dubious input. I'll try to reproduce this.

from cloak.

NAVrasZ avatar NAVrasZ commented on May 26, 2024 1

Update: bind: Cannot assign requested address
ipv6 is not available when ss-libev tries to bind
Only after adding net.ipv6.conf.eth0.accept_dad = 0 in sysctl.conf did {Wants,After}=network-online.target work correctly and solve it.
Systemd in Ubuntu 19.04 is v240, which is not supposed to have this problem... systemd/systemd#2037 (comment)
Update2: Aaand... the binding error has quietly disappeared.

from cloak.

malikshi avatar malikshi commented on May 26, 2024

as you mention it did you already fixed this?

from cloak.

NAVrasZ avatar NAVrasZ commented on May 26, 2024

@malikshi Me? Kinda... I set those to 10^9 or 10^12 or 10^15 and it worked, ipv6 also works now in v1.1.0.
Binding error is not Cloak's problem, I tried reverting my config and service files to vanilla but still got it. I'm so confused... xD It seems that putting public ipv6 address in config.json causes it.
Yesterday after setting up Cloak I found out about this error, so I upgraded from Ubuntu 18.10 to 19.04 to get ss-libev 3.2.5 from Ubuntu packages. Maybe it's because of the development version Ubuntu.
Anyway I don't reboot often but I'll keep looking.

from cloak.

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.