Re: Unable to connect to other nodes in the network

2020-02-26 Thread wolfy1338
I included the logs (Look for timestamps between 2020-02-26 12:59 and 
13:21) and the relevant host files, all the other host files only 
contain the ED25519 public key.


On 2020-02-20 3:11 a.m., Thomas Scott wrote:
I'm having trouble with tinc on Android 10, (it's not a problem within 
the app, I have already discussed this over with pacien).


All subnets and routes are properly configured. (I've included them 
just so people can better visualise the config and triple check 
everything is correct


My phone will not connect to any other node than the first one 
configured with `ConnectTo` in the `tinc.conf` file.


I can successfully ping it from the first node it's supposed to be 
connected to, but the second node can't ping it at all, not even 
forwarded through another node. The same thing happens on the phone 
itself, only connections to the first node work and all others just 
don't.


When looking at the logs, it seems as though SPTPS is timing out and 
can't get the keys for the nodes in the network and thus can't connect 
to them.



I haven't done any rooting, or ROM changes to my phone, it is 
completely stock OS.


The app is using git revision f5223937e62e1cc5e9b3d322490dd3af8d666750 
of tinc.


Device: OnePlus 6t

Android version: 10.3.0 (Oxygen OS)

Android build: ONEPLUS A6013_41_200115

Android kernel version: 4.19.179-perf+

2020-02-25 14:40:40 tinc[7658]: tincd UNKNOWN (Sep 17 2019 17:01:56) starting, debug level 0
2020-02-25 14:40:40 tinc[7658]: Warning: insecure file permissions for Ed25519 private key file `/storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/ed25519_key.priv'!
2020-02-25 14:40:40 tinc[7658]: Warning: insecure file permissions for RSA private key file `/storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/rsa_key.priv'!
2020-02-25 14:40:40 tinc[7658]: fd/71 adapter set up.
2020-02-25 14:40:40 tinc[7658]: Ready
2020-02-25 14:43:07 tinc[7658]: Terminating
2020-02-25 14:43:08 tinc[8576]: tincd UNKNOWN (Sep 17 2019 17:01:56) starting, debug level 0
2020-02-25 14:43:08 tinc[8576]: Warning: insecure file permissions for Ed25519 private key file `/storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/ed25519_key.priv'!
2020-02-25 14:43:08 tinc[8576]: Warning: insecure file permissions for RSA private key file `/storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/rsa_key.priv'!
2020-02-25 14:43:08 tinc[8576]: fd/77 adapter set up.
2020-02-25 14:43:08 tinc[8576]: Ready
2020-02-25 14:44:30 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_rpi3: No such file or directory
2020-02-25 14:44:30 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_rpi3: No such file or directory
2020-02-25 14:44:44 tinc[8576]: No key from wolfy1339_rpi3 after 10 seconds, restarting SPTPS
2020-02-25 14:46:13 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_rpi4: No such file or directory
2020-02-25 14:46:13 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_rpi4: No such file or directory
2020-02-25 14:46:14 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_rpi4: No such file or directory
2020-02-25 14:46:38 tinc[8576]: No key from sirius after 10 seconds, restarting SPTPS
2020-02-25 14:46:55 tinc[8576]: No key from sirius after 10 seconds, restarting SPTPS
2020-02-25 14:47:10 tinc[8576]: No key from sirius after 10 seconds, restarting SPTPS
2020-02-25 14:49:36 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_laptop: No such file or directory
2020-02-25 14:49:36 tinc[8576]: Cannot open config file /storage/emulated/0/Android/data/org.pacien.tincapp/files/hellomouse/hosts/wolfy1339_laptop: No such file or directory
2020-02-25 14:49:58 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:50:08 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:50:20 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:50:30 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:50:42 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:50:53 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:51:04 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:51:15 tinc[8576]: Got REQ_KEY from wolfy1339_laptop while we already started a SPTPS session!
2020-02-25 14:51:25 tinc[8576]: Got REQ_KEY from wolfy1339_lapt

Unable to connect to other nodes in the network

2020-02-20 Thread Thomas Scott
I'm having trouble with tinc on Android 10, (it's not a problem within 
the app, I have already discussed this over with pacien).


All subnets and routes are properly configured. (I've included them just 
so people can better visualise the config and triple check everything is 
correct


My phone will not connect to any other node than the first one 
configured with `ConnectTo` in the `tinc.conf` file.


I can successfully ping it from the first node it's supposed to be 
connected to, but the second node can't ping it at all, not even 
forwarded through another node. The same thing happens on the phone 
itself, only connections to the first node work and all others just don't.


When looking at the logs, it seems as though SPTPS is timing out and 
can't get the keys for the nodes in the network and thus can't connect 
to them.



I haven't done any rooting, or ROM changes to my phone, it is completely 
stock OS.


The app is using git revision f5223937e62e1cc5e9b3d322490dd3af8d666750 
of tinc.


Device: OnePlus 6t

Android version: 10.3.0 (Oxygen OS)

Android build: ONEPLUS A6013_41_200115

Android kernel version: 4.19.179-perf+

Address = 172.19.24.5/32
Address = 2a07:1c44:39f3:4::/64
Route = 172.19.24.0/24
Route = 2a07:1c44:39f3::/48
Name = wolfy1339_phone
ConnectTo = polaris
ConnectTo = sirius
Subnet = 172.19.24.5/32
Subnet = 2a07:1c44:39f3:4::/64
___
tinc mailing list
tinc@tinc-vpn.org
https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc