Can anyone check if my safe network is running?

Still not good (now it takes too long time with no response so I stopped the command).

Probably my version of sn_api (compiled January 25th) isn’t compatible with your version of sn_node.

Note: I could create an account and a file container on your network, but I cannot read anything back:

$ ./safe files put --recursive ../xtest/
FilesContainer created at: "safe://hyryyry99k7apagt8u41jjwo856mzmuysawbkitr8auqfd5ph6orb1mmkxanra"
+  ../xtest/empty_dir
+  ../xtest/img
+  ../xtest/img/safe_logo_blue.svg  safe://hygoykyeqx3yp6upna9wxan8tuwg8q59ma88f9mnwy84m3mbhh755jmothy
+  ../xtest/index.html              safe://hy8oyryeurq5hcoqzyp5quj19azf3s5xtx5mfm4beu3at3gj6b5c3iwu4pc
$ ./safe cat safe://hyryyry99k7apagt8u41jjwo856mzmuysawbkitr8auqfd5ph6orb1mmkxanra
^C
$ ./safe cat safe://hygoykyeqx3yp6upna9wxan8tuwg8q59ma88f9mnwy84m3mbhh755jmothy
^C

But for me it is just a problem of version compatibility. IPv6 works and is the way to go.

Edit: I see your update. I will try again when your network runs properly on your side.

2 Likes

It has been set up again.
I’m also compiling the newer node version on another machine.

6 Likes

Your latest setup works for me:

$ ./safe cat safe://hyryyry9hn8crear3b7z388iihe1nrz55oj4mcdjp4guqfyjnyytk9n5u7rnra
Files of FilesContainer (version 0) at "safe://hyryyry9hn8crear3b7z388iihe1nrz55oj4mcdjp4guqfyjnyytk9n5u7rnra":
+-------------+------------+------+----------------------+----------------------+--------------------------------------------------------------------+
| Name        | Type       | Size | Created              | Modified             | Link                                                               |
+-------------+------------+------+----------------------+----------------------+--------------------------------------------------------------------+
| /esjehk.txt | text/plain | 9    | 2021-02-04T14:43:48Z | 2021-02-04T14:43:48Z | safe://hy8oycypiop6bqnsnr5j5xda3ejsbb5hqi5u1ubq3prr9y7p83p1pgmbdga |
+-------------+------------+------+----------------------+----------------------+--------------------------------------------------------------------+
| /fisj.txt   | text/plain | 52   | 2021-02-04T14:43:48Z | 2021-02-04T14:43:48Z | safe://hy8oycyxdnqfe4nndji9xgczrhpygqyzdzf835egkbedyyeqwbwp7zrz1ac |
+-------------+------------+------+----------------------+----------------------+--------------------------------------------------------------------+

:champagne:

11 Likes

I’m half following this thread. Is this the birth of a new community network or am I jumping the gun? :crazy_face:

6 Likes

Could be - lets see what todays report brings…
I am champing at the bit but too snowed under with OtherStuff to give this the attention it deserves.

1 Like

I’m aiming for it.

7 Likes

A summary of the thread:

  • @folaht created a local network on his machine and wanted to make it available to others.

  • Nobody could access it and @bochaco explained this possibility needs features provided by a new PR

  • I looked at this PR and I found that it added a secondary IP address to an endpoint. Previously I successfully created a local IPv6 network but it was exclusively IPv6 (an IPv4 nodes cannot connect to it). So I said that the secondary IP address could be better used to create a mixed network (managing both IPv6 and IPv4)

  • @dirvine explained that allowing mixed nodes is much more complex (and I agree with this)

  • Another problem with an IPv6 network is that an IPv6 client cannot connect to it using usual ~/.safe/node/node_connection_info.config file

  • Then I looked into sn_client code and I found that another config file could be used (~/.safe/client/sn_client.config). After some hacking I found out the right syntax of this file to allow an IPv6 client to connect to an IPv6 network.

  • As soon as @folaht saw this possibility, he turned his network to an IPv6 network and updated the OP with new directives to allow others to connect to it.

  • After some trials (ports had to be opened for all the elders) I could access his network

This means that current Maidsafe code allows creation of an IPv6 network with nodes and clients over the Internet.

15 Likes

Thank you for this excellent summary, one further question - which file versions were used to create the successful IPv6 network?

I might as well brush up on IPv6 again, I used to use various tunnel brokers maybe 10-12 years ago but its all a bit hazy

5 Likes

Forgive my ipv6 ignorance, but does it mean no NAT is required, making it easier to route without upnp, etc?

5 Likes

It feels like ipv6 has been around the corner for 20 years too! :sweat_smile:

3 Likes

Yes. Each device in your LAN behind your home router has its own IPv6 global address, so NAT is not needed anymore.

My sn_api was compiled on January 25th but I don’t know its version at that time.

I don’t know his sn_node version.

5 Likes

Oh, wow! I hadn’t initially realised that was the case, out of the box. Considering all the issues with nat/upnp with ipv4, this sounds like pretty good news. I think I may need to brush up on my ipv6 understanding!

3 Likes

Excellent point. Good myth busting here Yes. http://www.ipv6now.com.au/primers/IPv6Myths.php

It’s another reason for us to look at ipv6 as soon as feasible. The quandary is that where ip6 is available then we get many more folk able to run a node, but the global coverage of ip6 is still not great and it’s worse in poorer areas. So Secure Access For Everyone is challenged. IP4 is a nightmare due to NAT and ip6 is a nightmare due to coverage.

With many recent changes though we have a really nice feature that’s currently not visible to us all. This is the CDRT data types, the mutation is signed by the “owner” or defined by policy. So it does not matter how the message gets delivered or by whom (so src becomes irrelevant). As messages are currently (almost but not quite just yet) we don’t care what route they take to deliver, even via flash drive and postal service :wink:

AT2 and BRB are a bit different though, but in any case this is something we should all be aware off, mixed network may be possible quite soon.

9 Likes

Ipv6 is the future and I’m sure coverage will increase, especially if there are good use cases for it. If it avoids having to hack around ipv4 limitations, I’d say it is worth it for that alone.

Given safe network doesn’t need the various software infrastructure above (e.g. DNS) and won’t have dependencies on other legacy connectivity, this seems like a no brainer to me.

That said, I’m not aware of how bad the coverage is. It seems like something that will only improve with time though.

2 Likes

IPv6 Measurement Maps helps a bit

3 Likes

I wonder how that compares with ipv4 capable routers? That map is pretty shocking considering how long ipv6 has been talked about!

4 Likes

That is the big question. At least with IP4 you can still manually port forward. There are ip6 tunnels etc. but servers man, servers and proxies. It’s an interesting area though and one we need to choose wisely

5 Likes

Maybe we shoudl run an IPv6 testnet and see how that goes? It might offer more people the chance to start nodes and earn test-safecoins? Put the IP4 NAT issues behind us? What do you think @lionel.faber et al’

6 Likes

Please look at ipv6 adoption by countries world wide.

The top countries have around 50% adoption, Countries like Sweden has 6-8%. How would that affect farming if only 6-8% of an population can get an ipv6 address?

1 Like

David, please dont even think about it until the planned testnet is released. Please no more bumps in the road.

Dont delay what you are doing for a feature that, no matter how desirable, has hardly been mentioned until a few days ago. Let the community work on it without distracting you lot in any way. We promise to let you see the logs later :slight_smile:

Deliver what we have all been waiting for and seems so near.

8 Likes