Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 03 22:38
    chet-hub opened #458
  • Sep 27 20:45
    kurnevsky synchronize #76
  • Sep 27 20:45

    kurnevsky on bump

    feat(node): update tox core (compare)

  • Sep 26 08:10
    coveralls commented #457
  • Sep 26 08:03
    kurnevsky edited #457
  • Sep 26 08:02
    kurnevsky opened #457
  • Sep 26 08:02

    kurnevsky on thiserror

    refactor: use thiserror instead… (compare)

  • Sep 25 15:59

    kurnevsky on bump

    (compare)

  • Sep 25 15:58

    kurnevsky on master

    chore(deps): update dependencies Merge pull request #456 from to… (compare)

  • Sep 25 15:58
    kurnevsky closed #456
  • Sep 25 10:26
    coveralls commented #456
  • Sep 25 10:21
    kurnevsky closed #451
  • Sep 25 10:20
    kurnevsky edited #451
  • Sep 25 10:20
    kurnevsky opened #456
  • Sep 25 10:20

    kurnevsky on bump

    chore(deps): update dependencies (compare)

  • Sep 25 10:19

    kurnevsky on asymmetric

    (compare)

  • Sep 25 10:18

    kurnevsky on master

    refactor(nonce): implement nonc… refactor(crypto): remove crypto… refactor(crypto): use pure rust… and 4 more (compare)

  • Sep 25 10:18
    kurnevsky closed #455
  • Sep 24 19:03

    kurnevsky on performance_comparison

    compare performance with bigint (compare)

  • Sep 24 11:41
    kurnevsky synchronize #76
Cho
@NamsooCho
Ok
Thanks Evgeny
Evgeny Kurnevsky
@kurnevsky
But I'm not sure what happens there, I only look there for a few minutes :)
btw, it seems it should work if you make clones of self outside of and_then closures.
But anyway I'd refactor it to not deal with all these futures.
Cho
@NamsooCho
OK.
Thanks Evgeny. Very helpful.
Cho
@NamsooCho
I succeed to compile file_sending and in toxic /add <…..real_pk…> to cargo run —example echo is not working.
@kurnevsky ?
Roman
@kpp
echo.rs works on master branch
Cho
@NamsooCho
Then there is no way to test file_sending?
Roman
@kpp
There is
You should fix your branch file_sending to make echo.rs work again
It was your code to break echo.rs
Cho
@NamsooCho
give me a hint, please
Roman
@kpp
Ok now I got the latest branch and it worked
Also there are a lot of errors:
[2019-06-20T17:44:48Z ERROR echo] Processing ended with error: RecvPacketError { ctx: 

There is no file transfer session opened }
Cho
@NamsooCho
How to test?
Roman
@kpp
run cargo run --example echo
take toxid from your tox id is: ....
open toxic, type: /add $ID
that's all
Roman
@kpp
Ok looks like we are loosing crypto connection to our friend.

@kurnevsky sometimes I got:

[2019-06-20T17:53:30Z ERROR tox::toxcore::dht::server_ext] Failed to handle packet: HandlePacketError { ctx: HandlePacketError { ctx: 

No crypto connection for address: V4(10.211.1.21:33445) }

And my messages from toxic -> echo are stuck. Then I got:

INFO  tox::toxcore::friend_connection] Found a friend's IP address

And they are sent successfully again.

Cho
@NamsooCho
Maybe my internet connection is not enough to test echo.rs
Roman
@kpp
No
Looks like there is an issue in echo.rs too.
Cho
@NamsooCho
I am using docker
Cho
@NamsooCho
I think CI build fail is because of nom’s bugs.
Roman
@kpp
I agree
inosms
@inosms
can I use a setup like in echo.rs and net_crypto to send arbitrary packets between two nodes? How can I initiate a connection between two nodes running tox-rs?
Evgeny Kurnevsky
@kurnevsky
@inosms you can. You need to generate two long term keys (tox addresses) and add them to friends like in echo.rs on each side.
Then you can send custom lossless packets.
The first byte should be 160-191 for custom packets.
But it's still very experimental and the api likely will be changed.
inosms
@inosms
Yes that sounds very good - I tried this, but the two nodes do not connect (probably a problem with the internet here though), I can however connect with a normal tox client - I think I am missing some sort of initial handshake?
Evgeny Kurnevsky
@kurnevsky
net_crypto should initiate a handshake if you didn't forget to run its future. But I haven't tried it myself so probably there is a bug that breaks communication with two tox-rs. I'll look closer a bit later.
inosms
@inosms
so it finds the DHT key
[2019-06-28T05:16:14Z INFO tox::toxcore::friend_connection] Found a friend's DHT key and then it won't go any further
inosms
@inosms
the net_crypto future gets processed
inosms
@inosms
Also cookie requests get send but they never arrive, will investigate a bit more
suhr @suhr is thinking about some TLA+ spec for tox
Сухарик
@suhr
That's formal verification.
And I want simply just some formal spec.
Roman
@kpp
I see
Сухарик
@suhr
https://tox-rs.github.io/book/ — 404 File not found
Roman
@kpp
Yep
Something broke