Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssb peer announcement over cjdns #350

Open
darkdrgn2k opened this issue Mar 13, 2019 · 3 comments
Open

ssb peer announcement over cjdns #350

darkdrgn2k opened this issue Mar 13, 2019 · 3 comments

Comments

@darkdrgn2k
Copy link
Contributor

sbot does not listen on ::8008

need to bridge ::8008 and 0.0.0.0:8008

@darkdrgn2k
Copy link
Contributor Author

Forward udp6 to udp4
socat UDP6-LISTEN:8008,fork,su=nobody UDP4:127.0.0.1:8008

needs to look if sbot actually picks this up

@makew0rld
Copy link
Contributor

What's the status on this atm?

@darkdrgn2k
Copy link
Contributor Author

darkdrgn2k commented Jul 19, 2019

socat UDP6-LISTEN:8008,fork,su=nobody UDP4:127.0.0.1:8008 may be the solution to re-route ipv6 packets to the ipv4 port

testing needed

  "type": "discover",
  "peer": {
    "address": "net:fc60:d4da:573d:b600:77f6:3c71:ba42:690a:8008~shs:6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=",
    "key": "@6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=.ed25519",
    "source": "local",
    "announcers": 1,
    "duration": null
  },
  "source": "local"
}

{
  "type": "connect",
  "peer": {
    "address": "net:fc60:d4da:573d:b600:77f6:3c71:ba42:690a:8008~shs:6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=",
    "key": "@6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=.ed25519",
    "source": "local",
    "announcers": 1,
    "duration": null,
    "stateChange": 1563579030323,
    "state": "connected",
    "client": true,
    "ping": {
      "rtt": {
        "mean": 0,
        "stdev": 0,
        "count": 0,
        "sum": 0,
        "sqsum": 0
      },
      "skew": {
        "mean": 0,
        "stdev": 0,
        "count": 0,
        "sum": 0,
        "sqsum": 0
      }
    }
  }
}

{
  "type": "remove",
  "peer": {
    "address": "net:fc60:d4da:573d:b600:77f6:3c71:ba42:690a:8008~shs:6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=",
    "key": "@6PGB2xFmki1pUJloCRVXNPn838sl9N/XB1UZR9V6Qco=.ed25519",
    "source": "local",
    "announcers": 1,
    "duration": null,
    "stateChange": 1563579030323,
    "state": "connected",
    "client": true,
    "ping": {
      "rtt": {
        "mean": 401,
        "stdev": 0,
        "count": 1,
        "sum": 401,
        "sqsum": 160801
      },
      "skew": {
        "mean": -3.5,
        "stdev": 0,
        "count": 1,
        "sum": -3.5,
        "sqsum": 12.25
      }
    },
    "failure": 0
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants