Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 08 13:25
    kpp closed #74
  • Sep 07 21:01
    kurnevsky commented #74
  • Sep 07 19:37
    crypto-universe opened #74
  • Aug 28 22:38
  • Aug 23 08:04
    kpp review_requested #455
  • Aug 23 08:04
    kpp review_requested #455
  • Aug 21 17:40
    coveralls commented #455
  • Aug 21 17:30
    kurnevsky synchronize #455
  • Aug 21 17:30

    kurnevsky on asymmetric

    refactor(crypto): rename module (compare)

  • Aug 21 17:26
    kurnevsky edited #455
  • Aug 21 17:21
    coveralls commented #455
  • Aug 21 17:11
    kurnevsky synchronize #455
  • Aug 21 17:11

    kurnevsky on asymmetric

    refactor(clippy): fix warnings (compare)

  • Aug 21 17:05
    coveralls commented #455
  • Aug 21 16:55
    kurnevsky edited #451
  • Aug 21 16:55
    kurnevsky opened #455
  • Aug 21 14:03

    kurnevsky on asymmetric

    refactor(crypto): use pure rust… (compare)

  • Aug 21 13:44

    kurnevsky on asymmetric

    refactor(crypto): use pure rust… (compare)

  • Aug 13 13:36

    kurnevsky on asymmetric

    tmp (compare)

  • Aug 13 13:30

    kurnevsky on asymmetric

    tmp (compare)

Roman
@kpp
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
I discovered it several hours ago
@suhr can you check the output of mdbook build?
Is there a book/ directory only or book/html?
Сухарик
@suhr
mdbook builds allows to specify the directory: https://rust-lang-nursery.github.io/mdBook/cli/build.html#--dest-dir
Сухарик
@suhr
But mdbook build makes book/ instead of book/html...
Сухарик
@suhr
Oh, I should also install mdbook-linkcheck.
Сухарик
@suhr
I think I get it. mdbook makes subdirs when where's more than one backend.
So their outputs can coexist.
Even though linkcheck has no output.
suhr @suhr waits for linkcheck to build
Сухарик
@suhr
Yep. mdbook also creates the linkcheck dir.
After your pr
However I still got 404 on https://tox-rs.github.io/book/
Сухарик
@suhr
Works for me.