Giter Site home page Giter Site logo

Comments (3)

RalfJung avatar RalfJung commented on July 3, 2024

I think Invalid Handle is a red herring... I am also seeing this in my logs despite everything working. As far as I recall, the error originates here

if os.system('tc %s' % (command)) != 0 and not ignore_fails:

and is output by the tc program, not the Python code. When setting a bandwidth limit, the code first removes potentially existing previous bandwidth limits; if no such limit existed, we get an "Invalid handle" error.

from tunneldigger.

PolynomialDivision avatar PolynomialDivision commented on July 3, 2024

@RalfJung Thanks a lot! I thought I did something wrong because the tunnels don't come up automatically. Is that wanted behavior that you need to set them up with for example ip link afterwards?

from tunneldigger.

RalfJung avatar RalfJung commented on July 3, 2024

ip link is usually done by one of the scripts, see https://github.com/wlanslovenija/tunneldigger/tree/master/broker/scripts for examples.

The config for our own servers is here; session-up is doing the setup and can be found here. Crucially we first add them to the bridge and then up the link, to make sure no traffic can go to the wrong place before the link is in the bridge.

from tunneldigger.

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.