Git Product home page Git Product logo

yggstack's People

Contributors

basilgello avatar neilalexander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

yggstack's Issues

Yggstack stops working while socks transfer gets manually/intentionally interrupted

Hello!

The story is short, while you interrupt file transfer using yggstack socks, the yggstack process stops responding.

Here's how to reproduce this:

  1. yggstack-linux-amd64 -genconf > yggstack-config.conf
  2. add some Peer to yggstack.conf
  3. run yggstack-linux-amd64 -useconffile yggstack-config.conf -socks 127.0.0.1:1080 -loglevel trace
  4. use yggstack socks to download something from Yggdrasil network, for example:
    curl --socks5 127.0.0.1:1080 http://[21d:73cc:25d9:1fe:5a4a:47df:eb39:7f]/m/debian/pool/main/l/linux/linux-headers-6.6.9-common_6.6.9-1_all.deb -o /dev/null
  5. now while downloading this file interrupt download by CTRL+C
  6. yggstack reports on stdout:
    server: readfrom tcp 127.0.0.1:1080->127.0.0.1:41500: write tcp 127.0.0.1:1080->127.0.0.1:41500: write: broken pipe
  7. yggstack hangs, does not respond for pings, socks does not work, etc, it needs to be restarted to work again

What's interesting, if you allow file from 4. to be downloaded completely nothing wrong will happen, yggstack will work fine so only interrupted file transfer is a problem.

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.