nitroshare-desktop icon indicating copy to clipboard operation
nitroshare-desktop copied to clipboard

Kubuntu 18.04.1 - Nitroshare can't see other devices, nor can other devices see it

Open silv3rm00n opened this issue 6 years ago • 3 comments

Hi

  1. I have installed Nitroshare latest version on my windows pc, android device and kubuntu 18.04.1 machine.

  2. The Windows 7 and Android MotoG5 can see each other transfer files.

  3. The Kubuntu 18.04.1 machine however can't see any other devices, nor can any other device see it. When trying to send files from kubuntu machine, the device list is empty.

I tried install Nitroshare from default apt repository, and also compiled the latest version from source. The problem remains the same.

I tried opening ports using ufw/gufw (iptables), and it still does not work.

How to fix ?

silv3rm00n avatar Feb 01 '19 05:02 silv3rm00n

Here is the output of the netstat command


$ netstat -lnpt (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:34887 0.0.0.0:* LISTEN 4116/nitroshare
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 :::6600 :::* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::40818 :::* LISTEN 4116/nitroshare
tcp6 0 0 :::1716 :::* LISTEN 1799/kdeconnectd
tcp6 0 0 ::1:631 :::* LISTEN -
$


Why is port 40818 open only in tcp6 ? And why not tcp ? Could this be the reason for it not working ?

silv3rm00n avatar Feb 01 '19 06:02 silv3rm00n

It seems that Nitroshare is using ipv4 on windows 7 and ipv6 on ubuntu. is that the reason why they are not detecting each other ?

silv3rm00n avatar Feb 01 '19 06:02 silv3rm00n

Replying 3+ months later...

I have the same issue and I think it is because the distro has nitroshare 0.33, which is not the latest one, so it makes some "incompatibility" between new and old versions.

The relevant netstat output

$ netstat -lnpt
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:34729         0.0.0.0:*               LISTEN      12186/nitroshare    
tcp        0      0 0.0.0.0:40818           0.0.0.0:*               LISTEN      12186/nitroshare    
tcp        0      0 127.0.0.1:7634          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                   

I have made a bug report to update it... 2 months ago https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927267

Debian testing x64, ipv6 disabled at kernel level, no firewall to block anything.

pitsi avatar Jun 10 '19 05:06 pitsi